[Freeipa-devel] [PATCH] don't append values multiple times to configuration files

William Jon McCann mccann at jhu.edu
Thu Oct 4 00:53:12 UTC 2007


Hi,

After playing with the install (repeatedly) I ended up with a lot of
duplicate values in:
/etc/sysconfig/dirsrv
/etc/sysconfig/ipa-kpasswd

Here is a patch that should fix this.  It modifies the file "in-place"
and removes lines that matching the key (or commented key) and then
appends the new key=value.

Jon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipa-no-key-dups.diff
Type: text/x-diff
Size: 2066 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20071003/713346a1/attachment.bin>


More information about the Freeipa-devel mailing list