Bug#670144: fancy output sometimes broken
"Didier 'OdyX' Raboud" <[email protected]>
| Newsgroups | gmane.linux.debian.devel.lsb |
|---|---|
| Organization | Debian, the Universal OS |
| Message-ID | <4F9549E7.3010304__49974.2725318812$1335184136$gmane$org@debian.org> |
tags 670144 +help retitle 670144 fancy output sometimes broken by misbehaving initscripts thanks Le 23.04.2012 13:56, Michael Biebl a écrit : > the new "fancy" output is nice. I've noticed a few services though, > where it is broken, e.g. the udev or fsck init script. The output looks > like this: > [....] Running foo > (doing something) > done.] > > If you want to reproduce the issue, just run touch /forcefsck and > reboot. > > Cheers, > Michael Hi Michael, In most cases I encountered, this is due to init scripts not using the functions from /lib/lsb/init-functions (as documented in /usr/share/doc/lsb-base/README.Debian) properly. For example, no screen output is supposed to happen between the log_daemon_msg and log_end_msg calls. Same for log_action_begin_msg and log_action_end_msg. Now, the conceptual thing that could help would be the ability to set and unset terminal left margins, to avoid having the new lines start at column 0. I haven't yet found how it would be possible, hence tagging this bug as +help. For the rest, I don't think that fixing those glitches is something that can be done in lsb-base. Patches welcome though. Cheers, OdyX
signature.asc
(application/pgp-signature, 663 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) iQGcBAEBAgAGBQJPlUn0AAoJEIvPpx7KFjRVQ6AL/2PfbWO2QPsf0F/dNZa07Fs2 VXyxteRiQc6Lhtt6PPW6BizOc7jyrekcSHRhip5Fr7iMc/M2y6UJzMuHJFRaOR2f g0Cc6eNrSfIbzWTXQx9Iq/629MIK+x04ZYEPg2zeC7Gt1x+PBOjqXYY0vd6P+Xrb vaYN2fSAFxQqgy1cfR6Blqjiw+4wu/ZseBtGYd8nMRGJTAG0bO7p6i6c9A/df5qb YR3Yg5nORDByDk+BvbmN8jvLP5YvMFqalLTmg0do3Yd6VDpTznmHibXavUxa30VC M0nccGWkyP0aZ75x5CSdm9hW8iETiLTyACy3ahwhbKeDFi+9OGeVSeOyFqFbPeix WuAo6GUtBd18PQxsfrQ0kCyrPq6z2gWufY6eAT6SFIOI2JI/ojj/mluOERuN06Qb zjIsq62dEZ8fCDWRMRYTp6IlkXwSAURh08xS39d2lUBYlEe5EhxJIu2S0EWH3S2x 8d/mM95RzYxbRTsMHlmDA9LWSrdTZwoyR6cj1UdDGA== =0KIJ -----END PGP SIGNATURE-----