You are not logged in.

#1 2013-08-12 12:51:58

peacememories
Member
Registered: 2013-04-04
Posts: 12

[Solved] Remove uninstalled systemd units

Hello people.

I got a weird problem with lingering systemd units.

auditd.service             error  inactive dead auditd.service
plymouth-quit-wait.service error  inactive dead plymouth-quit-wait.service
plymouth-quit.service      error  inactive dead plymouth-quit.service
plymouth-start.service     error  inactive dead plymouth-start.service
syslog.service             error  inactive dead syslog.service

All of these services do not exist in the filesystem, but get "started" one way or another. I'd like to resolve this problem in some way.

Greetings, peacememories.

Last edited by peacememories (2013-08-13 10:38:01)

Offline

#2 2013-08-12 12:55:46

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,535
Website

Re: [Solved] Remove uninstalled systemd units

Are you sure they don't exist.  Search /etc/systemd/*

The simple solution is to `systemctl disable ...` each of them.  But all that command does is deletes the links from /etc/systemd/*


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#3 2013-08-12 12:58:52

peacememories
Member
Registered: 2013-04-04
Posts: 12

Re: [Solved] Remove uninstalled systemd units

They are not to be found in /etc/systemd (and subfolders), and trying to disable them gives.

Failed to issue method call: No such file or directory

Offline

#4 2013-08-12 13:02:22

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,535
Website

Re: [Solved] Remove uninstalled systemd units

Sorry, I was too quick on that assumption - But I'd still bet they're there, just only by reference via "Wants" or "Requires" or "After".

Does `grep -r plymouth /etc/systemd` give any result?


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#5 2013-08-12 13:04:21

peacememories
Member
Registered: 2013-04-04
Posts: 12

Re: [Solved] Remove uninstalled systemd units

Sadly, no. Does systemd cache its required units somewhere?

EDIT:
I checked /usr/lib/systemd to make sure and et voila, I found something. Let me just check which package those files belong to.

EDIT2:
Okay, apparently they are all owned by systemd itself? i'm confused.

Last edited by peacememories (2013-08-12 13:09:59)

Offline

#6 2013-08-12 13:25:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,424

Re: [Solved] Remove uninstalled systemd units

Offline

#7 2013-08-13 10:37:27

peacememories
Member
Registered: 2013-04-04
Posts: 12

Re: [Solved] Remove uninstalled systemd units

Thanks karol. Installed auditd and masked the others.
For people stumbling upon this thread:

systemctl mask <service-name>

Marking as solved.

Offline

Board footer

Powered by FluxBB