Subject: bin/26649: New tar bzip2 option incompatibility with old (NetBSD 1.6) tar
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dave@dtsp.co.nz>
List: netbsd-bugs
Date: 08/14/2004 13:22:02
>Number:         26649
>Category:       bin
>Synopsis:       New tar bzip2 option incompatibility with old (NetBSD 1.6) tar
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 14 13:22:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Sainty
>Release:        NetBSD 2.0G
>Organization:
Dynamic Technology Services and Products Ltd (NZ)
>Environment:
System: NetBSD tequila.dave.dtsp.co.nz 2.0G NetBSD 2.0G (TEQUILA-$Revision: 1.76 $) #1: Sat Aug 7 23:32:30 NZST 2004 dave@tequila.dave.dtsp.co.nz:/vol/tequila/userD/NetBSD-current/src/sys/arch/i386/compile/TEQUILA i386
Architecture: i386
Machine: i386
>Description:
	The NetBSD 1.6 tar has a -y option for compressing using bzip2.  The
	new pax-based tar has a -j option that performs the same task.
	Scripts that were written for NetBSD 1.6 may fail because of this
	(trivial) incompatibility.  The new tar doesn't use -y for anything
	else.

>How-To-Repeat:
	Use tar -y in a cron/disk based backup script.  Notice that backups
	mysteriously stop happening after upgrading userland.

>Fix:
	1. Make new tar support -y as well as -j
	2. Make new tar support -y instead of -j.  -j hasn't yet been
           supported in a NetBSD release.
	3. Do nothing.
>Release-Note:
>Audit-Trail:
>Unformatted: