Package: coreutils
Version: 5.2.1-2.1
Severity: normal

*** Please type your report below this line ***

This is a pure 'etch' system.

This seemed a somewhat intermittent problem, but I'm sure it's real.
Below is a transcript that shows it occurring.

Observations:
* The problem seems to be isolated to the user 'root'.
  I tested as 'root' on a pure 'sarge' system and it doesn't occur.

  As a normal user, I get the output I expect.
  In that case
    env | grep LANG
  gives
    LANGUAGE=en_AU:en_US:en_GB:en
    LANG=en_AU
  see below for these settings as 'root'.

* Simple checks don't show a runtime library loading problem
   ETCH-# which df
   /bin/df
   ETCH-# ldd `which df`
        libc.so.6 => /lib/libc.so.6 (0x40026000)
        /lib/ld-linux.so.2 (0x40000000)

* I tried to reproduce this with strace, but the problem does not
  occur when I run in that mode. I can also avoid the problem by
  giving the full path to the program, see transcript.

  Strace output (gzipped) attached, fwiw.
  One of the mounts (/usr/local) is from /etc/fstab, the others
  are automounts using autofs.

* Possibly related to bugs 140479, 324934

Transcript:
ETCH-# strace -o strace.df.fullpath -fa /bin/df -text3
strace: invalid system call `xt3'
ETCH-# strace -o strace.df.fullpath -af /bin/df -text3
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1               233335     60371    160516  28% /
/dev/hda8              2885780    405884   2333308  15% /data/ETCH_1
/dev/hda7               459143      8243    426403   2% /tmp
/dev/hda5              2885780   2046728    692464  75% /usr
/dev/hda6               918322    124184    745142  15% /var
ETCH-# strace -o strace.df.nopath -af df -text3
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1               233335     60371    160516  28% /
/dev/hda8              2885780    405888   2333304  15% /data/ETCH_1
/dev/hda7               459143      8243    426403   2% /tmp
/dev/hda5              2885780   2046728    692464  75% /usr
/dev/hda6               918322    124184    745142  15% /var
ETCH-# df -text3
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1               233335     60371    160516  28% /
/dev/hda8              2885780    405888   2333304  15% /data/ETCH_1
/dev/hda7               459143      8243    426403   2% /tmp
/dev/hda5              2885780   2046728    692464  75% /usr
/dev/hda6               918322    124184    745142  15% /var
tmpfs                   323040         0    323040   0% /dev/shm
lynx:/export/DEBIANsarge
                       4131392    700032   3390048  18% /usr/local
lynx:/export/user3/user56
                      78643200  23602208  51604544  32% /u/user56
lynx:/export/applic    8246400   6426816   1737120  79% /nfs/applic

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1               233335     60379    160508  28% /
/dev/hda8              2885780    405892   2333300  15% /data/ETCH_1
/dev/hda7               459143      8264    426382   2% /tmp
/dev/hda5              2885780   2046728    692464  75% /usr
/dev/hda6               918322    124207    745119  15% /var
tmpfs                   323040         0    323040   0% /dev/shm
lynx:/export/DEBIANsarge
                       4131392    700032   3390048  18% /usr/local
lynx:/export/user3/user56
                      78643200  23602208  51604544  32% /u/user56


ETCH-# env
host=etch
SHELL=/bin/bash
TERM=xterm
USER=root
MAIL=/var/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
PWD=/root
EDITOR=vi
LANG=en_AU
PS1=ETCH-# SHLVL=1
HOME=/root
LANGUAGE=en_AU:en_US:en_GB:en
LOGNAME=root
PRINTER=EPP001
_=/usr/bin/env


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages coreutils depends on:
ii  libacl1                     2.2.29-1.0.1 Access control list shared library
ii  libc6                       2.3.6-7      GNU C Library: Shared libraries

coreutils recommends no packages.

-- no debconf information

Attachment: strace.df.fullpath.gz
Description: Binary data

Attachment: strace.df.nopath.gz
Description: Binary data

Reply via email to