Re: [systemd-devel] Please help: timeout waiting for /dev/tty* console device

2023-01-09 Thread Martin Wilck
On Fri, 2023-01-06 at 19:32 -0500, Gabriel L. Somlo wrote: > > I *can* run any tests y'all might suggest to further debug the state > of the system. But at this point I really do believe there is (or > should be :) a way to extend the timeout during initial boot to force > the system to wait for /

Re: [systemd-devel] sd_bus_get_timeout returns absolute time despite what's documented

2023-01-09 Thread Lennart Poettering
On Sa, 07.01.23 10:35, Stanislav Angelovič (stanislav.angelo...@protonmail.com) wrote: > Hi everyone, > > According to sd_bus_get_timeout(3) man page, sd_bus_get_timeout() > returns "timeout in us to pass to poll()" and it also states that > "the returned time-value is relative". > > However, in

Re: [systemd-devel] sd_bus_get_timeout returns absolute time despite what's documented

2023-01-09 Thread Lennart Poettering
On Mo, 09.01.23 12:53, Lennart Poettering (lenn...@poettering.net) wrote: > https://www.freedesktop.org/software/systemd/man/sd_bus_get_fd.html#Description > > Note that the returned time-value is absolute, based of > CLOCK_MONOTONIC and specified in microseconds. When converting > thi

Re: [systemd-devel] Please help: timeout waiting for /dev/tty* console device

2023-01-09 Thread Lennart Poettering
On Fr, 06.01.23 19:15, Gabriel L. Somlo (gso...@gmail.com) wrote: > Hi, > > I'm failing to get a login prompt on the serial console of my system, > because a few steps earlier serial-getty@.service fails due to a > dependency on the actual tty device, which times out: > > [ TIME ] Timed out waitin

Re: [systemd-devel] sd_bus_get_timeout returns absolute time despite what's documented

2023-01-09 Thread Stanislav Angelovič
Hey Lennart, Yes, I was referring to man pages I read a few years ago when I used sd_bus_get_timeout() for the first time. And, before posting this mail, I also checked on my current Linux development machine, which has systemd v247. So I was not that far :-) The fixed wording in v250 is correc

Re: [systemd-devel] Please help: timeout waiting for /dev/tty* console device

2023-01-09 Thread Gabriel L. Somlo
On Mon, Jan 09, 2023 at 01:37:58PM +0100, Lennart Poettering wrote: > On Fr, 06.01.23 19:15, Gabriel L. Somlo (gso...@gmail.com) wrote: > > > Hi, > > > > I'm failing to get a login prompt on the serial console of my system, > > because a few steps earlier serial-getty@.service fails due to a > > d

[systemd-devel] Container restart issue: Failed to attach 1 to compat systemd cgroup

2023-01-09 Thread Lewis Gaul
Hi all, I've come across an issue when restarting a systemd container, which I'm seeing on a CentOS 8.2 VM but not able to reproduce on an Ubuntu 20.04 VM (both cgroups v1). The failure looks as follows, hitting the warning condition at https://github.com/systemd/systemd/blob/v245/src/shared/cgro