Public bug reported: When ssh is disabled on an Ubuntu Core 18 device (amd64 or armhf), the following error message is printed to the screen / serial console:
Traceback (most recent call last): File “/usr/share/subiquity/console-conf-write-login-details”, line 25, in sys.exit(write_login_details_standalone()) File “/usr/share/subiquity/console_conf/controllers/identity.py”, line 184, in write_login_details_standalone write_login_details(sys.stdout, owner[‘username’], ips) File “/usr/share/subiquity/console_conf/controllers/identity.py”, line 153, in write_login_details sshcommands=sshcommands, host_key_info=host_key_info(), tty_name=tty_name, first_ip=first_ip, version=version)) File “/usr/share/subiquity/console_conf/controllers/identity.py”, line 119, in host_key_info longest_type = max([len(keytype) for keytype, _ in fingerprints]) ValueError: max() arg is an empty sequence ssh is disabled as described here: https://docs.ubuntu.com/core/en/reference/core-configuration snap set core service.ssh.disable=true I did not notice any implications for my devices, which could result from this error. But I'm not sure whether this message can be ignored or if it is a symptom of a more severe error. reference: https://forum.snapcraft.io/t/ubuntu-core-18-error-message- after-disabling-ssh/15824 ** Affects: subiquity (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866216 Title: subiquity logs an error after disabling ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1866216/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs