Bug#393572: heartbeat: mknod in maintainer script

2006-10-16 Thread Aurelien Jarno
Package: heartbeat
Version: heartbeat
Severity: serious
Justification: Policy 10.6

Maintainer scripts should not create device files directly. They should
call makedev instead. Refer to Policy Manual, section 10.6 for details.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8-smp
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#393572: heartbeat: mknod in maintainer script

2006-10-16 Thread Horms
On Mon, Oct 16, 2006 at 11:14:56PM +0200, Aurelien Jarno wrote:
 Package: heartbeat
 Version: heartbeat
 Severity: serious
 Justification: Policy 10.6
 
 Maintainer scripts should not create device files directly. They should
 call makedev instead. Refer to Policy Manual, section 10.6 for details.

The problem is that the call to mknod is not creating a device,
it is creating a fifo, which is not an operation created by makedev.

I'm not sure what the best fix, if any, is for this. When I asked
around a very long time ago, I was advised to just leave the call
to mknod inside the maintainer script.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]