Red Hat Bugzilla – Bug 507571
freeradius packages do not check for user/group existence
Last modified: 2009-09-29 10:28:13 EDT
Description of problem:
@everything installation yields lots of error messages about user/group radiusd not found. This is because these packages don't have scripts to check/add required user/group . Only freeradius alone has this script but it is installed later in the transaction.
A scriptlet needs to be addes and the packages should depend on shadow-utils which provides the useradd/groupadd commands and glibc-common which provides the getent command used in the scriptlet:
preinstall scriptlet (using /bin/sh):
getent group radiusd >/dev/null || /usr/sbin/groupadd -r -g 95 radiusd
getent passwd radiusd >/dev/null || /usr/sbin/useradd -r -g radiusd -u 95 -c "radiusd user" -s /sbin/nologin radiusd > /dev/null 2>&1
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install @everything
Thank you for the bug report. Fixed in: freeradius-2.1.6-3.fc12 which has been built into rawhide.
freeradius-2.1.7-1.fc11 has been submitted as an update for Fedora 11.
freeradius-2.1.7-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.