[SOLVED] Automatische Update-Suche abschalten.

itNGO

Well-Known Member
Jun 12, 2020
780
177
53
45
Germany
it-ngo.com
Hallo zusammen,
ich hab da mal eine vermutlich "einfache" Frage.
Kann ich Proxmox irgendwie sagen, das es nicht nachts nach neuen Updates suchen soll?
Wir möchten das gerne manuell bzw. über unser RMM regeln und wollen die Update-Suche daher nur bei bedarf über APT oder GUI auslösen.
 
Ich hab nur ein /etc/systemd/system/timers.target.wants/pve-daily-update.timer gefunden. Ein systemctl status pve-daily-update.service findet aber einen gleichnamigen Service. Könnte mir vorstellen, dass da ein systemctl stop pve-daily-update.service && systemctl disable pve-daily-update.service das tägliche "apt update" unterbinden würde...ist aber nur geraten und würde ich daher nicht direkt am Produktivsystem testen.

Edit:
Service wäre "/lib/systemd/system/pve-daily-update.service" und führt "/usr/bin/pveupdate" aus was wiederum ein längeres Perl-Script ist und scheinbar neben dem apt update auch noch einige andere Dinge wie das Erneuern von SSL Zertifikaten regelt. Sieht also nicht so aus als könnte man das so leicht über den Systemd Service deaktivieren.
 
Last edited:
  • Like
Reactions: itNGO
systemctl list-timers zeigt ein paar Kandidaten an.

Eventuell statt einem "disable" ein "mask" setzen, damit sie wirklich nicht starten. Was für Auswirkungen das evtl mit sich bringt kann ich dir aber nicht sagen.
 
  • Like
Reactions: itNGO

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!