Date: Thu, 29 Jun 2023 12:42:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272282 Bug ID: 272282 Summary: freebsd-update tries to restart sshd although it is not running Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: email@example.com I have not enabled sshd and the output of service sshd status is Cannot 'status' sshd. Set sshd_enable to YES in /etc/rc.conf or use 'onestatus' instead of 'status'. But this command evaluates as true: # if service sshd status >/dev/null 2>/dev/null; then echo "Restarting sshd after upgrade"; fi Restarting sshd after upgrade This is the same code that is used in freebsd-update, which in an update a few days ago then tried to restart sshd. Thus, the update progress contained a line with "Set sshd_enable to YES in /etc/rc.conf or use 'onerestart' instead of 'restart'.", which was confusing. -- You are receiving this mail because: You are the assignee for the bug.