Re: [Freeipa-devel] [PATCH] 4 ipa-client-install fails when not run as root

2011-11-21 Thread Martin Kosek
On Mon, 2011-11-21 at 10:04 +0200, Alexander Bokovoy wrote: > On Fri, 18 Nov 2011, Ondrej Hamada wrote: > > https://fedorahosted.org/freeipa/ticket/2123 > > > > ipa-client-install was failing and returning traceback when > > wasn't run by root. It was caused by logging initialization that > > was

Re: [Freeipa-devel] [PATCH] 4 ipa-client-install fails when not run as root

2011-11-21 Thread Alexander Bokovoy
On Fri, 18 Nov 2011, Ondrej Hamada wrote: > https://fedorahosted.org/freeipa/ticket/2123 > > ipa-client-install was failing and returning traceback when > wasn't run by root. It was caused by logging initialization that > was taking part before the root privileges check. To correct it, > the privi

[Freeipa-devel] [PATCH] 4 ipa-client-install fails when not run as root

2011-11-18 Thread Ondrej Hamada
https://fedorahosted.org/freeipa/ticket/2123 ipa-client-install was failing and returning traceback when wasn't run by root. It was caused by logging initialization that was taking part before the root privileges check. To correct it, the privileges check was moved before the logging initializati