Your message dated Tue, 10 May 2022 17:34:01 +0000 with message-id <[email protected]> and subject line Bug#660790: fixed in lsb 11.2~rc1 has caused the Debian Bug report #660790, regarding lsb-base: log_warning_msg does not respect leading spaces 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.) -- 660790: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660790 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: lsb-base Version: 3.2-28.1 Severity: normal File: /lib/lsb/init-functions Usertags: pca.it-init Hi there! openvpn's init script has the following: --8<---------------cut here---------------start------------->8--- 78 start) 79 log_daemon_msg "Starting $DESC" 80 81 # autostart VPNs 82 if test -z "$2" ; then 83 # check if automatic startup is disabled by AUTOSTART=none 84 if test "x$AUTOSTART" = "xnone" -o -z "$AUTOSTART" ; then 85 log_warning_msg " Autostart disabled." 86 exit 0 87 fi --8<---------------cut here---------------end--------------->8--- Here is the output: ===== root@gismo:/etc# service openvpn start Starting virtual private network daemon:Autostart disabled. ... (warning). root@gismo:/etc# ===== As you can see, the leading space is not respected. I think this is because log_warning_msg calls log_begin_msg, which actually uses `/bin/echo -n "$@"` instead of adding a leading space before $@, as in log_progress_msg. The latter is IMHO more correct, given that there is no *begin* message to be displayed. However, this breaks other init scripts like rsync: --8<---------------cut here---------------start------------->8--- 120 reload|force-reload) 121 log_warning_msg "Reloading rsync daemon: not needed, as the daemon" 122 log_warning_msg "re-reads the config file whenever a client connects." 123 ;; --8<---------------cut here---------------end--------------->8--- So I do not really how this should be solved :-( Thx, bye, Gismo / Luca -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lsb-base depends on: ii ncurses-bin 5.9-4 ii sed 4.2.1-9 lsb-base recommends no packages. lsb-base suggests no packages. -- no debconf information
pgp3Kfc5AlUsA.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: lsb Source-Version: 11.2~rc1 Done: Mark Hindley <[email protected]> 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. 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. Mark Hindley <[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: SHA256 Format: 1.8 Date: Tue, 10 May 2022 17:57:45 +0100 Source: lsb Architecture: source Version: 11.2~rc1 Distribution: experimental Urgency: medium Maintainer: Debian sysvinit maintainers <[email protected]> Changed-By: Mark Hindley <[email protected]> Closes: 660790 951651 962969 980566 991031 1003625 Changes: lsb (11.2~rc1) experimental; urgency=medium . [ Mark Hindley ] * Add myself to uploaders. * Remove Dmitry Bogatov from uploaders (Closes: #991031). * Update to Standards Version 4.6.0 (no changes). * Remove obsolete python2 support (Closes: #1003625). * d/control: add missing newline at end. * Ignore strings when sorting release versions. (Closes: #980566) * Suppress our own deprecation warning when testing compare_release(). * Catch exceptions from running apt-cache and warn but continue. (Closes: #951651) * lsb_release.1: remove reference to obsolete lsb(8). (Closes: #962969) . . [ Trek ] * Hardcode ANSI escapes to replace tput in logging functions. Thanks to Adam Borowski <[email protected]> * Fix the return value of vlog* functions when VERBOSE=no * Preserve FANCYTTY after log_use_fancy_output calls * Quote parameters when calling logging functions. Thanks to Bjarni Ingi Gislason <[email protected]> (Closes: #660790) * Optimize killproc using parameter expansions. Thanks to Carl Albing <[email protected]> Checksums-Sha1: a40ef37e86957aaae79240fdd10f5a0124c8df17 1776 lsb_11.2~rc1.dsc 55313bc1993ae4374fde9958b2056a8d629c830b 42792 lsb_11.2~rc1.tar.xz 596e4bed43066a85e548bfd01bae14590ebd8a26 7383 lsb_11.2~rc1_amd64.buildinfo Checksums-Sha256: 8802bfa090723433d0ec77bb9a0a6f07dfc3f63c40a5a1aabc441f1cf6233ccd 1776 lsb_11.2~rc1.dsc 45eb1046e5b4d6ad4becb48231452277a6a57133646751d490689888da9ba517 42792 lsb_11.2~rc1.tar.xz 5a7d05cb106b22a98c09cf8a76fb818af9f170c25c16b1ad8604e13457be9326 7383 lsb_11.2~rc1_amd64.buildinfo Files: 729994a89e67d0c198026361400ca1a4 1776 misc optional lsb_11.2~rc1.dsc 4c47849ab510a947de8c514b23137ba3 42792 misc optional lsb_11.2~rc1.tar.xz d3c6cc8e0ac4179fd5b20875982ae5dd 7383 misc optional lsb_11.2~rc1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEUGwVpCsK9aCoVCPu0opFvzKH1kkFAmJ6mykACgkQ0opFvzKH 1kksbQ//V8U9H1oVYIUNdyna8/90mm1n3/9UZPsQVxy1JIuy3EOk18d+xeMRiJ7x Y+kXBpGcBpC9HzEWPRbzFnwpyh3LRjyAmMmfUdh4e/MY8v9fCBriz1TvyYFWVFlW CwHR97HHm/4qjT519cA2WY7UCvSQsxF/aDcQNtyKSaVWluoQHmy33N7Cw39YQ1M0 8KGpEJKk017ngGcLN9O5YZMFhbusgqmQkPk+VUtkNMJy/3laUdb3C+1w8H8mveAn ePOtJolFuGB/uxYg7fQjqdm5qN4/2bfJx3pBL6xWaiTIH0Dix32M135PTaOKqlWy 0eGwsgVxulHkRQDTNo8vSOZMwVU/DWo4/n3ErLTlJmYWrpQMSYDknfVzIOKbQ1xm JLccI/HSz+6iC7oVommohyogMFBL4wQinLTk0eUnGtluLO5vkqoY5O+uuS8qqT9v 5CvY0tdphTfUnRNGoxqqf3ren7HD3k8sw9k6MV4SZNBBBug/qeUD3d240ctsRqLy HmowutnFH7WJUSYdnDR6SZTAuygi5ME0kbOXJjToQ1bcC7gU9K4m2hPgmYz6twam 3Ghd9hJGVaeDXmgs6KnpLV7sFOAOXD5uzuLshmkPWjPTi8JZt9Or/kCDKqb2UHHu V3zWr7atdF2oSMWfSoekqcJt0RwlwDtPdUjx7j1SZpbWzUDEii8= =W0A9 -----END PGP SIGNATURE-----
--- End Message ---

