On PPC64 /var/log exists already.
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
" % (os.getpid(),))
Looks fine, ACK.
--
Peter
Growth for the sake of growth is the ideology of the cancer cell.
01234567890123456789012345678901234567890123456789 012345678901234567890123456789
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|