Mailinglist Archive: opensuse-bugs (5243 mails)

< Previous Next >
[Bug 764055] systemd: interface is not suspended when stopping network service

https://bugzilla.novell.com/show_bug.cgi?id=764055

https://bugzilla.novell.com/show_bug.cgi?id=764055#c14


Marius Tomaschewski <mt@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX

--- Comment #14 from Marius Tomaschewski <mt@xxxxxxxx> 2013-03-12 16:06:42 UTC
---
A fix would require a similar switch logic changeset to yast2(-network)
as done for 12.3 in bnc#798348 and this is IMO definitively too error
prone and touches too many packages for a maintenance update.

Instead of "set NETWORKAMANAGER=yes or no; rcnetwork restart" use:

stop running network; set NETWORKAMANAGER=yes or no; start network

as the stop has to be done for a different service than start to
work under systemd. That is, it needs something like this:

rcnetwork stop

sed -i -e "s/NETWORKAMANAGER=.*/NETWORKAMANAGER='$yes_or_no'/g" \
/etc/sysconfig/network
/bin/mountpoint -q /sys/fs/cgroup/systemd && \
systemctl --system daemon-reload

rcnetwork start

to be done by yast2/yast2-network.

Note, that under systemd there is a NetworkManager.service file;
under systemv both services are handled by /etc/init.d/network.

=> closing this as WONTFIX for 12.1 / 12.2.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
This Thread
  • No further messages