Re: [systemd-devel] after=local-fs not enforced

2016-11-25 Thread Andrei Borzenkov
25.11.2016 18:13, Benoit SCHMID пишет: > Hello, > > On 11/25/2016 04:47 AM, Andrei Borzenkov wrote: >> Yes, this is the command that tries to unmount filesystems on LVM2 >> devices, thus bypassing systemd normal dependencies. The idea of such >> service is very questionable, but it is probably

Re: [systemd-devel] after=local-fs not enforced

2016-11-25 Thread Lennart Poettering
On Thu, 24.11.16 16:20, Benoit SCHMID (benoit.sch...@unige.ch) wrote: > Hello, > > We have defined the following sap_XXX.service. > It contains the following in [Unit]: > ### > After=local-fs.target network-online.target ora_lsnr_XXX.service > remote-fs.target > Wants=ora_lsnr_XXX.service > ###

Re: [systemd-devel] after=local-fs not enforced

2016-11-25 Thread Benoit SCHMID
Hello, On 11/25/2016 04:47 AM, Andrei Borzenkov wrote: > Yes, this is the command that tries to unmount filesystems on LVM2 > devices, thus bypassing systemd normal dependencies. The idea of such > service is very questionable, but it is probably not something you can > really change. > > You can

Re: [systemd-devel] after=local-fs not enforced

2016-11-24 Thread Andrei Borzenkov
25.11.2016 00:50, Benoit SCHMID пишет: > Hello, > > > On 11/24/2016 08:14 PM, Andrei Borzenkov wrote: >> What is blkdeactivate? It does not belong to systemd. > > You are asking too much, for me, Andrei because it comes from RH repo :-) > Well, it appears it is part of LVM2. Version 2.02.98

Re: [systemd-devel] after=local-fs not enforced

2016-11-24 Thread Benoit SCHMID
Hello, On 11/24/2016 08:14 PM, Andrei Borzenkov wrote: What is blkdeactivate? It does not belong to systemd. You are asking too much, for me, Andrei because it comes from RH repo :-) I have found this on my host: # cat /usr/lib/systemd/system/blk-availability.service [Unit]

Re: [systemd-devel] after=local-fs not enforced

2016-11-24 Thread Andrei Borzenkov
24.11.2016 18:20, Benoit SCHMID пишет: > Hello, > > We have defined the following sap_XXX.service. > It contains the following in [Unit]: > ### > After=local-fs.target network-online.target ora_lsnr_XXX.service > remote-fs.target > Wants=ora_lsnr_XXX.service > ### > > Stopping and Starting the

Re: [systemd-devel] after=local-fs not enforced

2016-11-24 Thread Benoit SCHMID
Hello, On 11/24/2016 04:42 PM, Reindl Harald wrote: > > you *really* should post the whole systemd-unit instead pieces! > have you played around with DefaultDependencies? Here it is :-) [Unit] Description=SAP XXX After=local-fs.target network-online.target ora_lsnr_XXX.service remote-fs.target

Re: [systemd-devel] after=local-fs not enforced

2016-11-24 Thread Reindl Harald
Am 24.11.2016 um 16:20 schrieb Benoit SCHMID: We have defined the following sap_XXX.service. It contains the following in [Unit]: ### After=local-fs.target network-online.target ora_lsnr_XXX.service remote-fs.target Wants=ora_lsnr_XXX.service ### Stopping and Starting the service with systemd