Your message dated Sun, 30 Dec 2007 09:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#382410: fixed in sysvinit 2.86.ds1-46
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: sysv-rc
Version: 2.86.ds1-1

I had to read the init.d/rc script to make sure that
Knn* are _not_ called in reversed sort order. In facts,
the docs don't say it. Giving a single NN argument should
be deprecated. More misunderstandings below...

Related bugs: 268713, 288098
The following also applies to version 2.86.ds1-2, AFAICS.


Suggestions:

1) advertise update-rc.d
Add a paragraph in /etc/init.d/README saying something like

  Use the update-rc.d command to create symbolic links
  in the /etc/rc?.d as appropriate. See that man page
  for more details.

2) encourage setting the stop number correctly
In the man page I would replace

  this can be overridden by supplying one or two NN arguments

with

  this should be overridden if there are dependencies. For
  example if daemon B depends on A, then A must be started
  before B and B must be killed before A. You accomplish
  this by supplying two NN arguments. In general, core daemons
  should start early and be killed late, whilst applications
  can start late and be killed early. See EXAMPLES below.

  The first NN argument supplies the start sequence number and
  the second NN argument supplies the kill sequence number.
  Kill scripts are called first, passing a stop argument. Then
  start scripts are called passing a start argument. In either
  case, calls happen in ascending sequence number order.

  Supplying a single NN argument will use the same number for
  both start and kill links. This is supported for backward
  compatibility but is discouraged, as it may lead to inconsistent
  settings. As a rule of thumb, if you increase the start sequence
  number you should also decrease the stop sequence number, and
  vice-versa.

And then put more examples, e.g.

  Insert links at default runlevels when B requires A
     update-rc.d script_for_A defaults 80 20
     update-rc.d script_for_B defaults 90 10

  Insert a link to a service that (presumably) will not be
  needed by any other daemon
     update-rc.d top_level_app defaults 98 02

  Insert links for a script that requires services that
  start/stop at sequence number 20
     update-rc.d script_depends_on_svc20 defaults 21 19


Giving a single argument should be deprecated:

Let two independent daemons A and B configured in that way,
say A starts/stops at sequence number 20 and B at sequence
number 40. Then consider a service C that depends on A and
provides services necessary for B. (E.g. B can be configured
to do authentication using C.) Then C may start at 30, after
A but before B. There is no valid sequence number to stop C.
In facts, the stopping order should be kill-B, kill-C, kill-A,
which is not possible because A is killed before B.

