Re: [systemd-devel] Deferring start of service until file exists

2019-08-20 Thread Jérémy ROSEN
I'm not very clear on what you are trying to do, so if my understanding is correct: daemon.service : the service you are trying to delay trigger_file : the file created by dhclient moreover you want daemon.service to be part of the startup transaction (I'm not certain why) and not triggered on

[systemd-devel] Need help detecting local/remote targets

2019-08-20 Thread Tony Rodriguez
I modified systemd-219 functionality to meet a custom requirement for detecting filesystems/devices that use iscsi without using the _netdev keyword in /etc/fstab.  It is a strict requirement regarding not using _netdev that I have no control over.   However,  I am stuck. From my

[systemd-devel] Help: Local and Remote targets

2019-08-20 Thread Tony Rodriguez
I modified systemd-219 functionality to meet a custom requirement for detecting filesystems/devices that use iscsi without using the _netdev keyword in /etc/fstab.  It is a strict requirement regarding not using _netdev that I have no control over.   However,  I am stuck. From my

Re: [systemd-devel] Help: Local and Remote targets

2019-08-20 Thread Rick Beldin
This might be problematic. What will you do with iscsi devices that support iscsi offload? Those are typically completely invisible to the OS and just appear as another HBA. On 8/20/19 3:26 PM, Tony Rodriguez wrote: > I modified systemd-219 functionality to meet a custom requirement for >

Re: [systemd-devel] Help: Local and Remote targets

2019-08-20 Thread Tony Rodriguez
Understood but I don't have to worry about iscsi offloading for now.   Some theories I have to attack the problem but each has a problem and may be complex. 1) Since I can obtain udev/disk information when the system is in a multi-user already booted stated.  Check for "iscsi" devices and

Re: [systemd-devel] Need help detecting local/remote targets

2019-08-20 Thread Mantas Mikulėnas
On Wed, Aug 21, 2019, 01:15 Tony Rodriguez wrote: > I modified systemd-219 functionality to meet a custom requirement for > detecting filesystems/devices that use iscsi without using the _netdev > keyword in /etc/fstab. It is a strict requirement regarding not using > _netdev that I have no

Re: [systemd-devel] EXT :Re: Deferring start of service until file exists

2019-08-20 Thread Reindl Harald
Am 21.08.19 um 06:34 schrieb Reindl Harald: > Am 21.08.19 um 06:10 schrieb Mantas Mikulėnas: >> On Tue, Aug 20, 2019, 20:43 Reindl Harald > > wrote: >> >> Am 20.08.19 um 18:56 schrieb Boyce, Kevin P [US] (AS): >> > If this gets figured out, I would love to

Re: [systemd-devel] EXT :Re: Deferring start of service until file exists

2019-08-20 Thread Mantas Mikulėnas
On Tue, Aug 20, 2019, 20:43 Reindl Harald wrote: > > > Am 20.08.19 um 18:56 schrieb Boyce, Kevin P [US] (AS): > > If this gets figured out, I would love to know how to do it as well. > > > > My experience with systemd is that it will proceed to start other > services once the dependencies have

Re: [systemd-devel] EXT :Re: Deferring start of service until file exists

2019-08-20 Thread Reindl Harald
Am 21.08.19 um 06:10 schrieb Mantas Mikulėnas: > On Tue, Aug 20, 2019, 20:43 Reindl Harald > wrote: > > > > Am 20.08.19 um 18:56 schrieb Boyce, Kevin P [US] (AS): > > If this gets figured out, I would love to know how to do it as well. > > > >

Re: [systemd-devel] EXT :Re: Deferring start of service until file exists

2019-08-20 Thread Boyce, Kevin P [US] (AS)
If this gets figured out, I would love to know how to do it as well. Basically what you are looking for is some sort of a flag that until created by some process prevents systemd from starting other processes until this one very special process you have written completes and flips the flag to

Re: [systemd-devel] EXT :Re: Deferring start of service until file exists

2019-08-20 Thread Reindl Harald
Am 20.08.19 um 18:56 schrieb Boyce, Kevin P [US] (AS): > If this gets figured out, I would love to know how to do it as well. > > My experience with systemd is that it will proceed to start other services > once the dependencies have started, not necessarily exited. no that's only true for

Re: [systemd-devel] Deferring start of service until file exists

2019-08-20 Thread Silvio Knizek
Am Dienstag, den 20.08.2019, 16:32 +0100 schrieb Colin Hogben: > Hi Jérémy, thanks for responding. > > > I'm not very clear on what you are trying to do, so if my > > understanding > > is correct: > > OK, I'll try to clarify. In fact I'm lumping together several > similar circumstances. It's

Re: [systemd-devel] Deferring start of service until file exists

2019-08-20 Thread Colin Hogben
Hi Jérémy, thanks for responding. I'm not very clear on what you are trying to do, so if my understanding is correct: OK, I'll try to clarify. In fact I'm lumping together several similar circumstances. It's possible that for at least some of these, I'm not thinking about things in the