← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1170059] Re: ssh connection to disabled root user exits with zero code

 

This bug is believed to be fixed in cloud-init in version 20.3. If this
is still a problem for you, please make a comment and set the state back
to New

Thank you.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1170059

Title:
  ssh connection to disabled root user exits with zero code

Status in cloud-init:
  Fix Released

Bug description:
  cloudinit/config/cc_ssh.py : DISABLE_ROOT_OPTS = ... echo ... sleep 10
  This gives zero exit code. Automated tools (like parallel-ssh) are mislead. Probably should be:
  cloudinit/config/cc_ssh.py : DISABLE_ROOT_OPTS = ... echo ... sleep 10; exit 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1170059/+subscriptions