Git master branch & Debian build

Olivier Beytrison olivier at heliosnet.org
Mon Nov 19 11:47:39 CET 2012


>>
>> Yes i've been working on this too today as I need debian packages for a customer, and that's exactly the point where I got to.
>>
>> I'm going to continue with it on monday. Feel free to pull from master, it contains a few more fixes.
> 
> Hi,
> 
> I made a fresh clone this morning, and I've been able to make the
> packages after a few changes to the files in de debian directory. Those
> files refer to a lot of element which don't seems to exist any more in FR3
> 
> BTW I'm far from being a debian package expert (in fact it's the first
> time I really dig into the package building process).
> 
> Here's a summary of my changes. (the -ok version is the one containing
> my modifications) : http://pastebin.com/kDrWDdF0

The packages are built, but it's not installing correctly.

The main problem is that the mods-enabled directory is not created, and
the symlinks are missing. There's quite some more work to do.

Selecting previously unselected package freeradius-common.
(Reading database ... 85588 files and directories currently installed.)
Unpacking freeradius-common (from
freeradius-common_3.0.0git+dfsg-1_all.deb) ...
Selecting previously unselected package freeradius.
Unpacking freeradius (from freeradius_3.0.0git+dfsg-1_amd64.deb) ...
Selecting previously unselected package freeradius-ldap.
Unpacking freeradius-ldap (from
freeradius-ldap_3.0.0git+dfsg-1_amd64.deb) ...
Selecting previously unselected package freeradius-mysql.
Unpacking freeradius-mysql (from
freeradius-mysql_3.0.0git+dfsg-1_amd64.deb) ...
Selecting previously unselected package libfreeradius3.
Unpacking libfreeradius3 (from libfreeradius3_3.0.0git+dfsg-1_amd64.deb) ...
Selecting previously unselected package freeradius-utils.
Unpacking freeradius-utils (from
freeradius-utils_3.0.0git+dfsg-1_amd64.deb) ...
Setting up freeradius-common (3.0.0git+dfsg-1) ...
Adding user freerad to group shadow
Setting up libfreeradius3 (3.0.0git+dfsg-1) ...
Processing triggers for man-db ...
Setting up freeradius-utils (3.0.0git+dfsg-1) ...
Setting up freeradius (3.0.0git+dfsg-1) ...
dpkg-statoverride: warning: --update given but /var/run/freeradius does
not exist
dpkg-statoverride: warning: stripping trailing /
dpkg-statoverride: warning: stripping trailing /
dpkg-statoverride: warning: stripping trailing /
dpkg-statoverride: warning: stripping trailing /
 * Starting FreeRADIUS daemon freeradius
   ...fail!
invoke-rc.d: initscript freeradius, action "start" failed.
Processing triggers for ureadahead ...
Setting up freeradius-ldap (3.0.0git+dfsg-1) ...
 * Checking FreeRADIUS daemon configuration...
   ...fail!
invoke-rc.d: initscript freeradius, action "force-reload" failed.
dpkg: error processing freeradius-ldap (--install):
 subprocess installed post-installation script returned error exit status 1
Setting up freeradius-mysql (3.0.0git+dfsg-1) ...
 * Checking FreeRADIUS daemon configuration...
   ...fail!
invoke-rc.d: initscript freeradius, action "force-reload" failed.
dpkg: error processing freeradius-mysql (--install):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 freeradius-ldap
 freeradius-mysql

-- 

 Olivier Beytrison
 Network & Security Engineer, HES-SO Fribourg
 Mobile: +41 (0)78 619 73 53
 Mail: olivier at heliosnet.org


More information about the Freeradius-Users mailing list