missing /dev/pts in jail
richard bader
richard at bader-muenchen.de
Thu Dec 10 08:44:29 UTC 2009
Hello to all,
I've upgraded my FreeBSD-7.2 to 8.0-STABLE FreeBSD 8.0-STABLE #2: Mon
Dec 7 11:27:05 CET 2009 with cvsup.
Now i've the following problem:
After system startup all jails are working fine and i can log into the
jails with ssh.
- the jails are configured in rc.conf
After stopping a jail with '/etc/rc.d/jail stop jailtest' and restarting
it with '/etc/rc.d/jail start jailtest' the jail is working but i cannot
log in anymore.
The errormessage of the ssh is:
PTY allocation request failed on channel 0
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
When looking in the jail the device /dev/pts is missing:
[root at main1 ~]# ls -l /usr2/jails/jailtest/dev/
total 1
dr-xr-xr-x 2 root wheel 512 Dec 10 09:17 fd
lrwxr-xr-x 1 root wheel 14 Dec 10 09:17 log -> ../var/run/log
crw-rw-rw- 1 root wheel 0, 32 Dec 10 09:15 null
crw-rw-rw- 1 root wheel 0, 10 Dec 8 23:13 random
lrwxr-xr-x 1 root wheel 4 Dec 10 09:17 stderr -> fd/2
lrwxr-xr-x 1 root wheel 4 Dec 10 09:17 stdin -> fd/0
lrwxr-xr-x 1 root wheel 4 Dec 10 09:17 stdout -> fd/1
lrwxr-xr-x 1 root wheel 6 Dec 10 09:17 urandom -> random
crw-rw-rw- 1 root wheel 0, 33 Dec 8 22:13 zero
Any ideas
best regards
richard
More information about the freebsd-jail
mailing list