du program crashes on /var/lib
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
coreutils (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
We have an Ubuntu 18 installation using xfs file systems
user@hostname:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1989640 0 1989640 0% /dev
tmpfs 404008 848 403160 1% /run
/dev/sda1 9754624 3083376 6671248 32% /
tmpfs 2020032 0 2020032 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 2020032 0 2020032 0% /sys/fs/cgroup
/dev/sda2 11194368 958336 10236032 9% /var
tmpfs 404004 0 404004 0% /run/user/1001
tmpfs 404004 0 404004 0% /run/user/601005952
du aborts when run in /var and /var/lib, but not in any of the subdirectories of /var/lib
I tried rebooting with linux ... init=/bin/bash to run xfs_repair on the /var/file system and it found no errors.
After the repair command, I mounted /var and ran du again with no errors.
However once I rebooted into the full O/S, du aborted again in /var and /var/lib.
The du and sudo du both abort, but non-privileged du also dumps core.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: coreutils 8.28-1ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-32-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Mon Aug 20 15:26:49 2018
InstallationDate: Installed on 2018-06-11 (69 days ago)
InstallationMedia: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: coreutils
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for opening this bug and helping make Ubuntu better.
You refer to "crash" and "abort", but this bug does not have an apport-generated stacktrace, neither *any* details on how 'du' fails. As it is, there is not much we can do.
On a standard Ubuntu system, if 'du' crashes, it should generate a file under /var/crash/, and then apport should automatically kick in and proposed to report the crash. Did this not happen? If it *does* happen, then please open a new bug when requested by apport, and refer back in the to this one.