Package: coreutils
Version: 6.10-4
Severity: important
Hello,
Since this very day, ls -l is getting pretty wild in every directory:
~ ls -l
/bin/ls: jj: No data available
/bin/ls: gildas-src-feb08a: No data available
/bin/ls: Mo.png: No data available
/bin/ls: gildas-src-jan08a.tar.gz: No data available
/bin/ls: Adobe_Acrobat_70_Pro.ISO: No data available
/bin/ls: gildas-src-jan08a: No data available
/bin/ls: TestJFreeChart.java: No data available
/bin/ls: gildas-src-feb08a.tar.gz: No data available
/bin/ls: TestJFreeChart.class: No data available
/bin/ls: gildas: No data available
[then, normal ls -l output]
strace shows it is a selinux-related problem:
[...]
lstat("gnuplot-ps.ps", {st_mode=S_IFREG|0644, st_size=28638, ...}) = 0
lgetxattr("gnuplot-ps.ps", "security.selinux", 0x6210f0, 255) = -1 ENODATA (No
data available)
write(2, "ls: ", 4ls: ) = 4
write(2, "gnuplot-ps.ps", 13gnuplot-ps.ps) = 13
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such
file or directory)
write(2, ": No data available", 19: No data available) = 19
[...]
I wouldn't be surprised if that comes from this changelog entry:
* [75] prevent ls from displaying a + for files with an selinux context.
(this will change in future, but the exact future output isn't certain
yet) (Thanks Russell Coker) (closes: #472590)
I don't think selinux is mandatory, so ls should simply ignore this
error instead of complaining about it. Severity set to important, as
it honestly scared me ;-) ! (and I hesitated for serious as well)
Regards,
Vincent Fourmond
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages coreutils depends on:
ii libacl1 2.2.45-1 Access control list shared library
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libselinux1 2.0.59-1 SELinux shared libraries
[no selinux facilities, no /selinux mounted]
coreutils recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]