From: Thomas Deutschmann <whissi@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] acct-user.eclass: don't modify existing user by default
Date: Mon, 4 Jan 2021 17:34:04 +0100 [thread overview]
Message-ID: <14fba9dd-ac0f-9510-6970-eed430c26687@gentoo.org> (raw)
In-Reply-To: <5f23b96b-0c35-f564-e5a0-e6eb5abb387b@gentoo.org>
[-- Attachment #1.1: Type: text/plain, Size: 1601 bytes --]
On 2021-01-04 17:30, Thomas Deutschmann wrote:
> On 2021-01-04 17:28, Michał Górny wrote:
>> It must be a bug in your version of the eclass. I've just reemerged
>> acct-group/wheel and to*my great surprise* I'm still there. How
>> unexpected!
>
> That's why I wrote
>
> > (luckily groups like wheel don't have users...)
>
> I meant that there is no acct-user/wheel because otherwise this group
> would get cleaned (reset), too.
Best example is portage. Follow handbook. Add your user to portage's group:
> usermod -aG <your user> portage
Now re-emerge acct-user/portage...
> # usermod -aG thomas portage
> # id portage
> uid=250(portage) gid=250(portage) groups=250(portage),1000(thomas)
> # emerge -a1 acct-user/portage
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild R ] acct-user/portage-0::gentoo 0 KiB
>
> Total: 1 package (1 reinstall), Size of downloads: 0 KiB
>
> Would you like to merge these packages? [Yes/No] y
>>>> Verifying ebuild manifests
>>>> Running pre-merge checks for acct-user/portage-0
>>>> Emerging (1 of 1) acct-user/portage-0::gentoo
>>>> Installing (1 of 1) acct-user/portage-0::gentoo
>>>> Jobs: 1 of 1 complete
>>>> Auto-cleaning packages...
>
>>>> No outdated packages were found on your system.
>
> * GNU info directory index is up-to-date.
> # id portage
> uid=250(portage) gid=250(portage) groups=250(portage)
--
Regards,
Thomas Deutschmann / Gentoo Linux Developer
fpr: C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
next prev parent reply other threads:[~2021-01-04 16:34 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-04 1:35 [gentoo-dev] [PATCH] acct-user.eclass: don't modify existing user by default Thomas Deutschmann
2021-01-04 2:41 ` Mike Gilbert
2021-01-04 3:17 ` Alec Warner
2021-01-04 3:18 ` Michael Orlitzky
2021-01-04 14:46 ` Thomas Deutschmann
2021-01-04 15:24 ` Michael Orlitzky
2021-01-04 15:55 ` David Seifert
2021-01-04 16:18 ` Thomas Deutschmann
2021-01-04 16:28 ` Michał Górny
2021-01-04 16:30 ` Thomas Deutschmann
2021-01-04 16:34 ` Thomas Deutschmann [this message]
2021-01-04 16:38 ` Michał Górny
2021-01-04 16:50 ` Thomas Deutschmann
2021-01-04 16:56 ` Michał Górny
2021-01-04 16:56 ` Mike Gilbert
2021-01-04 16:54 ` Mike Gilbert
2021-01-04 7:32 ` Robin H. Johnson
2021-01-04 16:45 ` [gentoo-dev] " James Cloos
2021-01-04 18:07 ` Michael Orlitzky
2021-01-04 18:20 ` Michał Górny
2021-01-04 18:38 ` Michael Orlitzky
2021-01-04 18:23 ` Thomas Deutschmann
2021-01-04 18:27 ` Michael Orlitzky
2021-01-04 18:32 ` Thomas Deutschmann
2021-01-04 9:23 ` [gentoo-dev] " Michał Górny
2021-01-04 14:05 ` Thomas Deutschmann
2021-01-04 16:10 ` Mike Gilbert
2021-01-04 16:14 ` Michał Górny
2021-01-04 16:20 ` Thomas Deutschmann
2021-01-08 18:11 ` Fabian Groffen
2021-01-08 18:14 ` Michał Górny
2021-01-08 18:23 ` Thomas Deutschmann
2021-01-08 18:32 ` Michał Górny
2021-01-08 15:48 ` Thomas Deutschmann
2021-01-08 16:03 ` Mike Gilbert
2021-01-08 16:29 ` Thomas Deutschmann
2021-01-08 16:50 ` Mike Gilbert
2021-01-08 17:06 ` Mike Gilbert
2021-01-08 18:10 ` Thomas Deutschmann
2021-01-08 18:31 ` Michał Górny
2021-01-08 19:15 ` Mike Gilbert
2021-01-08 17:16 ` Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14fba9dd-ac0f-9510-6970-eed430c26687@gentoo.org \
--to=whissi@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox