Re: [systemd-devel] cannot create hard dependencies on mounts

2024-09-11 Thread Henti Smith
On Tue, 10 Sept 2024 at 18:11, Andrei Borzenkov wrote: > On 10.09.2024 17:37, Henti Smith wrote: > > > > While starting data.mount, this works correctly, as it waits for the NFS > > share to become available before it mounts.. However, starting > > mission.service without starting data.mount, it

[systemd-devel] Mapped device not becoming active

2024-09-11 Thread Fredrik Hugosson
Hi! I'm trying to use the systemd-cryptsetup@.service to open a LUKS encrypted device, everything works nice except that systemd never realizes that the corresponding device-unit is active, which leads to fsck@.service and mount@.servic

Re: [systemd-devel] cannot create hard dependencies on mounts

2024-09-11 Thread Andrei Borzenkov
On Wed, Sep 11, 2024 at 2:35 PM Henti Smith wrote: > > On Tue, 10 Sept 2024 at 18:11, Andrei Borzenkov wrote: >> >> On 10.09.2024 17:37, Henti Smith wrote: >> > >> > While starting data.mount, this works correctly, as it waits for the NFS >> > share to become available before it mounts.. However,

Re: [systemd-devel] Mapped device not becoming active

2024-09-11 Thread Lennart Poettering
On Mi, 11.09.24 11:43, Fredrik Hugosson (fredrik.hugos...@axis.com) wrote: > Hi! > > I'm trying to use the > systemd-cryptsetup@.service to open a > LUKS encrypted device, everything works nice except that systemd never > realizes that the corresponding devic

Re: [systemd-devel] cannot create hard dependencies on mounts

2024-09-11 Thread Lennart Poettering
On Di, 10.09.24 15:37, Henti Smith (he...@gaydonsmith.co.uk) wrote: > Good day all. > > I have a service that requires a disk, which is mounted via NFS. > > I've used data.mount to mount the NFS as follows: > [Unit] > Description=Mount Data > > [Mount] > What=192.168.60.10:/mnt/ta_data > Where=/da