[Freeipa-devel] [PATCH] enhance sysrestore
Rob Crittenden
rcritten at redhat.com
Thu Mar 20 21:00:23 UTC 2008
Simo Sorce wrote:
> Simo Sorce wrote:
>> On Thu, 2008-03-20 at 16:06 -0400, Simo Sorce wrote:
>>> This is in preparation to move it into ipa-python so that I can use
>>> sysrestore to make a client --uninstall option.
>>
>> Arghh this one does not merge properly with latest code, let me fix it
>> and resend.
>
> New patch attached.
>
You are completely doing away with these restores?
@@ -188,9 +192,6 @@ class HTTPInstance(service.Service):
if not enabled is None and not enabled:
self.chkconfig_off()
- for f in ["/etc/httpd/conf.d/ipa.conf", SSL_CONF, NSS_CONF]:
- sysrestore.restore_file(f)
-
sebool_state = self.restore_state("httpd_can_network_connect")
if not sebool_state is None:
try:
@@ -389,18 +394,5 @@ class KrbInstance(service.Service):
if not enabled is None and not enabled:
self.chkconfig_off()
- for f in ["/var/kerberos/krb5kdc/ldappwd",
- "/var/kerberos/krb5kdc/kdc.conf",
- "/etc/krb5.conf",
- "/usr/share/ipa/html/krb5.ini",
- "/usr/share/ipa/html/krb.con",
- "/usr/share/ipa/html/krbrealm.con",
- "/etc/dirsrv/ds.keytab",
- "/etc/sysconfig/dirsrv",
- "/etc/krb5.keytab",
- "/var/kerberos/krb5kdc/kpasswd.keytab",
- "/etc/sysconfig/ipa_kpasswd"]:
- sysrestore.restore_file(f)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080320/648d7a19/attachment.bin>
More information about the Freeipa-devel
mailing list