ifdown stops LTSP's "manual" interface on shutdown
Bug #1492546 reported by
Alkis Georgopoulos
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifupdown (Debian) |
Fix Released
|
Unknown
|
|||
ifupdown (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
ltsp (Debian) |
New
|
Unknown
|
|||
ltsp (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
The unit /lib/systemd/
On shutdown, it unconditionally ifdowns all interfaces:
ExecStop=
This is a regression from previous init systems (sysvinit and upstart) which cared so that when a network file system was in use, they didn't ifdown the interfaces.
Specifically, both /etc/init.
check_
check_
which output the message "not deconfiguring network interfaces: network file systems still mounted" and exit.
So, please call the same functions in the ExecStop= part of ifup@.service.
Changed in systemd (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in ltsp (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in systemd (Debian): | |
status: | Unknown → New |
Changed in systemd (Debian): | |
status: | New → Fix Committed |
Changed in systemd (Debian): | |
status: | Fix Committed → Fix Released |
Changed in systemd (Ubuntu): | |
status: | Triaged → In Progress |
Changed in ifupdown (Debian): | |
status: | Fix Released → Unknown |
Changed in ifupdown (Ubuntu): | |
status: | Triaged → In Progress |
Changed in ltsp (Debian): | |
status: | Unknown → New |
Changed in ifupdown (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
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 system/ ifup@$DEVICE. service. d system/ ifup@$DEVICE. service. d/ltsp. conf <<EOF
mkdir -p /etc/systemd/
cat > /etc/systemd/
[Service]
ExecStop=
EOF
fi