Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39617 - [netctl] When removing netctl, systemd files should be removed too

Attached to Project: Arch Linux
Opened by Kai Hendry (hendry) - Tuesday, 25 March 2014, 01:01 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 April 2014, 16:49 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: I uninstalled netctl, but I still have files like:

[hendry@alarmpi ~]$ systemctl -a | grep netctl
netctl-ifplugd@eth0.service not-found inactive dead netctl-ifplugd@eth0.service
netctl@wlan0\x2dSINGTEL\x2dF726.service error inactive dead netctl@wlan0\x2dSINGTEL\x2dF726.service


Left over.
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 05 April 2014, 16:49 GMT
Reason for closing:  Not a bug
Additional comments about closing:  You created these files, you need to remove them yourself.
Comment by Dave Reisner (falconindy) - Tuesday, 25 March 2014, 11:52 GMT
Those are units in memory. Do you really still have files? Isn't /run used for storage?
Comment by Kai Hendry (hendry) - Wednesday, 26 March 2014, 00:41 GMT
I'm not sure where systemd is picking it up from.

[hendry@alarmpi systemd]$ systemctl status netctl-ifplugd@eth0.service
netctl-ifplugd@eth0.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
[hendry@alarmpi systemd]$ systemctl status netctl@wlan0\x2dSINGTEL\x2dF726.service
netctl@wlan0x2dSINGTELx2dF726.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
Comment by Dave Reisner (falconindy) - Wednesday, 26 March 2014, 00:56 GMT
Which means it was deleted...

Run: systemctl daemon-reload
Comment by Kai Hendry (hendry) - Wednesday, 26 March 2014, 01:04 GMT
I've daemon-reload-ed. Even rebooted. Still:

[hendry@alarmpi ~]$ sudo systemctl -all | grep netctl
netctl-ifplugd@eth0.service not-found inactive dead netctl-ifplugd@eth0.service
netctl@wlan0\x2dSINGTEL\x2dF726.service error
inactive dead netctl@wlan0\x2dSINGTEL\x2dF726.service

This file IIUC are coming from /etc/systemd/system/

/etc/systemd/system/netctl@wlan0\x2dSINGTEL\x2dF726.service
/etc/systemd/system/multi-user.target.wants/netctl@wlan0\x2dSINGTEL\x2dF726.service
/etc/systemd/system/multi-user.target.wants/netctl-ifplugd@eth0.service


I'll remove them manually now. Still would be nice if I could purge this stuff on package removal.
Comment by Doug Newgard (Scimmia) - Thursday, 27 March 2014, 17:01 GMT
Those are files that you created (with systemctl enable), why would the package remove them?

Loading...