You are not logged in.

#1 2012-07-27 06:23:17

Squiddles
Member
Registered: 2011-05-31
Posts: 73

[SOLVED] Wicd only launches manually with systemd

I setup systemd on my laptop and wicd worked as a daemon in rc.conf. Now with systemd it doesn't appear to launch the service manually.

This is what is in the systemd journal after grepping wicd:

Jul 26 23:35:36 Archibald dbus-daemon[191]: dbus[191]: [system] Activating via systemd: service name='org.wicd.daemon' unit='dbus-org.wicd.daemon.service'
Jul 26 23:35:36 Archibald dbus[191]: [system] Activating via systemd: service name='org.wicd.daemon' unit='dbus-org.wicd.daemon.service'
Jul 26 23:35:36 Archibald dbus-daemon[191]: dbus[191]: [system] Activation via systemd failed for unit 'dbus-org.wicd.daemon.service': Unit dbus-org.wicd.daemon.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.wicd.daemon.service' for details.
Jul 26 23:35:36 Archibald dbus[191]: [system] Activation via systemd failed for unit 'dbus-org.wicd.daemon.service': Unit dbus-org.wicd.daemon.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.wicd.daemon.service' for details.
Jul 26 23:35:36 Archibald dbus-daemon[191]: dbus[191]: [system] Activating via systemd: service name='org.wicd.daemon' unit='dbus-org.wicd.daemon.service'
Jul 26 23:35:36 Archibald dbus[191]: [system] Activating via systemd: service name='org.wicd.daemon' unit='dbus-org.wicd.daemon.service'
Jul 26 23:35:36 Archibald dbus[191]: [system] Activation via systemd failed for unit 'dbus-org.wicd.daemon.service': Unit dbus-org.wicd.daemon.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.wicd.daemon.service' for details.
Jul 26 23:35:36 Archibald dbus-daemon[191]: dbus[191]: [system] Activation via systemd failed for unit 'dbus-org.wicd.daemon.service': Unit dbus-org.wicd.daemon.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.wicd.daemon.service' for details.
Jul 26 23:35:36 Archibald slim[197]: /usr/share/wicd/gtk/guiutil.py:54: GtkWarning: Unable to locate theme engine in module_path: "murrine",
Jul 26 23:35:41 Archibald dbus-daemon[191]: dbus[191]: [system] Activating via systemd: service name='org.wicd.daemon' unit='dbus-org.wicd.daemon.service'
Jul 26 23:35:41 Archibald dbus[191]: [system] Activating via systemd: service name='org.wicd.daemon' unit='dbus-org.wicd.daemon.service'
Jul 26 23:35:41 Archibald dbus-daemon[191]: dbus[191]: [system] Activation via systemd failed for unit 'dbus-org.wicd.daemon.service': Unit dbus-org.wicd.daemon.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.wicd.daemon.service' for details.
Jul 26 23:35:41 Archibald dbus[191]: [system] Activation via systemd failed for unit 'dbus-org.wicd.daemon.service': Unit dbus-org.wicd.daemon.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.wicd.daemon.service' for details.
Jul 26 23:39:06 Archibald sudo[669]: jon : TTY=pts/2 ; PWD=/home/jon ; USER=root ; COMMAND=/usr/bin/systemctl start wicd.service
Jul 26 23:39:17 Archibald wicd[672]: dhcpcd[724]: dhcpcd not running
Jul 26 23:39:17 Archibald wicd[672]: Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Jul 26 23:39:17 Archibald wicd[672]: dhcpcd[734]: dhcpcd not running
Jul 26 23:39:18 Archibald wicd[672]: Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Jul 26 23:39:18 Archibald wicd[672]: dhcpcd[744]: dhcpcd not running
Jul 26 23:39:19 Archibald wicd[672]: Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Jul 26 23:39:19 Archibald slim[197]: /usr/share/wicd/gtk/wicd-client.py:510: GtkWarning: Unable to locate theme engine in module_path: "murrine",

Running:  systemctl status dbus-org.wicd.daemon.service
returns this:

dbus-org.wicd.daemon.service
Loaded: error (Reason: No such file or directory) 
Active: inactive (dead)

But it starts up just fine by running:
systemctl start wicd.service

I made the unit as outlined HERE, and enabled it via systemctl.

Any ideas why it won't auto launch?

Last edited by Squiddles (2012-07-27 06:34:57)

Offline

#2 2012-07-27 06:32:25

prasinoulhs
Member
From: Greece
Registered: 2011-10-30
Posts: 53

Re: [SOLVED] Wicd only launches manually with systemd

systemctl enable wicd.service

to start on boot.

You don't have to create the service file, it's provided by the wicd package. You should read the wiki again it's in there.

Last edited by prasinoulhs (2012-07-27 06:35:29)

Offline

#3 2012-07-27 06:32:56

Squiddles
Member
Registered: 2011-05-31
Posts: 73

Re: [SOLVED] Wicd only launches manually with systemd

Damn, I always seem to find my answers as soon as I post about the problem.

I changed the WantedBy from network.target to multi-user.target, re-enabled it via the systemctl command and it worked on the next reboot.


prasinoulhs wrote:
systemctl enable wicd.service

to start on boot.

You don't have to create the service file, it's provided by the package.

That will definitely help me next time. I had no idea. There was no mention of it in the wiki so I assumed it just wasn't there.

Last edited by Squiddles (2012-07-27 06:33:53)

Offline

Board footer

Powered by FluxBB