[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ezjail] Re: Weird Permission Denied Error.
At this point, I don't have a clue what's wrong. I'm just grasping at
straws, trying to think what I'd look at.
What does /etc/fstab.<YOURJAILNAME> look like? Could be the mount
options blocking execution. Where are your jails mounted? Is
/usr/jails a separate filesystem? If yes, is that filesystem mounted
Can you run (from the host, outside the jail):
su -u nobody -c /usr/jails/basejail/bin/csh
Dan Rue wrote:
On Fri, Aug 10, 2007 at 05:04:58PM -0400, Patrick Wolfe wrote:
What does "type su" display?
root@lucky:/usr# jexec 25 /bin/sh
# type su
su is /usr/bin/su
What does "file /bin/csh" display?
# file /bin/csh
/bin/csh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), stripped
Can you do the "su -m nobody -c /bin/csh" on the host system (outside
root@lucky:/usr# su -m nobody -c /bin/csh
You have mail.
Think it's related to the basejail mount?
Patrick Wolfe (patrick.wolfe AT employease DOT com)
Production Engineer, ADP Employease