I'm trying to build a 2.2.5 RPM on and for CentOS 6 x86_64 using the spec file included in the source distribution. Build always fails at the end when packaging the files with this error: RPM build errors: Installed (but unpackaged) file(s) found: /etc/raddb/panic.gdb The file /etc/raddb/panic.gdb contains the following: [jg4461@build64 raddb]$ cat panic.gdb info locals info args thread apply all bt full quit I can't find any other reference in the output from the build process that would seem to explain this. Anyone got any pointers (no pun intended) for tracking this one down? I'm a sysadmin, not a developer, and I'm not particularly familiar with C or gdb. Thanks, Jonathan
Hi Jonathan, Look for the below lines in the .SPEC file: %dir %attr(755,root,radiusd) /etc/raddb %defattr(-,root,radiusd) /etc/raddb/README.rst Insert the following below those lines: %attr(640,root,radiusd) %config(noreplace) /etc/raddb/panic.gdb Problem goes away. I'll submit a pull to fix that. Stefan -----Original Message----- From: freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org [mailto:freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org] On Behalf Of Jonathan Gazeley Sent: 02 June 2014 10:23 To: FreeRadius users mailing list Subject: Problems building 2.2.5 I'm trying to build a 2.2.5 RPM on and for CentOS 6 x86_64 using the spec file included in the source distribution. Build always fails at the end when packaging the files with this error: RPM build errors: Installed (but unpackaged) file(s) found: /etc/raddb/panic.gdb The file /etc/raddb/panic.gdb contains the following: [jg4461@build64 raddb]$ cat panic.gdb info locals info args thread apply all bt full quit I can't find any other reference in the output from the build process that would seem to explain this. Anyone got any pointers (no pun intended) for tracking this one down? I'm a sysadmin, not a developer, and I'm not particularly familiar with C or gdb. Thanks, Jonathan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
On second thought (look), someone else from the list has already submitted a fix. If you get the latest SPEC at https://raw.githubusercontent.com/FreeRADIUS/freeradius-server/v2.x.x/redhat... - It has the fix included. :-) Stefan -----Original Message----- From: Stefan Paetow Sent: 02 June 2014 10:33 To: FreeRadius users mailing list Subject: RE: Problems building 2.2.5 Hi Jonathan, Look for the below lines in the .SPEC file: %dir %attr(755,root,radiusd) /etc/raddb %defattr(-,root,radiusd) /etc/raddb/README.rst Insert the following below those lines: %attr(640,root,radiusd) %config(noreplace) /etc/raddb/panic.gdb Problem goes away. I'll submit a pull to fix that. Stefan -----Original Message----- From: freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org [mailto:freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org] On Behalf Of Jonathan Gazeley Sent: 02 June 2014 10:23 To: FreeRadius users mailing list Subject: Problems building 2.2.5 I'm trying to build a 2.2.5 RPM on and for CentOS 6 x86_64 using the spec file included in the source distribution. Build always fails at the end when packaging the files with this error: RPM build errors: Installed (but unpackaged) file(s) found: /etc/raddb/panic.gdb The file /etc/raddb/panic.gdb contains the following: [jg4461@build64 raddb]$ cat panic.gdb info locals info args thread apply all bt full quit I can't find any other reference in the output from the build process that would seem to explain this. Anyone got any pointers (no pun intended) for tracking this one down? I'm a sysadmin, not a developer, and I'm not particularly familiar with C or gdb. Thanks, Jonathan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
Hi,
I'm trying to build a 2.2.5 RPM on and for CentOS 6 x86_64 using the spec file included in the source distribution. Build always fails at the end when packaging the files with this error:
RPM build errors: Installed (but unpackaged) file(s) found: /etc/raddb/panic.gdb
maybe the release notes would be a start? ;-) this is related to the 'panic_action' option - which is documented in radiusd.conf file - just ensure that your RPM spec file has a handler to deal with that file - it needs to go into /etc/raddb/panic.gdb (so be part of the RPM package like all the other files) alan
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Jonathan Gazeley -
Stefan Paetow