Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package microos-tools for openSUSE:Factory checked in at 2026-07-26 11:26:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/microos-tools (Old) and /work/SRC/openSUSE:Factory/.microos-tools.new.2004 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "microos-tools" Sun Jul 26 11:26:43 2026 rev:51 rq:1367480 version:4.0+git26 Changes: -------- --- /work/SRC/openSUSE:Factory/microos-tools/microos-tools.changes 2026-03-02 17:36:22.329436908 +0100 +++ /work/SRC/openSUSE:Factory/.microos-tools.new.2004/microos-tools.changes 2026-07-26 11:26:55.379520746 +0200 @@ -1,0 +2,7 @@ +Thu Jul 23 12:13:54 UTC 2026 - Fabian Vogt <[email protected]> + +- Update to version 4.0+git26: + * test: Check if autorelabel files are removed after reboot + * Move cp of /.autorelabel to /etc into rd_microos_relabel + +------------------------------------------------------------------- Old: ---- microos-tools-4.0+git24.obscpio New: ---- microos-tools-4.0+git26.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ microos-tools.spec ++++++ --- /var/tmp/diff_new_pack.yKQyrv/_old 2026-07-26 11:26:56.243550395 +0200 +++ /var/tmp/diff_new_pack.yKQyrv/_new 2026-07-26 11:26:56.247550532 +0200 @@ -19,7 +19,7 @@ %{!?_distconfdir: %global _distconfdir %{_prefix}%{_sysconfdir}} Name: microos-tools -Version: 4.0+git24 +Version: 4.0+git26 Release: 0 Summary: Files and Scripts for openSUSE MicroOS License: GPL-2.0-or-later ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.yKQyrv/_old 2026-07-26 11:26:56.291552042 +0200 +++ /var/tmp/diff_new_pack.yKQyrv/_new 2026-07-26 11:26:56.291552042 +0200 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/microos-tools.git</param> - <param name="changesrevision">6ddbe3bd0c3a8e6fb64831fbb24694ba8fd3ea97</param></service> + <param name="changesrevision">bb152c5410767c9ee7acee67c258d020b1e9e56d</param></service> </servicedata> (No newline at EOF) ++++++ microos-tools-4.0+git24.obscpio -> microos-tools-4.0+git26.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/microos-tools-4.0+git24/selinux/98selinux-microos/selinux-microos-relabel.sh new/microos-tools-4.0+git26/selinux/98selinux-microos/selinux-microos-relabel.sh --- old/microos-tools-4.0+git24/selinux/98selinux-microos/selinux-microos-relabel.sh 2026-03-02 16:28:42.000000000 +0100 +++ new/microos-tools-4.0+git26/selinux/98selinux-microos/selinux-microos-relabel.sh 2026-03-09 15:03:24.000000000 +0100 @@ -73,6 +73,10 @@ oldrovalue="$(btrfs prop get "${ROOT_SELINUX}" ro | cut -d= -f2)" btrfs prop set "${ROOT_SELINUX}" ro false fi + if [ -e "${ROOT_SELINUX}"/.autorelabel ]; then + cp -a "${ROOT_SELINUX}"/.autorelabel "${ROOT_SELINUX}"/etc/selinux/.autorelabel + rm -f "${ROOT_SELINUX}"/.autorelabel 2>/dev/null + fi FORCE= [ -e "${ROOT_SELINUX}"/etc/selinux/.autorelabel ] && FORCE="$(cat "${ROOT_SELINUX}"/etc/selinux/.autorelabel)" . "${ROOT_SELINUX}"/etc/selinux/config @@ -105,14 +109,10 @@ return $ret } -if [ -e "$NEWROOT"/.autorelabel ] && [ "$NEWROOT"/.autorelabel -nt "$NEWROOT"/etc/selinux/.relabelled ]; then - mount -o remount,rw "$NEWROOT" || return 1 - cp -a "$NEWROOT"/.autorelabel "$NEWROOT"/etc/selinux/.autorelabel || return 1 - rm -f "$NEWROOT"/.autorelabel 2>/dev/null -fi - if rd_is_selinux_enabled; then - if [ -f "$NEWROOT"/etc/selinux/.autorelabel ] || getarg "autorelabel" > /dev/null; then + if [ -f "$NEWROOT"/etc/selinux/.autorelabel ] || + ( [ -f "$NEWROOT"/.autorelabel ] && [ "$NEWROOT"/.autorelabel -nt "$NEWROOT"/etc/selinux/.relabelled ] ) || + getarg "autorelabel" > /dev/null; then if ! rd_microos_relabel; then warn "SELinux autorelabelling failed!" return 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/microos-tools-4.0+git24/test/testscript new/microos-tools-4.0+git26/test/testscript --- old/microos-tools-4.0+git24/test/testscript 2026-03-02 16:28:42.000000000 +0100 +++ new/microos-tools-4.0+git26/test/testscript 2026-03-09 15:03:24.000000000 +0100 @@ -35,6 +35,10 @@ echo "SELinux denials found" exit 1 fi +if [ -e /.autorelabel ] || [ -e /etc/selinux/.autorelabel ]; then + echo "autorelabel file still exists even though this is a reboot" + exit 1 +fi mount -t 9p -o trans=virtio tmpdir /mnt touch /mnt/done umount /mnt ++++++ microos-tools.obsinfo ++++++ --- /var/tmp/diff_new_pack.yKQyrv/_old 2026-07-26 11:26:56.419556434 +0200 +++ /var/tmp/diff_new_pack.yKQyrv/_new 2026-07-26 11:26:56.423556572 +0200 @@ -1,5 +1,5 @@ name: microos-tools -version: 4.0+git24 -mtime: 1772465322 -commit: 6ddbe3bd0c3a8e6fb64831fbb24694ba8fd3ea97 +version: 4.0+git26 +mtime: 1773065004 +commit: bb152c5410767c9ee7acee67c258d020b1e9e56d
