FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Catalyst

 
 
LinkBack Thread Tools
 
Old 12-16-2008, 02:21 AM
"Caleb Cushing"
 
Default chroot: cannot run command `/tmp/livecd-stage1-chroot.sh': Permission denied

having trouble getting catalyst running...


copying livecd-stage1-chroot.sh to
/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-2008.1/tmp/
copying chroot-functions.sh to
/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-2008.1/tmp/
Running livecd-stage1-chroot.sh in chroot
/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-2008.1/
chroot: cannot run command `/tmp/livecd-stage1-chroot.sh': Permission denied

!!! catalyst: Error in attempt to build packages


Traceback (most recent call last):
File "modules/generic_stage_target.py", line 1400, in build_packages
"Error in attempt to build packages",env=self.env)
File "/usr/lib64/catalyst/modules/catalyst_support.py", line 539, in cmd
raise CatalystError,myexc
CatalystError
None

--
Caleb Cushing

http://xenoterracide.blogspot.com
 
Old 12-16-2008, 02:30 AM
Andrew Gaffney
 
Default chroot: cannot run command `/tmp/livecd-stage1-chroot.sh': Permission denied

Caleb Cushing wrote:
> chroot: cannot run command `/tmp/livecd-stage1-chroot.sh': Permission denied

My guess is that you've got /var, /var/tmp, or /var/tmp/catalyst mounted with
noexec.

--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Catalyst/Genkernel + Release Engineering Lead
 
Old 12-16-2008, 03:01 AM
"Caleb Cushing"
 
Default chroot: cannot run command `/tmp/livecd-stage1-chroot.sh': Permission denied

> My guess is that you've got /var, /var/tmp, or /var/tmp/catalyst mounted with
> noexec.

# cat /etc/mtab |grep noexec

/proc /proc proc rw,nosuid,nodev,noexec 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0
shm /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
securityfs /sys/kernel/security securityfs rw,noexec,nosuid,nodev 0 0

nope, admittedly I have /var/tmp/catalyst symlinked to /home/catalyst
due to space constraints on /var but that shouldn't affect anything.
perms on /home/catalyst are umask 002 and running all this as root.

--
Caleb Cushing

http://xenoterracide.blogspot.com
 

Thread Tools




All times are GMT. The time now is 09:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org