Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53118 - Get a permission denied error when trying to run env-update
Summary: Get a permission denied error when trying to run env-update
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-06 01:20 UTC by Pedro Innecco
Modified: 2009-03-26 00:47 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 Pedro Innecco 2004-06-06 01:20:53 UTC
In the Gentoo's install documentation:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6

At 6.a. (Chrooting), it explains to do the following steps:

# chroot /mnt/gentoo /bin/bash
# env-update
Regenerating /etc/ld.so.cache...
# source /etc/profile

However, when typing env-update, I get a permission denied error:

# env-update
bash: /usr/sbin/env-update: Permission Denied

tried to run manually an env-update.sh script found at /sbin, but then I got the error:

# /sbin/env-update.sh
* Could not get SVCDIR!




Reproducible: Always
Steps to Reproduce:
Do a stage two installation using the i686 file
Actual Results:  
can't proceed with the installation

Expected Results:  
the env-update script should work as expected
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-06 10:04:06 UTC
Which CD were you using?
Comment 2 Pedro Innecco 2004-06-06 13:38:23 UTC
I am using the CD install-x86-universal-2004.1.iso

I have choosen to download the portage from the net, therefore my next step after

# chroot /mnt/gentoo /bin/bash
# env-update
Regenerating /etc/ld.so.cache...
# source /etc/profile


Would be:

# emerge sync


I then tried to install the portage from the CD (and sync them latter on) but I got the same problem.
Comment 3 Tuan Van (RETIRED) gentoo-dev 2004-06-06 15:32:18 UTC
could you post your partions layout?
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-07 04:46:02 UTC
Perhaps you did not bind mount your /proc?
Comment 5 Pedro Innecco 2004-06-07 05:16:47 UTC
I did mount the /proc directory, but now I am not sure if I have looged out after that.

What I am going to do is to test once again the step-by-step procedures and let you know.
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-17 04:36:10 UTC
Since I never heard back from you, I'm going to assume that this was fixed either by your second attempt, or by the 2004.2 release.  If you are still having a problem with this same issue, make sure to REOPEN this bug.
Comment 7 Parker Schmitt 2009-03-26 00:08:25 UTC
I get this problem too, and now portage doesn't work, this didn't happen the first time but when I logged out to check lspci I got this error. Is it possible that portage somehow got porked?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2009-03-26 00:47:04 UTC
Can you retrace your exact steps and reproduce the issue?