Re: [PATCH] Don't try to make /var/log if it already exists, like on liveinst (#667166).

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

 



On 01/04/2011 09:57 PM, Chris Lumens wrote:
---
  anaconda |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/anaconda b/anaconda
index 1db5e38..8fa69b4 100755
--- a/anaconda
+++ b/anaconda
@@ -532,7 +532,8 @@ if __name__ == "__main__":

      setupEnvironment()
      # make sure we have /var/log soon, some programs fail to start without it
-    os.mkdir("/var/log", 0755)
+    if not os.path.exists("/var/log"):
+        os.mkdir("/var/log", 0755)

      pidfile = open("/var/run/anaconda.pid", "w")
      pidfile.write("%s\n" % (os.getpid(),))

Yeah,

I messed this up. Brian has already got a fix in his pipeline: https://www.redhat.com/archives/anaconda-devel-list/2010-December/msg00210.html

This should go to rhel6 too, if it doesn't make it there earlier I'll merge it together with my ppc multipath work.

Ales

_______________________________________________
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