package courier-ldap 0.61.2-1ubuntu3 failed to install/upgrade: exit status 1 - /var/run/courier/ldapaliasd.lock: Permission denied

Bug #535673 reported by jbredariol
44
This bug affects 6 people
Affects Status Importance Assigned to Milestone
courier (Ubuntu)
Confirmed
High
Unassigned

Bug Description

I couldn´t upgrade the system. The courier package is failuring.

ProblemType: Package
AptOrdering:
 gnome-screensaver: Install
 courier-ldap: Configure
 gnome-screensaver: Configure
Architecture: i386
Date: Wed Mar 10 08:38:45 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 1
Package: courier-ldap 0.61.2-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
SourcePackage: courier
Title: package courier-ldap 0.61.2-1ubuntu3 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
Uname: Linux 2.6.31-20-generic i686

Revision history for this message
jbredariol (bredariol) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The relevant error is
---
Configurando courier-ldap (0.61.2-1ubuntu3) ...
 * Starting Courier LDAP alias daemon...
/var/run/courier/ldapaliasd.lock: Permission denied
ll_daemon_start: Resource temporarily unavailable
   ...fail!
invoke-rc.d: initscript courier-ldap, action "start" failed.
dpkg: erro processando courier-ldap (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1

summary: - package courier-ldap 0.61.2-1ubuntu3 failed to install/upgrade: sub-
- processo script post-installation instalado retornou estado de saída de
- erro 1
+ package courier-ldap 0.61.2-1ubuntu3 failed to install/upgrade: exit
+ status 1 - /var/run/courier/ldapaliasd.lock: Permission denied
Revision history for this message
Michael Vogt (mvo) wrote :

During a automatic intall/remove of the package the following problems were found from the package auto-install-tester on current lucid:
...
Setting up courier-ldap (0.63.0-2.1ubuntu1) ...
 * Starting Courier LDAP alias daemon... /var/run/courier/ldapaliasd.lock: Permission denied
ll_daemon_start: Resource temporarily unavailable
                                                                         [fail]
invoke-rc.d: initscript courier-ldap, action "start" failed.
dpkg: error processing courier-ldap (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 courier-ldap
E: Sub-process /usr/bin/dpkg returned an error code (1)

Changed in courier (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: added: pkg-auto-install-tester
Revision history for this message
Dave Frandin (dave-frandin) wrote :

I'm getting the same error on 10.04..

Revision history for this message
Jacob Mansfield (cyberjacob) wrote :

same here on Lucid Lynx
my exact error is:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up courier-ldap (0.63.0-2.1ubuntu1) ...
 * Starting Courier LDAP alias daemon... /var/run/courier/ldapaliasd.lock: Permission denied
ll_daemon_start: Resource temporarily unavailable
                                                                                                                                                                          [fail]
invoke-rc.d: initscript courier-ldap, action "start" failed.
dpkg: error processing courier-ldap (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 courier-ldap
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Upayavira (uv) wrote :

A hack, I know, but "chown daemon /var/run/courier" fixes this. Is this correct, or does it create other problems?

Upayavira

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Note that this is related to bug #731505 , but, I believe, not the same since that one is about /var/run/courier/authdaemon and this one is about /var/run/courier

Revision history for this message
David Welch (reptation) wrote :

Hi, we are still hitting this bug installing courier-ldap package on Xenial using apt command. The easiest workaround (as noted above) is to "sudo chown daemon:daemon /var/run/courier" before installing package.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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