upgrade issue with configured asterisk

Bug #55374 reported by Jeff Waugh
10
Affects Status Importance Assigned to Milestone
asterisk (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Dapper by William Grant

Bug Description

If asterisk configuration changes are made that include configuration file deletion, asterisk cannot be upgraded.

Setting up asterisk-classic (1.2.7.1.dfsg-2ubuntu3.1) ...
chown: cannot access `/etc/asterisk/voicemail.conf': No such file or directory
dpkg: error processing asterisk-classic (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of asterisk:

Revision history for this message
Jeff Waugh (jdub) wrote :

This effects the recent security update on dapper.

Changed in asterisk:
assignee: nobody → pitti
Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

In fact, the only file concerns is voicemail.conf. The asterisk-classic.postinst script assumes that voicemail.conf exists.

This script in the edgy version has been rewritten and the problem is not present anymore.

Changed in asterisk:
status: Unconfirmed → Confirmed
Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

Here is a quick patch that solves the problem. I am not sure that we should apply this, it only concers people who removed / rename voicemail.conf and the bug is not present anymore on Edgy.

Revision history for this message
Martin Pitt (pitti) wrote :

Patch looks fine for dapper-updates. Can be applied when the *-updates embargo is lifted again.

Changed in asterisk:
assignee: pitti → motu
status: Confirmed → Fix Committed
William Grant (wgrant)
Changed in asterisk:
assignee: motu → nobody
status: Fix Committed → Fix Released
Revision history for this message
Chris Rose (chris-vault5) wrote :

William, why was this marked as Fix Released? The fix has not yet been published.

With yesterdays security update to Asterisk I suspect a few people will hit this bug soon. It is common practice to remove the asterisk configs that you do not use, so I don't see any reason to not publish this fix in dapper.

Changed in asterisk:
assignee: nobody → motu
status: Fix Released → Fix Committed
Revision history for this message
William Grant (wgrant) wrote :

Firstly, please don't assign to MOTU. That takes it off the unassigned list, and puts it on a list that few check. Secondly, the fix HAS been released, in the development version. I attempted to add a Dapper task some time ago, but was restricted by the new release management system. A core-dev needs to add the Dapper task now.

Changed in asterisk:
assignee: motu → nobody
status: Fix Committed → Fix Released
Revision history for this message
Chris Rose (chris-vault5) wrote :

OK, thanks. I will try and find someone from the core team to get the update into dapper.

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.