[SOLVED] after "apt-get dist-upgrade" cant run LXC "id 0 hostid 100000 range 65536"

testerro2

New Member
Apr 8, 2024
6
0
1
Hi,

applies to this version

Virtual Environment 8.1.10
Linux v 6.5.13-3-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-3 (2024-03-20T10:45Z) x86_64

after update

----
Start-Date: 2024-04-08 00:14:26
Commandline: apt-get dist-upgrade
Upgrade: libsmartcols1:amd64 (2.38.1-5+b1, 2.38.1-5+deb12u1), pve-firmware:amd64 (3.9-2, 3.10-1), libpve-storage-perl:amd64 (8.1.3, 8.1.4), libmount1:amd64 (2.38.1-5+b1, 2.38.1-5+d
eb12u1), util-linux:amd64 (2.38.1-5+b1, 2.38.1-5+deb12u1), util-linux-extra:amd64 (2.38.1-5+b1, 2.38.1-5+deb12u1), fdisk:amd64 (2.38.1-5+b1, 2.38.1-5+deb12u1), libfdisk1:amd64 (2.3
8.1-5+b1, 2.38.1-5+deb12u1), eject:amd64 (2.38.1-5+b1, 2.38.1-5+deb12u1), pve-esxi-import-tools:amd64 (0.5.0, 0.7.0), libuuid1:amd64 (2.38.1-5+b1, 2.38.1-5+deb12u1), uuid-runtime:a
md64 (2.38.1-5+b1, 2.38.1-5+deb12u1), mount:amd64 (2.38.1-5+b1, 2.38.1-5+deb12u1), pve-manager:amd64 (8.1.8, 8.1.10), libblkid1:amd64 (2.38.1-5+b1, 2.38.1-5+deb12u1), bsdutils:amd6
4 (1:2.38.1-5+b1, 1:2.38.1-5+deb12u1), bsdextrautils:amd64 (2.38.1-5+b1, 2.38.1-5+deb12u1)
End-Date: 2024-04-08 00:14:41
----

I can't run any LXC

root@v:~# pct start 120 --debug
run_buffer: 322 Script exited with status 1
lxc_init: 844 Failed to run lxc.hook.pre-start for container "120"
__lxc_start: 2027 Failed to initialize container "120"
id 0 hostid 100000 range 65536
INFO lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
INFO conf - ../src/lxc/conf.c:run_script_argv:338 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "120", config section "lxc"
DEBUG conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 120 lxc pre-start produced output: unable to open file '/fastboot.tmp.2140' - No space left on device

DEBUG conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 120 lxc pre-start produced output: error in setup task PVE::LXC::Setup::pre_start_hook

ERROR conf - ../src/lxc/conf.c:run_buffer:322 - Script exited with status 1
ERROR start - ../src/lxc/start.c:lxc_init:844 - Failed to run lxc.hook.pre-start for container "120"
ERROR start - ../src/lxc/start.c:__lxc_start:2027 - Failed to initialize container "120"
INFO conf - ../src/lxc/conf.c:run_script_argv:338 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "120", config section "lxc"
startup for container '120' failed

the only case I associate with the number 100000
Is

I configured OpenVPN for LXC
chown 100000:100000 /dev/net/tun

before the update everything worked fine

Thank you in advance for your feedback

Regards, Tadzio
 
Last edited:
I will not comment again if you delete the thread. This is a public forum, not your personal assistant in which you can delete all traces of your query and answers of others if you got your answer. That's extremely rude.
 
I will not comment again if you delete the thread. This is a public forum, not your personal assistant in which you can delete all traces of your query and answers of others if you got your answer. That's extremely rude.
I'm sorry, but the topic was poorly formulated at the beginning due to my diagnosis and was misleading from the beginning, I thought it would be less of a mess...
 
Hi,

applies to this version

Virtual Environment 8.1.10
Linux v 6.5.13-3-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-3 (2024-03-20T10:45Z) x86_64

after update



I can't run any LXC



the only case I associate with the number 100000
Is



before the update everything worked fine

Thank you in advance for your feedback

Regards, Tadzio
I changed

chown 100000:100000 /dev/net/tun
on
chown 10000:10000 /dev/net/tun

after reboot I can start LXC correctly ;)
sorry for the confusion :(,

we can close as solved
 

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!