Bug 453761 - FreeRADIUS %post should not include chown -R
FreeRADIUS %post should not include chown -R
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: freeradius (Show other bugs)
9
All Linux
low Severity medium
: ---
: ---
Assigned To: John Dennis
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-02 09:02 EDT by Jos Vos
Modified: 2008-07-31 21:46 EDT (History)
1 user (show)

See Also:
Fixed In Version: freeradius-2.0.5-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-30 10:18:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jos Vos 2008-07-02 09:02:22 EDT
Description of problem:
Shouldn't the recursive chown in %post, conflicting with the specified
permissions in %files (!), be replaced by proper %attr settings in %files or
otherwise be omitted at all?  AFAIK using chown in %post sections only can be
justified in very rare cases and this is not such a case, I think.

Version-Release number of selected component (if applicable):
2.0.5-1.fc9
Comment 1 John Dennis 2008-07-02 10:24:59 EDT
Thank you for your good eyes Jos, I absolutely agree. The upstream spec file for
2.x had this and I did a fair amount of cut-n-paste from that spec file when I
brought our version up to 2.x. Apparently I missed this operation in %post when
I was doing some cut-n-paste. I will fix it immediately.
Comment 2 John Dennis 2008-07-30 10:18:17 EDT
fixed in freeradius-2.0.5-2
Comment 3 Fedora Update System 2008-07-30 10:56:00 EDT
freeradius-2.0.5-2.fc9 has been submitted as an update for Fedora 9
Comment 4 Fedora Update System 2008-07-31 21:46:24 EDT
freeradius-2.0.5-2.fc9 has been pushed to the Fedora 9 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.