[Debian-ha-maintainers] Bug#656143: drbd8-utils: creates a static file at postinst

Tzafrir Cohen tzafrir at debian.org
Mon Jan 16 21:01:56 UTC 2012


Package: drbd8-utils
Version: 2:8.3.9-1
Severity: serious
Justification: Policy 10.6

Dear Maintainer,

Policy 10.6 states "If a package needs any special device files that are
not included in the base system, it must call MAKEDEV in the postinst
script, after notifying the user."

This package generates /dev/drbd{0-15} with a direct mknod. There's
remmed-out code to use MAKEDEV for /dev/nb{0-7}.

As an aside, I suppose that this postinst script is not needed for any
system that uses udev, as the device files should be recreated. It is
anyway only meaningful if /dev is not on a ramdisk.

It also gets in the way of building a debirf(1) system with the
drbd8-utils package included. To reproduce, try:

  fakechroot fakeroot /usr/sbin/debootstrap --variant=fakechroot --include drbd8-utils sid subdir

without having drbd8-utils installed on the machine.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-rc4-rt-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages drbd8-utils depends on:
ii  debconf [debconf-2.0]  1.5.41
ii  libc6                  2.13-24

drbd8-utils recommends no packages.

Versions of packages drbd8-utils suggests:
pn  heartbeat  <none>

-- no debconf information





More information about the Debian-ha-maintainers mailing list