Bug 1853861

Summary: Wrong /etc/systemd/system/nfs-ganesha-lock.service.d/rpc-statd.conf systemd unit file
Product: [Fedora] Fedora Reporter: Philippe Troin <phil>
Component: nfs-ganeshaAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: dang, jthottan, kkeithle, skoduri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nfs-ganesha-2.8.4-3.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-22 01:19:56 UTC 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 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.