Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2016 11:26:59 +1000
From:      Jan Mikkelsen <janm@transactionware.com>
To:        Tim Daneliuk <tundra@tundraware.com>
Cc:        FreeBSD Stable Maling List <freebsd-stable@freebsd.org>
Subject:   Re: Is tar Broken In 10.3-STABLE?
Message-ID:  <97B23D8F-B8A3-4460-8AF7-D7393055DA96@transactionware.com>
In-Reply-To: <36b73290-0714-d5e5-6740-3318ff1055ec@tundraware.com>
References:  <36b73290-0714-d5e5-6740-3318ff1055ec@tundraware.com>

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

Tar should complain and die if an input path doesn=E2=80=99t exist. So, =
no, the behaviour you=E2=80=99re seeing isn=E2=80=99t broken. See also:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205358 =
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205358>;

This bug has been fixed upstream seems to have been imported into =
stable/10 in r302075. =46rom the commit message:
- tar and cpio should fail if an input file named on the command line is
  missing (vendor issue 708)
I agree the message could be a bit clearer about what=E2=80=99s going =
on!

Regards,

Jan.


> On 6 Jul 2016, at 02:39, Tim Daneliuk <tundra@tundraware.com> wrote:
>=20
> I just upgraded to r302342 today to verify a problem I saw=20
> after a 10.3-STABLE upgrade yesterday.  Upgrade was=20
> accomplished via makeworld/kernel & installworld/kernel.
>=20
>=20
> When using tar with the -T argument to provide a list=20
> of backup sources, it blows out with the following=20
> error if a source in the file list is missing:
>=20
>   tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with =
archive structure in state 'header', should be in state 'new/closed': =
Unknown error: -1
>=20
> In the past, tar would make some noise if it was asked
> to copy a nonexistent file or directory, but it would=20
> continue the remainder of the archive operation.
>=20
> Thoughts?
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to =
"freebsd-stable-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97B23D8F-B8A3-4460-8AF7-D7393055DA96>