Re: [systemd-devel] Fwd: System fails to create zram on startup, but I can do so manually

2024-11-25 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 25, 2024 at 04:17:03PM +0100, Michal Koutný wrote: > On Wed, Nov 20, 2024 at 02:58:57PM GMT, Zbigniew Jędrzejewski-Szmek > wrote: > > I don't think we can change this now, because this was documented > > behaviour and people may have used something like '4k' to get 4000 MB. > > If yo

Re: [systemd-devel] user service dependency on udev's uaccess rules

2024-11-25 Thread Michael Kilburn
On Mon, Nov 25, 2024 at 5:21 AM Mantas Mikulėnas wrote: > On Mon, Nov 25, 2024 at 12:57 PM Lennart Poettering < > lenn...@poettering.net> wrote: > >> ... >> "uaccess" ḿeans access to devices can come and go any time, as the >> user switches sessions, as sessions come and go. This means programs >

Re: [systemd-devel] CFP is open for FOSDEM 2025 - Image-Based Linux and Boot Integrity Devroom

2024-11-25 Thread Luca Boccassi
On Thu, 14 Nov 2024 at 18:06, Luca Boccassi wrote: > > On Fri, 25 Oct 2024 at 19:01, Luca Boccassi wrote: > > > > Hi, > > > > We are running a track at FOSDEM 2025 (February 1st and 2nd, Brussels) > > on Image-Based Linux and Boot Integrity, and the CFP has just opened, > > it will close on Dec 6

Re: [systemd-devel] user service dependency on udev's uaccess rules

2024-11-25 Thread Michael Kilburn
On Mon, Nov 25, 2024 at 4:50 AM Lennart Poettering wrote: > On So, 24.11.24 12:35, Michael Kilburn (crusader.m...@gmail.com) wrote: > > > Hi, > > > > OS: Pop!_OS 22.04 LTS (Debian-based distro). User service (fluidsynth) > > fails to start on user login: > > > > ALSA lib seq_hw.c:466:(snd_seq_hw_

Re: [systemd-devel] Fwd: System fails to create zram on startup, but I can do so manually

2024-11-25 Thread Michal Koutný
On Wed, Nov 20, 2024 at 02:58:57PM GMT, Zbigniew Jędrzejewski-Szmek wrote: > I don't think we can change this now, because this was documented > behaviour and people may have used something like '4k' to get 4000 MB. If you're referring to ae46c78 ("Obsolete zram-fraction and max-zram-size in fa

Re: [systemd-devel] systemd-udevd and services with DefaultDependencies=no

2024-11-25 Thread Thomas HUMMEL
On 11/25/24 2:50 PM, Andrei Borzenkov wrote: On Mon, Nov 25, 2024 at 4:39 PM Thomas HUMMEL wrote: Hello, I've got a somehow silly question: Am I right to think that a service unit I wrote meant to format and mount a localdisk at boot having the following properties : Wants=local-fs.target B

Re: [systemd-devel] systemd-udevd and services with DefaultDependencies=no

2024-11-25 Thread Andrei Borzenkov
On Mon, Nov 25, 2024 at 4:39 PM Thomas HUMMEL wrote: > > Hello, > > I've got a somehow silly question: > > Am I right to think that a service unit I wrote meant to format and > mount a localdisk at boot having the following properties : > > Wants=local-fs.target > Before=local-fs.target > > + Defa

[systemd-devel] systemd-udevd and services with DefaultDependencies=no

2024-11-25 Thread Thomas HUMMEL
Hello, I've got a somehow silly question: Am I right to think that a service unit I wrote meant to format and mount a localdisk at boot having the following properties : Wants=local-fs.target Before=local-fs.target + DefaultDepenencies=no may be racing against udevd in a way the device (/de

Re: [systemd-devel] user service dependency on udev's uaccess rules

2024-11-25 Thread Mantas Mikulėnas
On Mon, Nov 25, 2024 at 12:57 PM Lennart Poettering wrote: > On So, 24.11.24 12:35, Michael Kilburn (crusader.m...@gmail.com) wrote: > > > Hi, > > > > OS: Pop!_OS 22.04 LTS (Debian-based distro). User service (fluidsynth) > > fails to start on user login: > > > > ALSA lib seq_hw.c:466:(snd_seq_hw

Re: [systemd-devel] user service dependency on udev's uaccess rules

2024-11-25 Thread Lennart Poettering
On So, 24.11.24 12:35, Michael Kilburn (crusader.m...@gmail.com) wrote: > Hi, > > OS: Pop!_OS 22.04 LTS (Debian-based distro). User service (fluidsynth) > fails to start on user login: > > ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: > Permission denied > > because at that mom

Re: [systemd-devel] systemd-bless-boot not updating the loader.conf?

2024-11-25 Thread Itxaka Serrano Garcia
As a follow up to this, we got this fixed by implementing an override for systemd-bless-boot.service that removes the assessment from the loader.conf with sed: [Service] # Remove the assessment suffix from loader.conf if any ExecStartPost=sed -i -E 's/(default\s+)*\+[0-9]+(-[0-9]+)?(\.conf)/\1\3/'