#8461 [ALTLinux] server uninstall error on missing /var/lib/samba
Closed: fixed by abbra. Opened by slev.

How to reproduce:
1) Install freeipa-server package without freeipa-server-trust-ad or freeipa-client-samba ( all the packages which directly use SAMBA_DIR = "/var/lib/samba")
2) configure ipa server
3) unconfigure ipa server

ipa-server-install -U --uninstall
...
[Errno 2] No such file or directory: '/var/lib/samba/'
The ipa-server-install command failed. See /var/log/ipaserver-uninstall.log for more information

Note: this doesn't happen on Fedora due to distro-specific package dependencies.
I think that this directory should be skipped on uninstallation if missing.


master:

  • 89d86dac0a13063a11deaa8ef31f9fb2fcbc1ff7 uninstall: Don't fail on missing /var/lib/samba
  • 5c1e44830048f5b13656349c63b5319a536e3a8d uninstall: Clean up no longer used flag
  • 03a5e5f35ff09b34474d28b5ec3704a2aa0b31b8 spec: Move ipa-cldap plugin out to freeipa-server-trust-ad package

ipa-4-8:

  • 602f3f3151e58084ebd9b10d3997efeae5417d12 uninstall: Don't fail on missing /var/lib/samba
  • bba69960f6c26b5b97e72359bc382e25a8ca8ec9 uninstall: Clean up no longer used flag
  • 3084930e596b5d6e9b2b81cf9ce6532feb620b02 spec: Move ipa-cldap plugin out to freeipa-server-trust-ad package

Metadata Update from @abbra:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata