Bug 28499

Summary: interfaces are disabled on changing runlevels
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: livecd-save-nfsAssignee: Anton V. Boyarshinov <boyarsh>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: boyarsh, sem
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 28498    

Description Ivan Zakharyaschev 2013-02-02 17:41:22 MSK
+++ This bug was initially created as a clone of Bug #28498 +++

(This problem would also affect t6 and Sisyphus, because they have the same release of the involved package.)

+++ This bug was initially created as a clone of Bug #26681 +++

livecd-save-nfs-0.3-alt4 in Simply Linux 6.0.1RC2 DVD live system

/etc/init.d/livecd-save-nfs is executed in the LiveCD system when changing runlevels (e.g., "telinit 3" or "telinit 5" afterwards), and if we had a configured iface managed by NetworkManager, it stops working:

/etc/net/ifaces/eth0/options is created:

# cat /etc/net/ifaces/eth0/options 
NM_CONTROLLED=no
BOOTPROTO=dhcp
DHCP_ARGS=-p
# 

this passes the management of this interface from NetworkManager to etcnet, but due to:

# fgrep DISABLED /etc/net/ifaces/default/options-eth 
DISABLED=yes
# 

etcnet doesn't consider it as an iface managed by etcnet. So, "ifup eth0", "service network restart", "service NetworkManager restart" give no result.


One workaround, after you understood this, is to append:

echo DISABLED=no >> /etc/net/ifaces/eth0/option

and manage it through etcnet (Can this be done by the script from this package? as a solution for this problem.), or to remove this newly created /etc/net/ifaces/eth0/ and return to the default situation.
Comment 1 Repository Robot 2013-05-06 14:43:39 MSK
livecd-save-nfs-0.4-alt1 -> sisyphus:

* Tue Apr 30 2013 Mikhail Efremov <sem@altlinux> 0.4-alt1
- Expicitly set DISABLED=no (closes: #28499).
- Add livecd-save-nfs.service.
- Update for new ethernet devices names.
- Turning on multicast for Avahi purpose (by george@).
- Use --request to disable double IP (by george@) (closes: #27082).