jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] ssh from jailed user


From: OCEANET - Cédric BASSAGET
Subject: Re: [Jailkit-users] ssh from jailed user
Date: Tue, 18 Feb 2014 13:22:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Hi Olivier and others,

FS is ext3 so I don't think it's the problem.

Here's the end of the output of 'strace ssh' :
futex(0x7fffc6ce6d0c, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fffc6ce6d0c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f43905417c0) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7f438d3d9c60, [], SA_RESTORER|SA_SIGINFO, 0x7f438d3e3710}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f438d3d9cf0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f438d3e3710}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
statfs("/selinux", 0x7fffc6ce6c50)      = -1 ENOENT (No such file or directory)
brk(0)                                  = 0x7f43907ba000
brk(0x7f43907db000)                     = 0x7f43907db000
open("/proc/filesystems", O_RDONLY)     = -1 ENOENT (No such file or directory)
access("/usr/share/dracut/modules.d/01fips", F_OK) = -1 ENOENT (No such file or directory)
open("/dev/null", O_RDWR)               = -1 EACCES (Permission denied)
write(2, "Couldn't open /dev/null: Permiss"..., 43Couldn't open /dev/null: Permission denied
) = 43
exit_group(1)                           = ?

the full strace is viewable here : http://pastebin.com/5SS6K0Nu

Hope somebody will help me with that...
Regards,
Cédric

OCEANET
---------------------------------------------------------------
[AGENCE DU MANS]
7, rue des Frênes
ZAC de la Pointe
72190 SARGE LES LE MANS
[t] +33 (0)2.43.50.26.50
[f] +33 (0)2.43.72.21.14

[AGENCE D'ANGERS]
5, rue Fleming
Angers Technopole
49066 ANGERS
[t] +33 (0)2.41.19.28.65
[f] +33 (0)2.52.19.22.00

http://www.oceanet.com
http://www.oceanet-telecom.com
Le 17/02/2014 18:20, Olivier Sessink a écrit :
On 02/17/2014 11:00 AM, Richard Scott wrote:
What file system are you running your JAIL from?

I was using GlusterFS, but changed to ext4 and it all works.

good observation! some file systems do not support devices. All
filesystems that can be a root filesystem do support devices.

Otherwise you might want to debug with strace.

Olivier




reply via email to

[Prev in Thread] Current Thread [Next in Thread]