You are not logged in.

#1 2015-07-27 04:48:44

markc
Member
From: Gold Coast, Australia
Registered: 2007-05-15
Posts: 502
Website

LXD Container Management

I'm not sure what forum to post this in so I'll try here. I've just reinstalled Arch after a couple of years in the Kubuntu wilderness and so far the only thing that is missing for me is LXD and friends. That is the unprivileged Go-based LXC container manager put together by Canonical. It's still a work in progress but certainly makes running complete virtual hosts easy on a desktop where I can have full ISP-like web and mail services (unlike the Docker per-app system) running inside a non-root managed container without polluting my desktop system with server related packages. I can see there is no user namespace available in the current Arch kernel so even "normal" lxc unprivileged containers will most likely not work so a custom built kernel is required either way... so be it.

My newbie-like questions are... is anyone aware of any work to get LXD running on Arch?.. is there any reason why this might not be a good idea?.. and is anyone else also interested in LXD?

Offline

#2 2015-07-29 06:35:24

zenja
Member
Registered: 2010-10-19
Posts: 6

Re: LXD Container Management

I don't have much to add other than that I'm interested in trying it out as well and it's surprising to see it be unavailable in Arch through the usual means.

Offline

#3 2015-07-29 06:53:36

markc
Member
From: Gold Coast, Australia
Registered: 2007-05-15
Posts: 502
Website

Re: LXD Container Management

Yep, totally agree. I was rather "shocked" to realize not only was LXD not a standard binary package already but not even a hint of it in the AUR. I've had to flip back to Kubuntu for now because I'm so used to using and testing servers via lxd's lxc as a normal user I can't really live without it now. I have no interest in Dockers per-app container so being able to run and test full traditional virtual hosts services on my laptop without being root or polluting my laptop with server packages just makes so much sense I can't believe it's not more widely used.

I'd be happy to work on and test an AUR package if a few other folks show any interest.

Offline

#4 2015-09-03 05:43:38

ak5
Member
Registered: 2008-06-08
Posts: 4

Re: LXD Container Management

just ran into this. +1 let me know if you need help with AUR package

Offline

#5 2015-09-24 20:36:50

kenokabe
Member
Registered: 2015-09-23
Posts: 11

Re: LXD Container Management

+1
I found LXD is an excellent next-generation container.
It's promissing.
https://insights.ubuntu.com/2015/09/23/ … om-ubuntu/

Offline

#6 2015-12-29 12:17:01

HLFH
Member
Registered: 2012-07-16
Posts: 6

Re: LXD Container Management

Another +1 for LXD support in ArchLinux.

Offline

#7 2016-02-02 21:20:48

automaticgiant
Member
Registered: 2014-08-08
Posts: 3

Re: LXD Container Management

I cloned the repo from https://github.com/lxc/lxd and ran make (only missing pkg-config dep, already had any others) and then symlinked ~/go/bin/lx[d,c] to /bin/ and started lxd as root then:

$ sudo lxc launch images:ubuntu/xenial/amd64 xenial
Creating xenial
Starting xenial
error: Error calling 'lxd forkstart xenial /var/lib/lxd/containers /var/log/lxd/xenial/lxc.conf': err='exit status 1'
Try `lxc info --show-log xenial` for more info
$ sudo lxc info --show-log xenial

Name: xenial
Status: Stopped
Type: persistent

