Bug 1841435

Summary: atop.service references inexistent path: EnvironmentFile=/etc/default/atop
Product: [Fedora] Fedora Reporter: Vladimir Zhelezov <zhelezov>
Component: atopAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: andy, gwync, zhelezov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: atop-2.5.0-3.fc32 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-07 19:47:10 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 Vladimir Zhelezov 2020-05-29 07:07:38 UTC
Description of problem:

Trying to start the atop.service I got the following errors:

atop.service: Failed to load environment files: No such file or directory
atop.service: Failed to run 'start-pre' task: No such file or directory
atop.service: Failed with result 'resources'.                       
Failed to start Atop advanced performance monitor.


Version-Release number of selected component (if applicable):

atop-2.5.0-2.fc32


Additional info:

Looking at /usr/lib/systemd/system/atop.service we see that the environment is loaded from /etc/default/atop while the package installs it in /etc/sysconfig/atop. Changing the service file to point to the latter fixes the issue. Or maybe the maintainers would prefer moving the file from /etc/sysconfig to /etc/default? Either should fix it.

Comment 1 Fedora Update System 2020-05-29 14:03:13 UTC
FEDORA-2020-091966313a has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-091966313a

Comment 2 Fedora Update System 2020-05-30 04:04:02 UTC
FEDORA-2020-091966313a has been pushed to the Fedora 32 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-091966313a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-091966313a

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

Comment 3 Fedora Update System 2020-06-07 19:47:10 UTC
FEDORA-2020-091966313a has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.