pax omits devmajor/devminor in ustar format

Bug #768260 reported by Stew Benedict
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pax (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: pax

This shows up as a failure in LSB distribution testing. According to documentation of the ustar format, the devmajor/devminor should be included. I've submitted a patch to Debian and they've corrected their package. Ubuntu is the only distribution where this is still failing (since 9.04)

Ref:
http://bugs.linuxbase.org/show_bug.cgi?id=2743

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609825 (patch attached)
stew@ubuntu1104-32:~$ lsb_release -rd
Description: Ubuntu Natty (development branch)
Release: 11.04

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: pax 1:20090728-1build1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Thu Apr 21 07:07:44 2011
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pax
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Stew Benedict (stewb-linuxfoundation) wrote :
Revision history for this message
Thorsten Glaser (mirabilos) wrote :

Please read the spec again:

   3,4
          Represent character special files and block special files respectively. In this case the devmajor
          and devminor fields shall contain information defining the device, the format of which is
          unspecified by this volume of POSIX.1-2008.

The devmajor and devminor values are NOT for the device the file is stored on,
but the “target” value of block and character device nodes. (The cpio formats
have both, ustar doesn’t.)

Closing as invalid; this is a bug in the LSB testsuite, not in pax.

Changed in pax (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.