Bug 495486 - /etc/sysconfig/network is missing
Summary: /etc/sysconfig/network is missing
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FedoraServerTracker
TreeView+ depends on / blocked
 
Reported: 2009-04-13 12:32 UTC by Daniel Mach
Modified: 2014-03-17 03:18 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-04-14 18:32:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Mach 2009-04-13 12:32:32 UTC
/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:
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=localhost

Comment 1 Bill Nottingham 2009-04-14 17:28:35 UTC
... why would it be needed in a chroot? You don't bring up devices there.

Comment 2 Daniel Mach 2009-04-14 18:00:25 UTC
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.

Comment 3 Bill Nottingham 2009-04-14 18:26:15 UTC
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.

Comment 4 Bill Nottingham 2009-04-14 18:32:47 UTC
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.

Comment 5 Daniel Mach 2009-04-14 18:36:12 UTC
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 restart
/etc/init.d/avahi-daemon: line 18: /etc/sysconfig/network: No such file or directory

Comment 6 Bill Nottingham 2009-04-14 18:43:30 UTC
Erm, yes, but ... don't remove it?


Note You need to log in before you can comment on or make changes to this bug.