[Bug 780654] New: tar now defaults to --format=posix, but other applications don't expect that
https://bugzilla.novell.com/show_bug.cgi?id=780654 https://bugzilla.novell.com/show_bug.cgi?id=780654#c0 Summary: tar now defaults to --format=posix, but other applications don't expect that Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: i686 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Stromeko@NexGo.DE QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0 GNU tar now defaults to --format=posix, but other applications don't expect that format and have known bugs or are poorly tested when PAX extended headers are present. Please revert that gratuitous change or fix all applications so that they work correctly with that change. Reproducible: Always Steps to Reproduce: 1. Produce a tar archive with default settings and try to open it with applications that recognize tar archives. Actual Results: Several applications still don't deal correctly with PAX extended headers and either produce errors or may silently produce wrong data. Expected Results: All applications delivered with openSUSE should be able to correctyl parse tar archives produced with the default settings of tar as provided by openSUSE. Bug #770614 -- unknown application, probably a file manager Bug #780653 -- Emacs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c1
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c
Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c2
--- Comment #2 from Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c3
--- Comment #3 from Karl Eichwalder
Expected Results: All applications delivered with openSUSE should be able to correctyl parse tar archives produced with the default settings of tar as provided by openSUSE.
I do not agree with this statement. Applications are expected to also parse foreign archives. I'm not sure what is more important.
Bug #770614 -- unknown application, probably a file manager Bug #780653 -- Emacs
Emacs could probably learn to the PAX header in addition. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c4
--- Comment #4 from Achim Gratz
I do not agree with this statement. Applications are expected to also parse foreign archives. I'm not sure what is more important.
I would think a user can reasonably expect that a file manager (or emacs) is able to look into and expand a tar file just produced on the same system. If that contract is broken, then maybe the default format should not have been changed to begin with?
Emacs could probably learn to the PAX header in addition.
It already has, but not the version that comes with the system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c5
--- Comment #5 from Achim Gratz
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c6
--- Comment #6 from Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c7
--- Comment #7 from Achim Gratz
Well, emacs or whatever does not parse this 10 year old (!!) standard format..is broken, it should be fixed to use libarchive(3) and stop parsing stuff at his own will...
Please keep your comments on-topic, the emacs bug is discussed someplace else. This bug is about not dealing correctly with a (gratuitous) change in default behaviour and thereby making life difficult for mere users. As a side-note, just because something has been a standard for however many years doesn't necessarily make it a good default. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c8
Karl Eichwalder
(In reply to comment #2)
Could you please also add that the former behaviour (and upstream default) can be restored by setting the environment
TAR_OPTIONS='--format=gnu'
or
TAR_OPTIONS='--pax-option=delete=[ac]time*'
Done (in SVN). Can we close this bug now? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c9
--- Comment #9 from Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c10
Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c11
--- Comment #11 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c12
Gilles Sabourin
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c
Gilles Sabourin
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c13
Karl Eichwalder
This bug is still here in x86 64 bits architecture. When i was to install my own ioquake3 package, the loki installer complained about an expected error and this message was issued in the console :
Tar: './PaxHeaders.30331/.' is unknown file type: x
I had to patch manually installer's scripts, but both "--portability" and "--old-archive" options were rejected, Only "--format=v7" was accepted.
In the current release notes text we recommend to use either --format=gnu' or --pax-option=delete=[ac]time*. Did you also try this? This is the current text: <title>GNU tar Defaults to Creating POSIX-compliant Archives</title> <para> GNU tar now defaults to <literal>--format=posix</literal> and create POSIX-compliant archives with PAX extended headers. Check whether your scripts and applications are compatible with this format. </para> <para> The former behavior (and upstream default) can be restored by setting the environment: </para> <screen>TAR_OPTIONS='--format=gnu'</screen> <para> or </para> <screen>TAR_OPTIONS='--pax-option=delete=[ac]time*'</screen> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c14
Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=780654
https://bugzilla.novell.com/show_bug.cgi?id=780654#c15
Karl Eichwalder
participants (1)
-
bugzilla_noreply@novell.com