Package: twiki Version: 1:4.1.2-5 Severity: serious Justification: This script apparently runs an init script directly rather User: lintian-ma...@debian.org Usertags: maintainer-script-calls-init-script-directly
Refer to Debian Policy Manual section 9.3.3.2 (Running initscripts) for details. ,----[ 9.3.3.2 Running initscripts ] | The program invoke-rc.d is provided to make it easier for package maintainers to | properly invoke an initscript, obeying runlevel and other locally-defined | constraints that might limit a package's right to start, stop and otherwise | manage services. This program may be used by maintainers in their packages' | scripts. | | The package maintainer scripts must use invoke-rc.d to invoke the /etc/init.d/* | initscripts, instead of calling them directly. | | By default, invoke-rc.d will pass any action requests (start, stop, reload, | restart...) to the /etc/init.d script, filtering out requests to start or | restart a service out of its intended runlevels. | | Most packages will simply need to change: | | /etc/init.d/<package> | <action> | | in their postinst and prerm scripts to: | | if which invoke-rc.d >/dev/null 2>&1; then | invoke-rc.d package <action> | else | /etc/init.d/package <action> | fi | | A package should register its initscript services using update-rc.d before it | tries to invoke them using invoke-rc.d. Invocation of unregistered services may | fail. | | For more information about using invoke-rc.d, please consult its man page | invoke-rc.d(8). `---- manoj -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31.4-anzu-2 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages twiki depends on: ii apache2 2.2.14-1 Apache HTTP Server metapackage ii apache2-mpm-prefork [apache2 2.2.14-1 Apache HTTP Server - traditional n ii cdebconf [debconf-2.0] 0.145 Debian Configuration Management Sy ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy ii libalgorithm-diff-perl 1.19.02-1 a perl library for finding Longest ii libcgi-session-perl 4.41-1 persistent session data in CGI app ii libdigest-sha1-perl 2.12-1 NIST SHA-1 message digest algorith ii liberror-perl 0.17-1 Perl module for error/exception ha ii libhtml-parser-perl 3.62-1 collection of modules that parse H ii liblocale-maketext-lexicon-p 0.77-1 Lexicon-handling backends for "Loc pn libtext-diff-perl <none> (no description available) ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin ii perl [libmime-base64-perl] 5.10.1-5 Larry Wall's Practical Extraction ii perl-modules [libnet-perl] 5.10.1-5 Core Perl modules ii rcs 5.7-25 The GNU Revision Control System twiki recommends no packages. Versions of packages twiki suggests: pn libunicode-maputf8-perl <none> (no description available) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org