NetBSD Problem Report #59367
From www@netbsd.org Sun Apr 27 15:49:19 2025
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)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id A7F761A9239
for <gnats-bugs@gnats.NetBSD.org>; Sun, 27 Apr 2025 15:49:19 +0000 (UTC)
Message-Id: <20250427154918.503DB1A923C@mollari.NetBSD.org>
Date: Sun, 27 Apr 2025 15:49:18 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: t_magic_symlinks:machine_arch broken under compat32
X-Send-Pr-Version: www-1.0
>Number: 59367
>Category: misc
>Synopsis: t_magic_symlinks:machine_arch broken under compat32
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 27 15:50:00 +0000 2025
>Originator: Taylor R Campbell
>Release: current
>Organization:
The MagicBSD Architecture Linc.
>Environment:
NetBSD 10.99.14 (GENERIC64) #489: Fri Apr 25 10:50:12 CEST 2025 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/evbarm/compile/GENERIC64
>Description:
Test case: kernel/t_magic_symlinks/machine_arch
Duration: 0.126906 seconds
Termination reason
FAILED: kernel does not handle magic symlinks properly
Standard output stream
Initialized vfs.generic.magiclinks=1
Restored vfs.generic.magiclinks=0
Standard error stream
cd: check: can't cd to link
Presumably this happens because `uname -p' returns something different from what a @machine_arch magic symlink expands to, under compat32.
>How-To-Repeat:
cd /usr/tests/kernel
atf-run t_magic_symlinks | atf-report
>Fix:
Yes, please!
(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-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.