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

+2 -2
View File
@@ -39,8 +39,8 @@ PBS_PLATFORM_SOURCES = tuple(f"{d}/proxmox-backup*" for d in _UNITS)
class ProxmoxScheduledJobsMixin(PosixScheduledJobsMixin):
"""Scheduled jobs of a Proxmox host; a driver sets ``PLATFORM_SOURCES``."""
#: Sources a job is only run from: links into ``/etc/pve``, which a rewrite
#: (``install`` over the path) would replace with a file of its own.
#: Sources a job is only run from: links into ``/etc/pve``, the cluster file system
#: (pmxcfs), where a switch's ``install`` with a mode and owner is not safe.
RUN_ONLY_SOURCES: ClassVar[tuple[str, ...]] = ()
def _sj_read(self) -> Reading: