NetBSD Problem Report #57127

From martin@duskware.de  Wed Dec 21 16:24:14 2022
Return-Path: <martin@duskware.de>
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 064451A921F
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 21 Dec 2022 16:24:13 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: ptyfs fails
X-Send-Pr-Version: 3.95

>Number:         57127
>Category:       kern
>Synopsis:       ptyfs fails
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 21 16:25:00 +0000 2022
>Originator:     Martin Husemann
>Release:        NetBSD 10.0_BETA
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 10.0_BETA NetBSD 10.0_BETA (MODULAR) #1: Tue Dec 20 11:51:45 CET 2022 martin@thirdstage.duskware.de:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:

I have seen this symptom on landisk running 9.99.108 and sparc64 running -10,
it must be relatively new (didn't see it during last weeks test runs)

Initially after boot ptyfs works, but sometime later it fails, like:

(on shutdown, seen on the landisk)
wall: ttymsg: Cannot open `/dev/pts/0' (No such file or directory)
wall: ttymsg: Cannot open `/dev/pts/1' (No such file or directory)

or ssh logins failing (seen on the sparc64):

Dec 21 17:18:34 thirdstage sshd[13409]: error: chown /dev/pts/1 0 0 failed: No such file or directory
Dec 21 17:18:34 thirdstage sshd[13409]: error: chmod /dev/pts/1 0666 failed: No such file or directory


>How-To-Repeat:
Use ptyfs for a while?

>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2022 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.