Bug 745334
Summary: | freeradius doesn't start in fc15 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ian Donaldson <iand> |
Component: | freeradius | Assignee: | John Dennis <jdennis> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | iand, jdennis, je, lemenkov |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | freeradius-2.1.12-2.fc15 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-11-25 02:05:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ian Donaldson
2011-10-12 03:26:33 UTC
Alerted by comments in a related report (amavisd-new, report 745337) it seems the common practice for fixing this type of issue is to add an entry to /etc/tmpfiles.d to the package, to cause creation of the necessary directories with the appropriate permissions. So, undoing my changes above, and adding the below as /etc/tmpfiles.d/freeradius.conf, solves the issue -- d /var/run/radiusd 755 radiusd radiusd -- Can somebody please update the freeradius package accordingly. Please, try this package: https://admin.fedoraproject.org/updates/FEDORA-2011-13797 That package seems to have been released on Oct 3, before my report, and has no tmpfiles.d entries or changes to /etc/rc.d/init.d/radiusd in it. Or is the fix implemented somewhere else? I just tested freeradius-2.1.12-1.fc15 from: https://admin.fedoraproject.org/updates/FEDORA-2011-13797 Same error: Error: Failed binding to /var/run/radiusd/radiusd.sock: No such file or directory /var/run is tmpfs so /var/run/radiusd should be created at boot (or startup) Solution from #1 works. Dunno if it's the right way to solve this. Thanks. According to http://0pointer.de/public/systemd-man/tmpfiles.d.html Configuration file should be in /usr/lib/tmpfiles.d/*.conf (if I understand correctly, /etc is reserved for local admin conf changes) Packaging with spec is described here: http://fedoraproject.org/wiki/Packaging:Tmpfiles.d F15 mounted /var/run as tmpfs which is wiped clean on a reboot thus /var/run/radiusd which is created by the RPM install is absent. Add /etc/tmpfiles.d/radiusd.conf to recreate directory on boot. fixed in freeradius-2.1.12-2.fc15 freeradius-2.1.12-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/freeradius-2.1.12-2.fc15 Package freeradius-2.1.12-2.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing freeradius-2.1.12-2.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-15252 then log in and leave karma (feedback). freeradius-2.1.12-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |