#780882 ifupdown: uses current cgroup when spawning processes in ifup/ifdown with systemd

Package:
ifupdown
Source:
ifupdown
Description:
high level tools to configure network interfaces
Submitter:
Simon Ruderich
Date:
2015-03-20 22:21:07 UTC
Severity:
normal
#780882#5
Date:
2015-03-20 22:18:42 UTC
From:
To:
Dear Maintainer,

When ifup spawns a new process like wpa_supplicant (e.g. when
using the config pasted below), then the spawned wpa_supplicant
is created in the current cgroup. This is problematic if
ifup/ifdown is executed from another service (e.g. a
configuration management tool) as stopping the service then also
causes wpa_supplicant to stop (systemctl stop terminates all
processes in the same cgroup), possibly disrupting the network
connection.

Regards
Simon

    auto eth0
    iface eth0 inet dhcp
        wpa-driver wired
        wpa-key-mgmt IEEE8021X
        wpa-ap-scan 0
        wpa-conf /etc/wpa_supplicant.conf