Bug#804973: mdadm: Please drop dependency on initscripts package

Martin Pitt martin.pitt at ubuntu.com
Wed Jun 8 09:49:27 UTC 2016


biebl at debian.org [2015-11-13  7:53 +0100]:
> your package mdadm declares a dependency on the initscripts package.

The only references that I can find to it is

  [ from 3.2.2-1, 01 Aug 2011 ]
  * move initscript metadata from /lib/init/rw/.mdadm to /run/mdadm,
    and depend on initscripts (>= 2.88dsf-13.3) for /run (Closes: #633054)

  https://anonscm.debian.org/cgit/pkg-mdadm/mdadm.git/commit/?id=d98f009ef88664

  [ from 3.2.5-4+mdmon, 20 Oct 2012]
  * /etc/init.d/mdadm: change RUNDIR to /run instead of /var/run.
    Mdadm itself uses /run internally, we properly depend on initscripts
    version which creates /run, and the initscript itself is started
    after local_fs is processed, so this is merely a no-op, but let's
    do it for consistency.

and the versioned dependency was dropped in
https://anonscm.debian.org/cgit/pkg-mdadm/mdadm.git/commit/?id=dda76c9f8
because that version is in pre-wheezy only.

debian/mdadm.init's dependencies are

  # Required-Start:    $local_fs $syslog mdadm-raid

I'm not entirely sure what provides mdadm-raid, but it's *not*
initscripts. So it looks like the initscripts dependency can just be
dropped without any problem.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the pkg-mdadm-devel mailing list