Displaying 20 results from an estimated 1300 matches similar to: "LXC container driver"
2014 Feb 12
0
Re: LXC container driver
On Wed, Feb 12, 2014 at 12:51:10PM +0100, arnaud gaboury wrote:
> Dear all,
>
> I am slowly building a Arch Linux VM guest on my Arch Linux host.
>
> The guest machine is now built and is recognized as shown by this command :
>
> gabx@hortensia ➤➤ ~ % machinectl list
> MACHINE CONTAINER SERVICE
> dahlia container
2014 Feb 15
2
lxc and cgroups
Dear list,
I am bulding a VM using libvirt and lxc for linux container. I have an
issue with my cgroups settings:
gabx@hortensia ➤➤ ~ # virsh start dahlia
error: Failed to start domain dahlia
error: internal error: No valid cgroup for machine dahlia
My environement:
Host : Arch Linux - systemd 208-11, libvirt 1.2.1-4
guest : Arch Linux , machine name : dahlia ,
/etc/libvirt/lxc/dahlia.xml ,
2014 Feb 12
2
Re: LXC container driver
>
> NB user namespaces are a fairly new piece of functionality that
> is still somewhat rough around the edges. You usuaully want to
> have the most recent kernel.org stable kernel available when
> using this.
>
Yes, I confirm it is a little bit touchy for me.
gabx@hortensia ➤➤ ~ % uname -a
Linux hortensia 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET
2014 x86_64
2014 Feb 12
1
Re: LXC container driver
On Wed, Feb 12, 2014 at 03:21:18PM +0100, arnaud gaboury wrote:
> I am totally lost in this UID/GID mapping. Maybe all this stuff is
> just beyond my competence.
>
> For now, I am writing a basic mydomain.xml file following these 3 wiki:
> LXC container from libvirt.org[1]
> Linux containers guide from Rad Hat 7[2]
> getting start with lxc from P.Berrange [3]
>
> This
2014 Feb 15
0
Re: lxc and cgroups
I must add I can boot the container this way :
gabx@hortensia ➤➤ ~ # systemd-nspawn -bD /machine/dahlia
A few error messages at boot :
Set hostname to <dahlia>.
Failed to verify GPT partition /dev/sdb1: No such file or directory
/usr/lib/systemd/system-
generators/systemd-gpt-auto-generator exited
with exit status 1.
# blkid
/dev/sdb1:
2014 Aug 12
2
Re: issue when building/making package from git
On Tue, Aug 12, 2014 at 5:44 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
>
> Please try my suggestions here:
>
> https://www.redhat.com/archives/libguestfs/2014-August/msg00099.html
>
:: Synchronizing package databases...
core is up to date
extra is up to date
community
2.3 MiB 3.07M/s 00:01
2014 Feb 12
0
Re: LXC container driver
I am totally lost in this UID/GID mapping. Maybe all this stuff is
just beyond my competence.
For now, I am writing a basic mydomain.xml file following these 3 wiki:
LXC container from libvirt.org[1]
Linux containers guide from Rad Hat 7[2]
getting start with lxc from P.Berrange [3]
This is the basic .xml file:
<domain type='lxc'>
<name>dahlia</name>
2019 Jan 21
2
libvirt 5.0.0 - LXC container still in "virsh list" output after shutdown
Hello.
Centos 7.6 with libvirt build from base "virt" repository:
libvirt-daemon-driver-lxc-5.0.0-1.el7.x86_64
libvirt-client-5.0.0-1.el7.x86_64
libvirt-daemon-5.0.0-1.el7.x86_64
libvirt-daemon-driver-network-5.0.0-1.el7.x86_64
libvirt-libs-5.0.0-1.el7.x86_64
+
systemd-219-62.el7_6.2.x86_64
Now lxc containers with type='direct' can be started, but can't be stopped :)
2014 Feb 10
2
Re: libvirt/qemu and cgroups
> The precise answer depends on which version of systemd you have. In
> any systemd host though, systemd should ensure all the filesystems
> are mounted correctly. If you have libvirt >= 1.1.1 and systemd >= 205
> then you can use its "slice" and "scope" concepts to setup grouping
> of VMs. If you have older systemd, then you have to setup groups
>
2014 Feb 09
3
libvirt/qemu and cgroups
Dear list,
I am building a Arch server on my Arch box.
My tools are QEMU/KVM and libvirt to manage the guest, systemd as
system manager.
I am looking at implementing the Linux Control Groups facilities for
resource management. Even after long hours of reading, I am not quite
sure about how to deal with the cgroups facilities.
First, do I really need to care about all that, or libvirt and
2006 Jun 17
2
preventing indexing of an acts_as_ferret''d model?
Hi, this is hopefully an easy one, but I''ve gone through the api and searched
past forum entries, and am drawing a blank.
I have a model that with acts_as_ferret mixed in to it, which is working fine.
But I want users to be able to set a ''private'' attribute on the model, and when
it''s set to true, create and update methods would skip indexing. So, how can I
2020 Jul 27
0
machinectl does not show libvirtd vms
(this is a follow-up of a discussion on IRC with mprivozn)
Hello,
I’m facing an issue where systemd-machined is not aware of new VMs
happening in libvirt (with QEMU). I attached debug logs for a VM
starting.
To repeat the discussion that happened on IRC:
- libvirt config does not specify anything related to cgroup_controllers
- cgroups are mounted (mount | grep cgroup is not empty)
- in
2014 Feb 10
0
Re: libvirt/qemu and cgroups
On Mon, Feb 10, 2014 at 01:28:42PM +0100, arnaud gaboury wrote:
> > The precise answer depends on which version of systemd you have. In
> > any systemd host though, systemd should ensure all the filesystems
> > are mounted correctly. If you have libvirt >= 1.1.1 and systemd >= 205
> > then you can use its "slice" and "scope" concepts to setup
2016 Apr 11
0
systemd-nspawn will replace lxc
Hi all,
It seems RH will deprecate LXC (https://access.redhat.com/articles/1365153) and will go to docker way (or maybe I am totally wrong). Is this true?? Will be systemd-nspawn a lightweight replacement for LXC containers??
Thanks.
--
Greetings,
C. L. Martinez
2018 Jan 29
2
How to use /dev/net/tun from libvirt-lxc with user namespacing enabled
I have a container rootfs that I use to keep all work-related stuff. This
container was originally created by lxd (which creates all containers for
use with user namespacing), but now I decided to start using libvirt for
container management since I already use it for virtual machines, which
will spare me from dealing with multiple hypervisor technologies.
I managed to create a working domain xml
2015 Sep 08
1
Build rpm package for R-MKL
On Tue, Sep 8, 2015 at 7:58 PM, Tom Callaway <tcallawa at redhat.com> wrote:
> On 09/08/2015 01:51 PM, arnaud gaboury wrote:
>> So no idea why, at this part of the process, icc is not found. Weird,
>> as building manually from source (no rpmbuild) is OK.
>
> Hm. Is icc in a normal place that is in a standard PATH (e.g. /usr/bin
> or /bin) or are you overriding PATH?
2014 Jan 30
0
Re: Notes on building libguestfs in a systemd-nspawn container
On 01/30/2014 07:41 AM, Kashyap Chamarthy wrote:
> Last night I was tinkering with `systemd-nspawn` -- namespace based
> container for testing, I thought I'll post what I tried with libguestfs
> here:
>
>
> Prerequisite
> ------------
>
> Because of an audit subsystem incompatibility bug - rhbz#966807[1], turn
> off auditing by booting the host w/
2014 Jan 30
1
Re: Notes on building libguestfs in a systemd-nspawn container
On Thu, Jan 30, 2014 at 05:07:23PM +0530, Kashyap Chamarthy wrote:
> On 01/30/2014 04:38 PM, Daniel P. Berrange wrote:
>
> [. . .]
>
> >>
> >> Despite reading from the `systemd-nspawn` man page:
> >>
> >> ". . .kernel modules may not be loaded from within the container."
> >>
> >> I purposefully tried from inside the
2014 Feb 27
0
Re: [libvirt] LXC, user namespaces and systemd
On Wed, Feb 26, 2014 at 05:24:03PM +0100, Dariusz Michaluk wrote:
[. . .]
> If all login attempts are rejected, please boot host machine with audit=0
>
> # vi /etc/default/grub
> GRUB_CMDLINE_LINUX=" [...] audit=0 [...]"
IIUC, this is no longer needed with systemd 209 and above. I just did a
quick test[1] with
systemd-210-2.fc21.x86_64
2014 Mar 03
0
Re: [libvirt] LXC, user namespaces and systemd
Hi.
Another week, another experiment ;) I was trying to run systemd user
session for non-root user, for example darek (uid=1000), operation
failed with error:
systemd[26]: pam_unix(systemd-user:session): session opened for user
darek by (uid=0)
systemd[1]: Started Login Service.
systemd[26]: Failed to create root cgroup hierarchy: Permission denied
systemd[26]: Failed to allocate manager