freeradius-server/freeradius-server-rcradiusd.patch
Vítězslav Čížek 8c9ca09252 Accepting request 298796 from home:stroeder:branches:network
Update to 3.0.8, tested running on openSUSE Tumbleweed x86_64.

Please adjust things (e.g. longish changelog) as needed by you.

Thanks.

OBS-URL: https://build.opensuse.org/request/show/298796
OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=71
2015-04-23 12:34:02 +00:00

14 lines
556 B
Diff

--- freeradius-server-3.0.8.orig/suse/rcradiusd 2015-04-22 19:21:34.000000000 +0200
+++ freeradius-server-3.0.8.suse/suse/rcradiusd 2015-04-23 10:02:01.393574445 +0200
@@ -50,6 +50,10 @@
start)
configtest || { rc_failed 150; rc_exit; }
echo -n "Starting RADIUS daemon "
+ # /var/run might be on tmpfs, create runtime directory if needed
+ if [ ! -d /run/radiusd ]; then
+ install -d -m 0700 -g radiusd -o radiusd /run/radiusd
+ fi
startproc $exec >/dev/null
rc_status -v
;;