Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: gentoo-dev@l.g.o
Cc: phajdan.jr@g.o
Subject: Re: [gentoo-dev] RFC: check for enewuser, enewgroup outside of pkg_setup
Date: Wed, 19 Jan 2011 16:38:58
Message-Id: AANLkTinJr4keAVz4smwfDovKYyYS-A3Krb-3eCtyg_8W@mail.gmail.com
In Reply to: Re: [gentoo-dev] RFC: check for enewuser, enewgroup outside of pkg_setup by "Michał Górny"
1 On Wed, Jan 19, 2011 at 3:47 PM, Michał Górny <mgorny@g.o> wrote:
2 > On Wed, 19 Jan 2011 16:25:03 +0100
3 > "Paweł Hajdan, Jr." <phajdan.jr@g.o> wrote:
4 >
5 >> "If enewuser or enewgroup is called from outside of pkg_setup, fail"
6 >
7 > It is useful sometimes to call it in pkg_postinst(), if the user/group
8 > is needed at runtime and not during install-time.
9
10 What difference is there if you run it during setup vs postinst?
11
12 -A
13
14 >
15 > --
16 > Best regards,
17 > Michał Górny
18 >

Replies