Bug 26681

Summary: interfaces are disabled on changing runlevels
Product: Branch p6 Reporter: Ivan Zakharyaschev <imz>
Component: livecd-save-nfsAssignee: Andrey Cherepanov <cas>
Status: NEW --- QA Contact: QA p6 <qa-p6>
Severity: normal    
Priority: P3    
Version: не указана   
Hardware: all   
OS: Linux   
Bug Depends on: 28498    
Bug Blocks: 26742    

Description Ivan Zakharyaschev 2011-12-07 17:38:34 MSK
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 

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

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

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.