Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-67793

`log_progress_msg` in init.d does not print message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 5.0.9
    • 4.4.18, 5.0.14, 6.0.3, 6.2.0-rc0
    • Shell
    • Fully Compatible
    • ALL
    • v6.0, v5.0, v4.4
    • Hide
      • install WSL in windows 10
      • install Ubuntu 20.04.4 LTS in WSL
      • install mongodb from instructions in https://docs.microsoft.com/en-us/windows/wsl/tutorials/wsl-database
      • type `sudo service mongodb status`
        • the output is
          • ```
          •  * Checking status of database mongod     [fail]
          • ```
        • but expected
          • ```
          •  * Checking status of database mongod
          •  * apparently not running                         [fail]
          • ```
      Show
      install WSL in windows 10 install Ubuntu 20.04.4 LTS in WSL install mongodb from instructions in https://docs.microsoft.com/en-us/windows/wsl/tutorials/wsl-database type `sudo service mongodb status` the output is ```  * Checking status of database mongod     [fail] ``` but expected ```  * Checking status of database mongod  * apparently not running                         [fail] ```

    Description

      log_progress_msg does not print any message in Ubuntu-20.04.4 LTS in WSL. In file /lib/lsb/init-functions.d/50-ubuntu-logging (Ubuntu 20.04.4 LTS in WSL), the function log_progress_msg () { : }}} does nothing. To show the message, {{log_success_msg and log_failure_msg could be good alternatives.

      Attachments

        Activity

          People

            ryan.egesdahl@mongodb.com Ryan Egesdahl
            xudong.yang@stonybrook.edu XD Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: