NetBSD Problem Report #49596

From www@NetBSD.org  Thu Jan 22 12:45:40 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 41001A582D
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 22 Jan 2015 12:45:40 +0000 (UTC)
Message-Id: <20150122124538.ECE16A65B8@mollari.NetBSD.org>
Date: Thu, 22 Jan 2015 12:45:38 +0000 (UTC)
From: jmcneill@invisible.ca
Reply-To: jmcneill@invisible.ca
To: gnats-bugs@NetBSD.org
Subject: mkimage: incorrect permissions on evbarm images
X-Send-Pr-Version: www-1.0

>Number:         49596
>Category:       install
>Synopsis:       mkimage: incorrect permissions on evbarm images
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    install-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 22 12:50:00 +0000 2015
>Closed-Date:    Wed Mar 25 05:44:48 +0000 2015
>Last-Modified:  Wed Mar 25 05:44:48 +0000 2015
>Originator:     Jared McNeill
>Release:        7.0_BETA
>Organization:
>Environment:
NetBSD undine 7.0_BETA NetBSD 7.0_BETA (RPI.201501160900Z) evbarm
>Description:
Some of the directories on the evbarm install images have incorrect ownership. The builds from nyftp.netbsd.org have multiple files / directories owned by uid 1003. The list of files seem to be ones that are manipulated by the mkimage script:

  /dev
  /etc
  /etc/fstab
  /etc/rc.conf
  /boot (and since it's an MSDOS mount point, everything inside)

>How-To-Repeat:
Boot rpi.img or beagleboard.img from nyftp.
>Fix:

>Release-Note:

>Audit-Trail:
From: "Nick Hudson" <skrll@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49596 CVS commit: src/distrib/utils/embedded
Date: Fri, 23 Jan 2015 15:17:58 +0000

 Module Name:	src
 Committed By:	skrll
 Date:		Fri Jan 23 15:17:58 UTC 2015

 Modified Files:
 	src/distrib/utils/embedded: mkimage
 	src/distrib/utils/embedded/conf: evbarm.conf rpi_inst.conf
 	    usermode.conf x86.conf

 Log Message:
 PR/49596: mkimage: incorrect permissions on evbarm images

 Use NetBSD.dist in our mtree specification to populate the top level
 directories, etc.

 For each generated file hand craft an mtree entry.

 Remove specialdirs as NetBSD.dist creates /proc and /kern.


 To generate a diff of this commit:
 cvs rdiff -u -r1.50 -r1.51 src/distrib/utils/embedded/mkimage
 cvs rdiff -u -r1.17 -r1.18 src/distrib/utils/embedded/conf/evbarm.conf
 cvs rdiff -u -r1.5 -r1.6 src/distrib/utils/embedded/conf/rpi_inst.conf \
     src/distrib/utils/embedded/conf/x86.conf
 cvs rdiff -u -r1.3 -r1.4 src/distrib/utils/embedded/conf/usermode.conf

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49596 CVS commit: [netbsd-7] src/distrib/utils/embedded
Date: Wed, 28 Jan 2015 11:27:03 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Wed Jan 28 11:27:03 UTC 2015

 Modified Files:
 	src/distrib/utils/embedded [netbsd-7]: mkimage
 	src/distrib/utils/embedded/conf [netbsd-7]: evbarm.conf rpi_inst.conf
 	    usermode.conf

 Log Message:
 Pull up following revision(s) (requested by skrll in ticket #465):
 	distrib/utils/embedded/conf/rpi_inst.conf: revision 1.6
 	distrib/utils/embedded/conf/usermode.conf: revision 1.4
 	distrib/utils/embedded/mkimage: revision 1.51
 	distrib/utils/embedded/conf/x86.conf: revision 1.6
 	distrib/utils/embedded/conf/evbarm.conf: revision 1.18
 PR/49596: mkimage: incorrect permissions on evbarm images
 Use NetBSD.dist in our mtree specification to populate the top level
 directories, etc.
 For each generated file hand craft an mtree entry.
 Remove specialdirs as NetBSD.dist creates /proc and /kern.


 To generate a diff of this commit:
 cvs rdiff -u -r1.48.4.1 -r1.48.4.2 src/distrib/utils/embedded/mkimage
 cvs rdiff -u -r1.15.4.1 -r1.15.4.2 \
     src/distrib/utils/embedded/conf/evbarm.conf
 cvs rdiff -u -r1.5 -r1.5.6.1 src/distrib/utils/embedded/conf/rpi_inst.conf
 cvs rdiff -u -r1.3 -r1.3.12.1 src/distrib/utils/embedded/conf/usermode.conf

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: snj@NetBSD.org
State-Changed-When: Wed, 25 Mar 2015 05:44:48 +0000
State-Changed-Why:
nick fixed it.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.