On Sun, 13 May 2012 00:48:00 +0200
Michael Weber wrote:
> On 01/19/2011 11:44 PM, Mike Frysinger wrote:
> > this is why we allow people to pick the appropriate step. ebuilds
> > should be using pkg_{pre,post}inst unless the user/group is needed
> > at src_* time. -mike
>
> I noticed a rather an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 01/19/2011 11:44 PM, Mike Frysinger wrote:
> this is why we allow people to pick the appropriate step. ebuilds
> should be using pkg_{pre,post}inst unless the user/group is needed
> at src_* time. -mike
I noticed a rather annoying test inside en
On Wednesday, January 19, 2011 12:18:24 Michał Górny wrote:
> On Wed, 19 Jan 2011 16:38:10 + Alec Warner wrote:
> > On Wed, Jan 19, 2011 at 3:47 PM, Michał Górny wrote:
> > > On Wed, 19 Jan 2011 16:25:03 +0100 Paweł Hajdan, Jr. wrote:
> > >> "If enewuser or enewgroup is called from outside of p
On Wed, 19 Jan 2011 16:38:10 +
Alec Warner wrote:
> On Wed, Jan 19, 2011 at 3:47 PM, Michał Górny
> wrote:
> > On Wed, 19 Jan 2011 16:25:03 +0100
> > "Paweł Hajdan, Jr." wrote:
> >
> >> "If enewuser or enewgroup is called from outside of pkg_setup,
> >> fail"
> >
> > It is useful sometimes
On Wed, Jan 19, 2011 at 3:47 PM, Michał Górny wrote:
> On Wed, 19 Jan 2011 16:25:03 +0100
> "Paweł Hajdan, Jr." wrote:
>
>> "If enewuser or enewgroup is called from outside of pkg_setup, fail"
>
> It is useful sometimes to call it in pkg_postinst(), if the user/group
> is needed at runtime and no
On Wed, 19 Jan 2011 16:25:03 +0100
"Paweł Hajdan, Jr." wrote:
> "If enewuser or enewgroup is called from outside of pkg_setup, fail"
It is useful sometimes to call it in pkg_postinst(), if the user/group
is needed at runtime and not during install-time.
--
Best regards,
Michał Górny
signatur
There was a discussion on irc about a package that called enewuser and
enewgroup from pkg_preinst. That made it fail on fresh install, because
the new user was needed at the src_install time (for ownership of the
installed files). However, if the user was already present on the
system, it was just