Your message dated Tue, 15 Jul 2008 23:03:27 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#490408: fixed in lsb 3.2-14
has caused the Debian Bug report #490408,
regarding lsb-base: Add hooks into some logging functions
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.)


-- 
490408: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490408
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: lsb-base
Version: 3.2-12
Severity: wishlist
Tags: patch


It will usefull to add some hooks into functions in init-functions. I can
override functions in this file from /etc/lsb-base-logging.sh, but I can't use
original functions from init-functions and add only some functionality. I must
rewrite whole functions - for simple ones it is not problem.
I propose adding pre and post hook functions. Everyone, who wants to enhance
functionality can change these hooks (e.g. splashy) and output will be same as
with original scripts.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lsb-base depends on:
ii  ncurses-bin               5.6+20080308-1 Terminal-related programs and man 
ii  sed                       4.1.5-6        The GNU sed stream editor

lsb-base recommends no packages.

-- no debconf information

-- 
Jezz
mail:   [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
--- /lib/lsb/init-functions	2008-05-01 17:07:37.000000000 +0200
+++ init-functions	2008-07-12 09:42:56.042988681 +0200
@@ -223,6 +223,7 @@
     if [ -z "${1:-}" ]; then
         return 1
     fi
+    log_daemon_msg_pre "$@"
 
     if [ -z "${2:-}" ]; then
         echo -n "$1:"
@@ -230,6 +231,7 @@
     fi
     
     echo -n "$1: $2"
+    log_daemon_msg_post "$@"
 }
 
 # #319739
@@ -261,6 +263,7 @@
     if [ -z "${1:-}" ]; then
         return 1
     fi
+    log_end_msg_pre "$@"
 
     # Only do the fancy stuff if we have an appropriate terminal
     # and if /usr is already mounted
@@ -279,6 +282,7 @@
             echo " failed!"
         fi
     fi
+    log_end_msg_post "$@"
     return $1
 }
 
@@ -295,6 +299,7 @@
 }
 
 log_action_end_msg () {
+    log_action_end_msg_pre "$@"
     if [ -z "${2:-}" ]; then
         end="."
     else
@@ -312,7 +317,16 @@
             echo "failed${end}"
         fi
     fi
+    log_action_end_msg_post "$@"
 }
 
+# Hooks for /etc/lsb-base-logging.sh
+log_daemon_msg_pre () { :; }
+log_daemon_msg_post () { :; }
+log_end_msg_pre () { :; }
+log_end_msg_post () { :; }
+log_action_end_msg_post () { :; }
+log_action_end_msg_post () { :; }
+
 FANCYTTY=
 [ -e /etc/lsb-base-logging.sh ] && . /etc/lsb-base-logging.sh || true

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: lsb
Source-Version: 3.2-14

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

lsb-base_3.2-14_all.deb
  to pool/main/l/lsb/lsb-base_3.2-14_all.deb
lsb-core_3.2-14_amd64.deb
  to pool/main/l/lsb/lsb-core_3.2-14_amd64.deb
lsb-cxx_3.2-14_amd64.deb
  to pool/main/l/lsb/lsb-cxx_3.2-14_amd64.deb
lsb-desktop_3.2-14_amd64.deb
  to pool/main/l/lsb/lsb-desktop_3.2-14_amd64.deb
lsb-graphics_3.2-14_amd64.deb
  to pool/main/l/lsb/lsb-graphics_3.2-14_amd64.deb
lsb-languages_3.2-14_amd64.deb
  to pool/main/l/lsb/lsb-languages_3.2-14_amd64.deb
lsb-multimedia_3.2-14_amd64.deb
  to pool/main/l/lsb/lsb-multimedia_3.2-14_amd64.deb
lsb-printing_3.2-14_amd64.deb
  to pool/main/l/lsb/lsb-printing_3.2-14_amd64.deb
lsb-qt4_3.2-14_amd64.deb
  to pool/main/l/lsb/lsb-qt4_3.2-14_amd64.deb
