[lorax] Make sure var/run is not a symlink on s390x (#787217)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 share/runtime-postinstall.tmpl |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl
index 2d37a2b..8cf5322 100644
--- a/share/runtime-postinstall.tmpl
+++ b/share/runtime-postinstall.tmpl
@@ -82,6 +82,11 @@ replace "root:\*:" "root::" etc/shadow
     runcmd ssh-keygen -q -C "" -N "" -t dsa  -f ${root}/etc/ssh/ssh_host_dsa_key
     chmod etc/ssh/ssh_host*_key 600
     chmod etc/ssh/ssh_host*_key.pub 644
+    ## var/run is a symlink to tmpfs, so the created dbus directory does not stay
+    remove var/run
+    remove var/lock
+    move run var/run
+    symlink run/lock var/lock
     mkdir var/run/dbus
 %endif
 
-- 
1.7.5.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux