Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problems emerging util-linux-2.20-r1 in chroot
Date: Thu, 09 Feb 2012 12:55:13
Message-Id: CAA2qdGU_ryfp2Oi5O5b3ptT5Wjcweem8X-R-8x8uMP_7kGgiFw@mail.gmail.com
In Reply to: Re: [gentoo-user] Problems emerging util-linux-2.20-r1 in chroot by Pandu Poluan
1 On Thu, Feb 9, 2012 at 19:32, Pandu Poluan <pandu@××××××.info> wrote:
2 > On Thu, Feb 9, 2012 at 18:49, William Kenworthy <billk@×××××××××.au> wrote:
3 >>
4 >> On Thu, 2012-02-09 at 18:00 +0700, Pandu Poluan wrote:
5 >>> Have anyone been having problems emerging sys-apps/util-linux-2.20-r1
6 >>> on a chroot-ed environment?
7 >>>
8 >>> In my case, it always fail during the following stage:
9 >>>
10 >>> chmod g+s /var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write
11 >>>
12 >>> Strangely, if I exit chroot, I can do the following with no problem:
13 >>>
14 >>> chmod g+s /mnt/gentoo/var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write
15 >>>
16 >>> Any pointers to any blockers?
17 >>>
18 >>> Rgds,
19 >>
20 >> you might need to bind /proc into the chroot?
21 >>
22 >
23 > Already done that. From outside of chroot:
24 >
25 > # mount | grep /mnt/gentoo/proc
26 > none on /mnt/gentoo/proc type proc (rw)
27 > #
28 >
29 > Note: I just tried keywording util-linux-2.20.1-r1, same error.
30 >
31 > If push comes to shove, I'll emerge util-linux-2.20.1-r1 on another
32 > system and get the binpkg.
33 >
34
35 Bah, no joy :(
36
37 Even grabbing the binpkg from another identical system resulted in
38 "Permission denied" errors:
39
40 >>> Extracting info
41 * Package: sys-apps/util-linux-2.20.1-r1
42 * Repository: gentoo
43 * USE: ncurses crypt nls cramfs
44 * FEATURES: preserve-libs sandbox
45 >>> Extracting sys-apps/util-linux-2.20.1-r1
46 tar: ./bin/mount: Cannot change mode to rws--x--x: Permission denied
47 tar: ./bin/umount: Cannot change mode to rws--x--x: Permission denied
48 tar: ./usr/bin/write: Cannot change mode to rwxr-s--x: Permission denied
49 tar: Exiting with failure status due to previous errors
50 tar failed with status 2
51 !!! Error Extracting '/usr/portage/packages/sys-apps/util-linux-2.20.1-r1.tbz2'
52
53
54 Rgds,
55 --
56 FdS Pandu E Poluan
57 ~ IT Optimizer ~
58
59  • LOPSA Member #15248
60  • Blog : http://pepoluan.tumblr.com
61  • Linked-In : http://id.linkedin.com/in/pepoluan