lsb-release_3.2-14_all.deb
  to pool/main/l/lsb/lsb-release_3.2-14_all.deb
lsb_3.2-14.dsc
  to pool/main/l/lsb/lsb_3.2-14.dsc
lsb_3.2-14.tar.gz
  to pool/main/l/lsb/lsb_3.2-14.tar.gz
lsb_3.2-14_all.deb
  to pool/main/l/lsb/lsb_3.2-14_all.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.
Chris Lawrence <[EMAIL PROTECTED]> (supplier of updated lsb 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.8
Date: Mon, 14 Jul 2008 11:30:52 -0500
Source: lsb
Binary: lsb-core lsb-graphics lsb-cxx lsb-desktop lsb-qt4 lsb-languages 
lsb-multimedia lsb-printing lsb lsb-base lsb-release
Architecture: source all amd64
Version: 3.2-14
Distribution: unstable
Urgency: low
Maintainer: Chris Lawrence <[EMAIL PROTECTED]>
Changed-By: Chris Lawrence <[EMAIL PROTECTED]>
Description: 
 lsb        - Linux Standard Base 3.2 support package
 lsb-base   - Linux Standard Base 3.2 init script functionality
 lsb-core   - Linux Standard Base 3.2 core support package
 lsb-cxx    - Linux Standard Base 3.2 C++ support package
 lsb-desktop - Linux Standard Base 3.2 Desktop support package
 lsb-graphics - Linux Standard Base 3.2 graphics support package
 lsb-languages - Linux Standard Base 3.2 Runtime Languages package
 lsb-multimedia - Linux Standard Base 3.2 Multimedia package
 lsb-printing - Linux Standard Base 3.2 Printing package
 lsb-qt4    - Linux Standard Base 3.2 Qt4 support package
 lsb-release - Linux Standard Base version reporting utility
Closes: 490095 490408
Changes: 
 lsb (3.2-14) unstable; urgency=low
 .
   * Update pidofproc(), status_of_proc() to sync with Ubuntu.
     Thanks to Dustin Kirkland.  (Closes: #490095)
   * Add hooks to init-functions, thanks to Miroslav Jezbera.
     These are documented in README.Debian in lsb-base.
     (Closes: #490408)
Checksums-Sha1: 
 f4609197906e5a6a36cf74e37b11788d52ba53e0 966 lsb_3.2-14.dsc
 d31f50433598a9176d24806c214656bc403fd9b3 51396 lsb_3.2-14.tar.gz
 4ad36731221fdc5c774b926042e514bbd311391d 13866 lsb_3.2-14_all.deb
 9f9df47474dab294d72e8e6d324af27a4b477451 18994 lsb-base_3.2-14_all.deb
 aa95cf525a1c15ed73c5126b0e9488d9da268907 19266 lsb-release_3.2-14_all.deb
 1c7ea5cf6d9ca1a235b746703c13e334e3afbdfd 37078 lsb-core_3.2-14_amd64.deb
 587d171d460fa0ab750ca596c4ee858275e64987 13904 lsb-graphics_3.2-14_amd64.deb
 aac7c52f3df5facd47ed3bfdbc4477e5009b4af3 13866 lsb-cxx_3.2-14_amd64.deb
 974fe6b40e1d2e522564abd135851c8fc7f1e675 13996 lsb-desktop_3.2-14_amd64.deb
 b0383e52a953ba8d66ce011232a8bb3b393e0d7a 13932 lsb-qt4_3.2-14_amd64.deb
 b9505501ec1c72bb5e160eb98b6f566cd5c6bc77 13890 lsb-languages_3.2-14_amd64.deb
 7d832af06ccd4aad436f3d1f27dccf9805a8416d 13876 lsb-multimedia_3.2-14_amd64.deb
 03c799b2f0b7fb6208f51fa58fa5c8b36a88cb95 13900 lsb-printing_3.2-14_amd64.deb
Checksums-Sha256: 
 f5d32b17e2f3e22c74b5a41fcc574128e9ca0384dcdbea0a10f19b43786e05eb 966 
lsb_3.2-14.dsc
 8f758a876ac9d1a06a3a22b0ce385d2d7bd6d6415cb2a46aa8079060447cb135 51396 
lsb_3.2-14.tar.gz
 f10cf14da24743a63274c1a9b2f5e4028dedb39738900dbeadd532e86f43d127 13866 
lsb_3.2-14_all.deb
 4462cb91106f4d04b7af2e6c0393c486ca0e42c870b1936340d4235cd270db3f 18994 
lsb-base_3.2-14_all.deb
 662ff3224440e6a506d734717d366112c9a77931bf450797e04a6f62f9f69c90 19266 
lsb-release_3.2-14_all.deb
 c9c5517dd58685eb2946a7278c8451b1df176244cdecf7a99ce96809758fa183 37078 
lsb-core_3.2-14_amd64.deb
 bdcf4d596badb4ac156404f81b07d935aca55386c2ace56202a73d294543f2d6 13904 
lsb-graphics_3.2-14_amd64.deb
 f2dc23bb2863532933f67d67fd0951d7cb29e1f92b0ac73901af4a50b2d4c9a9 13866 
lsb-cxx_3.2-14_amd64.deb
 8db98674e85e5038acfa0f95213f48a2fb7c9c84ba7e28cb760164c351bd9b8e 13996 
lsb-desktop_3.2-14_amd64.deb
 765d597aef5b54e4a96d6b00a12b24e8c845390f146a20f2bf445a987cc1adeb 13932 
lsb-qt4_3.2-14_amd64.deb
 d63a8500c18bbc6da52f25f243daac0fed47fd9fc490ad319c2af1072efa14ce 13890 
lsb-languages_3.2-14_amd64.deb
 b17acde1b21e31f7e79801e3f2b1c2e31199f2783632dba30923f2f0bf25a52d 13876 
lsb-multimedia_3.2-14_amd64.deb
 d42fdb80b00d7204c61ac5e7ae142e1646af2c2a01084432bc87b8e2c9d47b18 13900 
lsb-printing_3.2-14_amd64.deb
Files: 
 833425b6984c280afe3fa75df3b109fa 966 misc extra lsb_3.2-14.dsc
 a7d5548217a56e26fc8007819167d7bf 51396 misc extra lsb_3.2-14.tar.gz
 e1f2fbf1ccf197ff314d7589e99ebd06 13866 misc extra lsb_3.2-14_all.deb
 11bb2c8d50bc7720ad7c4f2203426e9f 18994 misc required lsb-base_3.2-14_all.deb
 3c7a89843a0bdf6415e8d4166d31f878 19266 misc extra lsb-release_3.2-14_all.deb
 413546030ae85c43e12a1b92ee0a02e0 37078 misc extra lsb-core_3.2-14_amd64.deb
 e16862111bcc60e79714bb72dde2262a 13904 misc extra lsb-graphics_3.2-14_amd64.deb
 b95a2dcac1963feeef3d50857dfb971d 13866 misc extra lsb-cxx_3.2-14_amd64.deb
 c889780818bf0945324095954817ce1e 13996 misc extra lsb-desktop_3.2-14_amd64.deb
 9e6a60eba4bba21c6004b46552770c95 13932 misc extra lsb-qt4_3.2-14_amd64.deb
 c68ac445f3a3bb24eccad7d9606266cb 13890 misc extra 
lsb-languages_3.2-14_amd64.deb
 a84b2bc28a326fdf093c772d5470bef9 13876 misc extra 
lsb-multimedia_3.2-14_amd64.deb
 566b2c1f893cffd7673f8e2b51c5c8b4 13900 misc extra lsb-printing_3.2-14_amd64.deb

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

iEYEARECAAYFAkh7gJ4ACgkQ2wQKE6PXubwdeACeKSQ0Nxq/ajCJJir1ujzq+eHv
aIgAoL6geURU4VxJcS7Zu6SGlu52q9Kw
=cGKO
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to