Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 1998 14:56:02 -0700 (PDT)
From:      darth@vader.dk
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   gnu/6338: Gnu tar not working properly with the -G option
Message-ID:  <199804172156.OAA09072@hub.freebsd.org>

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

>Number:         6338
>Category:       gnu
>Synopsis:       Gnu tar not working properly with the -G 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:   Fri Apr 17 15:00:02 PDT 1998
>Last-Modified:
>Originator:     Chris Larsen
>Organization:
Babel: Internet Café
>Release:        2.2.5
>Environment:
FreeBSD ns.babel.dk 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #1: Sat Apr  4 22:18:38 CEST 1998     vader@ns.babel.dk:/usr/src/sys/compile
/PixieOS  i386
>Description:
When using the -G option of 'tar' the operation gives strange error:
tar: Can't write to (null) : Bad address

>How-To-Repeat:
Example script:
"
#!/bin/csh
# Dump thingie
set now = `date -u`
set then = `cat date.dump`

tar -G -z -c -v \
 -f /home/backup/incr.tgz \
 -N "$then" \
 -V "Dump from $then to $now" \
 /home/vader1

echo $now > date.dump
"
Example output:
"
Dump from Fri Apr 17 02:23:53 GMT 1998 to Fri Apr 17 21:51:27 GMT 1998
tar: Directory /home/vader1/bin is new
tar: Directory /home/vader1/etc is new
tar: Removing leading / from absolute path names in the archive.
home/vader1/
home/vader1/bin/
home/vader1/etc/
home/vader1/bin/compress
home/vader1/bin/cpio
home/vader1/bin/gzip
home/vader1/bin/ls
home/vader1/bin/tar
home/vader1/bin/zcat
tar: Can't write to (null) : Bad address
"

tar --version -> "GNU tar version 1.11.2"

nothing is broken, as far as i can examine, the tar archive works.


>Fix:
Solution: 
Upgrade to version "tar (GNU tar) 1.12", solves the problem.

Time to do an upgrade of the distributed binary ? or is it fixed in 3.x ?


>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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