Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1841435 - atop.service references inexistent path: EnvironmentFile=/etc/default/atop
Summary: atop.service references inexistent path: EnvironmentFile=/etc/default/atop
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: atop
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-29 07:07 UTC by Vladimir Zhelezov
Modified: 2020-06-07 19:47 UTC (History)
3 users (show)

Fixed In Version: atop-2.5.0-3.fc32
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-07 19:47:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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