FS#64277 - [libldap] uninstalling the package is not clean with pacman
Attached to Project:
Arch Linux
Opened by patrick (potomac) - Saturday, 26 October 2019, 19:09 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 26 October 2019, 19:14 GMT
Opened by patrick (potomac) - Saturday, 26 October 2019, 19:09 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 26 October 2019, 19:14 GMT
|
Details
Description:
I installed openldap (meta-package which installs libldap) with pacman for testing purposes, then I tried to uninstall openldap, and I notice that the uninstallation is not clean : - the user "ldap" (created by the package) is still here in /etc/passwd - the directory "/var/lib/openldap/" is not removed by pacman it's because the package doesn't have a *.install file with "post_remove()" section : https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/openldap a solution would be to create this *.install file, in order to remove all files and ldap user Additional info: * package version(s) libldap (or openldap) 2.4.48-1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: - install openldap (or libldap) package - remove the package - you will notice that the uninstallation is not clean (/var/lib/openldap and ldap user are not deleted by pacman) |
This task depends upon
Closed by Antonio Rojas (arojas)
Saturday, 26 October 2019, 19:14 GMT
Reason for closing: Not a bug
Additional comments about closing: Users are not deleted for security reasons
Saturday, 26 October 2019, 19:14 GMT
Reason for closing: Not a bug
Additional comments about closing: Users are not deleted for security reasons