Log:

            lxc 1454447614.207 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 range 100000
            lxc 1454447614.207 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 range 100000
            lxc 1454447614.550 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.550 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.550 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.550 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.550 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.550 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.550 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.550 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.691 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.691 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.691 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.691 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.691 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.691 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.691 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447614.691 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.147 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 range 100000
            lxc 1454447632.147 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 range 100000
            lxc 1454447632.153 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.153 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.153 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.153 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.153 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.153 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.153 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.153 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.153 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.154 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.154 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.154 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.154 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.154 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.154 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.154 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.163 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 range 100000
            lxc 1454447632.163 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 range 100000
            lxc 1454447632.169 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.169 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.170 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.170 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.170 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.170 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.170 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.170 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.173 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.173 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.173 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.173 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.173 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.173 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.173 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.173 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.292 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.292 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.292 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.292 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.292 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.292 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.292 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.292 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.294 INFO     lxc_start - start.c:lxc_check_inherited:226 - closed inherited fd 3
            lxc 1454447632.294 INFO     lxc_start - start.c:lxc_check_inherited:226 - closed inherited fd 7
            lxc 1454447632.301 INFO     lxc_container - lxccontainer.c:do_lxcapi_start:712 - Attempting to set proc title to [lxc monitor] /var/lib/lxd/containers xenial
            lxc 1454447632.302 ERROR    lxc_utils - utils.c:setproctitle:1461 - Invalid argument - setting cmdline failed
            lxc 1454447632.303 INFO     lxc_start - start.c:lxc_check_inherited:226 - closed inherited fd 7
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:324 - processing: .reject_force_umount  # comment this to allow umount -f;  not recommended.
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:426 - Adding native rule for reject_force_umount action 0
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force umounts

            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:429 - Adding compat rule for reject_force_umount action 0
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force umounts

            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:324 - processing: .[all].
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:324 - processing: .kexec_load errno 1.
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:426 - Adding native rule for kexec_load action 327681
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:429 - Adding compat rule for kexec_load action 327681
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:324 - processing: .open_by_handle_at errno 1.
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:426 - Adding native rule for open_by_handle_at action 327681
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:429 - Adding compat rule for open_by_handle_at action 327681
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:324 - processing: .init_module errno 1.
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:426 - Adding native rule for init_module action 327681
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:429 - Adding compat rule for init_module action 327681
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:324 - processing: .finit_module errno 1.
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:426 - Adding native rule for finit_module action 327681
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:429 - Adding compat rule for finit_module action 327681
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:324 - processing: .delete_module errno 1.
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:426 - Adding native rule for delete_module action 327681
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:429 - Adding compat rule for delete_module action 327681
            lxc 1454447632.304 INFO     lxc_seccomp - seccomp.c:parse_config_v2:436 - Merging in the compat seccomp ctx into the main one
            lxc 1454447632.304 INFO     lxc_conf - conf.c:run_script_argv:362 - Executing script '/home/automaticgiant/go/bin/lxd callhook /var/lib/lxd 2 start' for container 'xenial', config section 'lxc'
            lxc 1454447632.312 INFO     lxc_start - start.c:lxc_check_inherited:226 - closed inherited fd 3
            lxc 1454447632.312 INFO     lxc_start - start.c:lxc_check_inherited:226 - closed inherited fd 7
            lxc 1454447632.323 INFO     lxc_monitor - monitor.c:lxc_monitor_sock_name:178 - using monitor sock name lxc/d78a9d7e97b4b375//var/lib/lxd/containers
            lxc 1454447632.339 DEBUG    lxc_start - start.c:setup_signal_fd:264 - sigchild handler set
            lxc 1454447632.339 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 range 100000
            lxc 1454447632.340 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 range 100000
            lxc 1454447632.340 DEBUG    lxc_console - console.c:lxc_console_peer_default:536 - no console peer
            lxc 1454447632.340 INFO     lxc_start - start.c:lxc_init:460 - 'xenial' is initialized
            lxc 1454447632.340 ERROR    lxc_start - start.c:must_drop_cap_sys_boot:581 - failed to clone (0x30000011): Invalid argument (includes CLONE_NEWUSER)
            lxc 1454447632.340 DEBUG    lxc_start - start.c:__lxc_start:1160 - Dropping cap_sys_boot
            lxc 1454447632.350 INFO     lxc_start - start.c:resolve_clone_flags:869 - Cloning a new user namespace
            lxc 1454447632.359 ERROR    lxc_conf - conf.c:instantiate_veth:2767 - failed to create veth pair (veth8CWMJB and vethRV7THW): Operation not supported
            lxc 1454447632.363 ERROR    lxc_conf - conf.c:lxc_create_network:3079 - failed to create netdev
            lxc 1454447632.363 ERROR    lxc_start - start.c:lxc_spawn:935 - failed to create the network
            lxc 1454447632.363 ERROR    lxc_start - start.c:__lxc_start:1192 - failed to spawn 'xenial'
            lxc 1454447632.363 INFO     lxc_conf - conf.c:run_script_argv:362 - Executing script '/home/automaticgiant/go/bin/lxd callhook /var/lib/lxd 2 stop' for container 'xenial', config section 'lxc'
            lxc 1454447632.397 WARN     lxc_commands - commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive response
            lxc 1454447632.397 WARN     lxc_commands - commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive response
            lxc 1454447632.397 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.397 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.397 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.397 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.397 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.397 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.397 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.397 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.397 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.397 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.398 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.398 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.398 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.398 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.398 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447632.398 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.398 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 range 100000
            lxc 1454447637.398 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 range 100000
            lxc 1454447637.406 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.406 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.406 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.406 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.406 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.406 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.406 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.406 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.410 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 range 100000
            lxc 1454447637.410 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 range 100000
            lxc 1454447637.417 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.417 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.417 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.417 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.417 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.417 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.417 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447637.417 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.978 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 range 100000
            lxc 1454447678.978 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 range 100000
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447678.985 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.956 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 1000000 range 100000
            lxc 1454447738.975 INFO     lxc_confile - confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 1000000 range 100000
            lxc 1454447738.982 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.982 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.982 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.982 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.982 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.982 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.983 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.983 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.983 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.983 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.983 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.983 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.983 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.983 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.983 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids unknown to /var/lib/lxd/containers xenial
            lxc 1454447738.983 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/containers xenial

