Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 84341

Summary: net-dialup/freeradius permission issues
Product: Gentoo Linux Reporter: Wolfram Schlich (RETIRED) <wschlich>
Component: Current packagesAssignee: Alin Năstac (RETIRED) <mrness>
Status: RESOLVED FIXED    
Severity: normal CC: manuel.schmitt
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Wolfram Schlich (RETIRED) gentoo-dev 2005-03-06 14:20:33 UTC
1. /var/log/radius should be 6770 instead of 6775
2. /etc/init.d/radiusd:start() should contain "umask 0007" before "start-stop-daemon"
Comment 1 Wolfram Schlich (RETIRED) gentoo-dev 2005-03-06 14:23:57 UTC
ok, forget 1. -- it was ok.

to 2.: the /var/log/radius/radiusd.log is root:radiusd and 0644 when not using "umask 0007" in the init script, thus radiusd fails to log to the file at the first restart
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2005-03-08 05:26:13 UTC
but if that's true, even at first start radiusd will fail to log anything in that file.
Comment 3 Manuel Schmitt 2005-03-13 13:54:03 UTC
Right, radiusd cannot log anything due to the wrong onwership settings
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2005-03-13 15:08:24 UTC
fixed in freeradius-1.0.2-r1
also, now startup.log is created in /var/log/radius instead of current directory.