From 3b7f71d4fb836c19372fee88c8957cd75335f54b Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 27 Sep 2022 19:07:35 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- .etckeeper | 2 +- .../default.target.wants/snap-core-13886.mount | 1 + .../multi-user.target.wants/snap-core-13425.mount | 1 - .../multi-user.target.wants/snap-core-13886.mount | 1 + systemd/system/snap-core-13425.mount | 14 -------------- systemd/system/snap-core-13886.mount | 14 ++++++++++++++ 6 files changed, 17 insertions(+), 16 deletions(-) create mode 120000 systemd/system/default.target.wants/snap-core-13886.mount delete mode 120000 systemd/system/multi-user.target.wants/snap-core-13425.mount create mode 120000 systemd/system/multi-user.target.wants/snap-core-13886.mount delete mode 100644 systemd/system/snap-core-13425.mount create mode 100644 systemd/system/snap-core-13886.mount diff --git a/.etckeeper b/.etckeeper index a1b1266..24dbcfc 100755 --- a/.etckeeper +++ b/.etckeeper @@ -3254,8 +3254,8 @@ maybe chmod 0755 'systemd/system/remote-fs.target.wants' maybe chmod 0755 'systemd/system/rescue.target.wants' maybe chmod 0755 'systemd/system/sleep.target.wants' maybe chmod 0644 'systemd/system/snap-bare-5.mount' -maybe chmod 0644 'systemd/system/snap-core-13425.mount' maybe chmod 0644 'systemd/system/snap-core-13741.mount' +maybe chmod 0644 'systemd/system/snap-core-13886.mount' maybe chmod 0644 'systemd/system/snap-core18-2560.mount' maybe chmod 0644 'systemd/system/snap-core18-2566.mount' maybe chmod 0644 'systemd/system/snap-drawio-165.mount' diff --git a/systemd/system/default.target.wants/snap-core-13886.mount b/systemd/system/default.target.wants/snap-core-13886.mount new file mode 120000 index 0000000..b1b6151 --- /dev/null +++ b/systemd/system/default.target.wants/snap-core-13886.mount @@ -0,0 +1 @@ +/etc/systemd/system/snap-core-13886.mount \ No newline at end of file diff --git a/systemd/system/multi-user.target.wants/snap-core-13425.mount b/systemd/system/multi-user.target.wants/snap-core-13425.mount deleted file mode 120000 index 5479034..0000000 --- a/systemd/system/multi-user.target.wants/snap-core-13425.mount +++ /dev/null @@ -1 +0,0 @@ -/etc/systemd/system/snap-core-13425.mount \ No newline at end of file diff --git a/systemd/system/multi-user.target.wants/snap-core-13886.mount b/systemd/system/multi-user.target.wants/snap-core-13886.mount new file mode 120000 index 0000000..b1b6151 --- /dev/null +++ b/systemd/system/multi-user.target.wants/snap-core-13886.mount @@ -0,0 +1 @@ +/etc/systemd/system/snap-core-13886.mount \ No newline at end of file diff --git a/systemd/system/snap-core-13425.mount b/systemd/system/snap-core-13425.mount deleted file mode 100644 index ee97092..0000000 --- a/systemd/system/snap-core-13425.mount +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Mount unit for core, revision 13425 -Before=snapd.service -After=zfs-mount.service - -[Mount] -What=/var/lib/snapd/snaps/core_13425.snap -Where=/snap/core/13425 -Type=squashfs -Options=nodev,ro,x-gdu.hide,x-gvfs-hide -LazyUnmount=yes - -[Install] -WantedBy=multi-user.target diff --git a/systemd/system/snap-core-13886.mount b/systemd/system/snap-core-13886.mount new file mode 100644 index 0000000..fb14967 --- /dev/null +++ b/systemd/system/snap-core-13886.mount @@ -0,0 +1,14 @@ +[Unit] +Description=Mount unit for core, revision 13886 +Before=snapd.service +After=zfs-mount.service + +[Mount] +What=/var/lib/snapd/snaps/core_13886.snap +Where=/snap/core/13886 +Type=squashfs +Options=nodev,ro,x-gdu.hide,x-gvfs-hide +LazyUnmount=yes + +[Install] +WantedBy=default.target multi-user.target -- 2.39.5