systemd

  1. U

    How to modify cgroup trees of LXCs and VMs?

    root@node-1:~# systemd-cgls --no-pager CGroup /: -.slice ├─qemu.slice │ └─200.scope │ └─3089943 /usr/bin/kvm -id 200 -name vm-01,debug-threads=on -no-shutdown -chardev socket,id=qmp,path=/v… ├─init.scope │ └─1 /sbin/init ├─system.slice │ └─<truncated system stuff> ├─lxc │ ├─100 │ │ └─ns │ │...
  2. M

    Proxmox VE improper interfaces naming

    I have a Proxmox node with 3x RJ-45 connectors and 2x SFP+ connectors. It is losing L2 connectivity. I then have to physically reboot the node several times before it connects again. Below is the output from the ip command: [root@pvez ~]# ip -br link lo UNKNOWN...
  3. A

    Hängender systemd Prozess beim Hochfahren

    Hi, hab hier eine harte Nuss, die ich nicht so recht zuordnen kann. Ich musste einen Hardware-Tausch machen. Das Mainboard des alten Servers hat allmählich seinen Geist aufgegeben, daher wurde ein neuer Server (Nachfolgemodell) angeschafft und die 4 SSDs (ZRAID) in den Neuen umgesteckt. Das hat...
  4. S

    [SOLVED] Set up Proxmox Backup Client using systemd credentials

    Hi, I'm trying to set up a proxmox backup client systemd-unit using credentials management as described [here](https://pbs.proxmox.com/docs/backup-client.html#system-and-service-credentials). When running the command from the cli on the client everything is working fine but having translated it...
  5. M

    Fedora 42 LXC fails to boot due to systemd-homed-firstboot.service misconfiguration

    Hello, when creating a LXC container on Proxmox using the Proxmox supplied Fedora 42 template, no Console session will work by default and the system will not fully boot up. The affected versions are: pve-manager/8.4.1/2a5fa54a8503f96d (running kernel: 6.8.12-10-pve)...
  6. D

    systemd update on openSUSE LXC + Proxmox AppArmor breaks stuff

    After creating LXC from opensuse-15.6-default_20240910_amd64.tar.xz template and then updating it with zypper update after restart it causes agetty failing to start preventing Console usage from Proxmox. In LXC logs can see (d-sysctl)[82]: systemd-sysctl.service: Failed at step CREDENTIALS...
  7. W

    Failed to insert module 'zfs': Key was rejected by service - problems since kernel 6.8.12-9-pve?

    Hi, i'm having a strange problem with my bare metal offsite Proxmox Backup system, obviously since the laste update to the newest kernel 6.8.12-9-pve. After the bootup the zfs pools cannot be imported by the system accordingly to problem with loading the zfs kernel modules, also the...
  8. K

    bridge on bond doesn't come up after reboot (using SR-IOV VF's)

    I have PVE 8.3 installed on a machine with a dual port SFP+ NIC (X710-DA2). I've set up SR-IOV VF's using these udev rules: ACTION=="add", SUBSYSTEM=="net", ENV{INTERFACE}=="enp1s0f0np0", ATTR{device/sriov_numvfs}="3" ACTION=="add", SUBSYSTEM=="net", ENV{INTERFACE}=="enp1s0f1np1"...
  9. V

    Is there some standard procedure to retrofit cloud-init on an existing VM?

    I have a VM with a lot of custom configurations I want to turn into a template with cloud-init configuration. Is that possible or permissible? If it is are there some start up time settings or scripts I have to disable initially to allow the cloud-init do its thing, like some crontab or...
  10. K

    systemd starts zfs-import-cache before al Harddisks are "online" after reboot

    Hallo zusammen, ich brauche mal eure Hilfe. Ich habe hier einenn Proxmox HA Cluster (backup), wo der zfs-import-cache vom systemd gestartet wird, bevor alle Festplatten "online" sind, was einen neustart der Maschine erfordert. Bisher haben wir das so gelöst, daß wir nach dem Reboot folgende...
  11. D

    [SOLVED] sshd refuses to start on LXC Ubuntu 23.10 after updating openssh-server

    Hello, thought I'd post my findings as I have no clue whatsoever why this happened. I eventually found the solution through google and a bit of trial and error. Problem: After apt -y upgrade the systemd service sshd.service shows an error starting and sshd is non-functional. Manually running...
  12. B

    [SOLVED] WARN: old systemd (< v232) detected, container won't run in a pure cgroupv2 environment! after modifying systemd.unified_cgroup_hierarchy=0

    Hello folks, I just installed Proxmox VE 8.2.4 on 2 machines and set them in a cluster: Machine 1: EXT4 configuration - Mini pc: 4 x Intel(R) Celeron(R) J4125 CPU @ 2.00GHz (1 Socket | 8GB RAM | SSD M2 240GB + SATA3 480GB in EXT4 configuration Machine 2: ZFS-RAID1 - Mini pc: 8 x Intel(R)...
  13. P

    How to automatically import a ZFS pool with ALTROOT?

    Hi everyone, I have a Proxmox setup which automatically imports the default created ZFS root pool and makes it available as /rpool. That works because a cachefile is used and there's a systemd service importing all pools part of that cachefile. Though, I have one additional pool which I would...
  14. P

    [TUTORIAL] Automate IP routing at power outings/reboot for lxc

    Prologue I googled a lot, and, there are so many scattered solutions that are poorly explained because everyone assumes that you are a linux expert. The problem Some of the inconveniences that I had, with lxc running with vpn network interface, is that you cannot access your service because you...
  15. R

    TASK ERROR: timeout waiting on systemd

    Hi, dear, I recently faced a big problem in a Proxmox 8 cluster. It all started when a Windows VM wouldn't start and displayed the following error in the task log: TASK ERROR: timeout waiting on systemd In some research on Proxmox forums, some reported that restarting the host solved the...
  16. S

    LXC Debian 12 brand new, issue with systemd-networkd-wait-online and APT

    Hi, I've created a brand new Debian 12 LXC from the official template on my Proxmox 8 server. I've installed logcheck on the LXC as I usually do. Thanks to that I've noticed that APT "cron" tasks are having some problem with systemd-networkd-wait-online. I've quoted "cron" because I think those...
  17. N

    LXCs show failed systemd service: sys-kernel-config.mount: Why

    Hello all, I run PVE 7.4-3 and use LXC containers. All containers show the systemd-service sys-kernel-config.mount as failed. They show no problems in practice, so I wonder if I should just diable this service. Any thoughts ? norbert@media-server:~$ sudo systemctl UNIT...
  18. L

    [SOLVED] SDN broken after underlying network change

    We ran into a very nasty issue a few days ago. Background: Systemd generates ridiculously long interface names (see https://manpages.debian.org/bookworm/udev/systemd.link.5.en.html and referenced here https://wiki.debian.org/NetworkInterfaceNames#CUSTOM_SCHEMES_USING_.LINK_FILES) like...
  19. J

    mount ceph-fuse via systemd

    Hi, I want to mount a Ceph-FS via Systemd. with the default service template it didn´t start so I made an Override GNU nano 5.4 /etc/systemd/system/ceph-fuse@-mnt-ceph.service.d/.#override.conf4df7857ee6ef3e15...
  20. P

    systemd 100% CPU and zombie processes

    Hello - we have a number of standalone PVE and also some clusters - all running various different versions of PVE 7 pve-manager/7.3-4/d69b70d4 pve-manager/7.2-11/b76d3178 would be 2 examples. Last night after pveupdate ran all the systems are pretty locked up with sbin/init churning through...