Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63365 - ACCESS DENIED chmod: /proc/self/cmdline for pciutils on a new install (via chroot)
Summary: ACCESS DENIED chmod: /proc/self/cmdline for pciutils on a new install (via ch...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-08 16:16 UTC by Kalin KOZHUHAROV
Modified: 2004-09-08 20:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalin KOZHUHAROV 2004-09-08 16:16:37 UTC
17:08:03 (401.71 KB/s) - `/usr/portage-distfiles/pciutils-2.1.11.tar.gz' saved [120948]

>>> md5 src_uri ;-) pciutils-2.1.11.tar.gz
>>> Unpacking source...
>>> Unpacking pciutils-2.1.11.tar.gz to /var/tmp/portage/pciutils-2.1.11-r1/work
 * Applying pcimodules-pciutils-2.1.11.diff...                                                                                                                            [ ok ]
 * Applying 2.1.11-sysfs.patch...                                                                                                                                         [ ok ]
ACCESS DENIED  chmod:     /proc/self/cmdline
--17:08:08--  http://pciids.sourceforge.net/pci.ids.bz2
           => `pci.ids.new'
Resolving pciids.sourceforge.net... 66.35.250.209
Connecting to pciids.sourceforge.net[66.35.250.209]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 84,417 [text/plain]

    0K .......... .......... .......... .......... .......... 60%   70.16 KB/s
   50K .......... .......... .......... ..                   100%  190.10 KB/s

17:08:09 (93.33 KB/s) - `pci.ids.new' saved [84417/84417]

Done.
>>> Source unpacked.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-sys-apps_-_pciutils-2.1.11-r1-3151.log"

chmod:     /proc/self/cmdline
--------------------------------------------------------------------------------


Reproducible: Always
Steps to Reproduce:
*** Every time at the present state of the system. ***
1. emerge pciutils

Actual Results:  
ACCESS VIOLATION

Expected Results:  
emerge the package

I was trying to build a new system on my laptop and got stuck by this.
Using distcc and chrooted environment.
bootstrap, emerge system, emerge about 30 packages was OK.
Looking at the logs, I had quite a few "out of memory OOM killed proces xxx"
(citing by memory) MSGs, swap is activated.
Other packages seem to work even now (e.g. just emerged udev).

I emerged the same ebuild on other machines and it is fine...

ls -ld /proc/ is normal (proc mounted as per Quick Install Reference under
chrooted environment)
I am almost sure this has to do something with chroot...

linux 2.6.7 (smp from LiveCD-2004.2)
Booted as per my writings at http://forums.gentoo.org/viewtopic.php?p=1514807
Comment 1 Kalin KOZHUHAROV 2004-09-08 19:49:52 UTC
Ok, now that I finished-up my system, rebooted and tried again to emerge pciutils-2.1.11 and got the same error. So I guess it has nothing to do with chroot.

Sorry, I found the culprit!

It is a patched wget...

See my posting on gmane.comp.web.wget.patches 2004-08-24 02:43:
"A dirty hack to hide cmdline (e.g. when using --http-passwd)"

I wonder why other ebuilds work though.

Anyway marking as closed :-|
Comment 2 Kalin KOZHUHAROV 2004-09-08 20:05:56 UTC
Other ebuilds work OK, simply because they didn't use wget :-)
 (I had /usr/portage-distfiles NFS mounted and this ebuild tried to download pci.ids)