Package: sosreport
Version: 3.6-1
Severity: normal

Dear Maintainer,

Running sosreport with default options, the filesys plugin's dumpe2fs
command is run with invalid args:

$ df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/md126      2.7T  1.4T  1.4T  51% /

# cat sos_commands/filesys/dumpe2fs_-h_.dev.md126
dumpe2fs 1.44.5 (15-Dec-2018)
Usage: dumpe2fs [-bfghimxV] [-o superblock=<num>] [-o blocksize=<num>] device

The log shows it's being run as:

# grep dumpe2fs sos_logs/sos.log
2019-01-05 21:30:11,591 INFO: [plugin:filesys] added cmd output 'dumpe2fs -h 
/dev/md126 /'
2019-01-05 21:31:56,439 INFO: [plugin:filesys] collecting output of 'dumpe2fs 
-h /dev/md126 /'

the trailing " /" would seem to be the problem.



thanks.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sosreport depends on:
ii  python3      3.7.1-3
ii  python3-six  1.12.0-1

sosreport recommends no packages.

sosreport suggests no packages.

-- no debconf information

Reply via email to