Bug 2257883 - Service files refer to wrong systemd-tmpfile.d configuration file
Summary: Service files refer to wrong systemd-tmpfile.d configuration file
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nut
Version: epel9
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-11 12:27 UTC by Duncan Mortimer
Modified: 2024-09-04 10:38 UTC (History)
6 users (show)

Fixed In Version: nut-2.8.2-1.el9
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Duncan Mortimer 2024-01-11 12:27:06 UTC
Description of problem:
On startup of the nut-monitor, nut-driver-enumerator and nut-driver@ services error is reported:

systemd-tmpfiles[5767]: Failed to open '/usr/lib/tmpfiles.d/nut-client.conf': No such file or directory

The nut-client rpm provides the file /usr/lib/tmpfiles.d/nut-common.conf which I assume is what these systemd service files should be referring to.

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


How reproducible:
Every time

Steps to Reproduce:
1. install nut tools
2. configure UPS driver/monitor
3. systemctl start nut-driver-enumerator

Actual results:
systemd-tmpfiles[5767]: Failed to open '/usr/lib/tmpfiles.d/nut-client.conf': No such file or directory

Expected results:
No error reported

Additional info:

Comment 1 Jean-Philippe Pialasse 2024-04-30 13:51:31 UTC
same issue on el8
nut-client-2.8.0-3.el8.x86_64
ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-client.conf

but seems ok on el7
nut-client-2.8.0-2.el7.x86_64
ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-common.conf

both have file usr/lib/tmpfiles.d/nut-common.conf


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