Backup error since upgrading to 9

Mace68

Member
Oct 22, 2021
5
1
23
57
Ever since upgrading to 9 I get this email every day. Is this a known issue?
Code:
/etc/cron.daily/pvehost-backup:
tar: /etc/sysctl.conf: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
 
Is this a known issue?
Maybe.

Did you check if "/etc/sysctl.conf" does (not) actually exist?

The error was generated by tar, called in your "/etc/cron.daily/pvehost-backup". Don't you think it would be a great idea to post that script, to give us a chance to grasp what you are doing?

It used to belong to the package "procps", by the way. You can find this information by asking dpkg on an older Debian, e.g. Bookworm (here: a not yet upgraded PBS3):
Code:
~# dpkg -S /etc/sysctl.conf
procps: /etc/sysctl.conf

On my PVE9 (upgraded from 8.x) it has vanished:
Code:
~# lsb_release -c; dpkg -S /etc/sysctl.conf
Codename:       trixie
dpkg-query: no path found matching pattern /etc/sysctl.conf

The "procps" package does still exist, of course:
Code:
~# apt policy procps
procps:
  Installed: 2:4.0.4-9
  Candidate: 2:4.0.4-9
  Version table:
 *** 2:4.0.4-9 500
        500 http://ftp.de.debian.org/debian trixie/main amd64 Packages


So yes, checking one of my systems it seems that sysctl.conf is gone with the upgrade from Bookworm to Trixie...