From 061bc5ccf2d5242664fdf1d22b8faa9419b01de9 Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Tue, 17 Apr 2012 11:43:58 +0200 Subject: [PATCH] lsb-base: Move information from NEWS.Debian to README.Debian. Signed-off-by: Didier Raboud --- debian/lsb-base.NEWS | 40 +++++------------------------------ debian/lsb-base.README.Debian | 13 +++++++++++- 2 files changed, 17 insertions(+), 36 deletions(-) diff --git a/debian/lsb-base.NEWS b/debian/lsb-base.NEWS index 4929bee..bc77d7d 100644 --- a/debian/lsb-base.NEWS +++ b/debian/lsb-base.NEWS @@ -1,6 +1,6 @@ -lsb (4.1+Debian0+fancy0) experimental; urgency=low +lsb (4.1+Debian0+) unstable; urgency=low - This version implements a new "fancy" output in the form of "[....] " + This version implements a new "Fancy output" in the form of "[....] " blocks prepended to the daemon status messages: Before: @@ -11,37 +11,7 @@ lsb (4.1+Debian0+fancy0) experimental; urgency=low This block will become either a green [ ok ], a yellow [warn] or a red [FAIL] depending on the daemon exit status. - == How do I disable this? == + The "Fancy output" can be disabled by setting the FANCYTTY variable to 0 + in the /etc/lsb-base-logging.sh configuration file. - This is currently implemented in /lib/lsb/init-functions as _pre and - _post functions. As such, they are overridable as function definitions - in the /etc/lsb-base-logging.sh configuration file; for example: - - log_daemon_msg_pre () { :; } - - It is also possible to completely disable the "Fancy output" by setting - the FANCYTTY variable to 0 in the same file. - - == Known bugs and plan for inclusion in unstable == - - * Daemons writing too much information on the screen (hence getting - their output spawned on multiple lines) won't get their [....] - replaced by [ ok ] as the replacement will happen on the last input - line. - * The above has the side-effect of hiding 7 characters of potentially - useful output. - * init.d scripts not using the /lib/lsb/init-functions provided - functions will (obviously) not get the fancy output. - - Feedback, ideas and help are welcome as bugs on the lsb-base package. - - Before including this change to unstable, the following changes will - most probably happen: - - * The implementation will move from _pre/_post functions to the - functions themselves. This is safe-guarded by the FANCYTTY global - variable anyway. - * The information from this NEWS file will get moved to README.Debian - (hence avoiding the gory details to stable-upgrading users). - - -- Didier Raboud Sat, 31 Mar 2012 18:49:23 +0200 + -- Didier Raboud Tue, 17 Apr 2012 11:30:05 +0200 diff --git a/debian/lsb-base.README.Debian b/debian/lsb-base.README.Debian index 1f8b358..ad73393 100644 --- a/debian/lsb-base.README.Debian +++ b/debian/lsb-base.README.Debian @@ -186,5 +186,16 @@ Each function receives all of the arguments sent to the parent function; the "pre" functions operate before any output, while the "post" functions operate after the output is produced. +FANCY OUTPUT, KNOWN BUGS + + * Daemons writing too much information on the screen (hence getting + their output spawned on multiple lines) won't get their [....] + replaced by [ ok ] as the replacement will happen on the last input + line. + * The above has the side-effect of hiding 7 characters of potentially + useful output. + * init.d scripts not using the /lib/lsb/init-functions provided + functions will (obviously) not get the fancy output. + -- Chris Lawrence , Sat, 18 Sep 2010 17:09:57 -0500 - -- Didier Raboud Sat, 31 Mar 2012 17:03:10 +0200 + -- Didier Raboud Tue, 17 Apr 2012 11:42:28 +0200 -- 2.30.2