|
Bugzilla – Full Text Bug Listing |
| Summary: | ifup switch leaves NetworkManager running | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Bernhard Wiedemann <bwiedemann> |
| Component: | Network | Assignee: | Frederic Crozat <fcrozat> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | mt, ralf, ro |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | System Test | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 696902 | ||
| Attachments: |
restart NM from network initscript
correct patch for network script Patch on top -- handle the localfs flag correctly too Complete /etc/init.d/network script |
||
|
Description
Bernhard Wiedemann
2011-09-20 14:33:46 UTC
Created attachment 452281 [details]
restart NM from network initscript
this patch ensure NM is restarted properly when switching network handling, under systemd
Marius, could you integrate this patch in sysconfig and push to Factory ? /etc/rc.status is in aaa_base and Werner added the redirections... forwarding to him. Created attachment 452395 [details]
correct patch for network script
sorry, I attached the wrong patch :(
Ah... OK :-) Created attachment 452559 [details]
Patch on top -- handle the localfs flag correctly too
Seems to work fine ... Does it work for you?
Created attachment 452560 [details]
Complete /etc/init.d/network script
hmm, from config "netconfig" to "NM", if I run systemctl reload network.service (or cd /etc/init.d ; ./network reload), eth0 is not being "released" because it is "serves root filesystem", despite /usr being part of / and not using nfs for /usr .. is it wanted ? (In reply to comment #8) > hmm, from config "netconfig" to "NM", if I run systemctl reload network.service > (or cd /etc/init.d ; ./network reload), eth0 is not being "released" because it > is "serves root filesystem", despite /usr being part of / and not using nfs for > /usr .. > > is it wanted ? Yes, it is essential for all FCoE and remote /-fs setups. In STARTMODE=nfsroot you can't stop any interface or remove IPs because you'll lose connection to the /-fs completely. There were a bug 677251 in yast2-network -- it configured every interface with STARTMODE=nfsroot. You may fix to STARTMODE=auto in all ifcfg files manually (or with fixed yast2) when you're not on remote /-fs. BTW: I've reverted to use ./$0 again, that I broke in my last move commit, see: http://gitorious.org/opensuse/sysconfig/commit/21c4b70c Comment on attachment 452560 [details] Complete /etc/init.d/network script A buggy version. Use http://gitorious.org/opensuse/sysconfig/blobs/master/scripts/network instead. tested the version from gitorious, it works fine. Please push a new sysconfig to Factory. Thanks for your help. This is an autogenerated message for OBS integration: This bug (719214) was mentioned in https://build.opensuse.org/request/show/84820 Factory / sysconfig This is an autogenerated message for OBS integration: This bug (719214) was mentioned in https://build.opensuse.org/request/show/84863 Factory / sysconfig https://build.opensuse.org/request/show/84864 Factory / sysconfig https://build.opensuse.org/request/show/84865 Factory / sysconfig fixed in rq 84865. 84863 and 84864 happened due to an error reported by osc... *** Bug 724151 has been marked as a duplicate of this bug. *** |