You are not logged in.

#1 2013-05-04 13:05:28

rwd
Member
Registered: 2009-02-08
Posts: 671

wicd.service fails 'Failed to connect to non-global ctrl_ifname:...'

Since a few weeks after booting (Macbook Pro 7,1 single boot, bios compatibility mode) my wicd.service systemd service fails. Starting it manually after boot works.

It seems as if wicd won't wait for the network devices to to be available at boot. Putting 'After=syslog.target sys-subsystem-net-devices-wlp2s0.device' in wicd.service did not help.    'sudo systemctl --failed' results '0 loaded units listed.' so it seems no other services failed. Any idea how to fix this?

errormessage:

[user1@arch-macbookpro ~]$ sudo systemctl status wicd
wicd.service - Wicd a wireless and wired network manager for Linux
   Loaded: loaded (/etc/systemd/system/wicd.service; disabled)
   Active: inactive (dead)

May 04 12:06:44 arch-macbookpro wicd[2290]: Failed to connect to non-global ctrl_ifname: wlp2s0  error: No such file or directory
May 04 12:06:44 arch-macbookpro wicd[2290]: dhcpcd[21697]: dhcpcd not running
May 04 12:06:46 arch-macbookpro wicd[2290]: Failed to connect to non-global ctrl_ifname: enp3s0  error: No such file or directory
May 04 14:31:07 arch-macbookpro wicd[2290]: dhcpcd[21860]: dhcpcd not running
May 04 14:31:07 arch-macbookpro wicd[2290]: Failed to connect to non-global ctrl_ifname: wlp2s0  error: No such file or directory
May 04 14:31:07 arch-macbookpro wicd[2290]: dhcpcd[21866]: dhcpcd not running
May 04 14:31:09 arch-macbookpro wicd[2290]: Failed to connect to non-global ctrl_ifname: enp3s0  error: No such file or directory
May 04 14:31:09 arch-macbookpro wicd[2290]: dhcpcd[21891]: dhcpcd not running
May 04 14:31:09 arch-macbookpro dhcpcd[21891]: dhcpcd not running
May 04 14:31:09 arch-macbookpro wicd[2290]: Failed to connect to non-global ctrl_ifname: wlp2s0  error: No such file or directory

the service starts fine manually:

[user1@arch-macbookpro ~]$ sudo systemctl start wicd
[user1@arch-macbookpro ~]$ sudo systemctl status wicd
wicd.service - Wicd a wireless and wired network manager for Linux
   Loaded: loaded (/etc/systemd/system/wicd.service; disabled)
   Active: active (running) since Sat 2013-05-04 14:47:31 CEST; 5s ago
 Main PID: 2171 (wicd)
   CGroup: name=systemd:/system/wicd.service
           ├─2171 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py --no-daemon
           └─2178 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py

May 04 14:47:31 arch-macbookpro systemd[1]: Starting Wicd a wireless and wired network manager for Linux...
May 04 14:47:31 arch-macbookpro systemd[1]: Started Wicd a wireless and wired network manager for Linux.

contents of /etc/systemd/system/wicd.service:

[Unit]
Description=Wicd a wireless and wired network manager for Linux
After=syslog.target sys-subsystem-net-devices-wlp2s0.device
Wants=network.target
Before=network.target

[Service]
Type=dbus
BusName=org.wicd.daemon
ExecStart=/usr/sbin/wicd --no-daemon

[Install]
WantedBy=multi-user.target
Alias=dbus-org.wicd.daemon.service

ouitput of systemctl -a --full  | grep net-devices-

sys-subsystem-net-devices-enp3s0.device                                                                loaded active   plugged   NetXtreme BCM5764M Gigabit Ethernet PCIe
sys-subsystem-net-devices-wlp2s0.device                                                                loaded active   plugged   BCM4322 802.11a/b/g/n Wireless LAN Controller

Last edited by rwd (2013-05-04 13:31:31)

Offline

Board footer

Powered by FluxBB