Red Hat Bugzilla – Bug 495486
/etc/sysconfig/network is missing
Last modified: 2014-03-16 23:18:18 EDT
/etc/sysconfig/network is created during installation by anaconda.
When alternative installation method is used (e.g. yum install to chroot), network config file is missing.
Can you include this file in the initscripts package?
I can imagine it's content like this:
... why would it be needed in a chroot? You don't bring up devices there.
For example after I install a virtual guest via yum.
I don't like that anaconda does all post-install setup and packages do not contain couple files with default values.
Well, we don't set up any ifcfg-XXX files with a yum install either, so I'm not sure we should special-case this as well.
Similarly, we don't configure grub during yum-based package installation either (and my, would that be gross.)
I'm inclined to close this WONTIFX. If the tools we ship such as system-config-network and/or NetworkManager can't work on a yum-installed chroot and then write a proper /etc/sysconfig/network, I may reconsider.
Right, but several scripts (like avahi initscript) depend on this file.
example from rhel-5 after I removed /etc/sysconfig/network:
/etc/init.d/avahi-daemon: line 18: /etc/sysconfig/network: No such file or directory
Erm, yes, but ... don't remove it?