← Back to team overview

touch-packages team mailing list archive

[Bug 1374521] Re: ifup should specify '-allow=auto' not '-allow=hotplug'

 

I have some trouble reproducing this. I installed systemd-sysv into a
minimal VM without NetworkManager, and
/etc/network/interfaces.d/eth0.cfg has

  # The primary network interface
  auth eth0
  iface eth0 inet dhcp

Indeed "ifquery -l --allow=hotplug" doesn't mention any interface, but
eth0 comes up just fine anyway. When I comment out above file, it does
not come up, so that file and ifup is definitively being used here.

But running "sudo ifup --verbose --allow=hotplug eth0" manually confirms
that the stanza is being ignored. So the most probable explanation is
that /etc/init.d/networking is being run during boot which takes care of
the "auto" stanzas? Why isn't that being run for you? Can you please
show "systemctl status networking"?

** Changed in: systemd (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1374521

Title:
  ifup should specify '-allow=auto' not '-allow=hotplug'

Status in “systemd” package in Ubuntu:
  Incomplete

Bug description:
  /lib/systemd/system/ifup@.service specifies:

    ExecStart=/sbin/ifup --allow=hotplug %I

  This really needs to be:

    ExecStart=/sbin/ifup --allow=auto %I

  Since otherwise, for systems that don't use network-manager, the
  service will only bring up interfaces which have specified "allow-
  hotplug $if" in /etc/network/interfaces*.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: systemd 208-8ubuntu4
  ProcVersionSignature: Ubuntu 3.16.0-17.23-generic 3.16.3
  Uname: Linux 3.16.0-17-generic x86_64
  ApportVersion: 2.14.7-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Sep 26 16:54:12 2014
  InstallationDate: Installed on 2014-04-11 (167 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140409)
  SourcePackage: systemd
  UpgradeStatus: Upgraded to utopic on 2014-05-08 (141 days ago)

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


References