package freeradius-mysql 2.1.8 dfsg-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #823096 reported by AnuragSatish
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
freeradius (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

i dont know the details of this issue but i have encountered it while installing the free radius using tasksel

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: freeradius-mysql 2.1.8+dfsg-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-33.71-generic 2.6.32.41+drm33.18
Uname: Linux 2.6.32-33-generic i686
AptOrdering:
 freeradius-mysql: Install
 freeradius-ldap: Configure
 freeradius-mysql: Configure
Architecture: i386
Date: Tue Aug 9 11:48:17 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
SourcePackage: freeradius
Title: package freeradius-mysql 2.1.8+dfsg-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
AnuragSatish (aspaerospace) wrote :
Revision history for this message
Marc Deslauriers (mdeslaur) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

security vulnerability: yes → no
visibility: private → public
Revision history for this message
Dave Walker (davewalker) wrote :

Seems it fails to restart if it's not currently running, and not handled well. (exits non-zero if no pid file)

Setting up freeradius-mysql (2.1.8+dfsg-1ubuntu1) ...

 * Stopping FreeRADIUS daemon freeradius  * /var/run/freeradius/freeradius.pid not found... 
[ OK ]

 * Starting FreeRADIUS daemon freeradius 
[fail]

invoke-rc.d: initscript freeradius, action "force-reload" failed.

dpkg: error processing freeradius-mysql (--configure):

 subprocess installed post-installation script returned error exit status 1

Changed in freeradius (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in freeradius (Ubuntu):
status: New → Confirmed
Revision history for this message
Harald Kleppe (haraldk-5) wrote :

Could it be that this is cause by conflict between System V and upstart?

Both of these files are installed by the freeradius deb:
/etc/init.d/freeradius
/etc/init/freeradius.conf

When I experienced this issue while installing freeradius-ldap, it seemed that the post-install script of freeradius-ldap expected to restart the freeradius daemon using Upstart, while the daemon was already running but started by System V - and upstart could not find the PID-file or whatever - hence the "Unknown instance:" message emitted by Upstart.

Revision history for this message
Mike Bryant (mikebryant) wrote :

This also affects freeradius-postgresql

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.