Package Details: libvirt-sandbox 0.8.0-2

Git Clone URL: (read-only, click to copy)
Package Base: libvirt-sandbox
Description: An application sandbox toolkit
Upstream URL:
Licenses: LGPL
Submitter: ackalker
Maintainer: RX14
Last Packager: RX14
Votes: 2
Popularity: 0.38
First Submitted: 2015-10-28 10:52
Last Updated: 2019-08-25 16:11

Latest Comments

chuck-r commented on 2021-01-10 18:55

@svinto, to fix that error you have to enable some type of kernel security module. After much debugging, I found the issue lies in a call to getcon() returning -1 (presumably because no kernel security was set up on my machine? -- I wasn't able to find the source for that function anywhere). Anyway, through much keyboard grinding and finally a little deductive reasoning, I found that simply enabling apparmor in the kernel fixed the issue. See That still leaves me with another issue that I haven't bothered resolving. From the man page (-r option): NB. "DIR" must contain a matching install of the libvirt-sandbox package. This restriction may be lifted in a future version. I think it's due to my target image not having the package (it's Debian for Christ's sake) as to why it gets past the "Unable to get SELinux context of user: Invalid argument" but hangs indefinitely on a 20M image.

svinto commented on 2020-10-22 18:20

I'm getting SELinux errors when virt-manager tries to run virt-sandbox. I'm not sure if this is a problem with this AUR package, or if I have done something wrong. Any help is appreciated.

I tried to use virt-manager to create a LXC operating system container, and used the source URI: docker://archlinux

When I execute the command that virt-manager tries to run I get the same error as virt-manager:

$ virt-sandbox --security=inherit -c qemu:///session --name=bootstrap_156213 -m host-bind:/mnt=/home/svintoo/.local/share/libvirt/filesystems/arch-container -- /bin/tar xf /home/svintoo/.cache/virt-bootstrap/docker_images/cb935d5e749430e85932672b87cad9b38f00b683af62df0c8c08b6694db381e7 -C /mnt --exclude dev/* --exclude */.wh.* --overwrite --absolute-names
Unable to parse security: Unable to get SELinux context of user: Invalid argument

bar0metr commented on 2019-04-08 07:24

Please, add xz-static-git as makedepend Anyway, build fails

curiosity commented on 2018-06-21 16:26

any chance of this getting fixed? I don't know how. Here's the output of the rpc missing, in case it's helpful:

CC libvirt_sandbox_1_0_la-libvirt-sandbox-console-rpc.lo In file included from ../libvirt-sandbox/libvirt-sandbox-rpcpacket.h:26, from libvirt-sandbox-console-rpc.c:34: ../libvirt-sandbox/libvirt-sandbox-protocol.h:9:10: fatal error: rpc/rpc.h: No such file or directory #include <rpc rpc.h=""></rpc>

spacepluk commented on 2018-05-25 19:07

it's also missing libguestfs

mrvik commented on 2018-04-25 20:54

Build stage fails. It requires rpcgen, but it is not present. Add rpcsvc-proto as makedepend Anyway, build fails due to rpc.h missing

mrvik commented on 2018-04-25 20:46

@rodneyrod do gpg --recv-key BE86EBB415104FDF

rodneyrod commented on 2018-04-16 00:58

Not building, fails with following error:

==> Verifying source file signatures with gpg... libvirt-sandbox-0.6.0.tar.gz ... FAILED (unknown public key BE86EBB415104FDF)

ackalker commented on 2015-10-29 08:24

Tip: If running `virt-sandbox` gives the following error:

$ virt-sandbox -c qemu:///session /bin/sh
Unable to start sandbox: Error when getting information for file '/boot/vmlinuz-4.2.4-1-ARCH': No such file or directory

you need to pass it the path to the (currently booted) kernel like so:

$ virt-sandbox --kernpath=$(sed -e "s/.*\(BOOT_IMAGE=\([^ ]*\)\) .*/\2/" /proc/cmdline) -c qemu:///session /bin/sh

To save on typing, you can also create a shell alias:

$ alias virt-sandbox='virt-sandbox --kernpath=$(sed -e "s/.*\(BOOT_IMAGE=\([^ ]*\)\) .*/\2/" /proc/cmdline)'