package slurm-llnl-slurmdbd 2.1.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #590855 reported by Nagendra Kumar
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
slurm-llnl (Debian)
Fix Released
Unknown
slurm-llnl (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: slurm-llnl

== Description ==
Installation failed with
Setting up slurm-llnl-slurmdbd (2.1.0-1) ...
chown: cannot access `/var/run/slurm-llnl': No such file or directory
dpkg: error processing slurm-llnl-slurmdbd (--configure):
 subprocess installed post-installation script returned error exit status 1

unable to install the package in Lucid

This is fixed in version 2.1.1-2 of the package by removing the chown from postinst because it's done in the init script.

TEST CASE(lucid):
1. Run the following command in a terminal
$ LANG=C apt-get install slurm-llnl-slurmdbd

== On Failure ==
[...]Setting up slurm-llnl-slurmdbd (2.1.0-1) ...
chown: cannot access `/var/run/slurm-llnl': No such file or directory
dpkg: error processing slurm-llnl-slurmdbd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 slurm-llnl-slurmdbd
E: Sub-process /usr/bin/dpkg returned an error code (1)

== On Success ==
The package installs cleanly

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: slurm-llnl-slurmdbd 2.1.0-1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
AptOrdering:
 slurm-llnl-slurmdbd: Install
 slurm-llnl-slurmdbd: Configure
Architecture: i386
Date: Tue Jun 8 00:22:49 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: slurm-llnl
Title: package slurm-llnl-slurmdbd 2.1.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
Nagendra Kumar (kumar3108) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. This is fixed in the latest development release.

description: updated
Changed in slurm-llnl (Ubuntu):
status: New → Fix Released
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

don't chown in postinst, it's done in init script.
backport fix from 2.1.1-2

tags: added: patch
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Nominating for SRU:
Package is uninstallable in Lucid and bug affects an application rather than critical infrastructure packages

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

SRU approved, please upload.

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

ubuntu-sponsors please upload to -proposed. Thanks.

Changed in slurm-llnl (Ubuntu Lucid):
status: New → Confirmed
Revision history for this message
Benjamin Drung (bdrung) wrote :

uploaded with the version changed from 2.1.0-1ubuntu1 to 2.1.0-1ubuntu0.1 and distribution from lucid to lucid-proposed

Changed in slurm-llnl (Ubuntu Lucid):
status: Confirmed → Fix Committed
Revision history for this message
Jonathan Riddell (jr) wrote : Please test proposed package

Accepted into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU verification for Lucid:
I have reproduced the problem with slurm-llnl 2.1.0-1 in lucid and have verified that the version of slurm-llnl 2.1.0-1ubuntu0.1 in -proposed fixes the issue. I've verified that the run directory is created after a restart of the system and of the service.

Marking as verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package slurm-llnl - 2.1.0-1ubuntu0.1

---------------
slurm-llnl (2.1.0-1ubuntu0.1) lucid-proposed; urgency=low

  * backport fix from 2.1.1-2: slurm-llnl-slurmdbd postinst script doesn't
    change /var/run/slurm-llnl owner anymore (LP: #590855)
 -- Jean-Baptiste Lallement <email address hidden> Tue, 08 Jun 2010 19:43:08 +0200

Changed in slurm-llnl (Ubuntu Lucid):
status: Fix Committed → Fix Released
Changed in slurm-llnl (Debian):
status: Unknown → Fix Released
tags: added: testcase
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.