Bug 1853861 - Wrong /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf systemd unit file
Summary: Wrong /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf systemd u...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-ganesha
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-04 21:51 UTC by Philippe Troin
Modified: 2020-07-22 01:19 UTC (History)
4 users (show)

Fixed In Version: nfs-ganesha-2.8.4-3.fc31
Clone Of:
Environment:
Last Closed: 2020-07-22 01:19:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Philippe Troin 2020-07-04 21:51:12 UTC
Description of problem:
nfs-ganesha drops a systemd unit file in /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf.
This unit file is wrongly formatted and does not work.

Version-Release number of selected component (if applicable):
nfs-ganesha-2.8.4-2.fc31.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. dnf install nfs-ganesha-2.8.4-2.fc31.x86_64
2. journalctl -b | grep nfs-ganesha

Actual results:
systemd[1]: /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf:1: Assignment outside of section. Ignoring.
systemd[1]: /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf:2: Assignment outside of section. Ignoring.
systemd[1]: /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf:3: Assignment outside of section. Ignoring.
systemd[1]: /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf:4: Assignment outside of section. Ignoring.
systemd[1]: /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf:5: Assignment outside of section. Ignoring.
systemd[1]: /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf:6: Assignment outside of section. Ignoring.
systemd[1]: /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf:8: Assignment outside of section. Ignoring.

Expected results:
Systemd shouldn't log any errors related to the /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf unit files.

Additional info:
The unit file is missing a "[Unit]" section header.

Comment 1 Kaleb KEITHLEY 2020-07-08 12:13:53 UTC
(In reply to Philippe Troin from comment #0)
> Description of problem:
> nfs-ganesha drops a systemd unit file in
> /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf.
> This unit file is wrongly formatted and does not work.
> 

I don't agree with the claim that it doesn't work — rpc-statd is started despite the missing [Unit]

The warnings are annoying though

Comment 3 Fedora Update System 2020-07-13 13:24:31 UTC
FEDORA-2020-5dbd0c1696 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-5dbd0c1696

Comment 4 Fedora Update System 2020-07-14 01:09:10 UTC
FEDORA-2020-5dbd0c1696 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-5dbd0c1696`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-5dbd0c1696

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

Comment 5 Fedora Update System 2020-07-22 01:19:56 UTC
FEDORA-2020-5dbd0c1696 has been pushed to the Fedora 31 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.