Summary: | acct-user/cron should set ACCT_USER_HOME_OWNER and ACCT_USER_HOME_PERMS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brian Evans (RETIRED) <grknight> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://forums.gentoo.org/viewtopic-t-1164871.html | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=607426 https://github.com/gentoo/gentoo/pull/32630 https://github.com/gentoo/gentoo/pull/32633 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Brian Evans (RETIRED)
2023-08-30 17:48:54 UTC
acct-user/cron has no maintainer since blueness was dropped from metadata.xml. I think I agree with the changes you are proposing for acct-user/cron. In addition, we should drop the keepdir /var/spool/cron from sys-process/cronbase since it is entirely redundant. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fd345466e6afddbc2e4231dd7eb45b1685586a1 commit 6fd345466e6afddbc2e4231dd7eb45b1685586a1 Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2023-09-05 13:52:06 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-09-05 15:05:25 +0000 acct-user/cron: set home owner and perms In keeping with history and what sys-process/cronbase tries to accomplish, acct-user/cron should be setting ACCT_USER_HOME_OWNER="root:cron" and ACCT_USER_HOME_PERMS="0750". Because acct-user/cron is often merged before sys-process/cronbase(as it is in RDEPEND) and its keepdir with owner/group, the end result is that incorrect permissions can be set on directory creation. Closes: https://bugs.gentoo.org/913346 Closes: https://github.com/gentoo/gentoo/pull/32630 Signed-off-by: Tomas Fabrizio Orsi <torsi@fi.uba.ar> Signed-off-by: Mike Gilbert <floppym@gentoo.org> acct-user/cron/{cron-0-r1.ebuild => cron-0-r2.ebuild} | 2 ++ 1 file changed, 2 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf0e696f79b5e2b04487bb2c2d7ee0f1c83b4da commit 9bf0e696f79b5e2b04487bb2c2d7ee0f1c83b4da Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-09-05 15:23:29 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-09-05 15:23:29 +0000 sys-process/cronbase: do not keepdir /var/spool/cron This is handled via acct-user/cron. Bug: https://bugs.gentoo.org/913346 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../cronbase/{cronbase-0.3.7-r8.ebuild => cronbase-0.3.7-r9.ebuild} | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) |