Bug 2227107

Summary: wrong systemd-tmpfile usage in unit file / already fixed in fedora's patch file
Product: [Fedora] Fedora EPEL Reporter: Leon Fauster <leonfauster>
Component: nutAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: ajschorr, cra, james, mhlavink, orion, scott
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nut-2.8.2-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-13 00:36:12 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 Leon Fauster 2023-07-28 00:05:12 UTC
Description of problem:
Current shipped tmpfiles.d config in EL8/EL9

# rpm -ql nut-client nut |grep tmpf
/usr/lib/tmpfiles.d/nut-common.conf

but the usage points to an old filename (nut-client.conf):

# grep tmpf /usr/lib/systemd/system/nut*

nut-driver-enumerator.service:ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-client.conf

nut-driver@.service:ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-client.conf

nut-monitor.service:ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-client.conf



Issue in:

Patch file not updated:

https://src.fedoraproject.org/rpms/nut/blob/epel9/f/nut-2.6.3-tmpfiles.patch
vs.
https://src.fedoraproject.org/rpms/nut/blob/main/f/nut-2.6.3-tmpfiles.patch




Version-Release number of selected component (if applicable):
nut-client-2.8.0-3.el9.x86_64
nut-2.8.0-3.el9.x86_64


Expected results:
unit files should use /usr/lib/tmpfiles.d/nut-common.conf

Comment 1 Fedora Update System 2024-09-04 21:39:38 UTC
FEDORA-EPEL-2024-b2834799b9 (nut-2.8.2-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-b2834799b9

Comment 2 Fedora Update System 2024-09-05 00:24:00 UTC
FEDORA-EPEL-2024-b2834799b9 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-b2834799b9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2024-09-13 00:36:12 UTC
FEDORA-EPEL-2024-b2834799b9 (nut-2.8.2-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.