Package: hdparm
Version: 9.43-1.1
Severity: normal

Dear Maintainer,

The hdparm init script has Required-Start: mountdevsubfs in the header,
which means the initscripts package must be present and configured by
the time the hdparm package gets configured.  The only way to ensure
this is to have hdparm depend on initscripts.  Otherwise, if both
hdparm and initscripts are getting installed simultaneously via apt or
multistrap, hdparm might be configured first.  This causes the hdparm
postinst script to fail:

  Setting up hdparm (9.43-1.1) ...
  + [ -z  ]
  + [ ! -L /etc/udev/rules.d/z60_hdparm.rules ]
  + [ ! -f /etc/udev/hdparm.rules ]
  + [ -n  ]
  + [ -x /etc/init.d/hdparm ]
  + update-rc.d hdparm start 07 S .
  update-rc.d: warning: start and stop actions are no longer supported; falling 
back to defaults
  insserv: Service mountdevsubfs has to be enabled to start service hdparm
  insserv: exiting now!
  update-rc.d: error: insserv rejected the script header
  + exit 1
  dpkg: error processing package hdparm (--configure):
   subprocess installed post-installation script returned error exit status 1

Adding

  Depends: initscripts

to the hdparm package section in debian/control fixes the problem.

-- System Information:
Debian Release: jessie/sid
Architecture: amd64 (x86_64)

Kernel: Linux 3.13.0-30-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hdparm depends on:
ii  libc6     2.19-3
ii  lsb-base  4.1+Debian13

Versions of packages hdparm recommends:
pn  powermgmt-base  <none>

Versions of packages hdparm suggests:
pn  apmd  <none>

-- no debconf information


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

Reply via email to