Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926764 - app-admin/logcheck-1.4.3-r3 - runuser has no --nice
Summary: app-admin/logcheck-1.4.3-r3 - runuser has no --nice
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Giuseppe Foti
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-03-11 12:17 UTC by Ed Santiago
Modified: 2024-03-14 22:31 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 Ed Santiago 2024-03-11 12:17:54 UTC
r3 changed /etc/cron.hourly/logcheck:

-sudo -u logcheck nice -n10 /usr/sbin/logcheck
+/sbin/runuser -u logcheck --nice -n10 /usr/sbin/logcheck "$@"

...but runuser (sys-apps/util-linux-2.39.3-r2) has no --nice nor -n options
Comment 1 Larry the Git Cow gentoo-dev 2024-03-14 22:31:29 UTC
The bug has been closed via the following commit(s):

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

commit a7e46cf410679edc1d2ebbed70a90456bd8f3547
Author:     Giuseppe Foti <foti.giuseppe@gmail.com>
AuthorDate: 2024-03-14 22:08:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-14 22:31:03 +0000

    app-admin/logcheck: fix typo in files/logcheck-r3.cron
    
    Closes: https://bugs.gentoo.org/926764
    Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/35760
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/logcheck/files/{logcheck-r3.cron => logcheck-r4.cron}         | 2 +-
 .../logcheck/{logcheck-1.4.3-r3.ebuild => logcheck-1.4.3-r4.ebuild}     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)