[systemd-devel] How to keep certain services or mounts active during shutdown?

Frank Steiner fsteiner-mail1 at bio.ifi.lmu.de
Tue Jul 14 08:27:41 PDT 2015


Lennart Poettering wrote

> But this means that wicked is generally incompatible with NFS-root. 

Fortunately not! The SuSE support pointed me to an option that wasn't
documented in the SLES 12 manual section about wicked (but that I could
have found when googling with the correct keywords :-(): Adding

STARTMODE='nfsroot'

in /etc/sysconfig/network/ifcfg-eth0 (instead of auto, onboot, 
manual etc) has exactly the wanted effect: Shutting down wicked, e.g. 
by "systemctl stop wicked" leaves the devices with this option running.
In yast this option can be marked, but I never use yast and to all the
configs manually, so I missed it there, too.

Anyway, problem solved ;-)

cu,
Frank

-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik    Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17           Phone: +49 89 2180-4049
80333 Muenchen, Germany       Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *


More information about the systemd-devel mailing list