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

`log_progress_msg` in init.d does not print message

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.4.18, 5.0.14, 6.0.3, 6.2.0-rc0
    • Affects Version/s: 5.0.9
    • Component/s: Shell
    • Environment:
    • 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] ```

      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.

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

              Created:
              Updated:
              Resolved: