package distcc 3.1-2 fails to purge if distccd is running

Bug #482571 reported by Emmanuel Pacaud
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
distcc (Ubuntu)
Fix Released
Undecided
Daniel Hartwig

Bug Description

Binary package hint: distcc

Apport report after distcc installation

ProblemType: Package
AptOrdering: distcc: Purge
Architecture: i386
Date: Fri Nov 13 21:07:48 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: le sous-processus script post-removal installé a retourné une erreur de sortie d'état 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate i386 (20091020.2)
Package: distcc 3.1-2
ProcVersionSignature: Ubuntu 2.6.31-15.49-generic
SourcePackage: distcc
Title: package distcc 3.1-2 failed to install/upgrade: le sous-processus script post-removal installé a retourné une erreur de sortie d'état 1
Uname: Linux 2.6.31-15-generic i686

Revision history for this message
Emmanuel Pacaud (emmanuel-pacaud) wrote :
Revision history for this message
Daniel Hartwig (wigs) wrote :

In the supplied log, distcc installed just fine.

The actual problem occurs during purge:

> Suppression de distcc ...
> * Stopping Distributed Compiler Daemon: distccd
> Purge des fichiers de configuration de distcc ...
> userdel : l'utilisateur distccd est connecté
> /usr/sbin/deluser : « /usr/sbin/userdel distccd » a renvoyé le code d'erreur 8.

Either the user has manually invoked distccd, or there is a problem with distccd not shutting down properly. Such stray processes are not closed off by the init script, which is the cause of this problem.

> Abandon.
> dpkg : erreur de traitement de distcc (--purge) :

summary: - package distcc 3.1-2 failed to install/upgrade: le sous-processus script
- post-removal installé a retourné une erreur de sortie d'état 1
+ package distcc 3.1-2 fails to purge if distccd is running
Daniel Hartwig (wigs)
Changed in distcc (Ubuntu):
status: New → Confirmed
Daniel Hartwig (wigs)
Changed in distcc (Ubuntu):
assignee: nobody → Daniel Hartwig (wigs)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package distcc - 3.1-6

---------------
distcc (3.1-6) unstable; urgency=low

  [ Daniel Hartwig ]
  * distcc suggests dmucs
  * debian/distcc.init:
    - rename from distcc.init.d
    - also use "--oknodo" when restarting the daemon
    - add missing LSB description, tweak short-description
  * debian/distcc.lintian-overrides:
    - override package-contains-empty-directory usr/lib/distcc; this
      directory is populated with compiler symlinks during postinst
  * debian/distcc.postinst:
    - simplify call to adduser
    - minor cleanup and avoid writing to stdout
  * debian/distcc.postrm:
    - do not remove the distcc user (LP: #482571)
  * debian/patches:
    - 11_lsdistcc-man.patch: fix typo to not remove lsdistcc.1 on clean
  * debian/watch:
    - update, include release candidates

  [ Daniel Schaal ]
  * debian/distcc.postinst:
    - avoid needless restart of distccd after gcc upgrades
      (Closes: #677264)

 -- Daniel Hartwig <email address hidden> Thu, 05 May 2013 16:42:12 +0800

Changed in distcc (Ubuntu):
status: In Progress → Fix Released
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.