Bug#766160: slurmd: fails to install, insserv rejected the script header

2014-10-21 Thread Holger Levsen
Package: slurmd_14.03.8-2.log
Version: 
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi, 

during a test with piuparts I noticed your package failed to install. As per 
definition of the release team this makes the package too buggy for a 
release, thus the severity.

From the attached log (scroll to the bottom...):

  Selecting previously unselected package slurmd.
  (Reading database ... 9592 files and directories currently installed.)
  Preparing to unpack .../slurmd_14.03.8-2_amd64.deb ...
  Unpacking slurmd (14.03.8-2) ...
  Setting up slurmd (14.03.8-2) ...
  insserv: Service munge has to be enabled to start service slurmd
  insserv: exiting now!
  update-rc.d: error: insserv rejected the script header
  dpkg: error processing package slurmd (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   slurmd
  E: Sub-process /usr/bin/dpkg returned an error code (1)


cheers,
Holger
Start: 2014-10-18 07:01:55 UTC

Package: slurmd
Source: slurm-llnl
Version: 14.03.8-2
Installed-Size: 2972
Maintainer: Gennaro Oliva oliv...@na.icar.cnr.it
Architecture: amd64
Replaces: slurm-llnl ( 14.03)
Depends: libc6 (= 2.14), libpam0g (= 0.99.7.1), init-system-helpers (= 1.18~), openssl (= 0.9.8g-9), slurm-wlm-basic-plugins (= 14.03.8-2), adduser, openssl-blacklist, lsb-base (= 3.2-12)
Breaks: slurm-llnl ( 14.03)
Description: SLURM compute node daemon
Homepage: http://slurm.schedmd.com
Description-md5: c7a70378d04f7a2ac4844c7a91f3e281
Section: admin
Priority: extra
Filename: pool/main/s/slurm-llnl/slurmd_14.03.8-2_amd64.deb
Size: 737682
MD5sum: 4cf8db433ddb1b9de59235f0747b7207
SHA1: 9abc5c4f30fcba98d1b9c4e7d3d2290b1abe4eab
SHA256: 53803cee540a9d9d71fd21515ea91e8324182722b1766829f077d1a314748ee7

Executing: sudo env PYTHONPATH=/srv/piuparts.debian.org/lib/python2.7/dist-packages timeout -s INT -k 5m 35m /srv/piuparts.debian.org/sbin/piuparts --skip-logrotatefiles-test --warn-on-others --scriptsdir /etc/piuparts/scripts --no-eatmydata --allow-database --warn-on-leftovers-after-purge --mirror 'http://mirror.bm.debian.org/debian/ main' --tmpdir /srv/piuparts.debian.org/tmp --arch amd64 -b /srv/piuparts.debian.org/slave/basetgz/jessie_amd64.tar.gz -d jessie --no-upgrade-test --apt slurmd=14.03.8-2
0m0.0s INFO: --
0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of this logfile.
0m0.0s INFO: FAQ available at https://wiki.debian.org/piuparts/FAQ
0m0.0s INFO: The FAQ also explains how to contact us in case you think piuparts is wrong.
0m0.0s INFO: --
0m0.0s INFO: piuparts version 0.59 starting up.
0m0.0s INFO: Command line arguments: /srv/piuparts.debian.org/sbin/piuparts --skip-logrotatefiles-test --warn-on-others --scriptsdir /etc/piuparts/scripts --no-eatmydata --allow-database --warn-on-leftovers-after-purge --mirror 'http://mirror.bm.debian.org/debian/ main' --tmpdir /srv/piuparts.debian.org/tmp --arch amd64 -b /srv/piuparts.debian.org/slave/basetgz/jessie_amd64.tar.gz -d jessie --no-upgrade-test --apt slurmd=14.03.8-2
0m0.0s INFO: Running on: Linux piu-slave-bm-a 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64
0m0.0s DEBUG: Created temporary directory /srv/piuparts.debian.org/tmp/tmpZMtlmS
0m0.0s DEBUG: Unpacking /srv/piuparts.debian.org/slave/basetgz/jessie_amd64.tar.gz into /srv/piuparts.debian.org/tmp/tmpZMtlmS
0m0.0s DEBUG: Starting command: ['tar', '-C', '/srv/piuparts.debian.org/tmp/tmpZMtlmS', '-zxf', '/srv/piuparts.debian.org/slave/basetgz/jessie_amd64.tar.gz']
0m2.2s DEBUG: Command ok: ['tar', '-C', '/srv/piuparts.debian.org/tmp/tmpZMtlmS', '-zxf', '/srv/piuparts.debian.org/slave/basetgz/jessie_amd64.tar.gz']
0m2.2s DEBUG: Starting command: ['chroot', '/srv/piuparts.debian.org/tmp/tmpZMtlmS', 'mount', '-t', 'proc', 'proc', '/proc']
0m2.3s DEBUG: Command ok: ['chroot', '/srv/piuparts.debian.org/tmp/tmpZMtlmS', 'mount', '-t', 'proc', 'proc', '/proc']
0m2.3s DEBUG: sources.list:
  deb http://mirror.bm.debian.org/debian/ jessie main
0m2.3s DEBUG: Created policy-rc.d and chmodded it.
0m2.3s DEBUG: Starting command: ['chroot', '/srv/piuparts.debian.org/tmp/tmpZMtlmS', 'apt-get', 'update']
0m7.1s DUMP: 
  Get:1 http://mirror.bm.debian.org jessie InRelease [191 kB]
  Get:2 http://mirror.bm.debian.org jessie/main amd64 Packages [6739 kB]
  Get:3 http://mirror.bm.debian.org jessie/main Translation-en [4573 kB]
  Fetched 11.5 MB in 2s (4242 kB/s)
  Reading package lists...
0m7.1s DEBUG: Command ok: ['chroot', '/srv/piuparts.debian.org/tmp/tmpZMtlmS', 'apt-get', 'update']
0m7.1s DEBUG: Starting command: ['chroot', '/srv/piuparts.debian.org/tmp/tmpZMtlmS', 'apt-get', '-yf', 'dist-upgrade']
0m9.4s DUMP: 
  Reading package lists...
  Building dependency tree...
  The following packages will be upgraded:
apt bash libapt-pkg4.12 

Bug#766160: slurmd: fails to install, insserv rejected the script header

2014-10-21 Thread Rémi Palancher

Thank you Holger for your tests and for reporting this bug!

Le 21/10/2014 10:50, Holger Levsen a écrit :
 [...]

   insserv: Service munge has to be enabled to start service slurmd
   insserv: exiting now!
   update-rc.d: error: insserv rejected the script header
   dpkg: error processing package slurmd (--configure):
subprocess installed post-installation script returned error exit status 1
   Errors were encountered while processing:
slurmd
   E: Sub-process /usr/bin/dpkg returned an error code (1)


To fix this bug, I guess we should either:

- add a dependancy to munge on slurmd pkg
- remove munge of the Required-{Start,Stop} headers of slurmd init
  script

I would opt for the later since munge is theoretically optional for 
slurm daemons. What do you think?


--
Rémi


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org