Hello community, here is the log from the commit of package filesystem for openSUSE:Factory checked in at 2018-05-25 21:33:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/filesystem (Old) and /work/SRC/openSUSE:Factory/.filesystem.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "filesystem" Fri May 25 21:33:46 2018 rev:143 rq:610518 version:MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/filesystem/filesystem.changes 2018-04-10 09:51:43.813857079 +0200 +++ /work/SRC/openSUSE:Factory/.filesystem.new/filesystem.changes 2018-05-25 21:33:47.495618686 +0200 @@ -1,0 +2,6 @@ +Thu May 17 15:19:29 CEST 2018 - ro@suse.de + +- pretrans lua script: try to move away /var/run and /var/lock + unless they are already symlinks (bsc#1084119) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ filesystem.spec ++++++ --- /var/tmp/diff_new_pack.lzsxoP/_old 2018-05-25 21:33:48.067597988 +0200 +++ /var/tmp/diff_new_pack.lzsxoP/_new 2018-05-25 21:33:48.067597988 +0200 @@ -212,12 +212,26 @@ %pretrans -p <lua> os.remove ("/usr/include/X11") os.remove ("/usr/lib/X11") +if not posix.readlink("/var/run") then + os.rename("/var/run","/var/run.rpmsave.tmpx") +end +if not posix.readlink("/var/lock") then + os.rename("/var/lock","/var/lock.rpmsave.tmpx") +end if not posix.stat("/var/run") then posix.symlink("/run","/var/run") end if not posix.stat("/var/lock") then posix.symlink("/run/lock","/var/lock") end +if posix.stat("/var/run.rpmsave.tmpx") then + os.execute("mv /var/run.rpmsave.tmpx/* /var/run") + os.remove("/var/run.rpmsave.tmpx") +end +if posix.stat("/var/lock.rpmsave.tmpx") then + os.execute("mv /var/lock.rpmsave.tmpx/* /var/lock") + os.remove("/var/lock.rpmsave.tmpx") +end %files -f filesystem.list /usr/lib/tmpfiles.d/fs-var.conf