[Freeipa-devel] [PATCHES] 0264-0267 backup, restore: Don't overwrite /etc/{passwd, group}

Petr Viktorin pviktori at redhat.com
Tue Aug 26 11:16:04 UTC 2014


On 07/30/2014 04:26 PM, Petr Viktorin wrote:
> On 07/29/2014 06:03 PM, Petr Viktorin wrote:
>> On 07/29/2014 05:02 PM, Petr Viktorin wrote:
>>> Hello,
>>>
>>> The first patch here consolidates our system user creation code a bit.
>>>
>>> The second patch fixes an oversight in the restore script.
>>>
>>> The third changes the backup script to not include /etc/{passwd,group},
>>> and the restore script to create the PKI user if a CA is being restored.
>>> Note that the DS user is already created early in the restore process.
>>> (In the future we may want a nice generic framework for restoring users,
>>> but I'd like to extrapolate from more than one data point when designing
>>> it.)
>>
>> Another note: tar uses owner user/group names by default, so no
>> additional chowning is required even if the IDs change between backup &
>> restore.
>>
>>>
>>> The fourth patch adds a log entry I find very useful in testing
>>> backup/restore.
>
>
> Rebased onto current master.

Rebased again.


-- 
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0624.3-ipaserver.install-Consolidate-system-user-creation.patch
Type: text/x-patch
Size: 10310 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140826/39c0c898/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0625.3-ipa_restore-Split-the-services-list.patch
Type: text/x-patch
Size: 1197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140826/39c0c898/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0626.3-backup-restore-Don-t-overwrite-etc-passwd-group.patch
Type: text/x-patch
Size: 2275 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140826/39c0c898/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0627.3-ipa_backup-Log-where-the-backup-is-be-stored.patch
Type: text/x-patch
Size: 940 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140826/39c0c898/attachment-0003.bin>


More information about the Freeipa-devel mailing list