Mailinglist Archive: yast-devel (10 mails)

< Previous Next >
[yast-devel] Solution for bug #798348
I have been studying in yast-network the module Lan.ycp to find a solution for
bug #798348. The problem is in line 570 which reads:

Service::Reload("network");

This results in a bash command:

/usr/bin/systemctl reload network.service

However reload for network.service is not available. The solution is already
in the release notes for 12.3. The network must first be stopped using:

/usr/bin/systemctl is-active network.service && /usr/bin/systemctl stop
network.service

Depending on a change in the management method, Traditional or NetworkManager

NetworkManager.service must be disabled or enabled. After that the
network.service must be started.

I could not find how to know if the method has been changed when arriving at
the above call and in what direction. When the direction of the change is
passed as a parameter in this call the changes in Reload are obvious if Reload
is not used elsewhere. Otherwise a new routine needs to be defined with the
above content.

--
fr.gr.

Freek de Kruijf

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups