From nobody Thu Sep 29 17:49:12 2022 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 4Mdgpc5bZtz4dnnK for ; Thu, 29 Sep 2022 17:49:12 +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 4Mdgpc3pB9z4GQS for ; Thu, 29 Sep 2022 17:49:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4Mdgpc2m2gztSy for ; Thu, 29 Sep 2022 17:49:12 +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 28THnCrD023236 for ; Thu, 29 Sep 2022 17:49:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28THnCux023235 for bugs@FreeBSD.org; Thu, 29 Sep 2022 17:49:12 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 266708] makewhatis(1) returns wrong exit status Date: Thu, 29 Sep 2022 17:49:12 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wosch@FreeBSD.org 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664473752; 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=RVDmJ8QoASiOklYcBZr7xADkbqtCMo+t/Z9+8Wo09go=; b=WCScNvyZdy47bQFsugfrxKIqWkbCTc+/u6dmQoXFNU0JfWifk5ntgEcini1T4tCACujC4f Ub/eZroklVcHuUt4gLKSN3AixiauAlyMGRg4B5lMNugr+mnXfZvfkqSHNOje7HKd6Ji3Ar ChFLvxnuXNur97gYYvtexJaZwi3FoFGbd6ZVyUYxYgv5lZeKJ6ZX+6zwROu2xkP6nsILtq LJL5VPOxnbdUjSDsOrAoX5Wo/PEgUwauqYdDacBA3XlV1sOGkTZFZn08V8GFCfxTMGp/WB PFkMyzADATLhtVQCTdSBMZuEPg4KP7SYBcQyOhaC7q7DOmkG1wBHzJ0B1CjQEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664473752; a=rsa-sha256; cv=none; b=YVQcT8NxdIYIYcW1/JAF0oeulGjZ+5B3HVylHwdtiREUSZUzId53b50Xe+HM9Q0rYZ/hgw 9XeqLjYtJ9mqeSahyKNPl5JRN9k+3mLSXr59+L4lbRbk2tzCVRaSNagr4VeRzSZJkFbw4d 4KmaoZiuACjwNK4qvHKAPtO79hbIynUxyLj3DhoY2okE3uo625T/416xsues98ldkVlI1O UATmPUVw0p2hE0iA1BfdNQZaYOFp9NJStxIthEN/9QODgHqvwjL+g6EXZWV70VOjciBsz6 9B3H02wTNHANtJh2B66BKuX4Jz6bxLzT9cNP5l+/QUE+jqulylL5OlhKb7SZbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266708 Bug ID: 266708 Summary: makewhatis(1) returns wrong exit status Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: wosch@FreeBSD.org I called makewhatis without arguments. The manual page says that a "dir" is expected, but apparently makewhatis is using "/usr/share/man:/usr/local/man= " as a default anyway. /usr/bin/time makewhatis; echo $? 5.18 real 4.91 user 0.24 sys 0 I have no write access to /usr/share/man, so the mandoc.db will not be upda= ted: ls -la /usr/share/man/mandoc.db -rw-r--r-- 1 root wheel 3303000 Sep 24 09:31 /usr/share/man/mandoc.db In case of an error (no write permissions) I expected at least an error mes= sage and a non zero exit status. --=20 You are receiving this mail because: You are the assignee for the bug.=