Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Oct 2004 19:23:48 -0400
From:      Christopher Nehren <apeiron@comcast.net>
To:        Kirk Strauser <kirk@strauser.com>
Cc:        current@freebsd.org
Subject:   Re: Weird errors with gtar on 5.3-BETA7
Message-ID:  <1097105028.775.22.camel@prophecy.dyndns.org>
In-Reply-To: <200410061755.42069.kirk@strauser.com>
References:  <200410061755.42069.kirk@strauser.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1097105028.775.22.camel>