[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#344928: lintian: warns instead of output error when postinst uses mknod



Package: lintian
Version: 1.23.14
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I used mknod in my postinst script and that's lintian output:

W: fuse-utils: mknod-in-maintainer-script postinst:21
N:
N:   Maintainer scripts should not create device files directly. They
N:   should call makedev instead.
N:   
N:   Refer to Policy Manual, section 10.6 for details.
N:

In mentioned section there is:

     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[1].   

So using mknod is a violation of policy and output should be probably
raised to error or at least say 'must' instead of 'should'.

regards
fEnIo

- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.4
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages lintian depends on:
ii  binutils             2.16.1cvs20051214-1 The GNU assembler, linker and bina
ii  diffstat             1.41-1              produces graph of changes introduc
ii  dpkg-dev             1.13.11             package building tools for Debian
ii  file                 4.15-2              Determines file type using "magic"
ii  gettext              0.14.5-2            GNU Internationalization utilities
ii  intltool-debian      0.34.1+20050828     Help i18n of RFC822 compliant conf
ii  libparse-debianchang 1.0-1               parse Debian changelogs and output
ii  man-db               2.4.3-3             The on-line manual pager
ii  perl [libdigest-md5- 5.8.7-10            Larry Wall's Practical Extraction 

lintian recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDsXpHhQui3hP+/EARAgMFAJ0YVqfpJ2QoifvpI4EXRO7XB7RfowCfcaRR
aPZ2kvTuJPCG36h591L6HXU=
=snPx
-----END PGP SIGNATURE-----



Reply to: