#6910 Need to remove certain files in /var/run/ipa directory after uninstalling ipa-server
Opened 3 years ago by pvoborni. Modified 2 years ago

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1441050

Description of problem: Need to remove certain files in /var/run/ipa directory
after uninstalling ipa-server


Version-Release number of selected component (if applicable):
ipa-server-4.5.0-5.el7.x86_64

How reproducible: Always

Steps to Reproduce:
1. Install IPA server, establish trust with win2k16 AD
2. Ensure trust is established and now delete the trust
3. Now Uninstall IPA server .

#ipa-server-install --uninstall -U

Actual results:
ipa-server is uninstalled successfully without any issues, but there are
certain files which are left over in /var/run/ipa directory

[root@master ipa]# pwd
/var/run/ipa

-rw-------. 1 root   root   2924 Apr 10 06:17 krb5cc_oddjob_trusts
-rw-------. 1 root   root   2819 Apr 10 06:17 krb5cc_oddjob_trusts_fetch

/var/run/ipa/ccaches
[root@master ccaches]# ls -l
total 20
-rw-------. 1 ipaapi ipaapi 6364 Apr 11 01:13
admin@TESTRELM.TEST
-rw-------. 1 ipaapi ipaapi 2262 Apr 11 01:13
host~client.testrelm.test@TESTRELM.TEST
-rw-------. 1 ipaapi ipaapi 4198 Apr 10 04:08
host~master.testrelm.test@TESTRELM.TEST

Expected results: Unless and until these files are important for the system,
they should be removed after ipa-server uninstall.

Additional info: Logging this as a bug to have a clean uninstall

Metadata Update from @pvoborni:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1441050

3 years ago

Metadata Update from @pvoborni:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1441050

3 years ago

Also see https://pagure.io/freeipa/issue/2694 for a general ticket about left-over files.

Metadata Update from @cheimes:
- Issue priority set to: normal
- Issue tagged with: easyfix

2 years ago

Metadata Update from @rcritten:
- Issue set to the milestone: FreeIPA 4.7.1 (was: FreeIPA 4.7)

2 years ago

FreeIPA 4.7 has been released, moving to FreeIPA 4.7.1 milestone

Login to comment on this ticket.

Metadata