kern/89528: [jail] impossible to kill a jail
Nick Jones
nick at freebsd.cx
Tue May 1 14:50:10 UTC 2007
The following reply was made to PR kern/89528; it has been noted by GNATS.
From: Nick Jones <nick at freebsd.cx>
To: bug-followup at FreeBSD.org, philippe.lang at attiksystem.ch
Cc:
Subject: Re: kern/89528: [jail] impossible to kill a jail
Date: Tue, 1 May 2007 15:10:45 +0100
Hi all.
I'm seeing this behaviour on a fresh build (i.e this morning) of
-STABLE.
Jails shutdown cleanly if they aren't touched, but as soon as I login
and out again via SSH they'll no longer die properly. There's no open
sockets and no processes running within the jail itself, for example:
[nick at x330 ~]$ jls
JID IP Address Hostname Path
2 192.168.1.66 dischord.org /home/jails/dischord.org
[nick at x330 ~]$ sudo jexec 2 ps auxwww
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 1468 0.0 0.1 1476 924 p0 R+J 2:02PM 0:00.01 ps auxwww
[nick at x330 ~]$ sudo killall -j 2
No matching processes were found
[nick at x330 ~]$ sudo jkill 2
[nick at x330 ~]$ jls
JID IP Address Hostname Path
2 192.168.1.66 dischord.org /home/jails/dischord.org
The only thing that'll clear it is a reboot.
--
-Nick
More information about the freebsd-bugs
mailing list