GNU bug report logs -
#38653
wpa-supplicant dbus failure leads to networking service failure
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38653 in the body.
You can then email your comments to 38653 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#38653
; Package
guix
.
(Tue, 17 Dec 2019 18:57:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Christopher Howard <christopher <at> alaskasi.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 17 Dec 2019 18:57:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Under this guix commit, wpa_supplicant service fails to initialize,
which takes out networking also.
'''
root <at> eowyn ~# guix describe
Generation 2 Dec 17 2019 08:30:38 (current)
guix 328dd9b
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 328dd9b7c2030dfb66013e12f055b5b449c94007
'''
From /var/log/messages:
'''
Dec 17 09:31:29 localhost wpa_supplicant[361]: dbus: Could not request
service name: already registered
Dec 17 09:31:46 localhost vmunix: [ 35.824562] input: HDA Intel Rear
Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
Dec 17 09:31:46 localhost vmunix: [ 35.824618] input: HDA Intel Line
as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
Dec 17 09:31:46 localhost vmunix: [ 35.824673] input: HDA Intel Line
Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
Dec 17 09:31:46 localhost vmunix: [ 35.824740] input: HDA Intel Front
Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
Dec 17 09:31:46 localhost vmunix: [ 36.012141] fbcon: inteldrmfb
(fb0) is primary device
Dec 17 09:31:46 localhost vmunix: [ 36.048479] Console: switching to
colour frame buffer device 240x75
Dec 17 09:31:46 localhost vmunix: [ 36.070192] i915 0000:00:02.0:
fb0: inteldrmfb frame buffer device
Dec 17 09:31:46 localhost vmunix: [ 36.305107] iTCO_vendor_support:
vendor-support=0
Dec 17 09:31:46 localhost vmunix: [ 36.380964] gpio_ich
gpio_ich.1.auto: GPIO from 462 to 511
Dec 17 09:31:47 localhost vmunix: [ 36.403431] iTCO_wdt: Intel TCO
WatchDog Timer Driver v1.11
Dec 17 09:31:47 localhost vmunix: [ 36.403469] iTCO_wdt: Found a ICH7
or ICH7R TCO device (Version=2, TCOBASE=0x0860)
Dec 17 09:31:47 localhost vmunix: [ 36.403620] iTCO_wdt: initialized.
heartbeat=30 sec (nowayout=0)
Dec 17 09:31:47 localhost vmunix: [ 36.778818] tg3 0000:02:00.0
enp2s0: renamed from eth0
Dec 17 09:31:29 localhost dbus-daemon[321]: [system] Activating service
name='org.freedesktop.Accounts' requested by ':1.6' (uid=0 pid=360
comm="/gnu/store/akg524gv9skpl3pyj36rcw61xvpk3131-g
dm-3.") (using servicehelper)
Dec 17 09:31:47 localhost vmunix: [ 37.379918] dcdbas dcdbas: Dell
Systems Management Base Driver (version 5.6.0-3.3)
Dec 17 09:31:47 localhost vmunix: [ 37.446154] intel_powerclamp: No
package C-state available
Dec 17 09:31:47 localhost vmunix: [ 44.047624] usb 1-3.4.4: Warning!
Unlikely big volume range (=496), cval->res is probably wrong.
Dec 17 09:31:47 localhost vmunix: [ 44.047627] usb 1-3.4.4: [51] FU
[Mic Playback Volume] ch = 1, val = 0/7936/16
Dec 17 09:31:48 localhost vmunix: [ 44.052371] usb 1-3.4.4: Warning!
Unlikely big volume range (=1008), cval->res is probably wrong.
Dec 17 09:31:48 localhost vmunix: [ 44.052373] usb 1-3.4.4: [49] FU
[Speaker Playback Volume] ch = 2, val = -16129/-1/16
Dec 17 09:31:48 localhost vmunix: [ 44.057121] usb 1-3.4.4: Warning!
Unlikely big volume range (=496), cval->res is probably wrong.
Dec 17 09:31:48 localhost vmunix: [ 44.057123] usb 1-3.4.4: [50] FU
[Mic Capture Volume] ch = 1, val = 0/7936/16
Dec 17 09:31:48 localhost vmunix: [ 44.057512] usbcore: registered
new interface driver snd-usb-audio
Dec 17 09:31:48 localhost vmunix: [ 44.906195] usbcore: registered
new interface driver usbkbd
Dec 17 09:31:48 localhost vmunix: [ 45.868354] usbcore: registered
new interface driver usbmouse
Dec 17 09:31:30 localhost wpa_supplicant[361]: Failed to initialize
wpa_supplicant
Dec 17 09:31:32 localhost dbus-daemon[321]: [system] Activating service
name='org.freedesktop.PolicyKit1' requested by ':1.7' (uid=0 pid=365
comm="/gnu/store/awhfvskmqyf1p1ddnh9v9s7pqh7cdfyl
-accoun") (using servicehelper)
Dec 17 09:31:48 localhost shepherd[1]: Service wpa-supplicant could not
be started.
Dec 17 09:31:48 localhost shepherd[1]: Service networking depends on
wpa-supplicant.
'''
'''
root <at> eowyn ~# herd start networking
Service wpa-supplicant could not be started.
Service networking depends on wpa-supplicant.
Service networking could not be started.
herd: failed to start service networking
'''
from NeoFetch:
'''
OS: Guix System 328dd9b7c2030dfb66013e12f055b5b449c94007 x86_64
Host: Vostro 230 00
Kernel: 5.1.2-gnu
Uptime: 8 mins
Packages: 55 (guix-system), 30 (guix-user)
Shell: bash 5.0.7
DE: GNOME 3.28.2
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: .gnome-terminal
CPU: Intel Core 2 Duo E7500 (2) @ 2.291GHz
GPU: Intel 4 Series Chipset
Memory: 1496MiB / 3909MiB
'''
Please let me know if there is a workaround.
--
Christopher Howard
Enterprise Solutions Manager
Alaska Satellite Internet
PO Box 70, Ester, AK 99725
3239 La Ree Way, Fairbanks, AK 99709
907.451.0088
1.888.396.5623
www.alaskasatelliteinternet.com
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38653
; Package
guix
.
(Tue, 17 Dec 2019 19:00:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 38653 <at> debbugs.gnu.org (full text, mbox):
I took the neofetch pull after rebooting into an older profile, so some
data there might be suspect.
--
Christopher Howard
Enterprise Solutions Manager
Alaska Satellite Internet
PO Box 70, Ester, AK 99725
3239 La Ree Way, Fairbanks, AK 99709
907.451.0088
1.888.396.5623
www.alaskasatelliteinternet.com
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38653
; Package
guix
.
(Thu, 30 Jan 2020 11:45:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 38653 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Christopher,
Thanks for the bug report, and sorry for the late response.
Christopher Howard <christopher <at> alaskasi.com> writes:
> Under this guix commit, wpa_supplicant service fails to initialize,
> which takes out networking also.
>
> '''
> root <at> eowyn ~# guix describe
> Generation 2 Dec 17 2019 08:30:38 (current)
> guix 328dd9b
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 328dd9b7c2030dfb66013e12f055b5b449c94007
> '''
>
> From /var/log/messages:
>
> '''
> Dec 17 09:31:29 localhost wpa_supplicant[361]: dbus: Could not request
> service name: already registered
I suspect what happened is that you are using
wpa-supplicant-service-type, and also added 'wpa-supplicant' to the
(packages ...) field of your system configuration. The latter will
include a D-Bus policy file for "fi.w1.wpa_supplicant1", which
wpa-supplicant-service-type also tries to register.
As a workaround, you can set (dbus? #f) in wpa-supplicant-configuration,
or remove 'wpa-supplicant' from the system packages. If you want
wpa-supplicant installed globally, you can use 'wpa-supplicant-minimal'
instead.
Can you confirm?
Not sure how we can make this more robust. The easiest fix is probably
to default to (dbus? #f); the only program I know that use the D-Bus
interface is NetworkManager, which has its own service in Guix.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38653
; Package
guix
.
(Thu, 30 Jan 2020 18:02:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 38653 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi, it has been so long... I think the last config.scm I tried to use
(some time ago) was:
"""
(use-modules (gnu)
(gnu packages cups)
(gnu packages scanner))
(use-service-modules desktop networking ssh xorg cups)
(operating-system
(locale "en_US.utf8")
(timezone "America/Anchorage")
(keyboard-layout
(keyboard-layout "us" "altgr-intl"))
(bootloader
(bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")
(keyboard-layout keyboard-layout)))
(mapped-devices
(list (mapped-device
(source
(uuid "e95c1dba-a729-4a99-a5fd-d756539e545e"))
(target "cryptroot")
(type luks-device-mapping))))
(file-systems
(cons* (file-system
(mount-point "/")
(device "/dev/mapper/cryptroot")
(type "ext4")
(dependencies mapped-devices))
%base-file-systems))
(host-name "eowyn")
(users (cons* (user-account
(name "christopher")
(comment "Christopher Howard")
(group "users")
(home-directory "/home/christopher")
(supplementary-groups
'("wheel" "netdev" "audio" "video"
"dialout" "lp" "disk" "floppy"
"cdrom" "lpadmin")))
%base-user-accounts))
(packages
(append
(list (specification->package "nss-certs"))
%base-packages))
(services
(modify-services
(append
(list (service gnome-desktop-service-type)
(service openssh-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout)))
(service cups-service-type
(cups-configuration
(web-interface? #t)
(extensions
(list hplip-minimal cups-filters)))))
%desktop-services)
(udev-service-type
config =>
(udev-configuration (inherit config)
(rules (cons sane-backends
(udev-configuration-rules
config))))))))
"""
I had more or less given up on bothering to try to upgrade system until
the next official guix release. That would be the ideal time for
another test run of this, so I could update both system and all my user
packages as well to the same target. Is there a rough idea of when the
next official release is coming?
-----Original Message-----
From: Marius Bakke <mbakke <at> fastmail.com>
To: Christopher Howard <christopher <at> alaskasi.com>, 38653 <at> debbugs.gnu.or
g
Subject: Re: bug#38653: wpa-supplicant dbus failure leads to networking
service failure
Date: Thu, 30 Jan 2020 12:44:26 +0100
Christopher,
Thanks for the bug report, and sorry for the late response.
Christopher Howard <christopher <at> alaskasi.com> writes:
Under this guix commit, wpa_supplicant service fails to
initialize,which takes out networking also.
'''root <at> eowyn ~# guix describeGeneration 2 Dec 17 2019 08:30:38
(current) guix 328dd9b repository URL: https://git.savannah.gnu.org
/git/guix.gitt branch: master commit:
328dd9b7c2030dfb66013e12f055b5b449c94007'''
From /var/log/messages:
'''Dec 17 09:31:29 localhost wpa_supplicant[361]: dbus: Could not
requestservice name: already registered
I suspect what happened is that you are usingwpa-supplicant-service-
type, and also added 'wpa-supplicant' to the(packages ...) field of
your system configuration. The latter willinclude a D-Bus policy file
for "fi.w1.wpa_supplicant1", whichwpa-supplicant-service-type also
tries to register.
As a workaround, you can set (dbus? #f) in wpa-supplicant-
configuration,or remove 'wpa-supplicant' from the system packages. If
you wantwpa-supplicant installed globally, you can use 'wpa-supplicant-
minimal'instead.
Can you confirm?
Not sure how we can make this more robust. The easiest fix is
probablyto default to (dbus? #f); the only program I know that use the
D-Businterface is NetworkManager, which has its own service in Guix.
--
Christopher Howard
Enterprise Solutions Manager
Alaska Satellite Internet
PO Box 70, Ester, AK 99725
3239 La Ree Way, Fairbanks, AK 99709
907.451.0088
1.888.396.5623
www.alaskasatelliteinternet.com
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38653
; Package
guix
.
(Thu, 06 Feb 2020 16:58:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 38653 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I updated userland and system to
9d0dfd9a9a7c43363a4e140c20d49f119fe6f2e3 and am not experiencing this
problem now. You may close the ticket.
--
Christopher Howard
Enterprise Solutions Manager
Alaska Satellite Internet
PO Box 70, Ester, AK 99725
3239 La Ree Way, Fairbanks, AK 99709
907.451.0088
1.888.396.5623
www.alaskasatelliteinternet.com
[Message part 2 (text/html, inline)]
Reply sent
to
Marius Bakke <mbakke <at> fastmail.com>
:
You have taken responsibility.
(Fri, 14 Feb 2020 16:11:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Christopher Howard <christopher <at> alaskasi.com>
:
bug acknowledged by developer.
(Fri, 14 Feb 2020 16:11:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 38653-close <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Christopher Howard <christopher <at> alaskasi.com> writes:
> I updated userland and system to
> 9d0dfd9a9a7c43363a4e140c20d49f119fe6f2e3 and am not experiencing this
> problem now. You may close the ticket.
Great, thanks for following up. I'm closing this ticket now by adding a
'-close' to the bug email address.
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 14 Mar 2020 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 15 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.