Help!

Bug#553134: nws: maintainer-script-calls-init-script-direc..

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs RC RSS
Next:  Bug#553131: libswt3.4-gtk-jni: missing-dependency..  
Author Message
Manoj Srivastava
External


Since: Dec 07, 2004
Posts: 761



PostPosted: Thu Oct 29, 2009 6:10 am    Post subject: Bug#553134: nws: maintainer-script-calls-init-script-directly preinst:13 than using invoke-rc.d. The use of invoke-rc.d to invoke the /etc/init.d/* initscripts instead of calling them directly is required. Maintainer scripts may call the init script direc
Archived from groups: linux>debian>bugs>rc (more info?)

Package: nws
Version: 2.13-6.1
Severity: serious
Justification: This script apparently runs an init script directly rather
User: lintian-maint.TakeThisOut@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(Cool.
`----

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-Cool (ignored: LC_ALL set to en_US.UTF-Cool
Shell: /bin/sh linked to /bin/dash

Versions of packages nws depends on:
ii adduser 3.111 add and remove users and groups
ii cdebconf [debconf-2.0] 0.145 Debian Configuration Management Sy
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii libc6 2.10.1-2 GNU C Library: Shared libraries
ii procps 1:3.2.8-2 /proc file system utilities
ii ucf 3.0024 Update Configuration File: preserv

nws recommends no packages.

Versions of packages nws suggests:
ii logrotate 3.7.8-4 Log rotation utility



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs RC All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum