Package: freeradius-ldap
Version: 1.1.2-1
Severity: important

If freeradius daemon (ldap-package) is not running, stopping via
initscript returns 1:

# ps aux | grep [f]reeradius
# /etc/init.d/freeradius stop
Stopping FreeRADIUS daemon: freeradius
# echo $?
1

This might result in a broken upgrade (as in my case):

# apt-get upgrade
[...]
Setting up freeradius-ldap (1.1.2-1) ...
Stopping FreeRADIUS daemon: freeradiusinvoke-rc.d: initscript freeradius, 
action "restart" failed.
dpkg: error processing freeradius-ldap (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 freeradius-ldap

Whereas the postinst script of freeradius already uses:

  invoke-rc.d freeradius $action || true

the postinst script of freeradius-ldap uses:

  invoke-rc.d freeradius restart

and might fail on an upgrade therefore. Adding "|| true" to the
postinst script should fix the problem.

regards,
-mika-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to