[libvirt-users] Fail to build libvirt-sandbox under ubuntu 12.10
Daniel P. Berrange
berrange at redhat.com
Tue Jan 29 17:02:58 UTC 2013
On Tue, Jan 29, 2013 at 01:21:15PM +0200, pablo platt wrote:
> Thank you for the fix, I can build and install now.
>
> Now I'm having issues with the example in the man page.
>
> I'm getting unkonw option error for --host-bind:
> > mkdir $HOME/scratch
> > virt-sandbox -c lxc:/// --host-bind $HOME=$HOME/scratch /bin/sh
> Unknown option --host-bind
>
> The part in the man page for the options probably has typo.
> -b DST-GUEST-DIR=SRC-GUEST-DIR, --guest-bind
> One of them should probably be HOST-DIR?
>
> -B DST-GUEST-DIR=SRC-HOST-DIR, --guest-bind DST-GUEST-DIR=SRC-HOST-DIR
> Maybe it should be --host-bind?
Opps, the man page was out of date the - syntax checked - see the
updated man page i just committed to git.
> When running as root I'm getting another error (or warning):
> > sudo virt-sandbox -c lxc:/// /bin/sh
> /bin/sh: 0: can't access tty; job control turned off
I dunno why sh is doing this - i don't see it myself with bash
on Fedora - i assume 'sh' is dash on Ubuntu
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvirt-users
mailing list