tails-debugging-info 1.17 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh

debug_command() {
    echo
    echo "===== output of command $@ ====="
    "$@"
}

debug_file() {
    echo
    echo "===== content of $1 ====="
12
    cat "$1"
13 14
}

15 16 17
debug_command /usr/sbin/dmidecode -s system-manufacturer
debug_command /usr/sbin/dmidecode -s system-product-name
debug_command /usr/sbin/dmidecode -s system-version
18 19
debug_command "/bin/dmesg"
debug_command "/bin/lsmod"
20
debug_command "/bin/mount"
21
debug_command "/usr/bin/lspci"
22
debug_command grep spoof-mac: /var/log/messages
23 24

debug_file "/etc/X11/xorg.conf"
25
debug_file "/home/amnesia/.xsession-errors"
26 27 28
debug_file "/proc/asound/cards"
debug_file "/proc/asound/devices"
debug_file "/proc/asound/modules"
29
debug_file "/var/log/Xorg.0.log"
30 31
debug_file "/var/log/gdm3/:0-slave.log"
debug_file "/var/log/gdm3/:0-greeter.log"
32
debug_file "/var/log/gdm3/tails-greeter.errors"
33
debug_file "/var/log/live-persist"
34 35
debug_file "/var/log/live/boot.log"
debug_file "/var/log/live/config.log"
36
debug_file "/var/lib/gdm3/tails.persistence"
37
debug_file "/var/lib/live/config/tails.physical_security"
38
debug_file "/live/persistence/TailsData_unlocked/persistence.conf"
39
debug_file "/live/persistence/TailsData_unlocked/live-additional-software.conf"