Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736406 - sys-process/atop: broken systemd service ExecStart
Summary: sys-process/atop: broken systemd service ExecStart
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL: https://github.com/gentoo/gentoo/blob...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-08 14:03 UTC by r7l
Modified: 2021-12-20 04:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description r7l 2020-08-08 14:03:08 UTC
The service file of atop contains:

ExecStart=/etc/atop/atop.daily

This causes the service to fail. Instead it should read:

ExecStart=/usr/share/atop/atop.daily

That's where the file is actually located at.

Reproducible: Always

Steps to Reproduce:
1. emerge atop
2. systemctl start atop.service
3. journalctl -u atop
Actual Results:  
Aug 08 16:01:22 testing systemd[1]: Started Atop advanced performance monitor.
Aug 08 16:01:22 testing systemd[85169]: atop.service: Failed to execute command: No such file or directory
Aug 08 16:01:22 testing systemd[85169]: atop.service: Failed at step EXEC spawning /etc/atop/atop.daily: No such file or directory
Aug 08 16:01:22 testing systemd[1]: atop.service: Main process exited, code=exited, status=203/EXEC
Aug 08 16:01:22 testing systemd[1]: atop.service: Failed with result 'exit-code'.


Expected Results:  
It should start.
Comment 1 Larry the Git Cow gentoo-dev 2021-12-20 04:08:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e061e8643f68741540b6020777898f9df2d7cb

commit 15e061e8643f68741540b6020777898f9df2d7cb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-20 02:30:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-20 04:08:35 +0000

    sys-process/atop: add 2.7.0
    
    Closes: https://bugs.gentoo.org/612248
    Closes: https://bugs.gentoo.org/736406
    Closes: https://bugs.gentoo.org/777903
    Closes: https://bugs.gentoo.org/829356
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/atop/Manifest                          |   2 +
 sys-process/atop/atop-2.7.0.ebuild                 | 111 +++++++++++++++++++++
 .../atop/files/atop-2.7.0-netatop-makefile.patch   |  42 ++++++++
 sys-process/atop/files/atop.service-r1             |  11 ++
 sys-process/atop/files/netatop.rc                  |  17 ++++
 sys-process/atop/metadata.xml                      |  11 +-
 6 files changed, 190 insertions(+), 4 deletions(-)