On Sat, 31 Mar 2018 09:39:47 + (UTC)
Farid BENAMROUCHE wrote:
> interresting aproach.
> this could work. however, i can see a few limitations:
> - you must be root.
Actually you don't if you add -r to unshare, which gives you what is
sometimes called fakeroot. Obviously you still can't modif
ating. my solution isn't perfect too, I admit.
En date de : Ven 30.3.18, James Le Cuirot a écrit :
Objet: Re: [gentoo-dev] Re : Modification proposal for user/group creation
when ROOT!="/"
À: gentoo-dev@lists.gentoo.org
Date: Vendredi
On Fri, 30 Mar 2018 20:47:20 +0100
James Le Cuirot wrote:
> On Fri, 30 Mar 2018 20:23:49 +0100
> James Le Cuirot wrote:
>
> > I did just have a lightbulb moment though. I've been playing with
> > unshare recently and I wondered if we could leverage it here.
> >
> > $ sudo unshare -m /bin/sh
On Fri, 30 Mar 2018 20:23:49 +0100
James Le Cuirot wrote:
> I did just have a lightbulb moment though. I've been playing with
> unshare recently and I wondered if we could leverage it here.
>
> $ sudo unshare -m /bin/sh -c "mount --bind /mnt/somewhere/etc /etc &&
> groupadd foo"
> groupadd:
On Fri, 30 Mar 2018 18:52:18 + (UTC)
Farid BENAMROUCHE wrote:
> Yes, two years ago I've posted here to notify you about the creattion of
> users and groups when using "ROOT=".
> As a reminder, if you currently emerge a package to a specific rootfs folder,
> some packages will actually not c
Hi all,
Already two years
Yes, two years ago I've posted here to notify you about the creattion of users
and groups when using "ROOT=".
As a reminder, if you currently emerge a package to a specific rootfs folder,
some packages will actually not create the user and groups correctly inside
t
rds,
Farid
En date de : Mer 8.6.16, Benda Xu a écrit :
Objet: [gentoo-dev] Re: Modification proposal for user/group creation when
ROOT!="/"
À: gentoo-dev@lists.gentoo.org
Date: Mercredi 8 juin 2016, 6h44
Hi Farid,
This is an excellent idea!
It is very helpf
Hi Farid,
This is an excellent idea! It is very helpful for Gentoo Prefix/libc,
where we maintain a set of nss databases (passwd, group, shadow, etc.)
inside a directory prefix.
Farid BENAMROUCHE writes:
> Currently there is an old known limitation when using ROOT= option to
> install a packag