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); Source for ifupdown is src:ifupdown.

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

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#463: ifupdown: ifup hangs up with wlan0 and does not configure it
Reply-To: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>, 463@bugs.devuan.org
Resent-From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Sat, 16 May 2020 08:48:01 +0000
Resent-Message-ID: <handler.463.B.158961840622106@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 463
X-Devuan-PR-Package: ifupdown
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.158961840622106
          (code B); Sat, 16 May 2020 08:48:01 +0000
Received: (at submit) by bugs.devuan.org; 16 May 2020 08:40:06 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 16 May 2020 08:40:06 +0000 (UTC)
Received: from mail004.nap.gsic.titech.ac.jp (mail004.nap.gsic.titech.ac.jp [131.112.13.104])
	by vm6.ganeti.dyne.org (Postfix) with SMTP id E8650F60B72
	for <submit@bugs.devuan.org>; Sat, 16 May 2020 10:39:15 +0200 (CEST)
Received: from 172.22.40.205
	by mail004.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2771:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sat, 16 May 2020 17:39:12 +0900 (JST)
Received: from mail002.nap.gsic.titech.ac.jp (mail002.nap.gsic.titech.ac.jp [131.112.13.102])
	by drweb08.nap.gsic.titech.ac.jp (Postfix) with SMTP id 5D32FEB
	for <submit@bugs.devuan.org>; Sat, 16 May 2020 17:39:10 +0900 (JST)
Received: from 114.145.251.241
	by mail002.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2632:1:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sat, 16 May 2020 17:39:09 +0900 (JST)
Date: Sat, 16 May 2020 17:38:56 +0900 (JST)
Message-Id: <20200516.173856.964142981552221919.ryutaroh@ict.e.titech.ac.jp>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
 boundary="--Next_Part(Sat_May_16_17_38_56_2020_664)--"
Content-Transfer-Encoding: 7bit
[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)]

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: Sat Apr 20 05:16:58 2024;