Package: ifupdown
Version: 0.7.50
Severity: normal

Dear Maintainer,

please consider returning exit status 1 when the up command of an
interface fails. Since the interface is not marked as configured,
network-manager will think there is no connectivity and programs
interacting with NM won't work (for example pidgin).

My situation was that I wanted to turn on jumbo frames for my network
bridge, and I mistakenly added the up commands in the wrong order:
    up ifconfig br0 mtu 9000
    up ifconfig eth0 mtu 9000

Now on the next reboot network-manager thought I was offline. The reason
for that was a little difficult to debug because systemd thought
everything was just fine: no error was reported from
/etc/init.d/networking. Since my computer boots up too fast to watch the
initialization messages, I didn't notice the error there either. And I
did not suspect ifup as the culprit because I did have a working network
access.

Yes, the man page mentions that this is expected behavior. But given
that it is difficult to debug, and there is real breakage when
network-manager is used, I think that it would be preferable to actually
return an error.

Thanks,
~David

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ifupdown depends on:
ii  adduser      3.113+nmu3
ii  initscripts  2.88dsf-58
ii  iproute      1:3.16.0-2
ii  iproute2     3.16.0-2
ii  libc6        2.19-13
ii  lsb-base     4.1+Debian13+nmu1

Versions of packages ifupdown recommends:
ii  isc-dhcp-client [dhcp-client]  4.3.1-5

Versions of packages ifupdown suggests:
ii  net-tools  1.60-26+b1
ii  ppp        2.4.6-3
pn  rdnssd     <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to