FS#36797 - freeradius package doesn't cleanup well after removal
Attached to Project:
Community Packages
Opened by Philipp Pirozhkov (philpirj) - Thursday, 05 September 2013, 11:18 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 06 September 2013, 12:31 GMT
Opened by Philipp Pirozhkov (philpirj) - Thursday, 05 September 2013, 11:18 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 06 September 2013, 12:31 GMT
|
Details
Description:
freeradius package doesn't cleanup well after removal, user home folder is not deleted, group is deleted twice Warnings: 1. on remove groupdel: group 'radiusd' does not exist 2. on install after removal useradd: warning: the home directory already exists. Not copying any file from skel directory into it. Additional info: * package version(s) community/freeradius 2.2.0-8 Possibly affects both i686 and x86_64 * config and/or log files etc. Steps to reproduce: # pacman -S freeradius resolving dependencies... looking for inter-conflicts... Packages (1): freeradius-2.2.0-8 Total Installed Size: 7.36 MiB :: Proceed with installation? [Y/n] ... # pacman -Rs freeradius checking dependencies... Packages (1): freeradius-2.2.0-8 Total Removed Size: 7.36 MiB :: Do you want to remove these packages? [Y/n] (1/1) removing freeradius [###############################################################] 100% groupdel: group 'radiusd' does not exist # pacman -S freeradius resolving dependencies... looking for inter-conflicts... Packages (1): freeradius-2.2.0-8 Total Installed Size: 7.36 MiB :: Proceed with installation? [Y/n] ... useradd: warning: the home directory already exists. Not copying any file from skel directory into it. Optional dependencies for freeradius libpcap [installed] unixodbc [installed] python2 [installed] # pacman -Rs freeradius ... # rm -rf /etc/raddb # rm -rf /var/lib/radiusd # pacman -S freeradius ... <- No errors on installation when manually cleaning up. Not sure if /etc/raddb should be removed or not |
This task depends upon
# radiusd -x
...
Failed binding to /var/run/radiusd/radiusd.sock: No such file or directory
# mkdir -p /var/run/radiusd/
# radiusd -x
<- runs with no problems
Not sure if these two are related.
/etc/raddb.default / /etc/raddb are created wuth root:root, while they should be radiusd:radiusd.
This results in "unable to write 'random state'" when starting freeradius with `# radiusd -X`
You cannot upload same named package to aur.