Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105481 - media-sound/amarok: userpriv + usersandbox tries to chmod the live filesystem
Summary: media-sound/amarok: userpriv + usersandbox tries to chmod the live filesystem
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-10 05:01 UTC by Marcin Kryczek (RETIRED)
Modified: 2006-10-04 23:36 UTC (History)
3 users (show)

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 Marcin Kryczek (RETIRED) gentoo-dev 2005-09-10 05:01:42 UTC
here's error message:
chgrp: changing group of `/var/portage/tmp/portage/amarok-1.3.1-r1/image//usr/
kde/3.4/share/doc/HTML/da/amarok/common': No such file or directory
chgrp: changing group of `/var/portage/tmp/portage/amarok-1.3.1-r1/image//usr/
kde/3.4/share/doc/HTML/de/amarok/common': No such file or directory
ACCESS DENIED  chown:     /var/portage/tmp/portage/amarok-1.3.1-r1/image/usr/
kde/3.4/share/doc/HTML/en/amarok/common
chgrp: changing group of `/var/portage/tmp/portage/amarok-1.3.1-r1/image//usr/
kde/3.4/share/doc/HTML/en/amarok/common': Permission denied
chgrp: changing group of `/var/portage/tmp/portage/amarok-1.3.1-r1/image//usr/
kde/3.4/share/doc/HTML/et/amarok/common': No such file or directory
chgrp: changing group of `/var/portage/tmp/portage/amarok-1.3.1-r1/image//usr/
kde/3.4/share/doc/HTML/fr/amarok/common': No such file or directory
chgrp: changing group of `/var/portage/tmp/portage/amarok-1.3.1-r1/image//usr/
kde/3.4/share/doc/HTML/it/amarok/common': No such file or directory
chgrp: changing group of `/var/portage/tmp/portage/amarok-1.3.1-r1/image//usr/
kde/3.4/share/doc/HTML/nl/amarok/common': No such file or directory
chgrp: changing group of `/var/portage/tmp/portage/amarok-1.3.1-r1/image//usr/
kde/3.4/share/doc/HTML/pt/amarok/common': No such file or directory
chgrp: changing group of `/var/portage/tmp/portage/amarok-1.3.1-r1/image//usr/
kde/3.4/share/doc/HTML/ru/amarok/common': No such file or directory
chgrp: changing group of `/var/portage/tmp/portage/amarok-1.3.1-r1/image//usr/
kde/3.4/share/doc/HTML/sv/amarok/common': No such file or directory
chgrp: changing group of `/var/portage/tmp/portage/amarok-1.3.1-r1/image//usr/
kde/3.4/share/doc/HTML/pt_BR/amarok/common': No such file or directory
>>> Completed installing amarok-1.3.1-r1 into /var/portage/tmp/portage/amarok-1.
3.1-r1/image/

sandbox exists- /var/log/sandbox/sandbox-24484.log
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-24484.log"

chown: /var/portage/tmp/portage/amarok-1.3.1-r1/image/usr/kde/3.4/share/doc/
HTML/en/amarok/common (symlink to /usr/kde/3.4/share/doc/HTML/en/common)
--------------------------------------------------------------------------------
SANDBOX_ON:=1
SANDBOX_DISABLED:=0
SANDBOX_READ:=/:/dev/shm:/var/portage/tmp
SANDBOX_WRITE:=/dev/zero:/dev/null:/dev/fd:/proc/self/fd:/dev/pts/:/dev/vc/:/
dev/pty:/dev/tty:/dev/tts:/dev/console:/dev/shm/ngpt:/var/log/scrollkeeper.log:/
usr/tmp/conftest:/usr/lib/conftest:/usr/lib32/conftest:/usr/lib64/conftest:/usr/
tmp/cf:/usr/lib/cf:/usr/lib32/cf:/usr/lib64/cf:/tmp/.gconfd/lock:/tmp/.
bash_history:/home/aye:/tmp:/var/tmp:/tmp/:/var/tmp/:/var/log/sandbox/sandbox-
24484.log:/dev/shm:/var/portage/tmp:/var/log/sandbox/sandbox-24484.log:/var/log/
portage/10706-amarok-1.3.1-r1.log
SANDBOX_PREDICT:=/tmp/.:/usr/lib/python2.0/:/usr/lib/python2.1/:/usr/lib/
python2.2/:/usr/lib/python2.3/:/usr/lib/python2.4/:/usr/lib/python2.5/:/usr/lib/
python3.0/:/var/db/aliases.db:/var/db/netgroup.db:/var/db/netmasks.db:/var/db/
ethers.db:/var/db/rpc.db:/var/db/protocols.db:/var/db/services.db:/var/db/
networks.db:/var/db/hosts.db:/var/db/group.db:/var/db/passwd.db:/proc/self/maps:
/dev/console:/usr/lib/portage/pym:/dev/random
SANDBOX_DEBUG:=unset
SANDBOX_DEBUG_LOG:=/var/log/sandbox/sandbox-debug-24484.log
SANDBOX_LOG:=/var/log/sandbox/sandbox-24484.log
SANDBOX_ARMED:=unset
phases failed


this bug is coused by "userpriv usersandbox" in FEATURES. after turning it off, 
installation phase works
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-10 05:22:55 UTC
As Azarah said on irc, make install tries to run a chown on a symlink 
(pointing to live fs), following it. 
The problem is probably common to all the KDE software that installs 
documentation. 
 
An alternative is to use:  
 
add_predict /usr/kde/3.4/share/doc/HTML/en/common 
 
in kde eclass. 
 
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-09-10 06:52:57 UTC
> The problem is probably common to all the KDE software that installs 
documentation.

Was this changend recently? Otherwise I wonder why I never ran into the problem
in the past, since I'm having userpriv and usersandbox feature flags enabled all
the time.

> add_predict /usr/kde/3.4/share/doc/HTML/en/common

fugly :|
Comment 3 Tom Hosiawa 2006-02-14 20:59:32 UTC
Does this problem still occur? I have both userpriv and usersandbox enabled, and no problems.

Also, you should try try turning of one feature at a time to see if userpriv or usersandbox is creating the problem
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-04 23:36:53 UTC
Reopen if still an issue with recent portages.