Of course, such deadlocks may happen also letting the default 20,
but then at least it is clear that the problem hasn't been put. I
see no circumstance in which supplying `40' to the configuration
of B yields a benefit. What am I missing?


More misunderstandings:

- I have rc0.d/K21fam and rc3.d/S21fam. They used to be both at 20
  (see bug 280617.) What issue has been solved with that move?

- If anyone is registered there, please edit
  http://wiki.linuxquestions.org/wiki/Update-rc.d
  it says so:

    Yes, you can use the arguments start and stop, followed by NN
    (where NN are the desired runlevels) to specify which runlevels
    the script will start and stop in.




--- End Message ---
--- Begin Message ---
Source: sysvinit
Source-Version: 2.86.ds1-46

We believe that the bug you reported is fixed in the latest version of
sysvinit, which is due to be installed in the Debian FTP archive:

initscripts_2.86.ds1-46_i386.deb
  to pool/main/s/sysvinit/initscripts_2.86.ds1-46_i386.deb
sysv-rc_2.86.ds1-46_all.deb
  to pool/main/s/sysvinit/sysv-rc_2.86.ds1-46_all.deb
sysvinit-utils_2.86.ds1-46_i386.deb
  to pool/main/s/sysvinit/sysvinit-utils_2.86.ds1-46_i386.deb
sysvinit_2.86.ds1-46.diff.gz
  to pool/main/s/sysvinit/sysvinit_2.86.ds1-46.diff.gz
sysvinit_2.86.ds1-46.dsc
  to pool/main/s/sysvinit/sysvinit_2.86.ds1-46.dsc
sysvinit_2.86.ds1-46_i386.deb
  to pool/main/s/sysvinit/sysvinit_2.86.ds1-46_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <[EMAIL PROTECTED]> (supplier of updated sysvinit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


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

Format: 1.7
Date: Sun, 30 Dec 2007 10:32:52 +0100
Source: sysvinit
Binary: sysv-rc sysvinit-utils sysvinit initscripts
Architecture: source i386 all
Version: 2.86.ds1-46
Distribution: unstable
Urgency: low
Maintainer: Debian sysvinit maintainers 
<[email protected]>
Changed-By: Petter Reinholdtsen <[EMAIL PROTECTED]>
Description: 
 initscripts - Scripts for initializing and shutting down the system
 sysv-rc    - System-V-like runlevel change mechanism
 sysvinit   - System-V-like init utilities
 sysvinit-utils - System-V-like utilities
Closes: 268713 382410 386959 388525 390404 406393 407211 416223 418596 419195 
423095 426071 426224 428823 430814 431224 432511 432511 432750 433119 433359 
433378 433386 434177 450543 452384 453042 454468 457544 457847
Changes: 
 sysvinit (2.86.ds1-46) unstable; urgency=low
 .
   * Move from experimental to unstable.
   * Remove debug code from init.d/mountoverflowtmp that was included
     by mistake.
   * Reduce output from init.d/mountoverflowtmp when VERBOSE!=yes.
   * Add $all as a dependency for init.d/single, to make sure it is
     started last in runlevel 1.
   * Change runlevel setting in LSB header for init.d/rmnologin and
     init.d/stop-bootlogd to not start in runlevel 1 (single user).
     This reflect the current and correct setting specified in the
     postinst.
   * Remove redundant $local_fs dependency from init.d/bootmisc.sh,
     init.d/rc.local, init.d/rmnologin and init.d/skeleton
   * Move /lib/init/bootclean to /lib/init/bootclean.sh and source it
     instead of running it.
 .
 sysvinit (2.86.ds1-45) experimental; urgency=low
 .
   * Replace log_daemon_msg() in init.d/rc with log_action_msg() to
     improve visual layout when parallel booting is enabled.
   * Avoid using startpar for rcS.d/.  It does not work properly before
     ptys are available.  Related to bug #457896.
   * Correct init.d/rc progress bar calculations for the startpar
     option, counting each script that is started in parallel too.
   * Patch startpar to not print exit codes for each subprocess, to
     reduce the noise during boot.
   * Remove usplash progress bar support from initscripts and use the
     API hook file provided by usplash version 0.5.8-2 instead.  Add
     conflict on earlier versions of usplash.
 .
 sysvinit (2.86.ds1-44) experimental; urgency=low
 .
   * Add debian/watch file pointing to ftp.cistron.nl.
   * Change init.d/mountnfs.sh dependencies to list nfs-common in
     should-start (Closes: #433359).
   * Change init.d/umountnfs.sh dependencies to list nfs-common in
     should-start too.
   * Mount a 1 MiB tmpfs on /tmp if /tmp is otherwise less than
     1 MiB to make sure one can still log in when /tmp/ is too
     full (Closes: #430814).  Based on patch from Ian Jackson and Ubuntu.
   * Rewrote ifup.d/mountnfs to wait for all 'auto' interfaces to be
     initialized before trying to mount network file systems (Closes:
     #386959, #390404, #418596, #419195, #426071, #428823, #432511,
     #432511, #432750, #433119, #434177).  Based on patch from Phil
     Snowdon.
 .
 sysvinit (2.86.ds1-43) experimental; urgency=low
 .
   * Fix typo in /etc/network/if-up.d/mountnfs fstab option parsing used to
     detect kerberos v5. (Closes: #416223)
   * Update sysv-rc documentation based on text and suggestions
     from Alessandro Vesely (Closes: #382410).
   * Modify rules to install /lib/init/bootclean with the execute flag
     set (Closes: 457847).
 .
 sysvinit (2.86.ds1-42) experimental; urgency=low
 .
   * Change XS-Vcs-Svn to Vcs-Svn as the control flags are official now.
   * Add Vcs-Browser flag in debian/control, documenting the browsable source.
   * Change how init.d/rc call scripts, to make sure sourced scripts
     get the correct argument.
   * Reduce redundant code in init.d/rc, to make it easier to enable
     sourcing of *.sh scripts.  It is still not possible to source
     scripts, as some of them use exit and terminate the boot.  This is
     related to bug #339955.
 .
 sysvinit (2.86.ds1-41) experimental; urgency=low
 .
   * Update standards-version from 3.7.2 to 3.7.3.  No change needed.
   * Remove empty /lib/ directory from the sysvinit and sysvinit-utils
     packages.
   * Remove the empty /usr/share/man/man5/ from the sysv-rc package.
   * Remove the registration of init.d/modutils from
     initscripts/postinst, as the package is removed from Debian.
 .
 sysvinit (2.86.ds1-40) experimental; urgency=low
 .
   [ Petter Reinholdtsen ]
   * Rewrite libata shutdown handling to use patch from
     Werner Fink at SuSe to handle each disk individually and
     automatically instead of guessing in the init.d script how
     to handle them collectively (Closes: #426224).  This removes
     the HDDOWN variable from /etc/default/halt.
   * Improve usage information in update-rc.d by using the same
     notation as the one used in the manual page (Closes: #268713)
   * Implement noswap kernel boot option to stop automatic
     swap activation at boot time (Closes: #388525).  Based on patch
     from Michael Prokop.
   * Rewrite init.d/rc to use shell features instead of calling sed
     (Closes: #406393).  Patch from Ivan Baldo.
   * Fix typo in update-rc.d example code (Closes: #433378).
   * Fix minor typo in rc*.d/README files (Closes: #452384).
   * Make sure init.d/rc do not complain because the new progress bar
     API is unavailable (Closes: #457544).
   * New patch 26_last_ipv6 from Fedora to recognize more IPv6
     addresses.
   * Extend the 68_init_quiet patch based on patch from Fedora to also
     suppress the "Switching to runlevel" message.  This patch is
     currently disabled because the 'quiet' flag is removed by the
     kernel when init is called.
   * New patch 69_init_waiting from Fedora to make sure the init
     waiting status is preserved across re-exec.
   * New patch 41_utmp_64bit from Fedora to avoid writing past the
     utmp.ut_tv struct on 64 bit architectures. (Closes: #450543)
   * New patch 64_init_init_reexec_env from Fedora to fix typo.  Now
     passes environment on to the new process when re-exec is used.
 .
 sysvinit (2.86.ds1-39) experimental; urgency=low
 .
   [ Petter Reinholdtsen ]
   * Upload to experimental to get more feedback from testers.
   * Change checkfs.sh dependency info, make modutils an optional
     dependency as it is no longer installed by default.
   * Move /etc/init.d/bootclean to /lib/init/bootclean, as it is not an
     init.d script but a library.
   * Acknowledge NMU. (Closes: #433386)
   * Make /lib/init/vars.sh usable when 'set -e' is in effect.  Patch
     from Ubuntu.
   * Rename 20_pidof.dpatch to 80_killall_pidof.dpatch, to group the
     killall5 patches together.
   * New patch 82_killall_exclude_pids.dpatch adding new option -o
     to killall5, to omit killing the pid given on the command line.
     Based on patch from Ubuntu. (Closes: #453042)
   * Use new killall5 -o option in init.d/sendsigs, reading pids to
     omit from /var/run/sendsigs.omit.  This make it possible to list
     pids there if the process is required to umount the file systems
     during shutdown.  Make initscripts depend on sysvinit-utils
     (>= 2.86.ds1-39) to make sure killall5 support the -o option.
     Based on patch from Ubuntu.
   * Stop progress bar on ltsp-client-core too.  The script was renamed
     in recent ltsp versions.  Based on patch from Ubuntu.
   * Add linux-gnulp to debian/deps-mount, to get the correct behaviour
     with regard to initscripts dependencies on lpia.  Patch from Adam
     Conrad in Ubuntu.
   * Add splash screen / progress bar API to initscripts in
     /lib/init/splash-functions-base, overridable by the splash
     implementations in /lib/init/splash-functions.  Based on patch
     from David Härdeman. (Closes: #423095)  Make initscripts conflict
     with usplash (<< 0.5) to make sure a version with PULSATE support
     is used.
   * Rewrite init.d/rc progress bar support to use new API.  Move
     usplash calls to separate file splash-functions-usplash.  This
     file should be moved to the usplash package. Based on patch from
     David Härdeman.
   * Do not mount gfs2 as a local file system.  It is a network file system.
     Patch from  Guido Guenther (Closes: #454468).
   * Modify update-rc.d to refuse to install init.d scripts with illegal
     characters in the names.  Only accept [a-zA-Z0-9+.-] to match the
     limits on package names.  Correct handling of init.d scripts with
     + in their name (Closes: #431224).
 .
   [ Henrique de Moraes Holschuh ]
   * libata shutdown handling fixes:
     Check http://linux-ata.org/shutdown.html for information
     * init.d/halt: do not issue -h to halt(8) when the kernel supports
       auto-shutdown
     * init.d/halt, default/halt: add HDDOWN option to override initscript
       halt -h logic
   * Add halt(5) manpage, updated for HDDOWN. Thanks to Casper Gielen for
     the manpage. (Closes: #407211)
Files: 
 03396a1de224da3130b001c7499070e6 1037 admin required sysvinit_2.86.ds1-46.dsc
 98de971fe372de9565573ba43e2d200f 144876 admin required 
sysvinit_2.86.ds1-46.diff.gz
 8f55898df9abcade5cd3d67c81a4561c 108262 admin required 
sysvinit_2.86.ds1-46_i386.deb
 cadb869a2107a6026f9e5f8909b1febc 67320 admin required 
sysvinit-utils_2.86.ds1-46_i386.deb
 44b1c81fd85ea9fcf0e662b8d31bab07 63540 admin required 
initscripts_2.86.ds1-46_i386.deb
 3897385f9e877665fa1f895b61518203 58692 admin required 
sysv-rc_2.86.ds1-46_all.deb

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

iD8DBQFHd2ZM20zMSyow1ykRAsNvAKCtYtkl81tFqxbBQOuPD9jCrgOoegCg4jpC
6aod02+6J9vCZPkVeTYVF78=
=Kgtc
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

Reply via email to