惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
Vercel News
Vercel News
Last Week in AI
Last Week in AI
H
Help Net Security
The Cloudflare Blog
L
LangChain Blog
Microsoft Security Blog
Microsoft Security Blog
B
Blog RSS Feed
云风的 BLOG
云风的 BLOG
I
InfoQ
U
Unit 42
美团技术团队
人人都是产品经理
人人都是产品经理
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
A
About on SuperTechFans
宝玉的分享
宝玉的分享
量子位
博客园_首页

Proxmox Support Forum

[SOLVED] - Github Auth for Mirrors-Kernel Repo? [Automation] Mass migration tool for MS Win11/Server Proxmox GUI hang - not response is it possible to reject or quarantine spam based on conditions I set ? The PVENode task list in PVE9 is partially obscured due to the terminal font being too large. About 100% error reporting due to pveproxy.service hooks Kubernetes overlay networking breaks when upgrading from PVE 9.1 to PVE 9.2.3 Zentraler Speicher No space left on device Combine datastore and direct file archival to tape Kernel panic VFS: Unable to mount root fs on unknown-block (0,0) sobald ein 7.x Kernel verwendet wird. How to migrate disk of a VM from one ZFS to another Windows Server 2025 fails to boot after PVE 9.2 / Linux 7.0 Kernel upgrade Cannot Install Proxmox on T610 Poweredge with H700 PERC card sdn Config. gateway not reachable How to safely change domain/FQDN? Welche Filterquote erreicht ihr? NFS Share status unknown on 2 of 5 nodes Can't connect to PVE9 consoles [solved] Can't connect to PVE9 consoles [solved] [SOLVED] - Use secondary network for PVE commands Created cluster, one node storage gone BUG: proxmox mail gateway FROM = null bypass spam filtering Moving existing PBS from VMWare workstation to PVE cluster Does eBGP SDN fabric support external peering? Bug: PDM 1.1 not recognizing valid license status Proxmox GUI hang - not response PVE crashes unexpectedly Proxmox Backup Server 4.2 released! Advice
LXC: cannot mount /run inside guest after PVE 8 to 9 upgr...
invalid@exam · 2026-06-06 · via Proxmox Support Forum

Hello,

Long time user, first time posting, because everything had been working so well so far!

I have a few CTs running Linux Devuan 6 Excalibur. The network configuration is nothing out of the ordinary, and pretty much a copy/paste save for the MAC and IP address obviously. They are set up using veth on the bridge with a publicly reachable IP.

The issue is that two of these do not bring up the loopback interface at boot. From within the container, simply issuing an "ifconfig lo up" is enough to cure the problem, but I cannot figure out WHY it's not coming up on its own in these two containers, even when /etc/network/interfaces has the very same "auto lo …" stanza.

Has anyone encountered this behaviour before? I have been unable to find anything similar on the forum so far.
How would I go about investigating this?

Many thanks!
EDIT: for context, containers are running on PVE 9.1.16

Last edited:

Hello

I have confirmed that this problem emerges after upgrading a node from PVE 8 to 9. In other words, the guest was working very well in PVE8, but in 9, network breaks down. It does not happen for all the guests, but I have not been able to figure out why some work and others won't. And I have reproduced the issue with 3 different guests on two different physical nodes.
One of the nodes was even brought up without any interface at all after the upgrade. By deleting and re-creating the network interface from the PVE GUI, eth0 came up again, but not lo.

Could it be some edge case scenario with devuan? Are there node-side scripts that I should look for in order to investigate further?
Thanks
EDIT: additional info

Last edited:

Hello again.

After some digging, it looks like the network issue is a side effect of not being able to mount /run. From the node's journal:
kernel: audit: type=1400 audit(1779270973.875:168): apparmor="DENIED" operation="mount" class="mount" info="failed flags match" error=-13 profile="lxc-100053_</var/lib/lxc>" name="/run/" pid=105111 comm="mount" flags="rw, move"

On the other nodes, I have no such errors.
What could cause this?
Changing title for clarity

Can you post the configuration of the container? Simply run pct config <CT-ID> (replace <CT-ID> with the container's ID of course), then post the result here, ideally between [code][/code] tags. Thank you!

Can you post the configuration of the container? Simply run pct config <CT-ID> (replace <CT-ID> with the container's ID of course), then post the result here, ideally between [code][/code] tags. Thank you!

Of course:

Code:

arch: amd64
cores: 1
hostname: ns0.[redacted].org
memory: 512
net0: name=eth0,bridge=vmbr0,firewall=1,gw=[redacted],gw6=[...],hwaddr=[...],ip=[...]/32,ip6=[...]/64,type=veth
onboot: 1
ostype: devuan
rootfs: vmdata:subvol-100053-disk-0,size=8G
swap: 512
unprivileged: 1

What strikes me as odd regarding apparmor is that, in /var/lib/lxc/100053/apparmor/lxc-100053_\<-var-lib-lxc\>, there is

Code:

# allow tmpfs mounts everywhere
mount fstype=tmpfs,

, and no other stanza anywhere seems to prohibit mounting of tmpfs on /run. The apparmor rules are exactly the same as on the guests where it works.

Thanks for taking a look :)

A quick update.
First of all, even though the guests are not running systemd, nesting=1 is enough to solve the issue. I am wondering why.
Second, I was under the impression that some guests worked, but it was only because it was their first boot, and the non-tmpfs /run was clean. Subsequent boots of guests also display the same unexplained behaviour, ie. apparmor forbids mounting of /run and a non-clean /run means no/buggy network.

In other words, nesting=1 looks required by devuan, but I would love to hear why, as well as why the "allow tmpfs" from the apparmor profile is not enough.

Thanks!

Last edited:

Thanks for the updates! I'll see if I can give you a more concrete answer once I found out a little about what's going on here.

Thank you, much appreciated!

tin

Renowned Member

I'll just add in that Debian Trixie does it too if you remove systemd (so basically the same as Devuan Excalibur). I had this issue on every single guest on my work server, and just found it on a few of my home guests.
I worked around it for guests where loopback was important by simply adding "ifdown lo" and then "ifup lo" to rc.local, but this isn't a pretty solution since it will eventually be overwritten.

I do have some guests running with nesting, so maybe the ones I've not had issues with are the nesting ones... I'll have to check that later.

Thank you, much appreciated!

Hello!
How is the investigation going? Anything we can do to help?
Thanks!