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

推荐订阅源

Help Net Security
Help Net Security
Recorded Future
Recorded Future
爱范儿
爱范儿
美团技术团队
博客园_首页
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
阮一峰的网络日志
阮一峰的网络日志
J
Java Code Geeks
T
Tailwind CSS Blog
雷峰网
雷峰网
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog
量子位
Stack Overflow Blog
Stack Overflow Blog
Google DeepMind News
Google DeepMind News
博客园 - 司徒正美
V
Visual Studio Blog
罗磊的独立博客
Jina AI
Jina AI
宝玉的分享
宝玉的分享
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
S
SegmentFault 最新的问题
T
Threat Research - Cisco Blogs
F
Fortinet All Blogs
T
Tenable Blog
S
Securelist
D
DataBreaches.Net
P
Proofpoint News Feed
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Heimdal Security Blog
T
The Exploit Database - CXSecurity.com
S
Schneier on Security
Martin Fowler
Martin Fowler
W
WeLiveSecurity
MyScale Blog
MyScale Blog
The Cloudflare Blog
Security Latest
Security Latest
Hugging Face - Blog
Hugging Face - Blog
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cloudbric
Cloudbric

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 ceph-osd crashes with kernel 6.17.2-1-pve on Dell system [META] Links on Proxmox Forum Website Hardwarer oder Software RAID Joining a cluster with already created guests VM PDM missing backup jobs from PVE / Log retention Remove VM.Monitor from all users/roles, PVE 9.2 Proxmox Freezing (new instalation) 9.2.2 - Intel 12700T No Web gui and random connection reset by peer [SOLVED] - i40e module for X710 Intel NIC Dutch Proxmox Day 2026 How pools use the space Corosync initiiert Reboot trotz Verfügbarkeit der Systeme Opt-in Linux 7.0 Kernel for Proxmox VE 9 available After PVE 8to9 upgrade, unable to check guest fs freeze status Problem with MegaRAID SAS3508 controller proxmox-kernel-7.0.2-6-pve failing network service Auto sync guest time after rollback of VM snapshot with RAM/state Broadcom BCM57504 (100G) bnxt_en TX timeout and NIC reset on Proxmox 8.1.5 — while BCM57414 (25G) works fine on same host QEMU 11.0 available on pve-test and pve-no-subscription as of now 350 MPM Solventless Lamination Machine for High-Speed Flexible Packaging Making sense of NVMe zfs and SMART errors [SOLVED] - PVE loses network connection after kernel upgrade to proxmox-kernel-7.0.0-3-pve [SOLVED] - Remove or reset cluster configuration. Proxmox 8.4.1 Fresh Install BCM57416 10G Ethernet Adapter Not Recognized PDM 1.1.1 unable to add AD realm with anonymous search [TUTORIAL] - Developer Workstation (Proxmox-VE 9) with cinnamon (LMDE7) SDN zone shows "pending" on peer nodes after node reboot (9.2.x) Cluster not quorate - extending auth key lifetime! Proxmox not rebooting properly (SOLVED) Proxmox 9 Stuck on loading initial ramdisk With new HA-Disarm Feature is there a Documentation for NUT Setup on Clusters? Proxmox 8.3 Installation Issue on ProLiant DL380 Gen9 Cluster networking setup LXC System images unavailable [SOLVED] - Fix: NVIDIA Drivers Failing after upgrade to Proxmox 9.2.2 (Kernel 7.0.2-6-pve) / NovaCore Conflict Install NUT directly on Proxmox VE and control guests from here driver usb for windows 7 System startup error and no network: Failed to start ifupdown2-pre.service - Helper to synchronize boot up for ifupdown. PBS backup space grow up constantly Proxmox Datacenter Manager 1.1 released! IPv4 not available in newly created VM Recommended Setup for Offsite Proxmox Backups? Hetzner Storage Box & Remote PBS Challenges duplicate, please delete this passthrought an USB device "by ID" to CT PDM Installer Freezes at 66% Tried PDM for the first time (version 1.1) - had issues PDM 1.1 automated install Suche Server-Provider für Proxmox connecting sdn to edge firewall SDN, IPAM & DHCP Migrating from read-only file system Ubuntu 26.04 installation fails for unknown reason Status Unbekannt nach Cluster Join Installing Proxmox Backup Server on Mac Mini (Late 2012) kernel 7.0 performance issue with zfs pools PVE becomes unreachable via ethernet but OS is running [SOLVED] - New 9.2 install - can't find 7.0.2-6-pve , not all the time [SOLVED] - Backup and dedupe a VM with LUKS Gibt es mit PVE 2.x ggf. Änderungen bei der RAM-Nutzung, bzw. deren Anzeige bei VMs? I need help for setting up backup solution Way more NAGware, very little functionality, bugs galore Root squashing virtiofsd with --uid-map Intel ixgbe Driver Update Fail Passkey Login (not 2FA) Roblox VM detection - can be overcome? [TUTORIAL] - ZFS-Autosnaptshot inkl. Rollback und Daten direkt recovern (Windows/Linux) How to stop PVE Kernel upgrade [SOLVED] - very long waiting to log in to lxc debian 11 ssh [TUTORIAL] - Configuring Fusion-Io (SanDisk) ioDrive, ioDrive2, ioScale and ioScale2 cards with Proxmox Increase maximum USB devices in vm.conf
[SOLVED] - systemctl --user in LXC failed with error: Failed to connect to bus: No medium found
invalid@exam · 2026-06-16 · via Proxmox Support Forum

