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: CLOSED ERRATA
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: 2024-09-13 00:36 UTC (History)
6 users (show)

Fixed In Version: nut-2.8.2-1.el9
Clone Of:
Environment:
Last Closed: 2024-09-13 00:36:12 UTC
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

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.


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