[Bug 800817] New: NETWORKMANAGER=yes/no is gone in in favour of network.service alias link
https://bugzilla.novell.com/show_bug.cgi?id=800817 https://bugzilla.novell.com/show_bug.cgi?id=800817#c0 Summary: NETWORKMANAGER=yes/no is gone in in favour of network.service alias link Classification: openSUSE Product: openSUSE Factory Version: 12.3 Beta 1 Platform: All OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: ms@suse.com ReportedBy: mt@suse.com QAContact: jsrain@suse.com CC: bili@suse.com, fcrozat@suse.com, mfilka@suse.com Depends on: 800771 Found By: --- Blocker: --- kiwi-config-openSUSE.spec is still using NETWORKMANAGER=yes/no, e.g. in the spec file: if test $desktop = x11; then echo 'baseUpdateSysConfig /etc/sysconfig/network/config NETWORKMANAGER no'
config.sh else echo 'baseUpdateSysConfig /etc/sysconfig/network/config NETWORKMANAGER yes' >> config.sh fi
The code behind needs to be adopted to something like: if test $desktop = x11; then systemctl -f enable NetworkManager.service || : else systemctl disable NetworkManager.service || : fi +++ This bug was initially created as a clone of Bug #800771 +++ Created an attachment (id=522207) --> (http://bugzilla.novell.com/attachment.cgi?id=522207) network-service-switch.sh: illustration script The NETWORKMANAGER=yes/no variable /etc/sysconfig/network/config has been replaced with the use of network.service alias link, which is created while "systemctl enable". The enabled service masks the LSB /etc/init.d/network script as provided by sysconfig using the following addition in its systemd service file: [Install] +Alias=network.service The service name providing the network.sevice alias is visible in the "Id" systemctl property or it shows "network.service" as "Id" when the /etc/init.d/network is used. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=800817 https://bugzilla.novell.com/show_bug.cgi?id=800817#c Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|800771 | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=800817 https://bugzilla.novell.com/show_bug.cgi?id=800817#c Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.novell.com | |/show_bug.cgi?id=800771, | |https://bugzilla.novell.com | |/show_bug.cgi?id=798348 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=800817 https://bugzilla.novell.com/show_bug.cgi?id=800817#c1 --- Comment #1 from Marius Tomaschewski <mt@suse.com> 2013-01-28 15:45:44 UTC --- IMO it should be: if test $desktop = x11; then echo "/bin/systemctl -f enable NetworkManager.service" >> config.sh else echo "/bin/systemctl disable NetworkManager.service" >> config.sh fi -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=800817 https://bugzilla.novell.com/show_bug.cgi?id=800817#c2 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ms@suse.com AssignedTo|ms@suse.com |coolo@suse.com --- Comment #2 from Marius Tomaschewski <mt@suse.com> 2013-01-29 10:44:28 UTC --- Ahm maintainer of kiwi-config-openSUSE is Stephan, not Marcus... The above were at least another ways around when not wrong. The complete kiwi-config-openSUSE is about 12.2 until now. I've no idea where are the 12.3 live-cd configs. The change exists since 12.3. Stephan? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=800817 https://bugzilla.novell.com/show_bug.cgi?id=800817#c3 --- Comment #3 from Marius Tomaschewski <mt@suse.com> 2013-01-31 15:19:07 UTC --- I see, that the 12.3 package seems to be in openSUSE:12.3:Live. I've applied the change to OBS/home:mtomaschewski:tests/kiwi-config-openSUSE. But perhaps it is better to use a systemd preset file here? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=800817 https://bugzilla.novell.com/show_bug.cgi?id=800817#c4 --- Comment #4 from Marius Tomaschewski <mt@suse.com> 2013-01-31 15:24:09 UTC --- Current change: if test $desktop = x11; then - echo 'baseUpdateSysConfig /etc/sysconfig/network/config NETWORKMANAGER no' >> config.sh + echo '/bin/systemctl disable NetworkManager.service' >> config.sh else - echo 'baseUpdateSysConfig /etc/sysconfig/network/config NETWORKMANAGER yes' >> config.sh + echo '/bin/systemctl -f enable NetworkManager.service' >> config.sh fi Alternative change using a preset file: if test $desktop = x11; then - echo 'baseUpdateSysConfig /etc/sysconfig/network/config NETWORKMANAGER no' >> config.sh + echo 'echo "disable NetworkManager.service" > /usr/lib/systemd/system.preset/network.preset' >> config.sh else - echo 'baseUpdateSysConfig /etc/sysconfig/network/config NETWORKMANAGER yes' >> config.sh + echo 'echo "enable NetworkManager.service" > /usr/lib/systemd/system.preset/network.preset' >> config.sh fi -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=800817 https://bugzilla.novell.com/show_bug.cgi?id=800817#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-31 17:00:08 CET --- This is an autogenerated message for OBS integration: This bug (800817) was mentioned in https://build.opensuse.org/request/show/150605 12.3 / kiwi-config-openSUSE -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=800817 https://bugzilla.novell.com/show_bug.cgi?id=800817#c6 --- Comment #6 from Frederic Crozat <fcrozat@suse.com> 2013-01-31 16:01:45 UTC --- I don't think using a preset is the right way to do it (presets are only applied once). Better to use the other solution. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=800817 https://bugzilla.novell.com/show_bug.cgi?id=800817#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-02-01 11:00:17 CET --- This is an autogenerated message for OBS integration: This bug (800817) was mentioned in https://build.opensuse.org/request/show/150672 Factory / kiwi-config-openSUSE https://build.opensuse.org/request/show/150673 Factory / kiwi-config-openSUSE -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=800817 https://bugzilla.novell.com/show_bug.cgi?id=800817#c8 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #8 from Stephan Kulow <coolo@suse.com> 2013-02-06 20:39:24 CET --- it's in -- 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.
participants (1)
-
bugzilla_noreply@novell.com