Re: [systemd-devel] Order-only mount units?

2023-01-07 Thread Andrei Borzenkov
On 07.01.2023 19:06, Norbert Lange wrote: Hello, Say want a service unit which mounts some stuff, then does further steps (create some initial files, etc..). The problem here is that it is not automatically ordered in regards to mounts in the subdirectories or some other dependencies like

[systemd-devel] Order-only mount units?

2023-01-07 Thread Norbert Lange
Hello, Say want a service unit which mounts some stuff, then does further steps (create some initial files, etc..). The problem here is that it is not automatically ordered in regards to mounts in the subdirectories or some other dependencies like RequiresMountsFor - that would happen with a

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

2023-01-07 Thread Stanislav Angelovič
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 reality, this function returns an absolute time point (a-ka relative to the monotonic clock