[Trac-bugs] [PC-BSD Trac] #1059: warden in 10.0 does not properly create jails

PC-BSD trac at pcbsd.org
Fri Feb 28 06:29:48 PST 2014


#1059: warden in 10.0 does not properly create jails
----------------------------------+--------------------------
 Reporter:  tolkor                |      Owner:
     Type:  System Defect         |     Status:  new
 Priority:  major                 |  Milestone:
Component:  System Configuration  |    Version:  10.0-RELEASE
 Keywords:                        |
----------------------------------+--------------------------
 Hiya,

 Had this in the jails forum but thought it might be more accurate posting
 this here.

 Upgraded from 9.2 to 10.0:

 uname -r
 10.0-RELEASE-p4

 -----

 warden create chip --ipv4 159.28.1.176 --startauto
 DEF: 10.0-RELEASE-amd64
 Fetching jail environment. This may take a while...
 /usr/jails/.download/base.txz 100% of 58 MB 239 kBps 04m10s
 /usr/jails/.download/doc.txz 100% of 1395 kB 857 kBps 00m02s
 /usr/jails/.download/games.txz 100% of 863 kB 347 kBps 00m03s
 /usr/jails/.download/lib32.txz 100% of 15 MB 600 kBps 00m26s
 Creating ZFS /usr/jails/.warden-template-10.0-RELEASE-amd64 dataset...
 Created jail template: 10.0-RELEASE-amd64
 Building new Jail... Please wait...
 touch: /usr/jails/chip/etc/fstab: No such file or directory
 /usr/local/share/warden/scripts/backend/createjail.sh: cannot create
 /usr/jails/chip/etc/rc.conf: No such file or directory
 /usr/local/share/warden/scripts/backend/createjail.sh: cannot create
 /usr/jails/chip/etc/hosts: No such file or directory
 /usr/local/share/warden/scripts/backend/createjail.sh: cannot create
 /usr/jails/chip/etc/hosts: No such file or directory
 cp: /usr/jails/chip/etc/resolv.conf: No such file or directory
 cp: /usr/jails/chip/etc/localtime: No such file or directory
 mount: /usr/jails/chip/dev: No such file or directory
 mount: /usr/jails/chip/proc: No such file or directory
 jail -c path=/usr/jails/chip ip4.addr=159.28.1.176/24 host.hostname=chip
 allow.raw_sockets=true persist
 Starting jail with: /etc/rc
 jexec: execvp(): /bin/sh: No such file or directory
 Success!
 Jail created at /usr/jails/chip

 -----

 warden chroot chip
 Started shell session on chip. Type exit when finished.
 jailme: Username mapping failed: No such file or directory

 -----

 warden list
 ID AUTOSTART STATUS TYPE
 ---------------------------------------------------------------------------
 chip Enabled Running standard

 -----


 ls -l /usr/jails/chip
 total 2
 drwxr-xr-x 3 root wheel 3 Feb 27 15:40 usr

--
Ticket URL: <http://trac.pcbsd.org/ticket/1059>
PC-BSD <http://trac.pcbsd.org>
PC-BSD Project Management


More information about the Trac-bugs mailing list