RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 507571 - freeradius packages do not check for user/group existence
Summary: freeradius packages do not check for user/group existence
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: freeradius
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: John Dennis
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-23 11:02 UTC by Alexander Todorov
Modified: 2009-09-29 14:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 536752 (view as bug list)
Environment:
Last Closed: 2009-06-23 20:45:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alexander Todorov 2009-06-23 11:02:55 UTC
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
exit 0


Version-Release number of selected component (if applicable):
freeradius-devel-2.1.3-4.fc11.x86_64
freeradius-ldap-2.1.3-4.fc11.x86_64
freeradius-postgresql-2.1.3-4.fc11.x86_64
freeradius-mysql-2.1.3-4.fc11.x86_64
freeradius-krb5-2.1.3-4.fc11.x86_64


How reproducible:


Steps to Reproduce:
1. install @everything
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 John Dennis 2009-06-23 20:45:03 UTC
Thank you for the bug report. Fixed in: freeradius-2.1.6-3.fc12 which has been built into rawhide.

Comment 3 Fedora Update System 2009-09-15 15:54:28 UTC
freeradius-2.1.7-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/freeradius-2.1.7-1.fc11

Comment 4 Fedora Update System 2009-09-29 14:28:13 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.