[Bug 917431] New: less doesn't open gzip'ed files unpacked anymore
http://bugzilla.suse.com/show_bug.cgi?id=917431 Bug ID: 917431 Summary: less doesn't open gzip'ed files unpacked anymore Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: stephan.barth@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When looking at files with less like ARCHIVES.gz it unpacked it automatically. Since the recent updates this doesn't work anymore: # less ARCHIVES.gz "ARCHIVES.gz" may be a binary file. See it anyway? I tried to debug it a bit with "set -x", which didn't help. The funny thing is, that after issuing "set +x" less works as expected again. Using su (to root for example) breaks it again. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=917431 --- Comment #1 from Marcus Meissner <meissner@suse.com> --- well, i added an apparmor profile to less. run logprof and check what it reports? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=917431 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chcao@suse.com Assignee|bnc-team-screening@forge.pr |kstreitova@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=917431 Kristyna Streitova <kstreitova@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pgajdos@suse.com --- Comment #2 from Kristyna Streitova <kstreitova@suse.com> --- I'm afraid I'm not able to reproduce this issue on 13.2 (or 13.1 or Factory). There are the results of my tests (openSUSE 13.2): ----- The first test case: $ cat ab.txt bc.txt cd.txt the content of ab.txt the content of bc.txt the content of cd.txt $ gzip -c ab.txt bc.txt cd.txt > arch1.gz $ less arch1.gz the content of ab.txt the content of bc.txt the content of cd.txt arch1.gz lines 1-3/3 (END) ----- The second test case: $ tar -zcvf arch2.tar.gz arch2 arch2/ arch2/ab.txt arch2/bc.txt arch2/cd.txt $ less arch2.tar.gz drwxr-xr-x kstreitova/users 0 2015-02-12 16:51 arch2/ -rw-r--r-- kstreitova/users 22 2015-02-12 16:50 arch2/ab.txt -rw-r--r-- kstreitova/users 22 2015-02-12 16:50 arch2/bc.txt -rw-r--r-- kstreitova/users 22 2015-02-12 16:50 arch2/cd.txt arch2.tar.gz lines 1-4/4 (END) ----- The third test case: I tried to find your ARCHIVES.gz file (downloaded from http://download.opensuse.org/distribution/13.1/repo/oss/ARCHIVES.gz). I'm not sure if it's the same as you have but in my case it works fine. $ less ARCHIVES.gz --------------------------------------------------------------------- --------------------------------------------------------------------- --------------- Here comes contents of all files: ------------------- ------ *.rpm *.tar.gz *.tar.Z *.tgz *.taz *.tar.z *.tar *.deb ------- ------------------ found in any subdirectory ------------------------ --------------------------------------------------------------------- --------------------------------------------------------------------- ----------------------------------------------------------------- ---> ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm ----------------------------------------------------------------- ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: Name : kernel-debug ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: Version : 3.11.6 ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: Release : 4.1 ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: Architecture: i686 ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: Install Date: (not installed) ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: Group : System/Kernel ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: Size : 133093250 ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: License : GPL-2.0 ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: Signature : RSA/SHA256, Fri (...) ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: GIT Branch: openSUSE-13.1 ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: Distribution: openSUSE 13.1 ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: -rw-r--r-- 1 root root 2067513 Nov 1 13:25 /boot/System.map-3.11.6-4-debug ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: -rw-r--r-- 1 root root 142927 Nov 1 11:03 /boot/config-3.11.6-4-debug ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: lrwxrwxrwx 1 root root 6 Nov 1 13:56 /boot/initrd -> initrd ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: -rw-r--r-- 1 root root 2097152 Nov 1 13:56 /boot/initrd-3.11.6-4-debug ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: -rw-r--r-- 1 root root 0 Nov 1 14:08 /boot/initrd-3.11.6-4-debug-kdump ./suse/i686/kernel-debug-3.11.6-4.1.i686.rpm: -rw-r--r-- 1 root root 262572 Nov 1 13:56 /boot/symvers-3.11.6-4-debug.gz (...) ----- Can you please provide me with a link to ARCHIVES.gz file that causes you troubles? Have you tried other .gz files? Thank you. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=917431 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rgoldwyn@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=917431 http://bugzilla.suse.com/show_bug.cgi?id=917431#c13 Goldwyn Rodrigues <rgoldwyn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #13 from Goldwyn Rodrigues <rgoldwyn@suse.com> --- We have apparmor-lessopen-nfs-workaround.diff until we find a complete solution for this. Closing as FIXED. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com