From owner-freebsd-current@FreeBSD.ORG Wed Oct 6 23:39:29 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83E8516A4CE for ; Wed, 6 Oct 2004 23:39:29 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CABB43D31 for ; Wed, 6 Oct 2004 23:39:29 +0000 (GMT) (envelope-from apeiron@comcast.net) Received: from prophecy.dyndns.org ([68.83.169.224]) by comcast.net (rwcrmhc11) with SMTP id <2004100623235101300c82fne> (Authid: apeiron); Wed, 6 Oct 2004 23:23:52 +0000 From: Christopher Nehren To: Kirk Strauser In-Reply-To: <200410061755.42069.kirk@strauser.com> References: <200410061755.42069.kirk@strauser.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3OYPq9MkGTE1v4PnP0lP" Date: Wed, 06 Oct 2004 19:23:48 -0400 Message-Id: <1097105028.775.22.camel@prophecy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port cc: current@freebsd.org Subject: Re: Weird errors with gtar on 5.3-BETA7 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 23:39:29 -0000 --=-3OYPq9MkGTE1v4PnP0lP Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2004-10-06 at 17:55 -0500, Kirk Strauser wrote: > I've been having problems with my nightly Amanda backups for a few weeks;= some=20 > of the filesystems on my FreeBSD server aren't being tarred. I've traced= it=20 > back to an error condition in GNU tar that I don't really understand: >=20 > # gtar clf /dev/null / > gtar: Removing leading `/' from member names > gtar: /proc: Cannot savedir: Invalid argument > gtar: Error exit delayed from previous errors >=20 > I'm not sure what the "Cannot savedir: Invalid argument" message means an= d=20 > Google wasn't much help. Any thoughts? It means that you're trying to archive a file system which isn't actually a file system -- in this case, /proc. You can use gtar's -X option to exclude /proc and other non-file system paths from your archiving. You don't happen to be using procfs on a 5.x system, do you? procfs is notoriously insecure (and, in my opinion, its very functionality is insecure -- you shouldn't be able to see anything about anyone else's processes. Period.). If you are using it, why do you need it? --=-3OYPq9MkGTE1v4PnP0lP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBZH6Ek/lo7zvzJioRAujDAKC06AW5ukL8ef5H6gnrYXAW2nhL+ACgvOjT TswqzVcNvENykysc2GqWHho= =k1IU -----END PGP SIGNATURE----- --=-3OYPq9MkGTE1v4PnP0lP--