From 113e1b7fb230236affb16c5327542ab8ba842658 Mon Sep 17 00:00:00 2001 From: jan Date: Sat, 18 Jan 2025 14:22:47 +0100 Subject: [PATCH] docs: fix udev rule priority in automated-local.rst fixes #8639 The priority of 40 for the udev rules as stated in to documentation applies the rule too early on some systems, which prevents the rule from matching. This commit changes the priority to 80. --- docs/deployment/automated-local.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deployment/automated-local.rst b/docs/deployment/automated-local.rst index dbc871511..c85549a30 100644 --- a/docs/deployment/automated-local.rst +++ b/docs/deployment/automated-local.rst @@ -32,7 +32,7 @@ All configuration goes into this directory. Find out the ID of the partition table of your backup disk (here assumed to be /dev/sdz): lsblk --fs -o +PTUUID /dev/sdz -Then, create ``/etc/backups/40-backup.rules`` with the following content (all on one line):: +Then, create ``/etc/backups/80-backup.rules`` with the following content (all on one line):: ACTION=="add", SUBSYSTEM=="block", ENV{ID_PART_TABLE_UUID}=="", TAG+="systemd", ENV{SYSTEMD_WANTS}="automatic-backup.service" @@ -164,7 +164,7 @@ The last part is actually to enable the udev rules and services: .. code-block:: bash - ln -s /etc/backups/40-backup.rules /etc/udev/rules.d/40-backup.rules + ln -s /etc/backups/80-backup.rules /etc/udev/rules.d/80-backup.rules ln -s /etc/backups/automatic-backup.service /etc/systemd/system/automatic-backup.service systemctl daemon-reload udevadm control --reload