PPTP Client in LXC Container

Wered

Active Member
Feb 26, 2017
8
1
43
31
Im just getting started with proxmox however i am having some issues trying to connect to a PPTP VPN from the LXC containers, Below is the result of trying to "pon connectionnamehere", Been googling for a few days but have come up dry, Any suggestions?

Container is running Ubuntu 16.04


Couldn't open the /dev/ppp device: No such file or directory
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.19-1-pve/modules.dep.bin'
modprobe: FATAL: Module ppp_generic not found in directory /lib/modules/4.4.19-1-pve

/usr/sbin/pppd: You need to create the /dev/ppp device node by
executing the following command as root:
mknod /dev/ppp c 108 0
 
I have tried setting that in the config file for the container however it fails to start. Log below. Security is not a concern for this particular project as the traffic will be forwarded directly across the internet after leaving the tunnel.


lxc-start 20170302144051.969 INFO lxc_start_ui - tools/lxc_start.c:main:264 - using rcfile /var/lib/lxc/124/config
lxc-start 20170302144051.970 WARN lxc_confile - confile.c:config_pivotdir:1879 - lxc.pivotdir is ignored. It will soon become an error.
lxc-start 20170302144051.973 INFO lxc_start - start.c:lxc_check_inherited:252 - closed inherited fd 4
lxc-start 20170302144051.977 INFO lxc_container - lxccontainer.c:do_lxcapi_start:797 - Attempting to set proc title to [lxc monitor] /var/lib/lxc 124
lxc-start 20170302144051.979 INFO lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor
lxc-start 20170302144051.979 INFO lxc_start - start.c:lxc_check_inherited:252 - closed inherited fd 4
lxc-start 20170302144051.981 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .reject_force_umount # comment this to allow umount -f; not recommended.
lxc-start 20170302144051.982 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for reject_force_umount action 0
lxc-start 20170302144051.983 INFO lxc_seccomp - seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force umounts

lxc-start 20170302144051.984 INFO lxc_monitor - monitor.c:lxc_monitor_sock_name:178 - using monitor sock name lxc/ad055575fe28ddd5//var/lib/lxc
lxc-start 20170302144051.985 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for reject_force_umount action 0
lxc-start 20170302144051.987 INFO lxc_seccomp - seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force umounts

lxc-start 20170302144051.987 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .[all].
lxc-start 20170302144051.988 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .kexec_load errno 1.
lxc-start 20170302144051.989 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for kexec_load action 327681
lxc-start 20170302144051.990 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for kexec_load action 327681
lxc-start 20170302144051.991 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .open_by_handle_at errno 1.
lxc-start 20170302144051.992 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for open_by_handle_at action 327681
lxc-start 20170302144051.993 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for open_by_handle_at action 327681
lxc-start 20170302144051.994 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .init_module errno 1.
lxc-start 20170302144051.995 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for init_module action 327681
lxc-start 20170302144051.996 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for init_module action 327681
lxc-start 20170302144051.996 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .finit_module errno 1.
lxc-start 20170302144051.998 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for finit_module action 327681
lxc-start 20170302144051.998 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:233 - Seccomp: got negative # for syscall: finit_module
lxc-start 20170302144051.999 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:234 - This syscall will NOT be blacklisted
lxc-start 20170302144052.000 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for finit_module action 327681
lxc-start 20170302144052.001 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:233 - Seccomp: got negative # for syscall: finit_module
lxc-start 20170302144052.002 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:234 - This syscall will NOT be blacklisted
lxc-start 20170302144052.003 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .delete_module errno 1.
lxc-start 20170302144052.003 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for delete_module action 327681
lxc-start 20170302144052.005 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for delete_module action 327681
lxc-start 20170302144052.006 INFO lxc_seccomp - seccomp.c:parse_config_v2:456 - Merging in the compat seccomp ctx into the main one
lxc-start 20170302144052.007 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/share/lxc/hooks/lxc-pve-prestart-hook' for container '124', config section 'lxc'
lxc-start 20170302144053.070 DEBUG lxc_start - start.c:setup_signal_fd:290 - sigchild handler set
lxc-start 20170302144053.073 DEBUG lxc_console - console.c:lxc_console_peer_default:469 - no console peer
lxc-start 20170302144053.075 INFO lxc_start - start.c:lxc_init:489 - '124' is initialized
lxc-start 20170302144053.077 DEBUG lxc_start - start.c:__lxc_start:1327 - Not dropping cap_sys_boot or watching utmp
lxc-start 20170302144053.080 INFO lxc_conf - conf.c:run_script:417 - Executing script '/usr/share/lxc/lxcnetaddbr' for container '124', config section 'net'
lxc-start 20170302144054.013 DEBUG lxc_conf - conf.c:instantiate_veth:2620 - instantiated veth 'veth124i0/veth6AL1E9', index is '30'
lxc-start 20170302144054.015 INFO lxc_cgroup - cgroups/cgroup.c:cgroup_init:68 - cgroup driver cgroupfs-ng initing for 124
lxc-start 20170302144054.020 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.deny' set to 'a'
lxc-start 20170302144054.027 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c *:* m'
lxc-start 20170302144054.028 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'b *:* m'
lxc-start 20170302144054.029 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 1:3 rwm'
lxc-start 20170302144054.030 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 1:5 rwm'
lxc-start 20170302144054.035 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 1:7 rwm'
lxc-start 20170302144054.037 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 5:0 rwm'
lxc-start 20170302144054.037 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 5:1 rwm'
lxc-start 20170302144054.038 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 5:2 rwm'
lxc-start 20170302144054.040 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 1:8 rwm'
lxc-start 20170302144054.040 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 1:9 rwm'
lxc-start 20170302144054.042 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 136:* rwm'
lxc-start 20170302144054.043 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 10:229 rwm'
lxc-start 20170302144054.044 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 254:0 rm'
lxc-start 20170302144054.045 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 10:200 rwm'
lxc-start 20170302144054.046 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 10:228 rwm'
lxc-start 20170302144054.048 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 10:232 rwm'
lxc-start 20170302144054.050 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'memory.limit_in_bytes' set to '4294967296'
lxc-start 20170302144054.051 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'memory.memsw.limit_in_bytes' set to '4831838208'
lxc-start 20170302144054.053 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'cpu.cfs_period_us' set to '100000'
lxc-start 20170302144054.054 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'cpu.cfs_quota_us' set to '1600000'
lxc-start 20170302144054.055 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'cpu.shares' set to '4096'
lxc-start 20170302144054.056 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 108 0 rwm'
lxc-start 20170302144054.057 INFO lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1660 - cgroup has been setup
lxc-start 20170302144054.085 DEBUG lxc_conf - conf.c:lxc_assign_network:3063 - move 'eth0' to '25372'
lxc-start 20170302144054.123 DEBUG lxc_conf - conf.c:setup_rootfs:1215 - mounted '/var/lib/lxc/124/rootfs' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs'
lxc-start 20170302144054.130 INFO lxc_conf - conf.c:setup_utsname:843 - 'tesitngvpn.sf.org' hostname has been setup
lxc-start 20170302144054.157 DEBUG lxc_conf - conf.c:setup_hw_addr:2146 - mac address 'DE:3B:82:B0:7D:6C' on 'eth0' has been setup
lxc-start 20170302144054.159 DEBUG lxc_conf - conf.c:setup_netdev:2373 - 'eth0' has been setup
lxc-start 20170302144054.160 INFO lxc_conf - conf.c:setup_network:2394 - network has been setup
lxc-start 20170302144054.162 INFO lxc_conf - conf.c:mount_autodev:1072 - Mounting container /dev
lxc-start 20170302144054.164 INFO lxc_conf - conf.c:mount_autodev:1095 - Mounted tmpfs onto /usr/lib/x86_64-linux-gnu/lxc/rootfs/dev
lxc-start 20170302144054.165 INFO lxc_conf - conf.c:mount_autodev:1113 - Mounted container /dev
lxc-start 20170302144054.171 DEBUG lxc_conf - conf.c:mount_entry:1657 - remounting /sys/fs/fuse/connections on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/fuse/connections to respect bind or remount options
lxc-start 20170302144054.172 DEBUG lxc_conf - conf.c:mount_entry:1672 - (at remount) flags for /sys/fs/fuse/connections was 4096, required extra flags are 0
lxc-start 20170302144054.174 DEBUG lxc_conf - conf.c:mount_entry:1681 - mountflags already was 4096, skipping remount
lxc-start 20170302144054.176 DEBUG lxc_conf - conf.c:mount_entry:1707 - mounted '/sys/fs/fuse/connections' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/fuse/connections', type 'none'
lxc-start 20170302144054.180 DEBUG lxc_conf - conf.c:mount_entry:1657 - remounting /sys/kernel/debug on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/debug to respect bind or remount options
lxc-start 20170302144054.181 DEBUG lxc_conf - conf.c:mount_entry:1672 - (at remount) flags for /sys/kernel/debug was 4096, required extra flags are 0
lxc-start 20170302144054.182 DEBUG lxc_conf - conf.c:mount_entry:1681 - mountflags already was 4096, skipping remount
lxc-start 20170302144054.183 DEBUG lxc_conf - conf.c:mount_entry:1707 - mounted '/sys/kernel/debug' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/debug', type 'none'
lxc-start 20170302144054.185 DEBUG lxc_conf - conf.c:mount_entry:1657 - remounting /sys/kernel/security on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/security to respect bind or remount options
lxc-start 20170302144054.186 DEBUG lxc_conf - conf.c:mount_entry:1672 - (at remount) flags for /sys/kernel/security was 4110, required extra flags are 14
lxc-start 20170302144054.187 DEBUG lxc_conf - conf.c:mount_entry:1707 - mounted '/sys/kernel/security' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/security', type 'none'
lxc-start 20170302144054.188 DEBUG lxc_conf - conf.c:mount_entry:1657 - remounting /sys/fs/pstore on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/pstore to respect bind or remount options
lxc-start 20170302144054.189 DEBUG lxc_conf - conf.c:mount_entry:1672 - (at remount) flags for /sys/fs/pstore was 4110, required extra flags are 14
lxc-start 20170302144054.191 DEBUG lxc_conf - conf.c:mount_entry:1707 - mounted '/sys/fs/pstore' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/pstore', type 'none'
lxc-start 20170302144054.193 DEBUG lxc_conf - conf.c:mount_entry:1707 - mounted 'mqueue' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/mqueue', type 'mqueue'
lxc-start 20170302144054.194 INFO lxc_conf - conf.c:mount_file_entries:1927 - mount points have been setup
lxc-start 20170302144054.195 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/share/lxcfs/lxc.mount.hook' for container '124', config section 'lxc'
lxc-start 20170302144054.230 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/share/lxc/hooks/lxc-pve-autodev-hook' for container '124', config section 'lxc'
lxc-start 20170302144054.608 INFO lxc_conf - conf.c:fill_autodev:1141 - Creating initial consoles under container /dev
lxc-start 20170302144054.610 INFO lxc_conf - conf.c:fill_autodev:1152 - Populating container /dev
lxc-start 20170302144054.611 INFO lxc_conf - conf.c:fill_autodev:1189 - Populated container /dev
lxc-start 20170302144054.612 INFO lxc_conf - conf.c:setup_ttydir_console:1458 - created /usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/lxc
lxc-start 20170302144054.614 INFO lxc_conf - conf.c:setup_ttydir_console:1504 - console has been setup on lxc/console
lxc-start 20170302144054.615 INFO lxc_utils - utils.c:mount_proc_if_needed:1726 - I am 1, /proc/self points to '1'
lxc-start 20170302194054.625 DEBUG lxc_conf - conf.c:setup_rootfs_pivot_root:1050 - pivot_root syscall to '/usr/lib/x86_64-linux-gnu/lxc/rootfs' successful
lxc-start 20170302194054.788 DEBUG lxc_conf - conf.c:lxc_create_tty:3307 - allocated pty '/dev/pts/0' (9/12)
lxc-start 20170302194054.789 DEBUG lxc_conf - conf.c:lxc_create_tty:3307 - allocated pty '/dev/pts/1' (13/14)
lxc-start 20170302194054.795 INFO lxc_conf - conf.c:lxc_create_tty:3318 - tty's configured
lxc-start 20170302194054.796 INFO lxc_conf - conf.c:setup_tty:995 - 2 tty(s) has been setup
lxc-start 20170302194054.797 INFO lxc_conf - conf.c:setup_personality:1393 - set personality to '0x0'
lxc-start 20170302194054.828 DEBUG lxc_conf - conf.c:setup_caps:2057 - drop capability 'mac_admin' (33)
lxc-start 20170302194054.836 DEBUG lxc_conf - conf.c:setup_caps:2057 - drop capability 'mac_override' (32)
lxc-start 20170302194054.837 DEBUG lxc_conf - conf.c:setup_caps:2057 - drop capability 'sys_time' (25)
lxc-start 20170302194054.839 DEBUG lxc_conf - conf.c:setup_caps:2057 - drop capability 'sys_module' (16)
lxc-start 20170302194054.841 DEBUG lxc_conf - conf.c:setup_caps:2057 - drop capability 'sys_rawio' (17)
lxc-start 20170302194054.843 DEBUG lxc_conf - conf.c:setup_caps:2066 - capabilities have been setup
lxc-start 20170302194054.844 NOTICE lxc_conf - conf.c:lxc_setup:3855 - '124' is setup.
lxc-start 20170302144054.846 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.deny' set to 'a'
lxc-start 20170302144054.847 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c *:* m'
lxc-start 20170302144054.850 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'b *:* m'
lxc-start 20170302144054.853 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 1:3 rwm'
lxc-start 20170302144054.854 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 1:5 rwm'
lxc-start 20170302144054.856 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 1:7 rwm'
lxc-start 20170302144054.858 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 5:0 rwm'
lxc-start 20170302144054.860 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 5:1 rwm'
lxc-start 20170302144054.861 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 5:2 rwm'
lxc-start 20170302144054.862 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 1:8 rwm'
lxc-start 20170302144054.863 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 1:9 rwm'
lxc-start 20170302144054.865 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 136:* rwm'
lxc-start 20170302144054.867 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 10:229 rwm'
lxc-start 20170302144054.868 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 254:0 rm'
lxc-start 20170302144054.870 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 10:200 rwm'
lxc-start 20170302144054.871 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 10:228 rwm'
lxc-start 20170302144054.872 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'devices.allow' set to 'c 10:232 rwm'
lxc-start 20170302144054.873 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'memory.limit_in_bytes' set to '4294967296'
lxc-start 20170302144054.874 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'memory.memsw.limit_in_bytes' set to '4831838208'
lxc-start 20170302144054.875 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'cpu.cfs_period_us' set to '100000'
lxc-start 20170302144054.876 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'cpu.cfs_quota_us' set to '1600000'
lxc-start 20170302144054.906 DEBUG lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1656 - cgroup 'cpu.shares' set to '4096'
lxc-start 20170302144054.920 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:1651 - Invalid argument - Error setting devices.allow to c 108 0 rwm for 124
lxc-start 20170302144054.921 ERROR lxc_start - start.c:lxc_spawn:1227 - failed to setup the devices cgroup for '124'
lxc-start 20170302144054.922 WARN lxc_conf - conf.c:lxc_delete_network:2924 - failed to remove interface 30 'eth0'
lxc-start 20170302144054.924 ERROR lxc_start - start.c:__lxc_start:1354 - failed to spawn '124'
lxc-start 20170302144054.965 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/share/lxc/hooks/lxc-pve-poststop-hook' for container '124', config section 'lxc'
lxc-start 20170302144055.936 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/share/lxcfs/lxc.reboot.hook' for container '124', config section 'lxc'
lxc-start 20170302144056.443 WARN lxc_commands - commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive response
lxc-start 20170302144101.450 ERROR lxc_start_ui - tools/lxc_start.c:main:344 - The container failed to start.
lxc-start 20170302144101.452 ERROR lxc_start_ui - tools/lxc_start.c:main:346 - To get more details, run the container in foreground mode.
lxc-start 20170302144101.454 ERROR lxc_start_ui - tools/lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
 
