NetBSD Problem Report #51992

From paul@whooppee.com  Wed Feb 22 10:50:36 2017
Return-Path: <paul@whooppee.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(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 4FD5F7A2A7
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 22 Feb 2017 10:50:36 +0000 (UTC)
Message-Id: <20170222105033.4EEEB16E62@speedy.whooppee.com>
Date: Wed, 22 Feb 2017 18:50:33 +0800 (PHT)
From: paul@whooppee.com
Reply-To: paul@whooppee.com
To: gnats-bugs@NetBSD.org
Subject: Enhancement suggestions for pkgtools/mksandbox
X-Send-Pr-Version: 3.95

>Number:         51992
>Category:       pkg
>Synopsis:       Enhancement suggestions for pkgtools/mksandbox
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    agc
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 22 10:55:00 +0000 2017
>Last-Modified:  Wed Feb 22 11:30:34 +0000 2017
>Originator:     Paul Goyette
>Release:        NetBSD 7.99.59
>Organization:
+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+
>Environment:


System: NetBSD speedy.whooppee.com 7.99.59 NetBSD 7.99.59 (SPEEDY 2017-02-15 11:46:59 UTC) #0: Wed Feb 15 12:39:29 UTC 2017 paul@speedy.whooppee.com:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
The following enhancements to the pkgtools/mksandbox would be useful:

* Check to see if the sandbox is already mounted before mounting it
  again.  (Mounting the sandbox on top of itself is just messy, and
  awkward to unwind!)

* Don't try to unmount the sandbox if it is not already mounted.

* In addition to --rodirs and --rwdirs, provide for --tmpdirs.  This
  would allow, for example, --tmpdirs tmp=tmpfs[:-m1777,-sram%25] to
  mount a tmpfs on /sandbox/tmp with the listed (optional) options.
  This is an alternative to including /tmp in the list of --rwdirs.

>How-To-Repeat:
N/A

>Fix:
N/A


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->agc
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 22 Feb 2017 11:30:34 +0000
Responsible-Changed-Why:
Over to maintainer


>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.