[PC-BSD Testing] warden in 9.1rc3 portjail errors

Kris Moore kris at pcbsd.org
Wed Dec 5 07:50:46 PST 2012


On 11/30/2012 18:51, Curt Dox wrote:
> hello
>
> I am using v9.1rc3, amd64, zfs, enlightenment, was a clean install to
> zfs mirrored 500GB drives, other defaults kept.
>
> There seems to be something missing/broken with Warden on v9.1rc3.  I
> created a portjail, built portmaster, inkscape and blender within it. 
> I also took snapshots after each of blender and inkscape was added,
> and decided to add a second ip (10.10.1.42) to the jail.
>
> Does Warden accidentally treat jail and portjail identically?
>
> Adding another IP to a portjail does not make it available from that IP.
>
> Attempting to use an app from the portjail does not provide access to
> files in $home
>
> Terminal access to portjail shows /home/tigersharke contains a single
> directory, .cache with sub-directory g-ir-scanner which contains file
> .cache-version and a number of what appear to be checksum-named files.
>
> As user:
>
>     [tigersharke at ProfessorX] ~/Documents/PC-BSD% warden chroot
>     10.10.1.42 inkscape
>     ERROR: No such jail!
>     [tigersharke at ProfessorX] ~/Documents/PC-BSD% warden chroot
>     10.10.1.21 inkscape
>
>     ** (inkscape:85677): WARNING **: Unable to create profile
>     directory (Permission denied) (13)
>
>     (inkscape:85677): Gdk-WARNING **: shmget failed: error 78
>     (Function not implemented)
>
>     ** (inkscape:85677): WARNING **: Could not create extension error
>     log file '/usr/home/tigersharke/.config/inkscape/extension-errors.log'
>
>     (inkscape:85677): Gtk-WARNING **: Attempting to store changes into
>     `/usr/home/tigersharke/.local/share/recently-used.xbel', but
>     failed: Failed to create file
>     '/usr/home/tigersharke/.local/share/recently-used.xbel.UH8MOW': No
>     such file or directory
>
>     (inkscape:85677): Gtk-WARNING **: Attempting to set the
>     permissions of
>     `/usr/home/tigersharke/.local/share/recently-used.xbel', but
>     failed: No such file or directory
>     [tigersharke at ProfessorX] ~/Documents/PC-BSD%
>
>
> As root:
>
>     [tigersharke at ProfessorX] /usr/home/tigersharke/Documents/PC-BSD#
>     warden chroot 10.10.1.42 inkscape
>     ERROR: No such jail!
>     [tigersharke at ProfessorX] /usr/home/tigersharke/Documents/PC-BSD#
>     warden chroot 10.10.1.21 inkscape
>
>     (inkscape:9142): Gdk-WARNING **: shmget failed: error 78 (Function
>     not implemented)
>
>     (inkscape:9142): Gtk-WARNING **: Attempting to store changes into
>     `/root/.local/share/recently-used.xbel', but failed: Failed to
>     create file '/root/.local/share/recently-used.xbel.WTDKOW': No
>     such file or directory
>
>     (inkscape:9142): Gtk-WARNING **: Attempting to set the permissions
>     of `/root/.local/share/recently-used.xbel', but failed: No such
>     file or directory
>     [tigersharke at ProfessorX] /usr/home/tigersharke/Documents/PC-BSD#
>
>
>
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing

Is the jail running before you try to chroot into it? "warden list"

Also, you will probably need to run "chroot" as your user account when
running X apps :)

-- 
Kris Moore
PC-BSD Software
iXsystems

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/testing/attachments/20121205/5f30b68e/attachment.html>


More information about the Testing mailing list