FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-04-2011, 07:57 PM
Chris Lumens
 
Default Don't try to make /var/log if it already exists, like on liveinst (#667166).

---
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
" % (os.getpid(),))
--
1.7.1.1

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

Thread Tools




All times are GMT. The time now is 07:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org