Bug 2159568 - acpid.socket:6: ListenStream= references a path below legacy directory /var/run/
Summary: acpid.socket:6: ListenStream= references a path below legacy directory /var/run/
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: acpid
Version: 9.2
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Petr Sklenar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-10 02:55 UTC by Frank Liang
Modified: 2023-07-16 08:52 UTC (History)
5 users (show)

Fixed In Version: acpid-2.0.32-7.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
os_tests.tests.test_general_check.TestGeneralCheck.test_check_systemd_analyze_verify_instead.debug (252.07 KB, text/plain)
2023-01-10 02:55 UTC, Frank Liang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-144591 0 None None None 2023-01-10 03:22:40 UTC

Description Frank Liang 2023-01-10 02:55:25 UTC
Created attachment 1936966 [details]
os_tests.tests.test_general_check.TestGeneralCheck.test_check_systemd_analyze_verify_instead.debug

Description of problem:
Found this message in RHEL-9.2 testing, acpid.socket references a path below legacy directory /var/run/.

# systemd-analyze verify acpid.service
/usr/lib/systemd/system/acpid.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/acpid.socket → /run/acpid.socket; please update the unit file accordingly.
# rpm -qf /usr/lib/systemd/system/acpid.socket
acpid-2.0.32-6.el9.x86_64

# systemctl status acpid.service
● acpid.service - ACPI Event Daemon
     Loaded: loaded (/usr/lib/systemd/system/acpid.service; disabled; preset: disabled)
     Active: active (running) since Tue 2023-01-10 01:54:09 UTC; 2s ago
TriggeredBy: ● acpid.socket
       Docs: man:acpid(8)
   Main PID: 4174 (acpid)
      Tasks: 1 (limit: 10613)
     Memory: 284.0K
        CPU: 2ms
     CGroup: /system.slice/acpid.service
             └─4174 /usr/sbin/acpid -f
# realpath /var/run/acpid.socket
/run/acpid.socket
#  ls -l /var/run
lrwxrwxrwx. 1 root root 6 Oct 26 17:16 /var/run -> ../run

RHEL Version:
RHEL-9.2(5.14.0-212.el9.aarch64)

How reproducible:
100%

Steps to Reproduce:
1. Create an RHEL-9.2 instance
2. systemd-analyze verify acpid.service

Actual results:
acpid.socket references a path below legacy directory /var/run/.

Expected results:
acpid.socket references to /run/acpid.socket.

Additional info:
- N/A


Note You need to log in before you can comment on or make changes to this bug.