Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package read-only-root-fs for openSUSE:Factory checked in at 2025-08-08 15:10:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/read-only-root-fs (Old) and /work/SRC/openSUSE:Factory/.read-only-root-fs.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "read-only-root-fs" Fri Aug 8 15:10:08 2025 rev:22 rq:1298152 version:1.0+git20250807.5b5844c Changes: -------- --- /work/SRC/openSUSE:Factory/read-only-root-fs/read-only-root-fs.changes 2025-07-09 17:26:14.422135258 +0200 +++ /work/SRC/openSUSE:Factory/.read-only-root-fs.new.1085/read-only-root-fs.changes 2025-08-08 15:10:17.740200887 +0200 @@ -1,0 +2,7 @@ +Thu Aug 07 13:17:48 UTC 2025 - Fabian Vogt <fv...@suse.com> + +- Migrate from ro to ro=vfs (boo#1156421) +- Update to version 1.0+git20250807.5b5844c: + * Remove workarounds obsoleted by ro=vfs + +------------------------------------------------------------------- Old: ---- read-only-root-fs-1.0+git20250708.3eed5de.tar.xz New: ---- read-only-root-fs-1.0+git20250807.5b5844c.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ read-only-root-fs.spec ++++++ --- /var/tmp/diff_new_pack.eSFYdg/_old 2025-08-08 15:10:18.504232884 +0200 +++ /var/tmp/diff_new_pack.eSFYdg/_new 2025-08-08 15:10:18.508233051 +0200 @@ -17,7 +17,7 @@ Name: read-only-root-fs -Version: 1.0+git20250708.3eed5de +Version: 1.0+git20250807.5b5844c Release: 0 Summary: Files and Scripts for a RO root fileystem License: GPL-2.0-or-later @@ -85,6 +85,12 @@ for var in BTRFS_BALANCE_MOUNTPOINTS BTRFS_SCRUB_MOUNTPOINTS BTRFS_TRIM_MOUNTPOINTS; do grep -q "${var}=\"/\"" /etc/sysconfig/btrfsmaintenance && sed -i "s|${var}=.*|${var}=\"/.snapshots\"|g" /etc/sysconfig/btrfsmaintenance done + +# Replace ro with ro=vfs for / (boo#1156421) +if [ -f %{_sysconfdir}/fstab ] && ! grep -qw "ro=vfs" %{_sysconfdir}/fstab; then + gawk -i inplace '$2 == "/" && match($4, /^(.*,)?ro(,.*)?$/, m) { $4 = m[1] "ro=vfs" m[2]; } { print }' %{_sysconfdir}/fstab +fi + %{?update_bootloader_posttrans} exit 0 @@ -97,8 +103,6 @@ %{_prefix}/lib/systemd/system-preset/* %dir %{_prefix}/lib/systemd/system/systemd-udevd.service.d %{_prefix}/lib/systemd/system/systemd-udevd.service.d/etcmount.conf -%dir %{_prefix}/lib/systemd/system/systemd-journal-flush.service.d -%{_prefix}/lib/systemd/system/systemd-journal-flush.service.d/afterlocalfs.conf %dir %{_prefix}/lib/systemd/system/systemd-remount-fs.service.d %{_prefix}/lib/systemd/system/systemd-remount-fs.service.d/writableagain.conf %dir %{_sysconfdir}/grub.d ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.eSFYdg/_old 2025-08-08 15:10:18.564235396 +0200 +++ /var/tmp/diff_new_pack.eSFYdg/_new 2025-08-08 15:10:18.568235564 +0200 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/read-only-root-fs.git</param> - <param name="changesrevision">3eed5de5f52022d998174e55647078decb36620e</param> + <param name="changesrevision">5b5844c806d059a65b19b8979595902e2fd72373</param> </service> </servicedata> (No newline at EOF) ++++++ read-only-root-fs-1.0+git20250708.3eed5de.tar.xz -> read-only-root-fs-1.0+git20250807.5b5844c.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/read-only-root-fs-1.0+git20250708.3eed5de/usr/lib/systemd/system/systemd-journal-flush.service.d/afterlocalfs.conf new/read-only-root-fs-1.0+git20250807.5b5844c/usr/lib/systemd/system/systemd-journal-flush.service.d/afterlocalfs.conf --- old/read-only-root-fs-1.0+git20250708.3eed5de/usr/lib/systemd/system/systemd-journal-flush.service.d/afterlocalfs.conf 2025-07-08 14:39:07.000000000 +0200 +++ new/read-only-root-fs-1.0+git20250807.5b5844c/usr/lib/systemd/system/systemd-journal-flush.service.d/afterlocalfs.conf 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -[Unit] -# https://bugzilla.opensuse.org/show_bug.cgi?id=1156421 -After=local-fs.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/read-only-root-fs-1.0+git20250708.3eed5de/usr/lib/systemd/system/systemd-remount-fs.service.d/writableagain.conf new/read-only-root-fs-1.0+git20250807.5b5844c/usr/lib/systemd/system/systemd-remount-fs.service.d/writableagain.conf --- old/read-only-root-fs-1.0+git20250708.3eed5de/usr/lib/systemd/system/systemd-remount-fs.service.d/writableagain.conf 2025-07-08 14:39:07.000000000 +0200 +++ new/read-only-root-fs-1.0+git20250807.5b5844c/usr/lib/systemd/system/systemd-remount-fs.service.d/writableagain.conf 2025-08-07 15:17:29.000000000 +0200 @@ -1,8 +1,4 @@ [Service] -# Make sure that at least one subvolume is mounted RW after the -# ro-remount of /, so that the filesystem is writable again as -# quickly as possible (boo#1156421). -ExecStart=/bin/sh -e -c 'if mountpoint -q /boot/writable; then mount -o remount,rw /boot/writable; fi' # Changing the read/write mode of a bind mount needs a second # fstab entry, but systemd doesn't support set by itself ExecStart=/bin/sh -e -c 'if findmnt -O ro -M /etc >/dev/null; then mount -o remount,rw /etc; fi'