Your message dated Sat, 21 Apr 2012 00:52:18 +0100
with message-id <[email protected]>
and subject line Close old and unfixable sysvinit bugs
has caused the Debian Bug report #145689,
regarding Please allow crash dumps stored in swap to be saved
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
145689: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=145689
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sysvinit
Version: 2.84-2
Severity: wishlist

I'm currently packaging LKCD (kernel crash dump), which will require changes
to the current bootup process to work correctly.

The basic issue is that the default mode of operation is to save crash dumps
into swap space, and get it saved onto the filesystem on next boot.
This means, in this case swap must not be activated before a dump is saved,
or it is lost.

Currently, calls to swapon are inside checkroot and mountall scripts.  I
think they should be split out of those scripts.  At least for mountall,
which would then give the oportunity to save the crash dump between mountall
and swapon.

For checkroot, what to do is not so clear.  We could just add more
package-specific code to prevent swap activation, as is done for md volumes,
but that's not much flexible, and indeed puts package-specific things into
sysvinit.
Something I thought about would be to allow packages to add hooks that would
help to decide whether swap should be activated or not.  Maybe using some
sort of /etc/rcS.d/earlyswapon.d/, in which packages like mdutils and
lkcdutils would put shell snippets, which would be sourced by checkroot or
earlyswapon script, and which would set doswap=no according to their
knowledge.

Miquel, what do you think ?
-- 
Yann Dirson <[email protected]>                 http://www.alcove.com/
Technical support manager                Responsable de l'assistance technique
Senior Free-Software Consultant          Consultant senior en Logiciels Libres
Debian developer ([email protected])                        Développeur Debian


--- End Message ---
--- Begin Message ---
This bug is being closed as part of a cleanup of the old bug
reports in the sysvinit package, in an attempt to make it easier
to address the bug reports which actually are fixable.  Some
reasons:

- Not a bug and/or it's a patch which will not be applied
- It will not be fixed, ever for various reasons
- Problem is not fixable in sysvinit or not our responsibility
- A better solution has become available in the interim
- No activity or submitter response in over a decade or more


Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.


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

Reply via email to