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: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: cra, james, mhlavink, orion, scott
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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