Bug 2159568

Summary: acpid.socket:6: ListenStream= references a path below legacy directory /var/run/
Product: Red Hat Enterprise Linux 9 Reporter: Frank Liang <xiliang>
Component: acpidAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Petr Sklenar <psklenar>
Severity: low Docs Contact:
Priority: low    
Version: 9.2CC: libhe, linl, psklenar, qzhang, ymao
Target Milestone: rcKeywords: AutoVerified, CustomerScenariosInitiative, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: acpid-2.0.32-7.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-07 08:35:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
os_tests.tests.test_general_check.TestGeneralCheck.test_check_systemd_analyze_verify_instead.debug none

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

Comment 15 errata-xmlrpc 2023-11-07 08:35:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (acpid bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6505