You are not logged in.

#1 2016-02-16 08:04:01

dlin
Member
From: Taipei,Taiwan
Registered: 2005-09-21
Posts: 265

[Solved] How to remove not-found entries on systemctl?

I'm trying to remove not-found entries

# systemctl --state=not-found  --all                                                   
  UNIT                       LOAD      ACTIVE   SUB  DESCRIPTION
● plymouth-quit-wait.service not-found inactive dead plymouth-quit-wait.service
● plymouth-start.service     not-found inactive dead plymouth-start.service
● syslog.service             not-found inactive dead syslog.service
● acpid.socket               not-found inactive dead acpid.socket

I'm trying to figure out where it occurs by following commands

for k in plymouth-quit-wait.service plymouth-start.service syslog.service acpid.socket ; do
  find /usr/lib/systemd /etc/systemd -type f -exec grep $k {} /dev/null \;                                                                                 :(
done

and get the following

/usr/lib/systemd/system/console-getty.service:After=systemd-user-sessions.service plymouth-quit-wait.service
/usr/lib/systemd/system/getty@.service:After=systemd-user-sessions.service plymouth-quit-wait.service
/usr/lib/systemd/system/serial-getty@.service:After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
/usr/lib/systemd/system/console-shell.service:After=systemd-user-sessions.service plymouth-quit-wait.service
/usr/lib/systemd/system/container-getty@.service:After=systemd-user-sessions.service plymouth-quit-wait.service
/usr/lib/systemd/system/rescue.service:After=sysinit.target plymouth-start.service
/usr/lib/systemd/system/systemd-ask-password-console.path:After=plymouth-start.service
/usr/lib/systemd/system/systemd-ask-password-console.service:After=plymouth-start.service systemd-vconsole-setup.service
/usr/lib/systemd/catalog/systemd.catalog:One or more messages could not be forwarded to the syslog service
/usr/lib/systemd/system/rsyslog.service:Alias=syslog.service
/usr/lib/systemd/system/syslog.socket:# The default syslog implementation should make syslog.service a
/usr/lib/systemd/system/syslog.socket:# syslog service.
/usr/lib/systemd/system/syslog.socket:# /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service
/usr/lib/systemd/system/syslog.socket:# /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service
/usr/lib/systemd/system/syslog.socket:# (i.e. to rsyslog.service or syslog-ng.service):
/usr/lib/systemd/system/syslog.socket:# Alias=syslog.service

What's my proper way to remove the not-found entries?

Last edited by dlin (2016-02-21 02:35:10)


Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages

Offline

#2 2016-02-16 08:07:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] How to remove not-found entries on systemctl?

Not an Arch Discussion, moving to Apps and DEs...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-02-16 08:29:04

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,715
Website

Re: [Solved] How to remove not-found entries on systemctl?

Why do you want to do this?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2016-02-16 09:16:40

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [Solved] How to remove not-found entries on systemctl?

You can use `systemctl mask foo.service` but there really is no point.


Jin, Jîyan, Azadî

Offline

#5 2016-02-17 00:07:17

dlin
Member
From: Taipei,Taiwan
Registered: 2005-09-21
Posts: 265

Re: [Solved] How to remove not-found entries on systemctl?

Head_on_a_Stick wrote:

You can use `systemctl mask foo.service` but there really is no point.

So, these lines was just warning and not bugs?

I just think these lines should removed.
If I setup my system correctly then there will no not-found lines.


Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages

Offline

#6 2016-02-17 08:44:13

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [Solved] How to remove not-found entries on systemctl?

dlin wrote:

So, these lines was just warning and not bugs?

The lines are there so that the listed .services are run and shut down at the correct times in order to prevent conflicts with the unit file from which your find monstrosity obtained the match.

The lines are informational rather than warnings per se.

To have a nice "clean" status, simply install, configure and enable the listed .services wink

Last edited by Head_on_a_Stick (2016-02-17 08:44:43)


Jin, Jîyan, Azadî

Offline

#7 2016-02-18 03:58:49

dlin
Member
From: Taipei,Taiwan
Registered: 2005-09-21
Posts: 265

Re: [Solved] How to remove not-found entries on systemctl?

So, for plymouth-quit-wait.service  and plymouth-start.service   I should refer https://wiki.archlinux.org/index.php/plymouth

I've installed rsyslog, syslog-ng and acpid packages.

Do you mean I require to do other setup to remove the not-found problem?


Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages

Offline

#8 2016-02-19 08:21:53

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [Solved] How to remove not-found entries on systemctl?

dlin wrote:

the not-found problem

It is *not* a problem.

Any problems with units can be listed with:

systemctl --failed

You have some unit files which need to be ordered in a certain way in respect of other unit files which may not even be installed. The messages are just telling you that the listed file was mentioned in this way but does not exist on your system. There is nothing wrong with your system, it is fine.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB