Bug 2047974
| Summary: | rpm -V / --verify mentions missing /var/run/sanlock | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Jiri Jaburek <jjaburek> |
| Component: | sanlock | Assignee: | David Teigland <teigland> |
| Status: | CLOSED WONTFIX | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 9.0 | CC: | agk, cluster-maint |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | ||
| 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: | 2023-07-28 07:28:13 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: | |||
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |
Description of problem: After a reboot, rpm verify reports an error: # rpm -V sanlock missing /var/run/sanlock This is likely because the spec file packages it, %dir %attr(-,sanlock,sanlock) %{_localstatedir}/run/sanlock however there is no tmpfiles.d entry to re-create it after a reboot, since /var/run is now a symlink to /run, which is a tmpfs, so the packaged directory is gone after a reboot. Please add a tmpfiles.d entry to make systemd create it on boot, with the right ownership and permissions. Also consider moving it from the obsolete /var/run to /run, a.k.a. %{_rundir}. Version-Release number of selected component (if applicable): sanlock-3.8.4-1.el9