Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package filesystem for openSUSE:Factory 
checked in at 2023-10-06 21:12:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/filesystem (Old)
 and      /work/SRC/openSUSE:Factory/.filesystem.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "filesystem"

Fri Oct  6 21:12:47 2023 rev:171 rq:1115620 version:84.87

Changes:
--------
--- /work/SRC/openSUSE:Factory/filesystem/filesystem.changes    2023-09-14 
16:24:14.299522767 +0200
+++ /work/SRC/openSUSE:Factory/.filesystem.new.28202/filesystem.changes 
2023-10-06 21:13:23.173563817 +0200
@@ -1,0 +2,10 @@
+Mon Sep 25 08:45:52 UTC 2023 - Ludwig Nussel <lnus...@suse.com>
+
+- Add /run/lock (boo#1212926)
+- Remove /var/spool/mail (boo#1179574)
+- Remove obsolete home dir check. The filesystem package is not
+  meant to contain home directories of random system users anymore
+- Create ghost symlinks also in pretrans, needed to get /var/run as
+  link right away
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ filesystem.spec ++++++
--- /var/tmp/diff_new_pack.AHBCdk/_old  2023-10-06 21:13:24.657617432 +0200
+++ /var/tmp/diff_new_pack.AHBCdk/_new  2023-10-06 21:13:24.657617432 +0200
@@ -102,6 +102,20 @@
   mkdir_p(i)
   posix.chmod(i, ghosts[i])
 end
+
+local ghost_links = {
+EOF
+# ghost symlinks
+while read SRC DEST ATTR ; do
+       [ "$ATTR" = "%%ghost" ] || continue
+       echo "[\"$DEST\"] = \"$SRC\","
+done < filesystem.links >> pretrans.lua
+cat >> pretrans.lua <<'EOF'
+}
+for i in pairs(ghost_links) do
+  mkdir_p(i:match(".*/"))
+  posix.symlink(ghost_links[i], i)
+end
 EOF
 #
 #
@@ -273,28 +287,6 @@
 
 RPM_INSTALL_PREFIX=$RPM_BUILD_ROOT
 export RPM_BUILD_ROOT
-# check, if all home directories are present.
-UNFOUND=false
-UNFOUND_DIRS=
-OLDIFS="$IFS"
-IFS=":"
-while read LOGIN PASSWD UID_T GID_T NAME HOME_DIR SHELL_T ; do
-    test "$LOGIN" = "abuild" && continue
-    test "$LOGIN" = "icecream" && continue
-    test "$LOGIN" = "vscan" && continue
-    test -n "$HOME_DIR" || continue
-    test "$UID_T" -gt 100 && continue
-    test -d $RPM_BUILD_ROOT/$HOME_DIR && continue
-    echo $HOME_DIR does not exist.
-    UNFOUND=true
-    UNFOUND_DIRS="$UNFOUND_DIRS $HOME_DIR"
-done < /etc/passwd
-IFS=$OLDIFS
-if test "$UNFOUND" = true ; then
-    echo There are home directories defined, which are not present.
-    echo Unfound: $UNFOUND_DIRS
-    exit 1
-fi
 #
 # now check, if all files of aaa_base have a directory in this package
 #

++++++ directory.list ++++++
--- /var/tmp/diff_new_pack.AHBCdk/_old  2023-10-06 21:13:24.701619022 +0200
+++ /var/tmp/diff_new_pack.AHBCdk/_new  2023-10-06 21:13:24.705619167 +0200
@@ -120,7 +120,6 @@
 0555 root root /var/lib/empty
 0755 root root /var/lib/misc
 0755 root root /var/spool
-1777 root root /var/spool/mail
 1777 root root /var/tmp
 0755 root root /var/log
 0755 root root /var/opt

++++++ filesystem.links ++++++
--- /var/tmp/diff_new_pack.AHBCdk/_old  2023-10-06 21:13:24.745620612 +0200
+++ /var/tmp/diff_new_pack.AHBCdk/_new  2023-10-06 21:13:24.745620612 +0200
@@ -1,6 +1,5 @@
 # links to be created
-# Required for FHS 2.1
-spool/mail             /var/mail
 # systemd
 ../run                  /var/run  %ghost
+../run/lock             /var/lock %ghost
 

++++++ ghost.list ++++++
--- /var/tmp/diff_new_pack.AHBCdk/_old  2023-10-06 21:13:24.769621479 +0200
+++ /var/tmp/diff_new_pack.AHBCdk/_new  2023-10-06 21:13:24.773621624 +0200
@@ -7,6 +7,7 @@
 0755 root root /srv/www
 0755 root root /srv/www/cgi-bin
 0755 root root /srv/www/htdocs
+0755 root root /run/lock
 0555 root root /sys
 0755 root root /usr/local
 0755 root root /usr/local/bin

Reply via email to