Re: libvirt / lxc : no valid cgroup for machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>
> - Systemd creates all necessary cgroups

How can I be sure systemd created them ? Are the command line &
results below OK ?

gabx@hortensia ➤➤ ~aur/libvirt-git # cat /proc/cgroups
#subsys_name    hierarchy    num_cgroups    enabled
cpuset    3    2    1
cpu    4    2    1
cpuacct    4    2    1
memory    5    2    1
devices    6    2    1
freezer    7    2    1
net_cls    8    2    1
blkio    9    2    1

>
> - The cgroup that gets auto-created (machine.slice/machine-lxc...)

Where can I see these cgroup and who auto-created them ?


needs
> to be chown'ed to the mapped uid/gid. libvirt doesn't do that yet, but
> there's a patch on the libvirt devel mailing-list by Richard Weinberger
> which fixes this. Posted yesterday.

- I tried to install linvirt-git, but got an error when building.

> - The container's rootfs needs to be chown'ed to the mapped uid, I used
> a simple script that reads `ls -n` and chowns all dirs and files with a
> defined offset (new_uid=$[$old_uid + 5000] .. you get the idea)

I think I see. Do you mean sharing your script?

TY Tom for your help.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux