Hi,
I wrote a script draft yesterday, that should collect some information for
further backups.
z...@bobek:/etc/cron.daily$ cat sysinfo-local
#!/bin/sh
DSTDIR=/var/backups/sysinfo
mkdir -p "$DSTDIR"
cd "$DSTDIR"
mount >mount.out
blockdev --report >blockdev-report.out
sfdisk -l >sfdisk-l.out 2>&1
for d in /dev/hd? /dev/sd?
do
sfdisk -d $d >sfdisk-d.${d##/dev/}.out 2>&1
done
pvs >lvm-pvs.out
vgs >lvm-vgs.out
lvs >lvm-lvs.out
dmidecode >dmidecode.out
lspci >lspci.out
dpkg --get-selections >dpkg-get-selections.out
Cron output (the script run by anacron after resume from suspend) is
attached. I tried to google strange messages and found this bug-report.
This bug-report should be reassigned somewhere?
Regards
--
Zito
--- Begin Message ---
/etc/cron.daily/sysinfo-local:
File descriptor 3 (/var/run/pm-utils/locks/pm-suspend.lock (deleted)) leaked on
pvs invocation. Parent PID 20848: /bin/sh
File descriptor 4 (/dev/input/event12) leaked on pvs invocation. Parent PID
20848: /bin/sh
File descriptor 5 (/dev/input/event2) leaked on pvs invocation. Parent PID
20848: /bin/sh
File descriptor 6 (/dev/input/event3) leaked on pvs invocation. Parent PID
20848: /bin/sh
File descriptor 7 (/dev/input/event4) leaked on pvs invocation. Parent PID
20848: /bin/sh
File descriptor 8 (/dev/input/event5) leaked on pvs invocation. Parent PID
20848: /bin/sh
File descriptor 9 (inotify) leaked on pvs invocation. Parent PID 20848: /bin/sh
File descriptor 10 (socket:[10191]) leaked on pvs invocation. Parent PID 20848:
/bin/sh
File descriptor 11 (/) leaked on pvs invocation. Parent PID 20848: /bin/sh
File descriptor 3 (/var/run/pm-utils/locks/pm-suspend.lock (deleted)) leaked on
vgs invocation. Parent PID 20848: /bin/sh
File descriptor 4 (/dev/input/event12) leaked on vgs invocation. Parent PID
20848: /bin/sh
File descriptor 5 (/dev/input/event2) leaked on vgs invocation. Parent PID
20848: /bin/sh
File descriptor 6 (/dev/input/event3) leaked on vgs invocation. Parent PID
20848: /bin/sh
File descriptor 7 (/dev/input/event4) leaked on vgs invocation. Parent PID
20848: /bin/sh
File descriptor 8 (/dev/input/event5) leaked on vgs invocation. Parent PID
20848: /bin/sh
File descriptor 9 (inotify) leaked on vgs invocation. Parent PID 20848: /bin/sh
File descriptor 10 (socket:[10191]) leaked on vgs invocation. Parent PID 20848:
/bin/sh
File descriptor 11 (/) leaked on vgs invocation. Parent PID 20848: /bin/sh
File descriptor 3 (/var/run/pm-utils/locks/pm-suspend.lock (deleted)) leaked on
lvs invocation. Parent PID 20848: /bin/sh
File descriptor 4 (/dev/input/event12) leaked on lvs invocation. Parent PID
20848: /bin/sh
File descriptor 5 (/dev/input/event2) leaked on lvs invocation. Parent PID
20848: /bin/sh
File descriptor 6 (/dev/input/event3) leaked on lvs invocation. Parent PID
20848: /bin/sh
File descriptor 7 (/dev/input/event4) leaked on lvs invocation. Parent PID
20848: /bin/sh
File descriptor 8 (/dev/input/event5) leaked on lvs invocation. Parent PID
20848: /bin/sh
File descriptor 9 (inotify) leaked on lvs invocation. Parent PID 20848: /bin/sh
File descriptor 10 (socket:[10191]) leaked on lvs invocation. Parent PID 20848:
/bin/sh
File descriptor 11 (/) leaked on lvs invocation. Parent PID 20848: /bin/sh
--- End Message ---