Re: [systemd-devel] system is not match systemd.link configs

2024-10-28 Thread Henti Smith
On Mon, 28 Oct 2024 at 19:24, Silvio Knizek wrote: > Am Montag, dem 28.10.2024 um 17:56 + schrieb Henti Smith: > > On Mon, 28 Oct 2024 at 13:47, Andrei Borzenkov <[arvidj...@gmail.com > ](mailto:arvidj...@gmail.com)> wrote: > > > > > On Mon, Oct 28, 2024 at 3:07 PM Henti Smith <[he...@gaydons

[systemd-devel] Unable to get service to wait for a mount before starting

2024-10-28 Thread Adam Nielsen
Hi all, I'm having some problems getting a systemd unit to start during system boot. Can anyone advise what I'm doing wrong? The service starts fine if I run `systemctl start myservice`, the issue is that it fails to start during boot. The service runs off a network share, so if it starts too e

Re: [systemd-devel] Unable to get service to wait for a mount before starting

2024-10-28 Thread Andrei Borzenkov
On Tue, Oct 29, 2024 at 5:50 AM Adam Nielsen wrote: > > I tried using RequiresMountsFor=/mnt/share however again, if it runs too > early in the boot process the mount is not there and the unit fails to > start, and is not retried (logs just say "Job myservice.service/start > failed with result 'de

[systemd-devel] after systemd upgrade, cryptdisks won't start except with systemctl start cryptdisks.service but that doesn't work if boot goes to failsafe

2024-10-28 Thread Marc MERLIN
This is on debian testing (trix) ii cryptsetup 2:2.7.5-1amd64disk encryption support - startup scripts ii systemd256.7-2 amd64system and service manager So I see that for some reason systemd still uses an initscript, latest version in debian testing, and it

Re: [systemd-devel] system is not match systemd.link configs

2024-10-28 Thread Andrei Borzenkov
On Thu, Oct 24, 2024 at 6:29 PM Henti Smith wrote: > > Good day everybody > > I have two link files for mvc-sw1 and mvc-sw2. > > # mvc-sw1 > ``` > # Fixed MAC and name for eno2 (Switch 1 connection) when debug board is > plugged in > # Renamed to mvc-sw1 by PCI Address and set custom MAC address.

Re: [systemd-devel] after systemd upgrade, cryptdisks won't start except with systemctl start cryptdisks.service but that doesn't work if boot goes to failsafe

2024-10-28 Thread Marc MERLIN
While typing up 2 important details I had forgotten to mention, I figured out the clue: the cryptdisks initscript never actually ran before either, and the whole thing just worked thanks to systemd-cryptsetup that got removed during the upgrade (not sure why) The 2 clues I was writing: a) now I'm

Re: [systemd-devel] system is not match systemd.link configs

2024-10-28 Thread Henti Smith
On Mon, 28 Oct 2024 at 13:47, Andrei Borzenkov wrote: > On Mon, Oct 28, 2024 at 3:07 PM Henti Smith > wrote: > > > > On Mon, 28 Oct 2024 at 10:38, Andrei Borzenkov > wrote: > >> > >> On Thu, Oct 24, 2024 at 6:29 PM Henti Smith > wrote: > >> > > >> > Good day everybody > >> > > >> > I have two

Re: [systemd-devel] system is not match systemd.link configs

2024-10-28 Thread Henti Smith
Can anybody assist with this ? kind regards Henti On Thu, 24 Oct 2024 at 16:28, Henti Smith wrote: > Good day everybody > > I have two link files for mvc-sw1 and mvc-sw2. > > # mvc-sw1 > ``` > # Fixed MAC and name for eno2 (Switch 1 connection) when debug board is > plugged in > # Renamed to mv

Re: [systemd-devel] after systemd upgrade, cryptdisks won't start except with systemctl start cryptdisks.service but that doesn't work if boot goes to failsafe

2024-10-28 Thread Kevin P. Fleming
On Mon, Oct 28, 2024, at 12:58, Marc MERLIN wrote: > From there, I finally realized that there is a seperate > systemd-cryptsetup package that somehow > was missing from my system after the upgrade. No idea why :-/ This was an intentional change on the part of the Debian systemd package maintaine

Re: [systemd-devel] system is not match systemd.link configs

2024-10-28 Thread Mantas Mikulėnas
On Mon, Oct 28, 2024 at 8:54 PM Henti Smith wrote: > Where can I find detailed information on where to find the names when > systemd-udevd sees the interface for the first time ? > At that point, they are just the original kernel names: "eth0", "eth1", etc. In other words, at that point in time

Re: [systemd-devel] system is not match systemd.link configs

2024-10-28 Thread Henti Smith
On Mon, 28 Oct 2024 at 10:38, Andrei Borzenkov wrote: > On Thu, Oct 24, 2024 at 6:29 PM Henti Smith > wrote: > > > > Good day everybody > > > > I have two link files for mvc-sw1 and mvc-sw2. > > > > # mvc-sw1 > > ``` > > # Fixed MAC and name for eno2 (Switch 1 connection) when debug board is > p

Re: [systemd-devel] system is not match systemd.link configs

2024-10-28 Thread Andrei Borzenkov
On Mon, Oct 28, 2024 at 3:07 PM Henti Smith wrote: > > On Mon, 28 Oct 2024 at 10:38, Andrei Borzenkov wrote: >> >> On Thu, Oct 24, 2024 at 6:29 PM Henti Smith wrote: >> > >> > Good day everybody >> > >> > I have two link files for mvc-sw1 and mvc-sw2. >> > >> > # mvc-sw1 >> > ``` >> > # Fixed MA

Re: [systemd-devel] system is not match systemd.link configs

2024-10-28 Thread Silvio Knizek
Am Montag, dem 28.10.2024 um 17:56 + schrieb Henti Smith: > On Mon, 28 Oct 2024 at 13:47, Andrei Borzenkov > <[arvidj...@gmail.com](mailto:arvidj...@gmail.com)> wrote: > > > On Mon, Oct 28, 2024 at 3:07 PM Henti Smith > > <[he...@gaydonsmith.co.uk](mailto:he...@gaydonsmith.co.uk)> wrote: >