Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 305295 Details for
Bug 440322
Sockets to LDAP port left in CLOSE_WAIT after uninstall
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
more cleanup during uninstall
freeipa-21-uninstall.patch (text/plain), 1.81 KB, created by
Rob Crittenden
on 2008-05-13 20:31:10 UTC
(
hide
)
Description:
more cleanup during uninstall
Filename:
MIME Type:
Creator:
Rob Crittenden
Created:
2008-05-13 20:31:10 UTC
Size:
1.81 KB
patch
obsolete
>From 6bcdb1182a12672894f8a613ea1ae1643dba9d5e Mon Sep 17 00:00:00 2001 >From: Rob Crittenden <rcritten@redhat.com> >Date: Tue, 13 May 2008 16:29:01 -0400 >Subject: [PATCH] Make sure all services are stopped during uninstall. > >We were just shutting down the KDC if it had been started prior to IPA >installation. We need to stop it in all cases. > >And we should restart nscd as it may have made an LDAP connection. > >440322 >--- > ipa-client/ipa-install/ipa-client-install | 5 +++++ > ipa-server/ipaserver/krbinstance.py | 4 +++- > 2 files changed, 8 insertions(+), 1 deletions(-) > >diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install >index 56fcb32..02b021d 100644 >--- a/ipa-client/ipa-install/ipa-client-install >+++ b/ipa-client/ipa-install/ipa-client-install >@@ -91,6 +91,11 @@ def uninstall(options): > print "Failed to remove krb5/ldap configuration. " +str(e) > sys.exit(1) > >+ try: >+ run(["/sbin/service", "nscd", "restart"]) >+ except: >+ print "Failed to restart start the NSCD daemon" >+ > if not options.unattended: > print "The original nsswitch.conf configuration has been restored." > print "You may need to restart services or reboot the machine." >diff --git a/ipa-server/ipaserver/krbinstance.py b/ipa-server/ipaserver/krbinstance.py >index 79dbf49..50250f6 100644 >--- a/ipa-server/ipaserver/krbinstance.py >+++ b/ipa-server/ipaserver/krbinstance.py >@@ -394,8 +394,10 @@ class KrbInstance(service.Service): > running = self.restore_state("running") > enabled = self.restore_state("enabled") > >- if not running is None: >+ try: > self.stop() >+ except: >+ pass > > for f in ["/var/kerberos/krb5kdc/ldappwd", "/var/kerberos/krb5kdc/kdc.conf", "/etc/krb5.conf"]: > try: >-- >1.5.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 440322
: 305295