From owner-freebsd-bugs@FreeBSD.ORG Sun Oct 17 16:10:35 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8287216A4D3 for ; Sun, 17 Oct 2004 16:10:35 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A881343D49 for ; Sun, 17 Oct 2004 16:10:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9HGAY0V003056 for ; Sun, 17 Oct 2004 16:10:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9HGAYgP003055; Sun, 17 Oct 2004 16:10:34 GMT (envelope-from gnats) Resent-Date: Sun, 17 Oct 2004 16:10:34 GMT Resent-Message-Id: <200410171610.i9HGAYgP003055@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kirk Strauser Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 503BE16A4CE for ; Sun, 17 Oct 2004 16:03:21 +0000 (GMT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FADE43D54 for ; Sun, 17 Oct 2004 16:03:21 +0000 (GMT) (envelope-from root@kanga.honeypot.net) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 71CF9B85B for ; Sun, 17 Oct 2004 11:03:20 -0500 (CDT) Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 87995-09 for ; Sun, 17 Oct 2004 11:03:19 -0500 (CDT) Received: by kanga.honeypot.net (Postfix, from userid 0) id 8613DB859; Sun, 17 Oct 2004 11:03:19 -0500 (CDT) Message-Id: <20041017160319.8613DB859@kanga.honeypot.net> Date: Sun, 17 Oct 2004 11:03:19 -0500 (CDT) From: Kirk Strauser To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/72787: gtar in base system doesn't seem to honor --one-file-system option X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kirk Strauser List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 16:10:35 -0000 >Number: 72787 >Category: bin >Synopsis: gtar in base system doesn't seem to honor --one-file-system option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 17 16:10:34 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Kirk Strauser >Release: FreeBSD 5.3-BETA7 i386 >Organization: The Strauser Group >Environment: System: FreeBSD kanga.honeypot.net 5.3-BETA7 FreeBSD 5.3-BETA7 #0: Sun Oct 10 13:47:08 CDT 2004 root@kanga.honeypot.net:/usr/obj/usr/src/sys/KANGA i386 >Description: GNU tar in the base system (and the version in ports) seems to ignore the --one-file-system option. For example, when trying to create a tarball of the root filesystem, it chokes on /proc (which it should be ignoring): root@kanga:/# gtar --one-file-system -cf /dev/null / gtar: Removing leading `/' from member names gtar: /proc: Cannot savedir: Invalid argument gtar: Error exit delayed from previous errors root@kanga:/# bsdtar, on the other hand, works as expected: root@kanga:/# tar --one-file-system -cf /dev/null / tar: Removing leading '/' from member names root@kanga:/# This is relatively recent behavior. I had been using a 5.2.1-era system until a few weeks ago, and only discovered this behavior after I updated to 5.3-RC4 (and later) and my nightly Amanda backups began to fail. >How-To-Repeat: Attempt to create a tarball of a directory containing a mountpoint for a proc filesystem. >Fix: >Release-Note: >Audit-Trail: >Unformatted: