Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Billy Holmes <billy@...>
Subject: Re: chrooted environment not available to users
Date: Wed, 14 Dec 2005 10:12:37 -0500
Mark Knecht wrote:
> Billy - I would agree with a default of /mnt/gentoo32 for now, just to
> match the manual.

ok. I'll make the change to the patch and upload it to the bug report.

> /usr/local/portage/distfiles. I take it from reading the rest of this
> thread that this is not required?

that's correct. Once you have the ebuild in /usr/local/portage, you can 
just do "ebuild $l32_ebuild digest", and it will automatically download 
the archive to /usr/portage/distfiles. then do "emerge l32", and it 
should emerge fine.

> 3) Ar root in the  chrroted environment I am not able to emerge vim
> successfully:

One thing you may have to do is, once you've sync'd your main 64-bit 
environment, you have to "emerge metadata" on your 32-bit chroot.

   # l32 emerge metadata

> make: *** empty string invalid as file name.  Stop.

I'm not sure if the above will fix that error. I'd try re-syncing 
"emerge sync" then "l32 emerge metadata" before anything else.

> 4) OK, after chrooting into the new environment (l32 /bin/bash) I can
> run Firefox, but I'm surprised to see that I have all my bookmarks
> from the 64-bit environment. Is this correct?

Well, if you copied /root to /mnt/gentoo32/root, then yes. They will 
share the same config files. I would do this:

   # mount -bind /home /mnt/gentoo32/home
   # mount -bind /root /mnt/gentoo32/root
   # cp -a /etc/{passwd,group,shadow,gshadow} /mnt/gentoo32/etc

then your normal users should work under the chroot.

> 5) Probably most important, I do not have a user account in the

Look at the steps above.

> It seems these mount -bind steps have hidden my normal disk partitions....

No, your disk partitions are still there. Bind just positions them in a 
different mount point. So, yes, there may appear to be duplicates, but 
that's just how it looks under "df".
-- 
gentoo-amd64@g.o mailing list


References:
chrrot'ed environment not available to users
-- Mark Knecht
Re: chrrot'ed environment not available to users
-- Billy Holmes
Re: chrrot'ed environment not available to users
-- Billy Holmes
Re: chrrot'ed environment not available to users
-- Mark Knecht
Re: chrooted environment not available to users
-- Peter Humphrey
Re: chrooted environment not available to users
-- Billy Holmes
Re: chrooted environment not available to users
-- Mark Knecht
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: Re: chrooted environment not available to users
Next by thread:
Re: chrrot'ed environment not available to users
Previous by date:
Re: Re: Re: chrooted environment not available to users
Next by date:
Re: Re: Re: chrooted environment not available to users


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.