From 080a32b2735c87933f0a0c3fe1d39b21dc462881 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Thu, 7 Jul 2011 19:26:03 -0400 Subject: [PATCH] More hacks to work around weird /var/run vs. /run stuff in F15 --- share/runtime-postinstall.tmpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl index 5cff8e71..a1313502 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -43,9 +43,12 @@ move etc/yum.repos.d etc/anaconda.repos.d symlink init sbin/poweroff symlink init sbin/reboot remove sbin/runlevel sbin/telinit - ## Since systemd won't be setting up sockets in /run for us.. + ## dracut does stuff to /run so these links won't work.. remove var/run - move run var + remove var/lock + move run var/run + symlink run/lock var/lock + ## Since systemd won't be setting up sockets in /run for us.. mkdir var/run/dbus %endif symlink /sbin/init init