Displaying 20 results from an estimated 20000 matches similar to: "[LXC] Libvirtd without root"
2013 Oct 30
2
libvirt-lxc driver on armv7l
Hi there,
I'm interested in using libvirt-lxc on armv7l architecture and I have a hard
time building libvirt.
1. Are there any prebuild rpms for ARM?
2. I have many dependency issues during build:
error: *** Error Summary ***
=== the following packages failed to build due to missing build dependencies
===
libvirt:
nothing provides hal-devel
nothing provides
2014 Jan 20
2
LXC configuration for Systemd in the user namespace.
Hi there!
Does anyone have a config file for libvirt-LXC, that makes it possible to:
1. Use all namespaces (user namespace in particular)
2. Run systemd inside a container.
Thanks!
Jan
2014 Jan 28
2
Libvirt-LXC + systemd + user namespace
Hi there!
I am trying to turn on user namespace by adding following lines to the
config:
<idmap>
<uid start='0' target='0' count='100000'/>
<gid start='0' target='0' count='100000'/>
</idmap>
As you can see the root in container is mapped to the root outside. I was
expected to see no difference
2013 Oct 31
1
libvirt-lxc without libvirt
Hi there!
1. Is it possible to build libvirt-lxc driver without building
libvirt? How do I do it?
2. Do I understand it correctly, that I can use libvirt-lxc as a
substitute of lxc?
Thanks,
Jan
2015 Jul 30
2
How to run libvirtd as non root user
Team,
I note that libvertd runs as root user that is against the least privilege security model.
root 307278 1 0 Jun20 ? 04:16:46 /usr/sbin/libvirtd -listen
Appreciate pointers to alternate options that user could configure as a potential mitigation plan?
Thanks,
-Anshul
2014 Jan 29
1
Re: Libvirt-LXC + systemd + user namespace
On 28.01.2014 12:46, Daniel P. Berrange wrote:
> On Tue, Jan 28, 2014 at 12:32:41PM +0100, Jan Olszak wrote:
>> Hi there!
>>
>> I am trying to turn on user namespace by adding following lines to the
>> config:
>>
>>
>>
>> <idmap>
>>
>> <uid start='0' target='0' count='100000'/>
>>
2014 Apr 16
2
Re: LXC + USB passthrough = Operation not permitted
Yeah, AppArmor is enabled, but I put everything (that I could find) into
complain mode:
$ sudo apparmor_status
apparmor module is loaded.
12 profiles are loaded.
3 profiles are in enforce mode.
lxc-container-default
lxc-container-default-with-mounting
lxc-container-default-with-nesting
9 profiles are in complain mode.
/sbin/dhclient
/usr/bin/lxc-start
2013 Oct 31
1
Re: libvirt-lxc driver on armv7l
Oh, sorry. I try to build libvirt on Tizen, with gbs.
Unfortunately Tizen doesn't have the packages from the "snip list of rpms":)
I tried to install dependencies from http://ftp.pbone.net/pub/fedora/linux/development/20/armhfp/os/Packages/ but that just doesn't work...
Thanks!
Jan
-----Original Message-----
From: Daniel P. Berrange [mailto:berrange@redhat.com]
Sent:
2014 Apr 17
2
Re: LXC + USB passthrough = Operation not permitted
Further followups!
We are correlating DEBUG-level output from libvirt with the libvirt 1.2.2
code to try to figure out what libvirt is doing under the hood.
Even though we have the log level set to 1 (info) in our libvirtd.conf, we
are not seeing the VIR_DEBUG() [1] statements being printed out. There are
tons of other presumably-debug lines of output showing up in our log. We
are sort of
2013 May 14
1
Unable to start LXC on Gentoo w/ libvirt 1.0.4 or 1.0.5. 1.0.3 works
Hello.
I use libvirtd on my Gentoo development system to manage both QEMU and
LXC. When 1.0.3 came out, I updated to it from 1.0.3-r2, but 1.0.4 failed
to start my LXC containers. I did not research the issue at the time, so I
revert to 1.0.3-r2. Today I updated to 1.0.5 and my LXC containers still
fail to start. I have not changed my domain XML at all.
I am looking for suggestions on
2014 Apr 12
2
LXC + USB passthrough = Operation not permitted
Hi!
First post, kind of a noobie. I've been working with LXC and libvirt for a
few months now. Trying to do some interesting things with containers and
Android devices :D
I'm running ubuntu 13.10 with LXC 1.0.1 and tried both libvirt 1.1.1 and
1.2.2 (backported from ubuntu-trusty), but with either version of libvirt
am getting issues as soon as I try to get access to USB devices inside
2013 Sep 10
3
libvirt-1.2.2-r1 (Gentoo) fails to start LXC containers
I recently upgraded "libvirt" on Gentoo to 1.2.2-r1 (latest available). I
have not used LXC containers for a few weeks, so I don't recall what
version of libvirt I was using when my container last booted successfully.
Unfortunately, Gentoo's portage tree does not offer any previous versions
of libvirt that I could downgrade to.
TL;DR: My container is configured to use
2014 Apr 17
1
Re: LXC + USB passthrough = Operation not permitted
Me again!
Think we've found it.
By diving into the LXC logs for the specific container, we found this:
2014-04-17 21:07:06.066+0000: 2861: debug : virCgroupSetValueStr:678 : Set
value '/sys/fs/cgroup/devices/machine/oshi32134.libvirt-lxc/devices.allow'
to 'c 189:130 rw'
Looks like libvirt the permission to 'rw', not 'rmw' [1], so no surprise
that when it
2018 Mar 23
2
Attempt to define unprivileged LXC by libvirt
Hi,
i converted LXC conf to xml by:
lxcuser@blade1:~/.local/share/lxc/test_deb$ virsh -c lxc:/// domxml-from-
native lxc-tools /home/lxcuser/.local/share/lxc/test_deb/config
<domain type='lxc'>
<name>test_deb</name>
<uuid>cce77799-89fd-41fd-99c1-101e00844e23</uuid>
<memory unit='KiB'>65536</memory>
<currentMemory
2014 Jan 22
3
running LXC hello world example
Hello,
I am having difficulty getting any sort of LXC container running. I am
trying to use the following tutorial to run the hello world example:
https://www.berrange.com/posts/2011/09/27/getting-started-with-lxc-using-libvirt/
Here are the results of my running the tutorial:
[root@terraria ~]# virsh list
Id Name State
2011 Aug 23
1
Strange libvirt exit status 1 (LXC containers)
Hello,
I've encountered the following error, trying to start a domain:
error: internal error Child process (PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin LIBVIRT_DEBUG=2 LIBVIRT_LOG_OUTPUTS=2:syslog:libvirtd /usr/libexec/libvirt_lxc --name vm_14 --console 18 --handshake 21 --background --veth veth1) status unexpected: exit status 1
I see nothing relevant
2014 Jan 15
2
Does libvirt lxc driver support "cpuset" attribute?
Dear all
I allocate only one vcpu for the container by the following statement, that is, I want to pin the vcpu to physical core "2".
<vcpu placement='static' cpuset="2" >1</vcpu>
My host has 4 physical cores. Before test, all the 4 cores are idle. After I run 4 processes in the container, I found all the 4 cores in the host are 100% used. That is, the
2013 Sep 11
2
Re: libvirt-1.2.2-r1 (Gentoo) fails to start LXC containers
On 09/11/2013 04:44 PM, Daniel P. Berrange wrote:
> On Tue, Sep 10, 2013 at 09:09:44AM -0500, Dennis Jenkins wrote:
>> I recently upgraded "libvirt" on Gentoo to 1.2.2-r1 (latest available). I
>> have not used LXC containers for a few weeks, so I don't recall what
>> version of libvirt I was using when my container last booted successfully.
>>
>>
2016 Dec 06
1
How can openstack retrieve the CPU usage of a lxc via libvirt?
Dear all,
I want to have a view of lxc CPU usage in openstack Dashboard. According the Openstack official site , Openstack Ceilometer can poll libvirt daemon to obtain CPU usage of a virtual machine. I tried the command locally on the libvirtd host "virsh -c lxc:/// domjobinfo", I got an error "error: this function is not supported by the connection driver:
2013 Nov 05
3
Building libvirt for ARM tizen.
Hi there!
I'm building libvirt-1.1.4 on Tizen. I had to modify the spec file:
1. Comment out requirements: xhtml1, scrub, shadow-utils
2. Added defines:
%define _without_selinux 1
%define _without_hal 1
%define _without_libnl 1
%define _without_macvtap 1
%define _without_storage_fs 1
%define _without_network 1
%define _without_sasl 1
%define _without_qemu 1
%define