[Bug 1573112] [NEW] inet manual sets device up with link local address without 'auto'
Scott Moser
smoser at ubuntu.com
Thu Apr 21 15:50:45 UTC 2016
Public bug reported:
When a device is not marked as 'auto' or allow-hotplug or allow-auto,
but is 'inet manual', the interface is brought up, and it will have a
link-local address. the ifup scripts are not run, and ifquery --state
does not show it as up (both of which are correct), but the interfaces
should not have been brought up.
% cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
% reboot
% ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:e5:c1:56
inet6 addr: fe80::216:3eff:fee5:c156/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:648 (648.0 B) TX bytes:648 (648.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1496 (1.4 KB) TX bytes:1496 (1.4 KB)
% ifquery --state --all
lo=lo
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ifupdown 0.8.10ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Thu Apr 21 15:45:27 2016
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
SourcePackage: ifupdown
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: ifupdown (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug uec-images xenial
--
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/1573112
Title:
inet manual sets device up with link local address without 'auto'
Status in ifupdown package in Ubuntu:
New
Bug description:
When a device is not marked as 'auto' or allow-hotplug or allow-auto,
but is 'inet manual', the interface is brought up, and it will have a
link-local address. the ifup scripts are not run, and ifquery --state
does not show it as up (both of which are correct), but the interfaces
should not have been brought up.
% cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
% reboot
% ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:e5:c1:56
inet6 addr: fe80::216:3eff:fee5:c156/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:648 (648.0 B) TX bytes:648 (648.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1496 (1.4 KB) TX bytes:1496 (1.4 KB)
% ifquery --state --all
lo=lo
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ifupdown 0.8.10ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Thu Apr 21 15:45:27 2016
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
SourcePackage: ifupdown
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1573112/+subscriptions
More information about the foundations-bugs
mailing list