noloader: create default ifcfg files already in dracut

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

this proposition is mainly for Will. Currently we create missing default ifcfg files
(i.e. file of devices not activated in dracut or configured by kickstart) in anaconda:

commit e1c287f31dcec4c661272f852e14f5d6925f92d2
Author: Will Woods <wwoods@xxxxxxxxxx>
Date:   Wed Mar 21 20:02:46 2012 -0400

    Create default ifcfg-* for each interface (#804504, #804716)
   
    Loader used to create a default ifcfg-* file for each unused network
    interface, containing DEVICE, HWADDR, UUID, BOOTPROTO=dhcp, etc.
   
    Network.update() populated self.netdevices by reading those files,
    *skipping any interface that lacked that file*, which caused the vnc
    traceback in bug #804504.
   
    And without BOOTPROTO=dhcp, "ifup $dev" didn't work post-install, which
    caused #804716.
   
    (Personally I think "ifup" should fall back to the same defaults as
    NetworkManager rather than making us write the defaults to a file, but
    we'll save that for later.)

This has a problem that NetworkManager activates default connections
for devices lacking ifcfg file which differs from behaviour in rhel6 and
I think we don't want to start to do this.

Perhaps we could run anaconda pre-pivot hook (post pre-pivot/85write-ifcfg.sh)
that would take care of missing ifcfg files.

What do you think?
Should I try to come up with an anaconda dracut patch?


Also I'd like to bring back functionality of --activate option,
but activation of additional devices could be done in anaconda
kickstart processing, even though doing that in dracut might be
as simple as writing _ONBOOT_=yes by dracut/ks to ifcfg file.


Radek
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux