Bug 1658487

Summary: systemd complains about legacy of /var/run
Product: Red Hat Enterprise Linux 8 Reporter: Thomas Woerner <twoerner>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: abokovoy, goeran, ksiddiqu, mvarun, pvoborni, rcritten, tscherf
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-14 02:04:56 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:

Description Thomas Woerner 2018-12-12 09:31:32 UTC
This bug is created as a clone of upstream ticket:
https://pagure.io/freeipa/issue/7732



systemd 239 brings a new complaint about a legacy of '/var/run' for tmpfiles
( https://github.com/systemd/systemd/commit/a2d1fb882c4308bc10362d971f333c5031d60069 ).

journalctl:

systemd-tmpfiles[2675]: [/usr/lib/tmpfiles.d/ipa.conf:1] Line references path below legacy directory /var/run/, updating /var/run/ipa → /run/ipa; please update the tmpfiles.d/ drop-in file accordingly.
systemd-tmpfiles[2675]: [/usr/lib/tmpfiles.d/ipa.conf:2] Line references path below legacy directory /var/run/, updating /var/run/ipa/ccaches → /run/ipa/ccaches; please update the tmpfiles.d/ drop-in file accordingly.

It's not a critical, but annoying.
Can be reproduced by:

systemd-tmpfiles --create ipa.conf

Comment 2 Varun Mylaraiah 2019-01-10 11:59:54 UTC
Verified 

systemd: src/tmpfiles/tmpfiles.c(2147): log_notice("[%s:%u] Line references path below legacy directory /var/run/, updating %s → %s; please update the tmpfiles.d/ drop-in file accordingly.", fname, line, *path, n);
systemd-tmpfiles[13671]: [/usr/lib/tmpfiles.d/certmonger.conf:3] Line references path below legacy directory /var/run/, updating /var/run/certmonger → /run/certmonger; please update the tmpfil>


Based on the above observation, marking the bug VERIFIED