NetBSD Problem Report #58065

From 43181fef.AVQAADsaHJ4AAAAAAAAAARX0wNkAAYCshOgAAAAAACMqDgBl_gPf@a2304526.bnc3.mailjet.com  Sat Mar 23 00:17:40 2024
Return-Path: <43181fef.AVQAADsaHJ4AAAAAAAAAARX0wNkAAYCshOgAAAAAACMqDgBl_gPf@a2304526.bnc3.mailjet.com>
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 ED5561A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 23 Mar 2024 00:17:39 +0000 (UTC)
Message-Id: <43181fef.AVQAADsaHJ4AAAAAAAAAARX0wNkAAYCshOgAAAAAACMqDgBl_gPf@mailjet.com>
Date: Fri, 22 Mar 2024 18:19:08 -0400 (EDT)
From: Greg-org-netbsd@akua.com
Reply-To: akua@akua.com
To: gnats-bugs@NetBSD.org
Subject: rc.subr zfs mount list should be sorted
X-Send-Pr-Version: 3.95

>Number:         58065
>Category:       kern
>Synopsis:       rc.subr zfs mount list should be sorted
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 23 00:20:00 +0000 2024
>Originator:     Greg Kerr
>Release:        NetBSD 10.0_RC6
>Organization:
Just Me
	Akua, Inc. / Inmar Inc.
>Environment:
System: NetBSD lion.mlb.akua.com 10.0_RC6 NetBSD 10.0_RC6 (Akua Lejon 2023-=
02-11 lejon-10-a $Revision: 1.599 $) #2: Wed Mar 20 00:05:27 EDT 2024 akua@=
lejon.mlb.akua.com:/usr/obj/netbsd-10/kernel/lejon-10-a amd64
Architecture: x86_64
Machine: amd64
>Description:
	rc.subr does not mount zfs datasets in sorted order
>How-To-Repeat:
	Multiple zpools - e.g. one with /usr/pkgsrc, another with
	/usr/pkgsrc/distfiles
	Crapshhot as to which is mounted first, resulting in perhaps distfiles
	being on the former
	Sorry about severity - critical for me - but probably not common
>Fix:
	add | sort after zfs list -H -o in /etc/rc.subr - sorted mountpoints is
	the correct order
=

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-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.