Hi everyone,

I'm currently facing an issue while trying to use systemctl --user within an LXC. Whenever I run any systemctl --user command, I receive the following error message:

Code:

(error from Debian 12) Failed to connect to bus: No medium found
(error from Fedora 41) Failed to connect to user scope bus via local transport: No medium found

It used to work until I rebooted my PVE. I'm not sure what additional information might be helpful for troubleshooting this problem, so I would appreciate any guidance on what details to provide.

Here are some details:

LXC OS: Debian 12 and Fedora 41
PVE version: 8.4.1

Any help or suggestions would be greatly appreciated. Thank you!

Last edited:

Hi!

Were there any package upgrades before rebooting? Were there any kernel upgrades in between? Is the output of last reboot -F -n 3?

Hi dakralex,

Were there any package upgrades before rebooting?

Yes.

Were there any kernel upgrades in between?

I think no.

Is the output of last reboot -F -n 3?

Do you mean "What is the output of last reboot -F -n 3?" or "Is kernel versions before and after reboot matches the output of last reboot -F -n 3?"

Here is the output of last reboot -F -n 3:

Code:

root@pve:~# last reboot -F -n 3
reboot   system boot  6.8.12-9-pve     Fri Apr 18 21:09:35 2025   still running
reboot   system boot  6.5.13-1-pve     Fri Apr 18 19:19:29 2025 - Fri Apr 18 21:09:17 2025  (01:49)
reboot   system boot  6.5.13-1-pve     Thu Apr 17 19:26:38 2025 - Fri Apr 18 19:19:09 2025  (23:52)

wtmp begins Wed Aug 16 23:24:57 2023

I rebooted system at Fri Apr 18 19:19:09 2025 and found systemctl --user failed. Then I upgraded packages and kernel and rebooted at Fri Apr 18 21:09:17 2025, but still failed. I think I made an upgrade between Thu Apr 17 19:26:38 2025 and Fri Apr 18 19:19:09 2025, but I'm not certain about the time.

Thanks for your help and let me know if you need more details!

I rebooted system at Fri Apr 18 19:19:09 2025 and found systemctl --user failed.

Hm, I wonder why it worked before. Have you used it as the container's root user or as a separate user with that command? For the former it shouldn't work as the root user doesn't have its own user service manager.

Have you used it as the container's root user or as a separate user with that command?

A normal user in container, not root.

What is the output of echo $DBUS_SESSION_BUS_ADDRESS and echo $XDG_RUNTIME_DIR for that user? If those are directories, what are their permissions and do you have read/write access?

What is the output of echo $DBUS_SESSION_BUS_ADDRESS and echo $XDG_RUNTIME_DIR for that user? If those are directories, what are their permissions and do you have read/write access?

Neither of these exists.

I searched again and consulted AI. It seems that directly login from the LXC from PVE web console is not considered as a "login". I tried using SSH instead, and everything worked just fine. (Still dont have $DBUS_SESSION_BUS_ADDRESS but have $XDG_RUNTIME_DIR now. After setting $XDG_RUNTIME_DIR to /run/user/$(id -u), the web console started working properly as well.)

Thank you very much for your help!

Neither of these exists.

I searched again and consulted AI. It seems that directly login from the LXC from PVE web console is not considered as a "login". I tried using SSH instead, and everything worked just fine. (Still dont have $DBUS_SESSION_BUS_ADDRESS but have $XDG_RUNTIME_DIR now. After setting $XDG_RUNTIME_DIR to /run/user/$(id -u), the web console started working properly as well.)

Thank you very much for your help!

Just loged-in for upvoting this answer as AI didn't know how to solve

I had to do

Code:

sudo loginctl enable-linger USERNAME

which enables dbus for not logged in user.

If the target user isn't actively logged into a graphical or SSH session, their /run/user/UID/ directory and D-Bus processes won't start. You can allow their user session to start at boot and stay alive without an active login.

Last edited: