[Freeipa-devel] [PATCH] 0025 Respect UID and GID soft static allocation.
David Kupka
dkupka at redhat.com
Fri Oct 24 11:06:27 UTC 2014
On 10/24/2014 10:43 AM, Martin Basti wrote:
> On 24/10/14 09:51, David Kupka wrote:
>> https://fedorahosted.org/freeipa/ticket/4585
> NACK
>
> 1)
> Why is there line with 'DS System User?' The comment should depend on
> service.
>
> + args = [
> + paths.USERADD,
> + '-g', group,
> + '-c', 'DS System User',
> + '-d', homedir,
> + '-s', shell,
> + '-M', '-r', name,
> + ]
This was part of the original code and I didn't notice it. Nice catch,
thanks.
>
> 2)
> code create_system_user is duplicated between base and redhat tasks with
> platform dependent changes.
> IMO it would be better to have one method to create user, with keyword
> arguments. And then platform dependent method which will call method to
> create user with appropriate arguments (or with default arguments)
>
You're right it was ugly.
--
David Kupka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-dkupka-0025-2-Respect-UID-and-GID-soft-static-allocation.patch
Type: text/x-patch
Size: 7097 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20141024/7aec2afa/attachment.bin>
More information about the Freeipa-devel
mailing list