Bug#675162: lsb-base: mysql doesn't start
Didier Raboud <[email protected]>
| Newsgroups | gmane.linux.debian.devel.lsb |
|---|---|
| Organization | Debian - The Universal OS |
| Message-ID | <[email protected]> |
Le mercredi, 30 mai 2012 13.20:13, Didier 'OdyX' Raboud a écrit : > this is the newborn incarnation of the #390085 fixed in lsb-base 3.1-17. > I can confirm the reported behaviour and will apply the attached patch > to the next upload of lsb, hence hereby tagging +patch and +pending. By > the way, this bug is of serious severity as it breaks unrelated packages. I plan to fix it differently now, thanks to more trustful IRC feedback; new patch (that is a re-opening of 673207 and a revert of the sourcing of FANCYTTY from /etc/default/rcS ) is attached. Cheers, OdyX
0001-Revert-Allow-FANCYTTY-to-be-sourced-from-etc-default.patch
(text/x-patch, 2.1 KB)
From 7fc087dfd985e7e6e12659637b268129f60605de Mon Sep 17 00:00:00 2001 From: Didier Raboud <[email protected]> Date: Wed, 30 May 2012 16:01:53 +0200 Subject: [PATCH] Revert "Allow FANCYTTY to be sourced from /etc/default/rcS." This reverts commit ce9dcceef7745798cf92b2aac03164818b79ce63. This avoids one ugly `set +u` in the $() subshell and avoids the hijack of /etc/default/rcS. Reopens: #673207 Closes: #675162 Reported-by: Kamen Naydenov <[email protected]> Closes: #675197 Reported-by: Steve Cotton <[email protected]> Thanks-To: Julien Cristau <[email protected]> --- debian/lsb-base.NEWS | 2 +- debian/lsb-base.README.Debian | 3 ++- init-functions | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/lsb-base.NEWS b/debian/lsb-base.NEWS index 40c30fe..476ddc6 100644 --- a/debian/lsb-base.NEWS +++ b/debian/lsb-base.NEWS @@ -12,6 +12,6 @@ lsb (4.1+Debian1) unstable; urgency=low or a red [FAIL] depending on the daemon exit status. The "Fancy output" can be disabled by setting the FANCYTTY variable to 0 - in the /etc/default/rcS configuration file. + in the /etc/lsb-base-logging.sh configuration file. -- Didier Raboud <[email protected]> Thu, 19 Apr 2012 11:25:01 +0200 diff --git a/debian/lsb-base.README.Debian b/debian/lsb-base.README.Debian index 2a3637c..3f86d93 100644 --- a/debian/lsb-base.README.Debian +++ b/debian/lsb-base.README.Debian @@ -193,7 +193,8 @@ Bourne-style shell permitted by Debian policy (i.e. not just bash). - FANCY OUTPUT -"Fancy output" can be overridden by setting FANCYTTY=0 in /etc/default/rcS. +"Fancy output" can be overridden by setting FANCYTTY=0 in +/etc/lsb-base-logging.sh . - OUTPUT FUNCTIONS diff --git a/init-functions b/init-functions index d8a7e98..0bfea9e 100644 --- a/init-functions +++ b/init-functions @@ -425,5 +425,5 @@ for hook in $(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/nul [ -r $hook ] && . $hook || true done -FANCYTTY=$([ -e /etc/default/rcS ] && . /etc/default/rcS && echo $FANCYTTY) +FANCYTTY= [ -e /etc/lsb-base-logging.sh ] && . /etc/lsb-base-logging.sh || true -- 1.7.2.5
signature.asc
(application/pgp-signature, 665 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQGcBAABCAAGBQJPxlvcAAoJEIvPpx7KFjRVFJoL/2j7FvsA+b+Qv0vpM5iPb6gT 0NvXw6naYdT27i1tZqku6INjn0q2ClMRNyAuSYImd50C1ejddvpMlp9AuYBfV9mU qzI0zsNa38Tz+VtetKXE6FA9wdMACWauGDIzmt/sAhMIWe6aji+/33dJ72WL4K79 4UpQAm7voKpINqVolyKxe8t1QE8w/06ryC4EHh+0jb6hUWC+2f9Yz6xUy/LCy3Ec 7ZjHI5pei9M9MhxKnRbEvisin0rskyGFgvfanOmhYcehegQNOkkGOj/c1rfnVSE5 qR0T/GkMgPJHJdGZV9v3JNp4sHKpxhn9vICCqAw2Hu6bHxwm5E9dX22P8/+0RSal 0XplGORrAEWJ/IyFDsyDHfnq5hl7/B/BzLzVR6cqmBeV6UnJls8xqOwKgyY9vrWT Iaa5ye67Oa+U1oGP323YDKP9fexZRG8KFxHLcNEbp5z3erseGTUzX0QBNqKJzT53 BwyuI9929x9MlgQe8qNaS/5uTHVMn1xFw3m0KxOLcA== =htYM -----END PGP SIGNATURE-----