NetBSD Problem Report #56671

From www@netbsd.org  Tue Jan 25 20:39:49 2022
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 7038E1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 25 Jan 2022 20:39:49 +0000 (UTC)
Message-Id: <20220125203947.DEA2C1A923A@mollari.NetBSD.org>
Date: Tue, 25 Jan 2022 20:39:47 +0000 (UTC)
From: andrew.cagney@gmail.com
Reply-To: andrew.cagney@gmail.com
To: gnats-bugs@NetBSD.org
Subject: installl iso contains the directory .rr_moved
X-Send-Pr-Version: www-1.0

>Number:         56671
>Category:       install
>Synopsis:       installl iso contains the directory .rr_moved
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 25 20:40:00 +0000 2022
>Originator:     Andrew Cagney
>Release:        9.2_STABLE
>Organization:
>Environment:
$ sudo dnf info dvd+rw-tools
Last metadata expiration check: 0:29:14 ago on Tue 25 Jan 2022 03:07:58 PM.
Installed Packages
Name         : dvd+rw-tools
Version      : 7.1
Release      : 35.fc35
Architecture : x86_64
Size         : 384 k
Source       : dvd+rw-tools-7.1-35.fc35.src.rpm
Repository   : @System
From repo    : fedora
Summary      : Toolchain to master DVD+RW/+R media
URL          : http://fy.chalmers.se/~appro/linux/DVD+RW/
License      : GPLv2
Description  : Collection of tools to master DVD+RW/+R media. For further
             : information see http://fy.chalmers.se/~appro/linux/DVD+RW/.

>Description:
A common, er, trick (it works for FreeBSD and OpenBSD), is to use growisofs to graft extra files onto an ISO image as part of an automated install.

The problem is that the NetBSD install ISO[s] contain the directory .rr_moved which conflicts with this technique.  For instance:

growisofs -M /home/pool/e.netbsd-base.iso.tmp -l -R \
	-input-charset utf-8 \
	-graft-points \
	/base.sh=/home/pool/e.netbsd-base.base.sh
Executing 'mkisofs -C 16,292144 -M /dev/fd/3 -l -R -input-charset utf-8 -graft-points /base.sh=/home/pool/e.netbsd-base.base.sh | builtin_dd of=/home/pool/e.netbsd-base.iso.tmp obs=32k seek=18259'
Rock Ridge signatures found
genisoimage: Error: '/.rr_moved/detail' and '/.rr_moved/detail' have the same Rock Ridge name 'detail'.
Unable to sort directory /.rr_moved
:-( mkisofs has failed: 1

>How-To-Repeat:

>Fix:

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.