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

Reindl Harald h.reindl at thelounge.net
Thu Nov 24 15:42:01 UTC 2016



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 runs fine.
>
> When we reboot, systemd umounts local file systems,
> before sap_XXX is stopped.
> This is done although there is After=local-fs.target.
>
> What are we missing?
>
> Above there is the output with a few substitutions (XXX and YYY).
>  http://pastebin.com/nLJ5Zbgj

you *really* should post the whole systemd-unit instead pieces!
have you played around with DefaultDependencies?


More information about the systemd-devel mailing list