Comment 63 for bug 328089

Revision history for this message
serkanhamarat (serkan-viosis) wrote : Re: [Jaunty] splashy 0.3.13-3ubuntu1 fresh install conflicts with lsb-base

If outher maintainer people sometimes uses lsb hooks, lsb-base should offer a directory like "/etc/lsb-base-logging.d/" or something. So people can put files in it.

/lib/lsb/init-functions can arrange like that:

=================================================================
--- /lib/lsb/init-functions 2008-08-19 00:32:36.000000000 +0300
+++ init-functions 2009-12-31 00:02:44.000000000 +0200
@@ -366,4 +366,10 @@ log_action_end_msg_pre () { :; }
 log_action_end_msg_post () { :; }

 FANCYTTY=
-[ -e /etc/lsb-base-logging.sh ] && . /etc/lsb-base-logging.sh || true
+if [ -d /etc/lsb-base-logging.d/ ]; then
+ for PERFILE in $(ls -1 /etc/lsb-base-logging.d/); do
+ . /etc/lsb-base-logging.d/$PERFILE
+ done
+else
+ true
+fi
=================================================================