Comment 1 for bug 1492546

Revision history for this message
Alkis Georgopoulos (alkisg) wrote : Re: Systemd runs ifdown on shutdown even when it shouldn't

This also affects LTSP, e.g. Wily clients can't shutdown because /sbin/poweroff is no longer accessible once ifup@.service unmounts /dev/nbd0.

If systemd is fixed in Ubuntu before 15.10 is released, problem solved,
otherwise we'll need to commit the following in upstream LTSP.

Script /usr/share/ltsp/init-ltsp.d/50-systemd-ifup:

if [ -f /lib/systemd/system/ifup@.service ]; then
    mkdir -p /etc/systemd/system/ifup@$DEVICE.service.d
    cat > /etc/systemd/system/ifup@$DEVICE.service.d/ltsp.conf <<EOF
[Service]
ExecStop=
EOF
fi