[Bug 1187693] Re: Disables auto-upping due to `[ifupdown] managed=true` even if network-manager is not installed

Thomas Hood 1187693 at bugs.launchpad.net
Thu Jun 6 11:32:55 UTC 2013


By this mechanism:

=== ifupdown.nw ===

<<main functions>>=
static int auto_disabled() {
       static int initialized = 0;
       static int auto_up_disabled = 0;

       if (!initialized) {
               dictionary *ini_dict;
               initialized = 1;

               ini_dict = iniparser_load (nm_system_settings);
               if (ini_dict) {
                       int managed = iniparser_getboolean (ini_dict, "ifupdown:managed", 0);
                       auto_up_disabled = managed ? 1 : 0;
                       iniparser_freedict (ini_dict);
                       ini_dict = 0;
               } else {
                       auto_up_disabled = 0;
               }
       }

       return auto_up_disabled;
}
@

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1187693

Title:
  Disables auto-upping due to `[ifupdown] managed=true` even if network-
  manager is not installed

Status in “ifupdown” package in Ubuntu:
  New

Bug description:
  If the network-manager package has been removed but not purged and
  /etc/NetworkManager/NetworkManager.conf contains

      [ifupdown]
      managed=true

  then ifup still refrains from bringing up interfaces automatically.

  This has already confused at least one person.

      http://askubuntu.com/questions/302840/etc-network-interfaces-
  ignored/304291

  It might be better if ifup refrained from bringing up "auto"
  interfaces only if network-manager is installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1187693/+subscriptions




More information about the foundations-bugs mailing list