Offline

#8 2016-02-03 14:56:25

treb0r
Member
Registered: 2016-02-03
Posts: 2

Re: LXD Container Management

Hi All,

I'm new here and a long time Ubuntu user looking at making the switch to Arch.

I also use LXD as part of my daily workflow and am wondering if it is possible to easily install it on Arch.

Done a lot of Googling but not found many references.

Any help gratefully received.

Offline

#9 2016-03-01 12:44:10

maikoool
Member
Registered: 2016-03-01
Posts: 1

Re: LXD Container Management

I've managed to get LXD running on Arch, but it requires some configuration and a custom kernel.

I've written a AUR package and wiki page for it, hopefully this will help you all smile

https://wiki.archlinux.org/index.php/LXD

Offline

#10 2016-03-02 09:32:06

treb0r
Member
Registered: 2016-02-03
Posts: 2

Re: LXD Container Management

Thanks for the update @maikoool.

I've decided to stick with Ubuntu for the time being, but now I know that LXD is running on Arch I will be back!

Offline

#11 2016-09-12 10:56:20

DeletedUser210616
Banned
Registered: 2010-07-07
Posts: 43

Re: LXD Container Management

in regard to the wiki, do we really need to compile a new kernel when linux-zen seems to have all the flags set already?

https://wiki.archlinux.org/index.php/Kernels
https://git.archlinux.org/svntogit/pack … /linux-zen

seems to meet the requirements for non-privileged containers as defined
http://linoxide.com/linux-how-to/linux- … alization/

i know kinda late but curious if the wiki could be updated

Last edited by DeletedUser210616 (2016-09-12 10:56:30)

Offline

#12 2019-05-09 02:58:40

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 302
Website

Re: LXD Container Management

My newbie-like questions are... is anyone aware of any work to get LXD running on Arch?.. is there any reason why this might not be a good idea?.. and is anyone else also interested in LXD?

Arrived long after the fact ... albeit with the same question

Last edited by lenhuppe (2019-08-05 17:38:19)

Offline

Board footer

Powered by FluxBB