[Fedora-directory-devel] Please review: [Bug 214276] "rpm -e fedora-ds" uninstall doesn't remove server from configuration directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Summary: "rpm -e fedora-ds" uninstall doesn't remove server from configuration directory

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=214276

Actually, this is a review request for the administration tool ds_unregister, which removes the server info from the Configuration Directory Server.

Regarding the original bug, I think what we can do is making sure the servers are shutdown in "rpm -e"... Can we have your comments on that, too?
Thanks,
--noriko
------- Additional Comments From nhosoi@xxxxxxxxxx  2007-08-03 17:09 EST -------
Per discussion on the Fedora-directory-users mailing list, we decided "rpm -e"
removes files and directories which are installed by "rpm -i | -U".  Generated
files won't be removed.  I.e., after running "rpm -e", binaries including
ns-slapd shoud have been removed, while the server information in the
Configuration DS db are.

It sounds the original problem is "rpm -e" does not shutdown the servers?  Once
they are shutdown, since ns-slapd is removed, there is no way to bring it up and
see the instances?

That's said, ds_unregsiter may not be needed in this scenario, but it'd be a
useful tool for the administrators.


------- Additional Comments From nhosoi@xxxxxxxxxx  2007-08-03 16:55 EST -------
Created an attachment (id=160660)
--> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160660&action=view)
New file: admserv/cgi-src40/ds_unregister.in

Unregister CGI script, that removes the server info from the Configuration DS. The server is specified by InstanceName=slapd-ID in QUERY_STRING.

------- Additional Comments From nhosoi@xxxxxxxxxx  2007-08-03 16:57 EST -------
Created an attachment (id=160661)
--> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160661&action=view)
New file: admserv/cfgstuff/ds_unregister.in

Shell script which calls the CGI script ds_unregister.

Usage: sbin/ds_unregister -s server_id -w admin_password
      server_id: Directory server identifier; slapd-<server_id>
      admin_password: Administration user password

------- Additional Comments From nhosoi@xxxxxxxxxx  2007-08-03 17:00 EST -------
Created an attachment (id=160662)
--> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160662&action=view)
cvs diff Makefile.am

File: Makefile.am

Change: adding admserv/cgi-src40/ds_unregister and
admserv/cfgstuff/ds_unregister to the makefile.




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux