[Freeipa-devel] [PATCH 0029] Move user/group constants for PKI and DS into ipaplatform

David Kupka dkupka at redhat.com
Mon Feb 29 15:02:57 UTC 2016


Hello Christian,
sorry for letting this patch rot for so long. I've forget about it the minute Fraser replied.
To compensate a little I've fixed pep8 error, rebased it and attaching two versions for master and for 4.3 branch.
I haven't found any missing cases and it works for me. If you're OK with the modified patches it can be pushed.

David

----- Original Message -----
From: "Christian Heimes" <cheimes at redhat.com>
To: "Fraser Tweedale" <ftweedal at redhat.com>
Cc: "freeipa-devel" <freeipa-devel at redhat.com>
Sent: Wednesday, January 20, 2016 11:57:42 AM
Subject: Re: [Freeipa-devel] [PATCH 0029] Move user/group constants for PKI and DS into ipaplatform

On 2016-01-20 02:54, Fraser Tweedale wrote:
> On Tue, Jan 19, 2016 at 02:20:27PM +0100, Christian Heimes wrote:
>> ipaplatform.constants has platform specific names for a couple of system
>> users like Apache HTTPD. The user names for PKI_USER, PKI_GROUP, DS_USER
>> and DS_GROUP are defined in other modules. Similar to #5587 the patch my
>> patch moves the constants into the platform module.
>>
>> https://fedorahosted.org/freeipa/ticket/5619
> 
> I see a few remaining cases:
> 
> ipaserver/install/dsinstance.py
> 712:        pent = pwd.getpwnam("dirsrv")
> 
> ipatests/test_integration/test_backup_and_restore.py
> 167:            self.master.run_command(['userdel', 'dirsrv'])
> 168:            self.master.run_command(['userdel', 'pkiuser'])
> 
> ipaplatform/redhat/tasks.py
> 441:        if name == 'pkiuser':
> 
> When these are included, ACK.

Good catch!

My new patch takes care of remaining cases.


-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-43-cheimes-0029-3-Move-user-group-constants-for-PKI-and-DS-into-ipapla.patch
Type: text/x-patch
Size: 17784 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160229/294ca407/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-cheimes-0029-3-Move-user-group-constants-for-PKI-and-DS-into-ipapla.patch
Type: text/x-patch
Size: 17716 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160229/294ca407/attachment-0001.bin>


More information about the Freeipa-devel mailing list