Displaying 20 results from an estimated 96 matches for "accessmode".
2011 Feb 19
1
Conditional recoding
...ing A into B, I am not sure I can do
the same with recoding (A or C) into B. If i can use recode please advise on
how to. So i am using an if/else if conditions.
My sample dataset is below along with the code and the warning and results i
get.
TIA
Krishnan
#****Code****
attach(airport_survey)
if(AccessMode == 1 || AccessMode == 8 || AccessMode == 9) {
airport_survey$amodecat <- 1
} else if (AccessMode == 2) {
airport_survey$amodecat <- 2
} else if (AccessMode == 3 & rentalcat == 1 || AccessMode == 4 & rentalcat
== 1) {
airport_survey$amodecat <- 3
} else if (Acc...
2013 Jul 31
2
start lxc container on fedora 19
.../init>
</os>
<clock offset="utc"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/libexec/libvirt_lxc</emulator>
<filesystem accessmode="passthrough" type="mount">
<source dir="/containers/test1/"/>
<target dir="/"/>
</filesystem>
<filesystem accessmode="passthrough" type="mount">
<source dir="/containers/test1/v...
2013 Nov 20
1
Failed to access the console after starting the lxc container
...9;utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<console type='pty'/>
<emulator>/usr/libexec/libvirt_lxc</emulator>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/lxc/test6/etc'/>
<target dir='/etc'/>
</filesystem>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/lxc/test6/var'/>
<target dir='/var'/>...
2013 Jul 26
0
Re: filesystem accessmode='passthrough'
On Fri, Jul 26, 2013 at 10:24:52AM +0400, Yury Goltsov wrote:
> Hello.
> I am trying to 'passthrough' the part of host filesystem to kvm guest.
> libvirt xml:
> <filesystem type='mount' accessmode='passthrough'>
> <source dir='/var/guests/mail-var'/>
> <target dir='mail-var'/>
> </filesystem>
> kvm is started from root.
>
> After mounting in guest
> mount -t 9p mail-var /mnt -o trans=virtio,version=9p2000.L
&...
2013 Jul 12
2
libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
...>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/libexec/libvirt_lxc</emulator>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/vm/lxc/dwj-hfax-dev'/>
<target dir='/'/>
</filesystem>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/usr/portage'/>
<target dir='/u...
2013 Jul 31
0
Re: filesystem accessmode='passthrough' [SOLVED]
After adding the line
clear_emulator_capabilities = 0
to the file
/etc/libvirt/qemu.conf
the results of file system operations are the expected color.
Thanks.
2013 Jul 31
1
Re: filesystem accessmode='passthrough' [SOLVED]
On Wed, Jul 31, 2013 at 09:03:01AM +0400, Yury Goltsov wrote:
> After adding the line
> clear_emulator_capabilities = 0
> to the file
> /etc/libvirt/qemu.conf
> the results of file system operations are the expected color.
NB setting user=root and clear_emulator_capabilities=0 is a very
insecure configuration. If there was an exploit in QEMU, it would
allow it to compromise
2014 Feb 27
0
Re: VirtFS accessmode
On Wed, Feb 26, 2014 at 09:45:53 +0000, Lanati, Matteo wrote:
> Hi all,
>
> I'm trying to share a folder between a host and a guest using VirtFS.
>
> The source is NAS mounted on the host and QEMU runs as unprivileged user.
>
> The only way for me to use the folder inside the guest is to set the access mode to 'squash' but all file operations are performed by
2013 Jul 26
4
filesystem accessmode='passthrough'
Hello.
I am trying to 'passthrough' the part of host filesystem to kvm guest.
libvirt xml:
<filesystem type='mount' accessmode='passthrough'>
<source dir='/var/guests/mail-var'/>
<target dir='mail-var'/>
</filesystem>
kvm is started from root.
After mounting in guest
mount -t 9p mail-var /mnt -o trans=virtio,version=9p2000.L
or
mount -t 9p www-var /mnt -o tran...
2016 Nov 08
3
Sharing network namespace between containers
...<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/lib/libvirt/libvirt_lxc</emulator>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/work/repo-lxc/nt/rootfs_mnt'/>
<target dir='/'/>
</filesystem>
<filesystem type='mount' accessmode='squash'>
<driver type='path' wrpolicy='immediate'/>...
2014 Feb 26
3
VirtFS accessmode
Hi all,
I'm trying to share a folder between a host and a guest using VirtFS.
The source is NAS mounted on the host and QEMU runs as unprivileged user.
The only way for me to use the folder inside the guest is to set the access mode to 'squash' but all file operations are performed by the user running QEMU.
If I ran QEMU as root, the passthrough mode works as expected.
Is there
2013 Jul 12
0
Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
...tc'/>
> <on_poweroff>destroy</on_poweroff>
> <on_reboot>restart</on_reboot>
> <on_crash>destroy</on_crash>
> <devices>
> <emulator>/usr/libexec/libvirt_lxc</emulator>
> <filesystem type='mount' accessmode='passthrough'>
> <source dir='/vm/lxc/dwj-hfax-dev'/>
> <target dir='/'/>
> </filesystem>
> <filesystem type='mount' accessmode='passthrough'>
> <source dir='/usr/portage'/>
>...
2013 Jul 12
2
Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
...<on_poweroff>destroy</on_poweroff>
>> <on_reboot>restart</on_reboot>
>> <on_crash>destroy</on_crash>
>> <devices>
>> <emulator>/usr/libexec/libvirt_lxc</emulator>
>> <filesystem type='mount' accessmode='passthrough'>
>> <source dir='/vm/lxc/dwj-hfax-dev'/>
>> <target dir='/'/>
>> </filesystem>
>> <filesystem type='mount' accessmode='passthrough'>
>> <source dir='/usr/p...
2014 Mar 22
1
Issues to manage RAM on openvz guests
...1</memory>
<currentMemory unit='GiB'>1</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
<type>exe</type>
<init>/sbin/init</init>
</os>
<devices>
<filesystem type='template' accessmode='passthrough'>
<source name='debian-7.0-x86_64'/>
<target dir='/'/>
</filesystem>
<interface type='bridge'>
<mac address='00:16:3e:1a:66:67'/>
<source bridge='br0'/>
<targ...
2011 Aug 23
1
Strange libvirt exit status 1 (LXC containers)
...gt;
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>preserve</on_crash>
<devices>
<emulator>/usr/libexec/libvirt_lxc</emulator>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/var/lib/lxc/vmpea/rootfs/'/>
<target dir='/'/>
<readonly/>
</filesystem>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/home/lxcadmin/reposi...
2015 Feb 23
2
Broken OS when booting rootfs from 9p share
...ystem is broken.
Now
the funny thing is that booting the same OS on the same 9P share
manually with Qemu works as expected with a fully functionnal OS... So
I'm wondering what could libvirt do that render the OS on the share
broken - Something with rights ?
Selinux is disabled on the host, and
accessmode to the share is set to passthrough in both cases.
Here's my
working Qemu line:
qemu -kernel
/srv/overlay/kernels/grsec-3.14.33-101/vmlinuz-3.14.33-101.el6.x86_64
-initrd
/srv/overlay/kernels/grsec-3.14.33-101/initramfs-3.14.33-101.el6.x86_64.img
-fsdev
local,id=r,path=/srv/overlay/run/irc,...
2019 Jun 10
2
lxc - pass filesystem off host's automounts
hi guys
in my qutest I have this:
...
<filesystem type='mount' accessmode='passthrough'>
<source dir='/home'/>
<target dir='/home'/>
</filesystem>
...
and on the host /home/* are user home dirs which are automounted off a
glusterfs volume.
The guest starts okey, I can see dirs under /home but if I go to
/hom...
2014 Apr 12
2
LXC + USB passthrough = Operation not permitted
...<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/lib/libvirt/libvirt_lxc</emulator>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/some/valid/filesystem/location'/>
<target dir='/'/>
</filesystem>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/another/valid/filesystem/location'/...
2012 Mar 06
1
Correctly using libvirt to mount /dev/pts and /dev in an lxc application container
...>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/libexec/libvirt_lxc</emulator>
<filesystem type='mount' accessmode='passthrough'>
<source dir='//home'/>
<target dir='/home'/>
</filesystem>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/archive/centos57-root'/>
<target dir='/&...
2015 Apr 08
4
Centos 7.1.1503 + libvirt 1.2.14 = broken direct network mode
...>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/libexec/libvirt_lxc</emulator>
<filesystem type='block' accessmode='passthrough'>
<source dev='/dev/data/test1'/>
<target dir='/'/>
</filesystem>
<filesystem type='ram' accessmode='passthrough'>
<source usage='524288' units='KiB'/>
<target di...