Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: acct-user/... modifies existing user sometimes
Date: Sat, 14 Dec 2019 21:17:10
Message-Id: 51af6b01483030c625bf805d4b4f3b8175dd6790.camel@gentoo.org
In Reply to: [gentoo-dev] RFC: acct-user/... modifies existing user sometimes by The Bit Pit
1 On Sat, 2019-12-14 at 14:47 -0600, The Bit Pit wrote:
2 > acct-user/mythtv modifies the existing user if that user is not logged
3 > in. Mythtv has been around for years and users have created specialized
4 > configurations for the mythtv user. They do not like changes to the
5 > mythtv user when upgrading.
6 >
7 > A couple of solutions:
8 >
9 > 1)
10 > the ebuild does not depend on acct-user/mythtv when the user already
11 > exists. This prevents both the changing and deletion of the existing user.
12 >
13 > What is the gentoo way to discover a preexisting user? Repoman does not
14 > like anything I tried using egetent passwd mythtv
15 >
16 > 2) Add something to the acct-user/mythtv to (conditionally) prevent any
17 > change if there is a preexisting user on the system. The acct-user
18 > unmerge would also check that the user was not modified since it was
19 > created by acct-user. This seems like a lot of work.
20 >
21
22 Users are supposed to create a local acct-user/mythtv override if they
23 want to use a custom setup.
24
25 --
26 Best regards,
27 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature