[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#816076: marked as done (wicd-daemon: upgrade reconfigures static ethernet interface, and kills ssh sessions.)



Your message dated Sun, 22 May 2016 22:34:01 +0000
with message-id <E1b4bwf-0008Ct-ML@franck.debian.org>
and subject line Bug#816076: fixed in wicd 1.7.4+tb2-2
has caused the Debian Bug report #816076,
regarding wicd-daemon: upgrade reconfigures static ethernet interface, and kills ssh sessions.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
816076: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816076
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wicd-daemon
Version: 1.7.4+tb2-1
Severity: serious

Dear Maintainer,

My home server is a headless box, administered from a vnc session tunnelled
over ssh.  It has no wifi adaptor, just a single ethernet port that is
statically configured via /etc/network/interfaces.

During today's package update my ssh connection died partway through, during
setup of wicd-daemon.  Last line was "Installing new version of config file
/etc/wicd/encryption/templates/wpa2-peap ..."

Then ssh refused to re-connect.

I finally got re-connected after discovering that wicd-daemon had
reconfigured eth0 to a different ip address.

(Note that if this had been a remote box, then I might not have been able to
discover the new ip address.  Potentially this might lead require in person
intervention in such cases).

This behaviour is wrong on so many levels.

1. A package upgrade should never bring down an existing in-use interface
without asking the user/admin first.  (There is a reason that ssh takes care to
not kill the existing session during package upgrades.  Consider what would
have happened if that had been a normal ssh session, and aptitude had
stalled part way through asking for user input).

2. I don't think I have ever actually used wicd.  Wicd-daemon should not
assume that just because it is installed it owns all the network interfaces.
It should only be touching interfaces it has configured/or the the user/admin
requests that it configure.

3. Even if it needs to reconfigure all interfaces, and even if we assume that
is owns all the network interfaces, it _must_ respect the admins static
configuration in /etc/network/interfaces , unless the user/admin specifically
requests it to reconfigure that interface.

Personally I think it should respect any and all pre-exisiting interfaces,
unless and until the admin/user asks for them to be changed.  That means
no touching of any interfaces it hasn't configured, including any interfaces
that the user/admin might have configured in non-standard ways, including
interactively.

I have reproduced the above problem using "aptitude reinstall wicd-daemon",
so it is definitely caused by installing the current version of wicd-daemon.

I have been through basically the same problems with network-manager in the
past.  Issues like this are why so many people are hostile to that package.

Thanks for your work on Debian.

Andrew V.
========





For reference, in case these help.


# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
        address 192.168.1.40
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 192.168.1.1 203.12.160.35 203.12.160.36



# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.55  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::a2b3:ccff:fee2:5ad3  prefixlen 64  scopeid 0x20<link>
        ether a0:b3:cc:e2:5a:d3  txqueuelen 1000  (Ethernet)
        RX packets 342875  bytes 75660357 (72.1 MiB)
        RX errors 0  dropped 60907  overruns 0  frame 0
        TX packets 302442  bytes 162293744 (154.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 31913079  bytes 22201337028 (20.6 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 31913079  bytes 22201337028 (20.6 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



# ls -al /etc/wicd/
total 40
drwxr-xr-x   4 root root  4096 Feb 27 14:45 .
drwxr-xr-x 171 root root 12288 Feb 27 14:45 ..
-rw-r--r--   1 root root   927 Nov  4  2014 dhclient.conf.template
-rw-r--r--   1 root root   931 Dec 22  2014 dhclient.conf.template.default
drwxr-xr-x   3 root root  4096 Nov  4  2014 encryption
-rw-------   1 root root   485 Feb 27 14:45 manager-settings.conf
drwxr-xr-x   6 root root  4096 Nov  4  2014 scripts
-rw-------   1 root root   320 Feb 27 14:45 wired-settings.conf
-rw-------   1 root root     0 Feb 27 14:45 wireless-settings.conf



# cat /etc/wicd/wired-settings.conf
[wired-default]
ip = None
broadcast = None
netmask = None
gateway = None
search_domain = None
dns_domain = None
dns1 = None
dns2 = None
dns3 = None
beforescript = None
afterscript = None
predisconnectscript = None
postdisconnectscript = None
encryption_enabled = None
default = True
dhcphostname = <redacted>
lastused = True



# cat /etc/wicd/manager-settings.conf
[Settings]
backend = external
wireless_interface = None
wired_interface = eth0
wpa_driver = wext
always_show_wired_interface = False
use_global_dns = False
global_dns_1 = None
global_dns_2 = None
global_dns_3 = None
global_dns_dom = None
global_search_dom = None
auto_reconnect = True
debug_mode = False
wired_connect_mode = 1
signal_display_type = 0
should_verify_ap = 1
dhcp_client = 0
link_detect_tool = 0
flush_tool = 0
sudo_app = 0
prefer_wired = False
show_never_connect = True


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages wicd-daemon depends on:
ii  adduser          3.113+nmu3
ii  dbus             1.10.6-1
ii  debconf          1.5.58
ii  ethtool          1:4.2-1
ii  iproute2         4.3.0-1+b1
ii  iputils-ping     3:20121221-5+b2
ii  isc-dhcp-client  4.3.3-8
ii  lsb-base         9.20160110
ii  net-tools        1.60+git20150829.73cef8a-2
ii  psmisc           22.21-2.1+b1
ii  python-dbus      1.2.0-3
ii  python-gobject   3.18.2-2
ii  python-wicd      1.7.4+tb2-1
pn  python:any       <none>
ii  wireless-tools   30~pre9-8
ii  wpasupplicant    2.3-2.3

Versions of packages wicd-daemon recommends:
ii  rfkill                  0.5-1
ii  wicd-gtk [wicd-client]  1.7.4+tb2-1

Versions of packages wicd-daemon suggests:
ii  pm-utils  1.4.1-16

Versions of packages wicd depends on:
ii  wicd-gtk [wicd-client]  1.7.4+tb2-1

Versions of packages wicd-gtk depends on:
ii  python-glade2  2.24.0-4
ii  python-gtk2    2.24.0-4
pn  python:any     <none>

Versions of packages wicd-gtk recommends:
ii  gksu           2.0.2-9
ii  python-notify  0.1.1-4

Versions of packages python-wicd depends on:
pn  python:any  <none>

-- debconf information:
* wicd/users:

--- End Message ---
--- Begin Message ---
Source: wicd
Source-Version: 1.7.4+tb2-2

We believe that the bug you reported is fixed in the latest version of
wicd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 816076@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <abe@debian.org> (supplier of updated wicd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 22 May 2016 23:50:03 +0200
Source: wicd
Binary: wicd wicd-daemon wicd-gtk wicd-curses wicd-cli python-wicd
Architecture: source all
Version: 1.7.4+tb2-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Axel Beckert <abe@debian.org>
Description:
 python-wicd - wired and wireless network manager - Python module
 wicd       - wired and wireless network manager - metapackage
 wicd-cli   - wired and wireless network manager - scriptable console client
 wicd-curses - wired and wireless network manager - Curses client
 wicd-daemon - wired and wireless network manager - daemon
 wicd-gtk   - wired and wireless network manager - GTK+ client
Closes: 816076 824596
Changes:
 wicd (1.7.4+tb2-2) unstable; urgency=low
 .
   * QA upload
 .
   [ Axel Beckert ]
   * Fix FTBFS if $LANG is unset (or set to something unexpected) by
     hardcoding a sane value in debian/rules. (Closes: #824596)
   * Declare compliance with Debian Policy 3.9.8. (No changes needed.)
   * Switch Vcs-Git header from git:// to https://.
 .
   [ Giáp Trần ]
   * Add default DAEMON_ARGS="--keep-connection" to /etc/default/wicd
     (Closes: #816076)
Checksums-Sha1:
 8e34a909c616f0f2ff8dffd253cb8c45d70bec9d 2154 wicd_1.7.4+tb2-2.dsc
 bae7a32e3136534ccfb390dc0b8c61b95166d3af 24844 wicd_1.7.4+tb2-2.debian.tar.xz
 5cf43c2f2c83d4240774115c96e1275f8218368b 54346 python-wicd_1.7.4+tb2-2_all.deb
 c2227ab9082f09340877625c609455dcb234e1f2 26950 wicd-cli_1.7.4+tb2-2_all.deb
 25082cd9a0384595b9143036615ee164e1a59970 51476 wicd-curses_1.7.4+tb2-2_all.deb
 ee1c885535beb73be754d05f2b0ee298312bfad8 161522 wicd-daemon_1.7.4+tb2-2_all.deb
 d0a73b87a9901e20da644270e6b796e017e5d6df 154456 wicd-gtk_1.7.4+tb2-2_all.deb
 71a09bbd6db9cb462cd9710fb256e941eca36e12 23418 wicd_1.7.4+tb2-2_all.deb
Checksums-Sha256:
 65ab7bb12d6173ab39a051008770e6d427e9de5b91687bee19e1ecbf602e9dca 2154 wicd_1.7.4+tb2-2.dsc
 da93a2aa2df88e5d48a9a85d0daa96445931b8328a4d4816b840cb657fa173d5 24844 wicd_1.7.4+tb2-2.debian.tar.xz
 cd5c5e25b93b2192221959a1f7388afd606b2bd93e20f105010df337995a04a3 54346 python-wicd_1.7.4+tb2-2_all.deb
 91a10a93e02ee41a75fe270f243b4b231e6c74e12e1cbc9e42066b5566f9980c 26950 wicd-cli_1.7.4+tb2-2_all.deb
 6bb26f1ed940a8eb758c88803c7c402fb6c8a37ae29fa2d04761a01d807bf2aa 51476 wicd-curses_1.7.4+tb2-2_all.deb
 e2caf789ef0de039006e36576abf18723af12bef0bc1fd15537fc9407d9a87b8 161522 wicd-daemon_1.7.4+tb2-2_all.deb
 8e864a75e2918e2bc2902cd07414a33ecd0ea143cc83dfb17a0bd54acd8c48b8 154456 wicd-gtk_1.7.4+tb2-2_all.deb
 91c188ffb54e108bed140619021e050e2e0c362b84c574cac5785804fb24ee68 23418 wicd_1.7.4+tb2-2_all.deb
Files:
 d1a0e9d25a082c7778a67feac09b1dda 2154 net optional wicd_1.7.4+tb2-2.dsc
 b1b98d8411f9d33837012c819601c4d3 24844 net optional wicd_1.7.4+tb2-2.debian.tar.xz
 59b2c52d066cf6ac8c4fc55c7748c427 54346 python optional python-wicd_1.7.4+tb2-2_all.deb
 869dc3a049ed98665acbd4d21bc6fcdf 26950 net optional wicd-cli_1.7.4+tb2-2_all.deb
 6da29343d6ee64dac2fe93ebdb0ce503 51476 net optional wicd-curses_1.7.4+tb2-2_all.deb
 6dd7c912cfffea95c014f026c5eb3509 161522 net optional wicd-daemon_1.7.4+tb2-2_all.deb
 0354f140d64ccc8bcc43d88c8f4c2c61 154456 net optional wicd-gtk_1.7.4+tb2-2_all.deb
 b5e5744a85435a55630ea32ccbe31a89 23418 net optional wicd_1.7.4+tb2-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXQipGAAoJEC/5zVlhJha1DMkP/i+xutrGkkGX4+mfjhdI3ScP
OxC4GJieeXA0F2Nibfh2hNzH0nt82xOTnUXs/S3YRdeOxMM7Wxvd4u67oTd6Qh7q
4Ao840nPemyCXwp62SYczq6td8h42E8+YFTk2kLJkDfFEyE1FtECoYW1nBqR2sbw
ovfFvketeR7R97nyJ9q9L1OTnpU54DOBJfn1nARO3i2sEpnz6axgd6Km8i0AoRUs
BjVxVzH7QT5cBPcZSfo7q5EsQKCZQwPUBv+01OjC12bSa4xuXBLZlCdNaTOlZfRN
+lCZmuQhHku1g+GpXScJc3BIdbjjNchlZ199havv8v0afFer8mkIhkA3evEawa8k
778hExZHdOfoVGjB5/mnyj/zx5+FicUuV6U8sfIWYwcsVEbfSRD0Tdajkfv4HGwm
ZLBH44qPkisFE9QcN4tVRzFOhnTbP6TkM2Q6fVc/VeQK2b7jildC7xP9wtye53jQ
oNV2g5qGT9LgCK0+eDov3ksLyxxHuYGsmnCKuhjCGCEvZuKcaeu2gymgY1GmfsEA
neQBnerxgciWvdWhzdEPnsyhruNRfOYbGJZdFzYCOG6NyghLOmM5sQE8e/WhyEK8
iD+TfLI0HdP6YHXlbUVciku8YF7RRrhj2HlXPRdk2p277WZAo+8ttj0SN52VM3qN
GSxxffIobrXMJd/2Ig+g
=5YB6
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: