You are not logged in.

#1 2013-09-15 13:53:36

wil93
Member
From: Italy
Registered: 2013-09-15
Posts: 72

[SOLVED] Error in journalctl after replacing netctl wth NetworkManager

Following the Archlinux installation wiki, I installed netctl and configured a new wifi profile (I called it "my-network"), some time ago I replaced netctl with NetworkManager and I think I deleted the wifi profile I created (I can't find it anywhere).
The problem is that now I see this error in `journalctl -xb`:

...
Sep 15 11:39:58 wil93-arch systemd[1]: systemd 204 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
Sep 15 11:39:58 wil93-arch systemd[1]: Set hostname to <wil93-arch>.
Sep 15 11:39:58 wil93-arch systemd[1]: Cannot add dependency job for unit netctl@my\x2dnetwork.service, ignoring: Unit netctl@my\x2dnetwork.service failed to load: No such file or directory. See system logs and  'systemctl status netctl@my\x2dnetwork.service' for details.
Sep 15 11:39:58 wil93-arch systemd[1]: Starting Login Prompts.
...

As you can see, it searches for some "my\x2dnetwork.service" that doesn't exist anywhere on my system. I searched through all systemd services to see if there was someone who wanted that but I haven't found anything. How can I completely get rid of this?

If I run `systemctl status netctl@my\x2dnetwork.service` as said in the error line, I get:

netctl@myx2dnetwork.service
   Loaded: error (Reason: No such file or directory)
   Active: inactive (dead)

Jul 11 16:24:34 wil93-arch systemd[1]: Stopped Networking for netctl profile myx2dnetwork.

So there's some log dated back on July 11, that I think is the date when I uninstalled netctl. Any ideas?

Last edited by wil93 (2013-09-16 14:36:59)

Offline

#2 2013-09-16 11:30:43

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

Re: [SOLVED] Error in journalctl after replacing netctl wth NetworkManager

Have you disabled the netctl service (systemctl disable netctl@wthatever.service) before you uninstalled netctl?
Maybe I'm wrong, but it looks like it still tries to start.

Last edited by scar (2013-09-16 11:30:55)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#3 2013-09-16 11:38:47

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] Error in journalctl after replacing netctl wth NetworkManager

wil93 wrote:

As you can see, it searches for some "my\x2dnetwork.service" that doesn't exist anywhere on my system. I searched through all systemd services to see if there was someone who wanted that but I haven't found anything.

Don't forget the *.wants directories.

Offline

#4 2013-09-16 14:24:23

wil93
Member
From: Italy
Registered: 2013-09-15
Posts: 72

Re: [SOLVED] Error in journalctl after replacing netctl wth NetworkManager

Raynman wrote:

Don't forget the *.wants directories.

Thanks. I've removed the file /etc/systemd/system/multi-user.target.wants/netctl@my\x2dnetwork.service
I don't know why I haven't found that before. Maybe it was there because I tried reinstalling netctl (now I uninstalled it again).

scar wrote:

Have you disabled the netctl service (systemctl disable netctl@wthatever.service) before you uninstalled netctl?

I don't know if I did. Anyway, now I know that I probably should have done that.

Offline

Board footer

Powered by FluxBB