Re: [systemd-devel] unable to attach pid to service delegated directory in unified mode after restart

2022-03-23 Thread Felip Moll
Hi, some days ago we were talking about this: > > Problem number two, there's a significant delay since when creating the > > scope, until it is ready and the pid attached into it. The only way it > > worked was to put a 'sleep' after the dbus call and make my process wait > > for the async call

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Dave Howorth
On Wed, 23 Mar 2022 22:26:15 +0100 Michael Biebl wrote: > Am Mi., 23. März 2022 um 22:11 Uhr schrieb Zbigniew Jędrzejewski-Szmek > : > > > Or in other words: I'd prefer for such people to speak up for > > themselves, rather than us trying to figure out what somebody else > > *might* be planning

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Michael Biebl
Am Mi., 23. März 2022 um 22:11 Uhr schrieb Zbigniew Jędrzejewski-Szmek : > Or in other words: I'd prefer for such people to speak up for > themselves, rather than us trying to figure out what somebody else > *might* be planning to do. That's laudable but keep in mind that users typically don't

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 23, 2022 at 03:58:22PM +, Luca Boccassi wrote: > On Wed, 2022-03-23 at 12:38 +0100, Greg KH wrote: > > On Wed, Mar 23, 2022 at 11:28:29AM +, Luca Boccassi wrote: > > > On Wed, 2022-03-23 at 11:59 +0100, Zbigniew Jędrzejewski-Szmek wrote: > > > > On Wed, Mar 23, 2022 at

Re: [systemd-devel] /etc/os-release but for images

2022-03-23 Thread Davide Bettio
Hello, Il giorno mer 23 mar 2022 alle ore 13:56 Lennart Poettering < lenn...@poettering.net> ha scritto: > > Also sadly IMAGE_VERSION doesn't allow + which is used from semver for > > build metadata (such as 1.0.0+21AF26D3 or 1.0.0+20130313144700). > > Ah, interesting. This looks like something

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Luca Boccassi
On Wed, 2022-03-23 at 12:38 +0100, Greg KH wrote: > On Wed, Mar 23, 2022 at 11:28:29AM +, Luca Boccassi wrote: > > On Wed, 2022-03-23 at 11:59 +0100, Zbigniew Jędrzejewski-Szmek wrote: > > > On Wed, Mar 23, 2022 at 09:26:05AM +0100, Greg KH wrote: > > > > On Wed, Mar 23, 2022 at 09:17:36AM

Re: [systemd-devel] /etc/os-release but for images

2022-03-23 Thread Lennart Poettering
On Mi, 23.03.22 13:38, Davide Bettio (davide.bet...@secomind.com) wrote: > > That's the idea: take the packages, build an image, and then append > > IMAGE_ID/IMAGE_VERSION to it? > > Sure, sounds pretty convenient, here my point was about blindly appending > those additional fields (trusting the

Re: [systemd-devel] /etc/os-release but for images

2022-03-23 Thread Davide Bettio
Hello, Il giorno mer 23 mar 2022 alle ore 11:32 Lennart Poettering < lenn...@poettering.net> ha scritto: > On Mi, 23.03.22 10:51, Davide Bettio (davide.bet...@secomind.com) wrote: > > Well, if the distribution people build both packages and disk images, > they can set IMAGE_ID/IMAGE_VERSION for

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Greg KH
On Wed, Mar 23, 2022 at 11:28:29AM +, Luca Boccassi wrote: > On Wed, 2022-03-23 at 11:59 +0100, Zbigniew Jędrzejewski-Szmek wrote: > > On Wed, Mar 23, 2022 at 09:26:05AM +0100, Greg KH wrote: > > > On Wed, Mar 23, 2022 at 09:17:36AM +0100, Zbigniew Jędrzejewski-Szmek > > > wrote: > > > > On

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Luca Boccassi
On Wed, 2022-03-23 at 11:59 +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Mar 23, 2022 at 09:26:05AM +0100, Greg KH wrote: > > On Wed, Mar 23, 2022 at 09:17:36AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > > > On Wed, Mar 23, 2022 at 08:07:48AM +0100, Greg KH wrote: > > > > On Tue, Mar 22,

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 23, 2022 at 09:26:05AM +0100, Greg KH wrote: > On Wed, Mar 23, 2022 at 09:17:36AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > > On Wed, Mar 23, 2022 at 08:07:48AM +0100, Greg KH wrote: > > > On Tue, Mar 22, 2022 at 05:27:07PM +0100, Zbigniew Jędrzejewski-Szmek > > > wrote: > > > > Hi

Re: [systemd-devel] /etc/os-release but for images

2022-03-23 Thread Lennart Poettering
On Mi, 23.03.22 10:51, Davide Bettio (davide.bet...@secomind.com) wrote: > Hello, > > First of all, thanks for your answers. > > It wasn't really clear to me that the /etc/os-release file was editable > from a 3rd party other than the distribution maintainers, so thanks for the > clarifications.

Re: [systemd-devel] /etc/os-release but for images

2022-03-23 Thread Davide Bettio
Hello, First of all, thanks for your answers. It wasn't really clear to me that the /etc/os-release file was editable from a 3rd party other than the distribution maintainers, so thanks for the clarifications. Are the distributions required to leave IMAGE_ID and IMAGE_VERSION empty? Can I safely

[systemd-devel] Q: Relying on exit code of journalctl -g ....

2022-03-23 Thread Ulrich Windl
Hi! It's not documented, but "journalctl -g ..." seems to exit with success when the pattern was found, and with 1 when it was not. Can I rely on that? The other thing is when grepping across reboots, the "-- Reboot --" is always output, even if it does not match the pattern. Is that a bug or

Re: [systemd-devel] systemd move processes to user.slice cgroup after updating service configuration file

2022-03-23 Thread Lennart Poettering
On Mi, 23.03.22 14:25, 吾为男子 (csren...@qq.com) wrote: > dear all experts, > > now we have such a problem: > > we need to update our systemd service configuration file, > > before updating, our service has already created some processes and > make them attach to cgroup >

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Greg KH
On Wed, Mar 23, 2022 at 09:17:36AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Mar 23, 2022 at 08:07:48AM +0100, Greg KH wrote: > > On Tue, Mar 22, 2022 at 05:27:07PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > > > Hi all, > > > > > > we are considering dropping upstream support for

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 23, 2022 at 08:07:48AM +0100, Greg KH wrote: > On Tue, Mar 22, 2022 at 05:27:07PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > > Hi all, > > > > we are considering dropping upstream support for kernel versions < 4.4. > > Would this be a problem for anyone? (*). > > Given that upstream

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Greg KH
On Tue, Mar 22, 2022 at 05:27:07PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > Hi all, > > we are considering dropping upstream support for kernel versions < 4.4. > Would this be a problem for anyone? (*). Given that upstream (i.e. kernel.org) has dropped support for kernel 4.4, why not just