docs(scheduled-jobs): a vzdump line only runs because of pmxcfs (#56)
driver / standard (pull_request) Successful in 18s
driver / lint (pull_request) Successful in 15s
driver / test (3.12) (pull_request) Failing after 17s
driver / types (pull_request) Failing after 30s
driver / test (3.13) (pull_request) Failing after 15s
driver / lowest (pull_request) Failing after 19s
driver / security (pull_request) Failing after 43s
driver / build (pull_request) Successful in 35s
CI / driver (pull_request) Failing after 1m35s
driver / publish (pull_request) Skipped

The guard is not about the link: napalm-device-types now writes the file a
link names. /etc/cron.d/vzdump points into /etc/pve, the cluster file
system, where installing a file with a mode and owner is not safe.

Refs #56
This commit is contained in:
Christian Manivong committed 2026-11-03 05:40:27 +01:00
1 parent dce794644c
commit 4e7e29b598
4 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ def test_what_a_backup_server_ships_is_platform() -> None:
def test_a_vzdump_cron_line_only_runs() -> None:
"""``/etc/cron.d/vzdump`` links into ``/etc/pve``; switching it would replace the link."""
"""``/etc/cron.d/vzdump`` links into pmxcfs (``/etc/pve``), where no switch writes."""
driver = _driver(ProxmoxDriver, PVE_REPORT)
job = _by_source(driver)["/etc/cron.d/vzdump"]
assert job["actions"] == ["run"]