Re: [rhel6-branch 1/4] On PPC64 /var/log exists already.

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

 



On 12/22/2010 05:22 AM, Ales Kozumplik wrote:
> And 7ecfc716475b89c43808962c757dfd9d775e7c76 will cause a traceback there.
> 
> Related: rhbz#636570
> ---
>  anaconda |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
> 
> diff --git a/anaconda b/anaconda
> index 417e114..0f9f88e 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -679,7 +679,10 @@ if __name__ == "__main__":
>  
>      setupEnvironment()
>      # make sure we have /var/log soon, some programs fail to start without it
> -    os.mkdir("/var/log", 0755)
> +    try:
> +        os.mkdir("/var/log", 0755)
> +    except OSError as e:
> +        pass
>  
>      pidfile = open("/var/run/anaconda.pid", "w")
>      pidfile.write("%s\n" % (os.getpid(),))

Looks fine, ACK.

-- 
        Peter

Growth for the sake of growth is the ideology of the cancer cell.

01234567890123456789012345678901234567890123456789012345678901234567890123456789

_______________________________________________
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