[systemd-devel] systemd-sysv-generator bug ?

Benoit SCHMID Benoit.Schmid at unige.ch
Tue Nov 22 09:21:00 UTC 2016


Hello,

On 11/22/2016 09:15 AM, Andrei Borzenkov wrote:
> Mount units are also propagated to systemd user instance. So you
> probably can also run this unit in systemd user context and have usual
> dependencies on filesystems (like RequiresMountsFor) - at least, I
> think so :) You will need to enable lingering then as mentioned
> already. User instances are stopped on shutdown too.

Do you mean that adding "After=user.slice" would also prevent systemd to
unmount
fs before my stop command is finished?

Thanks in advance for your answer.

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

     Benoit Schmid              Tel: (+41-22) 379-7209

     University of Geneva - Information Technology Division

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 



More information about the systemd-devel mailing list