Re: [PATCH] Allow existing /var/log

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

 



On 12/23/2010 10:35 PM, Brian C. Lane wrote:
During a liveinst /var/log/ already exists.
---
  anaconda |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

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

      setupEnvironment()
      # make sure we have /var/log soon, some programs fail to start without it
-    os.mkdir("/var/log", 0755)
+    iutil.mkdirChain("/var/log")

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

Ack, thanks.

I ran into the same problem under other conditions too.

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