I'm trying to add this conf in my file :
lxc.cgroup.devices.allow: c 106 0 rwm

But I can't start my lxc :
-- L'unité (unit) pve-container@106.service a commencé à démarrer.
août 09 10:24:42 Proxmox systemd-udevd[8174]: Could not generate persistent MAC address for vethTYU7FB: No such file or directory
août 09 10:24:42 Proxmox NetworkManager[2714]: <info> [1533803082.6161] manager: (vethTYU7FB): new Veth device (/org/freedesktop/NetworkManager/Devices/31)
août 09 10:24:42 Proxmox NetworkManager[2714]: <info> [1533803082.6170] manager: (veth106i0): new Veth device (/org/freedesktop/NetworkManager/Devices/32)
août 09 10:24:42 Proxmox kernel: IPv6: ADDRCONF(NETDEV_UP): veth106i0: link is not ready
août 09 10:24:42 Proxmox NetworkManager[2714]: <info> [1533803082.6269] devices added (path: /sys/devices/virtual/net/vethTYU7FB, iface: vethTYU7FB)
août 09 10:24:42 Proxmox NetworkManager[2714]: <info> [1533803082.6269] device added (path: /sys/devices/virtual/net/vethTYU7FB, iface: vethTYU7FB): no ifupdown configuration found.
août 09 10:24:42 Proxmox NetworkManager[2714]: <info> [1533803082.6283] devices added (path: /sys/devices/virtual/net/veth106i0, iface: veth106i0)
août 09 10:24:42 Proxmox NetworkManager[2714]: <info> [1533803082.6283] device added (path: /sys/devices/virtual/net/veth106i0, iface: veth106i0): no ifupdown configuration found.
août 09 10:24:42 Proxmox kernel: vmbr0: port 7(veth106i0) entered blocking state
août 09 10:24:42 Proxmox kernel: vmbr0: port 7(veth106i0) entered disabled state
août 09 10:24:42 Proxmox kernel: device veth106i0 entered promiscuous mode
août 09 10:24:42 Proxmox kernel: vmbr0: port 7(veth106i0) entered disabled state
août 09 10:24:42 Proxmox kernel: device veth106i0 left promiscuous mode
août 09 10:24:42 Proxmox kernel: vmbr0: port 7(veth106i0) entered disabled state
août 09 10:24:42 Proxmox NetworkManager[2714]: <info> [1533803082.9628] devices removed (path: /sys/devices/virtual/net/vethTYU7FB, iface: vethTYU7FB)
août 09 10:24:42 Proxmox NetworkManager[2714]: <info> [1533803082.9648] devices removed (path: /sys/devices/virtual/net/veth106i0, iface: veth106i0)
août 09 10:24:42 Proxmox lxc-start[8154]: lxc-start: 106: lxccontainer.c: wait_on_daemonized_start: 824 Received container state "ABORTING" instead of "RUNNING"
août 09 10:24:42 Proxmox lxc-start[8154]: The container failed to start.
août 09 10:24:42 Proxmox lxc-start[8154]: To get more details, run the container in foreground mode.
août 09 10:24:42 Proxmox lxc-start[8154]: Additional information can be obtained by setting the --logfile and --logpriority options.
août 09 10:24:42 Proxmox systemd[1]: pve-container@106.service: Control process exited, code=exited status=1
août 09 10:24:42 Proxmox systemd[1]: pve-container@106.service: Killing process 8156 (lxc-start) with signal SIGKILL.
août 09 10:24:43 Proxmox systemd[1]: Failed to start PVE LXC Container: 106.
-- Subject: L'unité (unit) pve-container@106.service a échoué
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unité (unit) pve-container@106.service a échoué, avec le résultat failed.
août 09 10:24:43 Proxmox systemd[1]: pve-container@106.service: Unit entered failed state.
août 09 10:24:43 Proxmox pvestatd[3738]: unable to get PID for CT 106 (not running?)
août 09 10:24:43 Proxmox systemd[1]: pve-container@106.service: Failed with result 'exit-code'.
août 09 10:24:43 Proxmox pct[8152]: command 'systemctl start pve-container@106' failed: exit code 1
août 09 10:24:43 Proxmox pct[8150]: <root@pam> end task UPID:proxmox:00001FD8:007EA4E4:5B6BFA4A:vzstart:106:root@pam: command 'systemctl start pve-container@106' failed: exit code 1
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!