PacketFence - BTS - PacketFence
View Issue Details
0001212PacketFenceradiuspublic2011-05-03 12:582012-08-14 09:15
ryacketta 
obilodeau 
normalminoralways
closedfixed 
devel 
2.2.0 
9d5b66b9307c4b88238048b1d23f2edd9d1764a0
0001212: packetfence-freeradius2 Install issue
Removed previous freeradius2 installation, /etc/raddb directory and installed packetfence-freeradius2.

yum install reports
packetfence-freeradius2-2.2.0-1.el5.noarch.rpm | 19 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : packetfence-freeradius2 1/1
cp: cannot stat `/etc/raddb/perl': No such file or directory
chown: cannot access `/etc/raddb/modules/perl.pfsave': No such file or directory
Installation complete. Make sure you configure packetfence.pm, and restart Radius....
OS: CentOS release 5.6 (Final)
No tags attached.
Issue History
2011-05-03 12:58ryackettaNew Issue
2011-05-03 14:29fgaudreaultNote Added: 0002051
2011-05-03 14:29fgaudreaultmtn revision => 3e8bac122e0f860e53cfc78132785fad4795ad98
2011-05-03 14:29fgaudreaultStatusnew => resolved
2011-05-03 14:29fgaudreaultFixed in Version => trunk
2011-05-03 14:29fgaudreaultResolutionopen => fixed
2011-05-03 14:29fgaudreaultAssigned To => fgaudreault
2011-05-03 15:48obilodeauAssigned Tofgaudreault => obilodeau
2011-05-03 15:48obilodeauNote Added: 0002052
2011-05-03 15:48obilodeauStatusresolved => feedback
2011-05-03 15:48obilodeauResolutionfixed => reopened
2011-05-03 15:49obilodeauStatusfeedback => assigned
2011-05-03 15:54obilodeauNote Added: 0002053
2011-05-03 17:06obilodeaumtn revision3e8bac122e0f860e53cfc78132785fad4795ad98 => 9d5b66b9307c4b88238048b1d23f2edd9d1764a0
2011-05-03 17:06obilodeauNote Added: 0002054
2011-05-03 17:06obilodeauStatusassigned => resolved
2011-05-03 17:06obilodeauFixed in Versiontrunk => 2.2.0
2011-05-03 17:06obilodeauResolutionreopened => fixed
2011-05-04 11:40obilodeauStatusresolved => closed
2012-08-14 09:15obilodeauCategoryradius module => radius

Notes
(0002051)
fgaudreault   
2011-05-03 14:29   
This is a mistake in our spec file. It has been fixed now in trunk. We will probably release a revision package.

Your RADIUS should still work properly tho.
(0002052)
obilodeau   
2011-05-03 15:48   
re-opening because no fix is available yet. Also, all files under modules/ are loaded as modules so I don't think that the fix is appropriate.
(0002053)
obilodeau   
2011-05-03 15:54   
assumption confirmed:
# radiusd -X
...
including configuration file /etc/raddb/modules/perl.pfsave
...
(0002054)
obilodeau   
2011-05-03 17:06   
fixed packages re-issued. Thanks for reporting although only the backup of the original files was failing and not the installation of the important files for PacketFence.

Also note that you'll probably have other error messages if you upgrade that you can most likely ignore. Feel free to post them here if you are unsure.

Lastly, our UPGRADE document clearly recommended *against* migrating to the package if you already had a working freeradius config:

    - packetfence-freeradius2
    A new package that configures FreeRADIUS is available now. If you upgrade
    DO NOT install it unless you really know what you are doing.