Bug 2227107 - wrong systemd-tmpfile usage in unit file / already fixed in fedora's patch file
Summary: wrong systemd-tmpfile usage in unit file / already fixed in fedora's patch file
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nut
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-28 00:05 UTC by Leon Fauster
Modified: 2023-11-29 09:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.