Package: e2fsprogs
Version: 1.43.3-1
Severity: wishlist

1. Storm hits, power fails.
2. When power restored, boot computer. Notice some messages about clearing 
orphaned inodes fly by.
3. Now check for any place on the computer where those messages might be stored.
# find /var/log -type f -mtime -1|xargs zgrep -i inode
/var/log/kern.log:Oct  1 02:42:10 jidanni5 kernel: [    0.000000] Inode-cache 
hash table entries: 65536 (order: 6, 262144 bytes)
/var/log/syslog:Oct  1 02:42:10 jidanni5 kernel: [    0.000000] Inode-cache 
hash table entries: 65536 (order: 6, 262144 bytes)
/var/log/messages:Oct  1 02:42:10 jidanni5 kernel: [    0.000000] Inode-cache 
hash table entries: 65536 (order: 6, 262144 bytes)
I.e., no not there.

I bet even the Linux experts have no way to see these messages later
(without attaching a second printing(!) terminal.)

Can't there be a tiny place in the gigabytes of memory these days, where
initramfs messages, the same ones we see flying by upon boot,
are stored, and then, after the system is fully running, write those
messages to a file in /var/log?

Please reassign this bug (after adding ideas) to (probably ?) the kernel.

Semi/related/older projects:

$ dlocate /var/log/fsck
initscripts: /var/log/fsck
$ ls -l /var/log/fsck
total 8
-rw-r----- 1 root adm 122 2014-07-12  checkfs
-rw-r----- 1 root adm 200 2014-07-12  checkroot
I.e., stopped working years ago.

$ dlocate bootlog
initscripts: /etc/init.d/bootlogs
systemd: /lib/systemd/system/bootlogd.service
systemd: /lib/systemd/system/bootlogs.service
systemd: /lib/systemd/system/stop-bootlogd-single.service
systemd: /lib/systemd/system/stop-bootlogd.service
which I recall won't help in this case either.

-- System Information:
Debian Release: stretch/sid
  APT prefers experimental
  APT policy: (990, 'experimental'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.7.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages e2fsprogs depends on:
ii  e2fslibs    1.43.3-1
ii  libblkid1   2.28.2-1
ii  libc6       2.24-3
ii  libcomerr2  1.43.3-1
ii  libss2      1.43.3-1
ii  libuuid1    2.28.2-1
ii  util-linux  2.28.2-1

e2fsprogs recommends no packages.

Versions of packages e2fsprogs suggests:
pn  e2fsck-static  <none>
pn  fuse2fs        <none>
pn  gpart          <none>
ii  parted         3.2-15

-- no debconf information

Reply via email to