Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: Rolf Eike Beer <eike@×××××××.de>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 2/3] qmail.eclass: remove magic to query root group
Date: Fri, 13 Aug 2021 09:06:20
Message-Id: uim09n27y@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 2/3] qmail.eclass: remove magic to query root group by Rolf Eike Beer
1 >>>>> On Fri, 13 Aug 2021, Rolf Eike Beer wrote:
2
3 > Am Donnerstag, 12. August 2021, 19:39:08 CEST schrieb Michael Orlitzky:
4 >> On Thu, 2021-08-12 at 17:22 +0200, Rolf Eike Beer wrote:
5 >> > The default owner is root:root anyway.
6 >>
7 >> This is only true of you don't call insopts earlier with some other
8 >> value. I see "insopts -o root -g qmail -m 700" in there so you might
9 >> want to double check.
10
11 > Not my day.
12
13 > Ok, given that there are several places that change users and groups
14 > and the subfunctions are not always called it would be very few places
15 > where I can remove the root:root (about 3) and be sure that everything
16 > works. For that reason I would just keep them all and go back to the
17 > initial patch 2.
18
19 I believe the method of choice would be to execute the offending
20 insopts/doins pair in a subshell, i.e. put a ( ) pair around them.
21
22 Ulrich

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] [PATCH 2/3] qmail.eclass: remove magic to query root group Rolf Eike Beer <eike@×××××××.de>