FS#43164 - [acpid] Cannot add dependency job for unit acpid.socket

Attached to Project: Community Packages
Opened by Tomasz Przybył (FadeMind) - Friday, 19 December 2014, 13:05 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 19 December 2014, 16:51 GMT
Task Type Bug Report
Category Packages
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 2
Private No

Details

I have warning in dmesg:

[tomasz@arch ~]$ dmesg|grep acpid
[ 2.376650] systemd[1]: Cannot add dependency job for unit acpid.socket, ignoring: Unit acpid.socket failed to load: No such file or directory.

Package info:

[tomasz@arch ~]$ pacman -Qii acpid
Nazwa : acpid
Wersja : 2.0.23-4
Opis : A daemon for delivering ACPI power management events with netlink
support
Architektura : x86_64
URL : http://sourceforge.net/projects/acpid2/
Licencja : GPL
Grupy : Żadnych
Dostarcza : Żadnych
Zależy od : bash
Opcjonalne zależności: perl: use perl based examples[zainstalowano]
Wymagane przez : Żadnych
Opcjonalnie dla: tlp
Konfliktuje z : Żadnych
Zastępuje : acpid2
Rozmiar po instalacji: 141,00 KiB
Pakujący : Sébastien Luttringer <seblu@seblu.net>
Data budowy : nie, 7 gru 2014, 02:02:37
Data instalacji : nie, 7 gru 2014, 07:40:38
Powód instalacji : Zainstalowano na życzenie
Skrypt instalacyjny : Nie
Potwierdzone przez: Podpis
Pliki kopii zapasowej:
UNMODIFIED /etc/acpi/handler.sh
UNMODIFIED /etc/acpi/events/anything


[tomasz@arch ~]$ sudo systemctl status acpid -l
● acpid.service - ACPI event daemon
Loaded: loaded (/usr/lib/systemd/system/acpid.service; enabled; vendor preset: disabled)
Active: active (running) since pią 2014-12-19 11:52:29 CET; 2h 9min ago
Docs: man:acpid(8)
Main PID: 473 (acpid)
CGroup: /system.slice/acpid.service
└─473 /usr/bin/acpid --foreground --netlink

gru 19 11:52:29 arch acpid[473]: starting up with netlink and the input layer
gru 19 11:52:29 arch acpid[473]: 2 rules loaded
gru 19 11:52:29 arch acpid[473]: waiting for events: event logging is off
gru 19 11:52:29 arch acpid[473]: client connected from 521[0:0]
gru 19 11:52:29 arch acpid[473]: 1 client rule loaded
gru 19 11:52:29 arch acpid[473]: client connected from 521[0:0]
gru 19 11:52:29 arch acpid[473]: 1 client rule loaded

[tomasz@arch ~]$ pacman -Ql acpid
acpid /etc/
acpid /etc/acpi/
acpid /etc/acpi/events/
acpid /etc/acpi/events/anything
acpid /etc/acpi/handler.sh
acpid /usr/
acpid /usr/bin/
acpid /usr/bin/acpi_listen
acpid /usr/bin/acpid
acpid /usr/bin/kacpimon
acpid /usr/lib/
acpid /usr/lib/systemd/
acpid /usr/lib/systemd/system/
acpid /usr/lib/systemd/system/acpid.service
acpid /usr/share/
acpid /usr/share/doc/
acpid /usr/share/doc/acpid/
acpid /usr/share/doc/acpid/COPYING
acpid /usr/share/doc/acpid/Changelog
acpid /usr/share/doc/acpid/README
acpid /usr/share/doc/acpid/TESTPLAN
acpid /usr/share/doc/acpid/TODO
acpid /usr/share/man/
acpid /usr/share/man/man8/
acpid /usr/share/man/man8/acpi_listen.8.gz
acpid /usr/share/man/man8/acpid.8.gz
acpid /usr/share/man/man8/kacpimon.8.gz
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 19 December 2014, 16:51 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Configuration issue
Comment by Doug Newgard (Scimmia) - Friday, 19 December 2014, 16:34 GMT
So what's trying to start acpid.socket? Grep through /etc/systemd/system and /usr/lib/systemd/system.
Comment by Tomasz Przybył (FadeMind) - Friday, 19 December 2014, 16:41 GMT
@Scimmia:

[tomasz@arch ~]$ la /etc/systemd/system/sockets.target.wants
razem 8,0K
drwxr-xr-x 2 root root 4,0K 16.11.2014 16:52 ./
drwxr-xr-x 11 root root 4,0K 24.11.2014 20:07 ../
lrwxrwxrwx 1 root root 36 28.10.2014 18:36 acpid.socket -> /usr/lib/systemd/system/acpid.socket
lrwxrwxrwx 1 root root 45 16.11.2014 16:52 org.cups.cupsd.socket -> /usr/lib/systemd/system/org.cups.cupsd.socket
[tomasz@arch ~]$ cat /etc/systemd/system/sockets.target.wants/*
cat: /etc/systemd/system/sockets.target.wants/acpid.socket: Nie ma takiego pliku ani katalogu ## No such file or directory - translation
[Unit]
Description=CUPS Scheduler

[Socket]
ListenStream=/run/cups/cups.sock

[Install]
WantedBy=sockets.target

Comment by Tomasz Przybył (FadeMind) - Friday, 19 December 2014, 16:45 GMT
[tomasz@arch ~]$ tree /etc/systemd/system |grep acpid
│   ├── acpid.service -> /usr/lib/systemd/system/acpid.service
│   ├── acpid.socket -> /usr/lib/systemd/system/acpid.socket
[tomasz@arch ~]$ tree /usr/lib/systemd/system|grep acpid
├── acpid.service
[tomasz@arch ~]$
Comment by Doug Newgard (Scimmia) - Friday, 19 December 2014, 16:48 GMT
So you specifically have acpid.socket enabled, which no longer exists. This is more of a user configuration issue, unless the socket unit is supposed to exist.
Comment by Doug Newgard (Scimmia) - Friday, 19 December 2014, 16:51 GMT
Yep, according to https://projects.archlinux.org/svntogit/community.git/commit/trunk?h=packages/acpid&id=52bbd2b80bea968ce95fbc52e80c5afddb771337, the socket was removed, so this is a configuration issue on your machine. Just disable it.

Loading...