NetBSD Problem Report #56343

From www@netbsd.org  Sun Aug  1 16:23:18 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5161A1A921F
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  1 Aug 2021 16:23:18 +0000 (UTC)
Message-Id: <20210801162316.CF8571A923A@mollari.NetBSD.org>
Date: Sun,  1 Aug 2021 16:23:16 +0000 (UTC)
From: JMoyer@NODOMAIN.NET
Reply-To: JMoyer@NODOMAIN.NET
To: gnats-bugs@NetBSD.org
Subject: MAKEDEV all doesn't (skips ptys)
X-Send-Pr-Version: www-1.0

>Number:         56343
>Category:       port-vax
>Synopsis:       MAKEDEV all doesn't (skips ptys)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-vax-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 01 16:25:00 +0000 2021
>Closed-Date:    Sat Aug 07 03:25:52 +0000 2021
>Last-Modified:  Sat Aug 07 03:25:52 +0000 2021
>Originator:     Josh Moyer
>Release:        9.1 and 9.2
>Organization:
NODOMAIN.NET.
>Environment:
VAX, GENERIC/INSTALL
>Description:
When setting up a diskless VAX you have to manually run MAKEDEV all.  However, even after so doing, sysinst is unable to call openpty for its sub-commands unless the user has run MAKEDEV pty0.
>How-To-Repeat:
Follow https://www.netbsd.org/docs/network/netboot/, then try to set the root password (or any other task that calls openpty()) from sysinst.
>Fix:
# cd /dev ; /bin/sh MAKEDEV pty0

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-vax/56343: MAKEDEV all doesn't (skips ptys)
Date: Sun, 1 Aug 2021 19:48:05 +0200

 On Sun, Aug 01, 2021 at 04:25:01PM +0000, JMoyer@NODOMAIN.NET wrote:
 > When setting up a diskless VAX you have to manually run MAKEDEV all.  However, even after so doing, sysinst is unable to call openpty for its sub-commands unless the user has run MAKEDEV pty0.

 This is on purpose. You are supposed to mount ptyfs instead (we do it this way
 for all installs, no matter if diskless or not).

 Martin

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 07 Aug 2021 03:25:52 +0000
State-Changed-Why:
Not a bug.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.