From nobody Thu Jun 29 12:42:41 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QsJ4x2CwWz4jt6S for ; Thu, 29 Jun 2023 12:42:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QsJ4x0kwJz49Lx for ; Thu, 29 Jun 2023 12:42:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688042561; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L63X3OFTbgg7LLg7/J/QZh8nliCHDJBiJ6CHN3Ly9Ww=; b=ioGTyNoAHyTXtMPuFTFUqwpdSifuFv+RvWYu1oXLE+s14WzddzxlVDwPGz18HTqn6AWBAr oZtVTWAsft4hvw9WMXysLu3b3EjL1VZHb0eLO2R09d0RPKxojlXoMZSjCw5QNd2Cgdghfy Bws2FwhUc5RZ7Jz/Yhor0441rHxzdaiVWk+dPYaxJemGWTlnzUNr5Ne6ukemMDYAkzt+Ag 5HxE23F0eP/iCACtGjI78vYGLqJ0/jNk7NXJ/vTIbbEjhvyW7MMMSjEZNbc/Z7d4bYpKqw Qq+4omxkRUQi9RS4jfU40OZC2BHUKihzKZ/0fHvN3nKtJqxCvdq7fUHEhm3WAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688042561; a=rsa-sha256; cv=none; b=egrYVNx0Lk14jnf1zJTE/aq1JZLIY4Sba2gYdN0Mf3JzRs2t5RciJLv106ZNCQXddIVXkX mxsqb62+QvCcVRqP3t3vhnsRT+WTK03ImcnPrY+Zs6JhoD8HOmQLpOjGsSLDgcgmFM3Qdb XVxLlQ45nfPynS4gR/dJwYyFon+euZeyQ68A+Sv1LVAjRcQzr6U6JnDWAmu2SGJB/gEpxa oHZNnD2MKWDqPOyNcdQR0U1rjae8J97N414J4g7Dhu3OKtexrwl8lapqoyfM18PH2QMpMk Ar/lptnyRh1iFjoR0dI8269tCfqMUTDDAwIrO/ujakAeRPIRsysUUvc7+4lo4Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QsJ4w6wz4zGsd for ; Thu, 29 Jun 2023 12:42:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 35TCgeUa063810 for ; Thu, 29 Jun 2023 12:42:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35TCgeh4063809 for bugs@FreeBSD.org; Thu, 29 Jun 2023 12:42:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272282] freebsd-update tries to restart sshd although it is not running Date: Thu, 29 Jun 2023 12:42:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tamelingdaniel@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272282 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: tamelingdaniel@gmail.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 'onesta= tus' 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. --=20 You are receiving this mail because: You are the assignee for the bug.=