Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762089 - Mass revbump request for acct-user and acct-group eclass change
Summary: Mass revbump request for acct-user and acct-group eclass change
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-28 02:21 UTC by Duncan
Modified: 2020-12-28 14:57 UTC (History)
3 users (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 Duncan 2020-12-28 02:21:00 UTC
systemd-247.2-r2 drops systemd's sysusers.d files to fix bug #761763.  Great -- except few of my merged acct-* packages had their own sysusers.d files as they were merged before the acct-* eclasses got that functionality, which according to git-log was only on back on Sep. 5 -- and the packages haven't been revbumped since so people upgrade/remerge to get the sysusers.d files.

So (unless there's some other mechanism to do it) all the acct-* packages need mass-revbumped so users get the sysusers.d files, preferably before they upgrade to the new systemd that pulls the existing sysusers.d files that systemd provided out from under them.

And ideally, a systemd that doesn't provide the files should block old acct-* packages that don't provide them either (well, either that or just generally mask the pre-revbump versions), forcing the acct-* package upgrades when systemd is upgraded.

FWIW, I took care of the problem here with an emerge $(equery l -F\$cp acct-group/*) (and a similar command for acct-user).
Comment 1 Mike Gilbert gentoo-dev 2020-12-28 04:01:38 UTC
Technically speaking, all acct-user and acct-group packages should have been bumped when this commit landed.

https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/acct-user.eclass?id=0d096cb68e86dd5faa7da8cf68a18e4e29bc9081

However, the sysusers.d files are not generally critical to system operation. They would really only be needed if you are building a system image. People who need them can re-build them.
Comment 2 Mike Gilbert gentoo-dev 2020-12-28 04:13:37 UTC
Re-assigning this to the acct-user.eclass maintainer.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-12-28 08:59:29 UTC
I suppose no harm in doing that.  It would be nice to determine which ebuilds are older than the eclass change, though.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-12-28 09:32:31 UTC
commit 024ac2b25b6e6d41ddb47330886b404d8ca79dff
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-12-28 10:27:58 +0100
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-12-28 10:31:31 +0100

    acct-*: Revbumps for sysusers.d in eclass
    
    Closes: https://bugs.gentoo.org/762089
    Signed-off-by: Michał Górny <mgorny@gentoo.org>


I've bumped all the packages that were present at the commit making the eclass change.
Comment 5 Larry the Git Cow gentoo-dev 2020-12-28 14:57:49 UTC
The bug has been referenced in the following commit(s):

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

commit e327fbdf5deea854484cdbeb507e562b989b43ba
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-12-28 14:55:41 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-12-28 14:55:41 +0000

    sys-apps/systemd: depend on revbumped account packages
    
    Bug: https://bugs.gentoo.org/762089
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/systemd/systemd-247.2-r4.ebuild | 539 +++++++++++++++++++++++++++++++
 sys-apps/systemd/systemd-9999.ebuild     |  44 +--
 2 files changed, 561 insertions(+), 22 deletions(-)