From nobody Fri Apr 15 10:41:10 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 396127EA012 for ; Fri, 15 Apr 2022 10:41:11 +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 4KftCp6qHwz4blc for ; Fri, 15 Apr 2022 10:41:10 +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 CAAEE13ABC for ; Fri, 15 Apr 2022 10:41:10 +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 23FAfAq1020478 for ; Fri, 15 Apr 2022 10:41:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23FAfA1J020477 for bugs@FreeBSD.org; Fri, 15 Apr 2022 10:41:10 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 263290] freebsd-update(8) should create new /var/db/freebsd-update dir Date: Fri, 15 Apr 2022 10:41:10 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vermaden@interia.pl 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=1650019271; 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=1LzUDTdgwCuo6457w5UZsGWQJ3d/f5rI2JJCPgfKcAs=; b=EzhCqrppjC4nFFvZyLwAl98LyStZD3gZDimfK1JeicuYWtraOzM29TDti+wsskidGMIZGw jEb6c7V6rAVI2YyiMY4Y4I+APZ68g3bKow1uu/eFdk83JcvT3ZX3Z+f8TyiQyhbivPYQYR 3vS4wd++ygeFhF4io10lMCNCTd+TtW35FHIgbfbOoK4FYa+94+u3gaE+3jCbOwOTjBgqrx Mt8ixiuSWKU5/06JXGOG1Gtm/S7epTNIBxbwOWxmkyqmAhlO97Gtp/uAiphzFw7fu5J8jT rgJYgex0zc6cg7kRxFHW0OVokyO0JNv/cw6UugEOVWF9cJOtz43h0Q6NVukRvA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650019271; a=rsa-sha256; cv=none; b=xxmzXOQ4YjwFeSDeKRsgZR5RyQUqk51DvL8nlBCvSVdaRhdu84BIruSSO7lFJdHEDTjK0k uzlqU4x2RsyLXUP6iWQSOesZ4lLFpoO83dN84ezlwEEDL7sXJVTbs1XJQJ/MPN8e73kOJT B/pAROe8ExRRad1W9vDtgwr1bLQyKl9q3TJtaHK7SLaE/Il76VqiLxoZHb0RiD//fKH2nP u4ujqDJ0di7NAcGjuPQWzilJpAnw0RtuyeKDWAJRQ7xFdNjSJE7hXkBGcI5kRrNt2lCgOP Xo/iJVr8hbY0ERmthigD35yOXKgIhETGGsc1fJ3AI6Kqcm6f+YddTbTcF8cI/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263290 Bug ID: 263290 Summary: freebsd-update(8) should create new /var/db/freebsd-update dir Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: vermaden@interia.pl Hi. If /var/db/freebsd-update dir does not exists then freebsd-update(8) fails = with error. # freebsd-update upgrade -r 13.1-RC3 freebsd-update: Directory does not exist or is not writable: /var/db/freebsd-update IMHO if such dir does not exists then freebsd-update(8) should try to creat= e it and only fail if 'Permission denied.' error would occur (lack of write permissions). Regards. --=20 You are receiving this mail because: You are the assignee for the bug.=