Red Hat Bugzilla – Bug 453761
FreeRADIUS %post should not include chown -R
Last modified: 2008-07-31 21:46:24 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):
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.
fixed in freeradius-2.0.5-2
freeradius-2.0.5-2.fc9 has been submitted as an update for Fedora 9
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.