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

2022-03-22 Thread Christopher Obbard
Hi Davide, On 22/03/2022 16:10, Davide Bettio wrote: I would like to figure out if anyone has proposed any kind of standard for storing metadata about a system image. We need to track metadata about an image that has been flashed to a device. /etc/os-release is really good for tracking

Re: [systemd-devel] systemd failing to close unwanted file descriptors & FDS spawning and crashing

2022-03-04 Thread Christopher Obbard
Hi Lennart, On 04/03/2022 09:44, Lennart Poettering wrote: On Fr, 04.03.22 09:26, Christopher Obbard (chris.obb...@collabora.com) wrote: Right, so it looks like the call to close_range fails. This is a 5.4 kernel which doesn;t have close_range - so this is understandable. For a quick fix, I

Re: [systemd-devel] systemd failing to close unwanted file descriptors & FDS spawning and crashing

2022-03-04 Thread Christopher Obbard
Hi Mantas, On 03/03/2022 20:30, Mantas Mikulėnas wrote: Ah, right, I forgot – since this is done in the service child (right before exec) and not in the main process, you probably need to add the -f option to make strace follow forks... On Thu, Mar 3, 2022, 22:08 Christopher Obbard

[systemd-devel] systemd failing to close unwanted file descriptors & FDS spawning and crashing

2022-03-03 Thread Christopher Obbard
Hi systemd experts! I am using systemd-247 and systemd-250 on debian system, which is running a minimal downstream 5.4 kernel for a Qualcomm board. systemd 241 in debian buster works fine, but systemd 247 (debian bullseye) and systemd 250 (debian unstable) seem to get upset about file