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

2014-09-29 Thread Martin Pitt
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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2014-09-29 Thread James Hunt
$ systemctl status networking

networking.service - LSB: Raise network interfaces.
   Loaded: loaded (/etc/init.d/networking)
  Drop-In: /run/systemd/generator/networking.service.d
   `-50-insserv.conf-$network.conf
   Active: active (exited) since Mon 2014-09-29 09:22:44 UTC; 1min 51s ago
  Process: 332 ExecStart=/etc/init.d/networking start (code=exited, 
status=0/SUCCESS)

-- 
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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2014-09-29 Thread Martin Pitt
Right, I get the same (on both current utopic and your Ubuntu Core
environment). So /etc/init.d/networking exists and is being run --
what's missing? What does ip a show? It gets a proper DHCP assignment
and routing here.

-- 
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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2014-09-28 Thread Martin Pitt
I  updated the package description to what you (most probably) mean. I
need to check with the Debian systemd maintainers whether hotplug should
additionally be there, too.

** Description changed:

  /lib/systemd/system/ifup@.service specifies:
  
-   ExecStart=/sbin/ifup --allow=hotplug %I
+   ExecStart=/sbin/ifup --allow=hotplug %I
  
  This really needs to be:
  
-   ExecStart=/sbin/ifup --allow=hotplug %I
+   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)

-- 
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:
  New

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp