Devuan bug report logs - #463
ifupdown: ifup hangs up with wlan0 and does not configure it

version graph

Package: ifupdown; Maintainer for ifupdown is (unknown);

Reported by: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>

Date: Sat, 16 May 2020 08:48:01 UTC

Severity: normal

Tags: debian

Found in version 0.8.35

Forwarded to https://bugs.debian.org/922550

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#463; Package ifupdown. (Sat, 16 May 2020 08:48:01 GMT) (full text, mbox, link).


Acknowledgement sent to Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. (Sat, 16 May 2020 08:48:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: ifupdown: ifup hangs up with wlan0 and does not configure it
Date: Sat, 16 May 2020 17:38:56 +0900 (JST)
[Message part 1 (text/plain, inline)]
Package: ifupdown
Version: 0.8.35
Severity: normal

Dear Maintainer,

After fresh installation of Beowulf by Server ISO Beta 3,
/etc/init.d/networking hangs up at ifup wlan0.

/etc/network/interfaces is

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug wlan0
iface wlan0 inet dhcp
 wpa-essid MYESSID
 wpa-psk MY_WIFI_PASSWORD
# This is an autoconfigured IPv6 interface
iface wlan0 inet6 auto

"ifup" hangs up with the message
waiting for lock on /run/network/ifstate.wlan0

Detailed output with verbose=YES in /etc/default/networking is
attached as screenshot.

Then it times out. After login, "ip a" shows

root@devuan:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:1b:d3:88:9b:8f brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 00:24:d6:59:c6:68 brd ff:ff:ff:ff:ff:ff
    inet 169.254.8.252/16 brd 169.254.255.255 scope link wlan0:avahi
       valid_lft forever preferred_lft forever

IPv4 nor v6 address is not configured. After "ifdown wlan0; ifup wlan0",
"ip a" shows:

root@devuan:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:1b:d3:88:9b:8f brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:24:d6:59:c6:68 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.31/24 brd 192.168.1.255 scope global dynamic wlan0
       valid_lft 14355sec preferred_lft 14355sec
    inet6 2400:4050:2ba1:ac00:224:d6ff:fe59:c668/64 scope global dynamic mngtmpaddr 
       valid_lft 14354sec preferred_lft 12554sec
    inet6 fe80::224:d6ff:fe59:c668/64 scope link 
       valid_lft forever preferred_lft forever

Best regards, Ryutaroh Matsumoto


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

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug wlan0
iface wlan0 inet dhcp
 wpa-essid Yamashita9_203
 wpa-psk sample0612sam
# This is an autoconfigured IPv6 interface
iface wlan0 inet6 auto

--- /etc/network/interfaces.d/*:
cat: '/etc/network/interfaces.d/*': No such file or directory

--- up and down scripts installed:
/etc/network/if-down.d:
total 4
-rwxr-xr-x 1 root root 1015 Apr 27  2018 avahi-autoipd
lrwxrwxrwx 1 root root   32 Mar 24 19:26 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh

/etc/network/if-post-down.d:
total 4
lrwxrwxrwx 1 root root   23 Oct 10  2018 avahi-daemon -> ../if-up.d/avahi-daemon
-rwxr-xr-x 1 root root 1409 Jun  6  2018 wireless-tools
lrwxrwxrwx 1 root root   32 Mar 24 19:26 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh

/etc/network/if-pre-up.d:
total 8
-rwxr-xr-x 1 root root 4191 Sep 15  2018 wireless-tools
lrwxrwxrwx 1 root root   32 Mar 24 19:26 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh

/etc/network/if-up.d:
total 16
-rwxr-xr-x 1 root root  923 Apr 27  2018 avahi-autoipd
-rwxr-xr-x 1 root root  484 Apr 27  2018 avahi-daemon
-rwxr-xr-x 1 root root 4948 Feb 27  2019 mountnfs
lrwxrwxrwx 1 root root   32 Mar 24 19:26 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh


-- System Information:
Distributor ID:	Debian
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: x86_64

Kernel: Linux 4.19.0-9-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages ifupdown depends on:
ii  adduser   3.118
ii  iproute2  4.20.0-2
ii  libc6     2.28-10
ii  lsb-base  10.2019051400

Versions of packages ifupdown recommends:
ii  isc-dhcp-client [dhcp-client]  4.4.1-2

Versions of packages ifupdown suggests:
pn  ppp     <none>
pn  rdnssd  <none>

-- Configuration Files:
/etc/default/networking changed:
VERBOSE=yes
WAIT_ONLINE_TIMEOUT=30


-- no debconf information
[IMG_20200516_172247402.jpg (image/jpeg, inline)]

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#463; Package ifupdown. (Mon, 18 May 2020 04:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. (Mon, 18 May 2020 04:03:09 GMT) (full text, mbox, link).


Message #10 received at 463@bugs.devuan.org (full text, mbox, reply):

From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
To: 463@bugs.devuan.org
Subject: Re: bug#463: ifupdown: ifup hangs up with wlan0 and does not configure it
Date: Mon, 18 May 2020 12:57:53 +0900 (JST)
I found a workaround on this bug:
Changing

allow-hotplug wlan0
to
auto wlan0

surpresses this. Ryutaroh

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#463; Package ifupdown. (Mon, 18 May 2020 06:18:01 GMT) (full text, mbox, link).


Acknowledgement sent to Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. (Mon, 18 May 2020 06:18:03 GMT) (full text, mbox, link).


Message #15 received at 463@bugs.devuan.org (full text, mbox, reply):

From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
To: 463@bugs.devuan.org
Subject: Re: bug#463: ifupdown: ifup hangs up with wlan0 and does not configure it
Date: Mon, 18 May 2020 15:00:56 +0900 (JST)
This #463 cannot be reproduced on Debian Buster + sysvinit-core. Ryutaroh

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#463; Package ifupdown. (Mon, 18 May 2020 11:48:01 GMT) (full text, mbox, link).


Message #18 received at 463@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>, 463@bugs.devuan.org
Subject: Re: bug#463: ifupdown: ifup hangs up with wlan0 and does not configure it
Date: Mon, 18 May 2020 12:31:18 +0100
Control: tags -1 debian
Control: upstream -1 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922550

Ryutaroh,

Thanks for this. Sorry for not replying -- I missed this report coming through.

On Mon, May 18, 2020 at 12:57:53PM +0900, Ryutaroh Matsumoto wrote:
> I found a workaround on this bug:
> Changing
> 
> allow-hotplug wlan0
> to
> auto wlan0

This is a known issue an workaround. It only occurs if the ethernet cable is
plugged in before boot.

As well as your workaround there is a know initscript patch:

 https://dev1galaxy.org/viewtopic.php?pid=15493#p15493

It is already reported in Debian, but there is no sign of it being addressed.

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922550
 
We will add the workaround to the Release Notes and consider forking the
package.

Thanks

Mark

Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 463-submit@bugs.devuan.org. (Mon, 18 May 2020 11:48:04 GMT) (full text, mbox, link).


Set bug forwarded-to-address to 'https://bugs.debian.org/922550'. Request was from Mark Hindley <mark@hindley.org.uk> to control@bugs.devuan.org. (Thu, 21 May 2020 10:33:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Wed Mar 3 14:22:59 2021;