Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812788 - app-portage/pfl: systemd-timer command gives an error
Summary: app-portage/pfl: systemd-timer command gives an error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-12 15:55 UTC by Chang Liu
Modified: 2021-10-07 20:19 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 Chang Liu 2021-09-12 15:55:04 UTC
The systemd timer/service comes with the package can give an Python error when excuted due to the wrong prvilege.

This command should be a wrapped by setpriv like the one in /etc/cron.weekly/pfl

From:
ExecStart=/usr/bin/pfl > /dev/null
To:
ExecStart=setpriv --reuid=portage --regid=portage --clear-groups nice /usr/bin/
pfl

Reproducible: Always
Comment 1 Daniel Pielmeier gentoo-dev 2021-09-30 16:41:53 UTC
This has already been fixed upstream (https://github.com/portagefilelist/client/commit/c502e6a832e655fe0f13127d547ea287a31d10fc).

@Daniel: What about creating a new release? This way we can also release the python version of e-file to the wild. :-)
Comment 2 Larry the Git Cow gentoo-dev 2021-10-07 20:19:55 UTC
The bug has been closed via the following commit(s):

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

commit 2d3655737198098d5c5de88b5da7643ec3e4fc61
Author:     Daniel Pielmeier <billie@gentoo.org>
AuthorDate: 2021-10-07 20:19:25 +0000
Commit:     Daniel Pielmeier <billie@gentoo.org>
CommitDate: 2021-10-07 20:19:25 +0000

    app-portage/pfl: Version bump.
    
    Closes: https://bugs.gentoo.org/812788
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Daniel Pielmeier <billie@gentoo.org>

 app-portage/pfl/Manifest       |  1 +
 app-portage/pfl/pfl-3.2.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)