Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Catalyst (http://www.linux-archive.org/gentoo-catalyst/)
-   -   chroot: cannot run command `/tmp/livecd-stage1-chroot.sh': Permission denied (http://www.linux-archive.org/gentoo-catalyst/212591-chroot-cannot-run-command-tmp-livecd-stage1-chroot-sh-permission-denied.html)

"Caleb Cushing" 12-16-2008 02:21 AM

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

Andrew Gaffney 12-16-2008 02:30 AM

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

"Caleb Cushing" 12-16-2008 03:01 AM

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


All times are GMT. The time now is 11:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.