Public bug reported: after stopped ssh service, the sshd -t will check failed, and a error reported: "Missing privilege separation directory: /run/sshd", but when there is a invalid configrue in sshd_config, the check is working properly
cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.2 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.2 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo systemctl stop ssh sshd -t Missing privilege separation directory: /run/sshd echo "invalid_test" >> /etc/ssh/sshd_config sshd -t /etc/ssh/sshd_config line 127: no argument after keyword "invalid_test" /etc/ssh/sshd_config: terminating, 1 bad configuration options ** Affects: openssh (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/2107356 Title: sshd -t check failed when sshd not running Status in openssh package in Ubuntu: New Bug description: after stopped ssh service, the sshd -t will check failed, and a error reported: "Missing privilege separation directory: /run/sshd", but when there is a invalid configrue in sshd_config, the check is working properly cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.2 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.2 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo systemctl stop ssh sshd -t Missing privilege separation directory: /run/sshd echo "invalid_test" >> /etc/ssh/sshd_config sshd -t /etc/ssh/sshd_config line 127: no argument after keyword "invalid_test" /etc/ssh/sshd_config: terminating, 1 bad configuration options To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2107356/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

