http://bugzilla.novell.com/show_bug.cgi?id=611996 http://bugzilla.novell.com/show_bug.cgi?id=611996#c9 --- Comment #9 from Harald Koenig <koenig@linux.de> 2010-07-15 17:23:05 UTC --- (In reply to comment #8)
Hmmmm ... the /var/run/nscd/passwd is marked as deleted but it seem not happened here. Question: does a line
fsync /var/run/nscd/passwd 2>/dev/null
before the lsof command help?
tried it (without 2>/dev/null for fast eyes;), but this does not help, (as expected, see below). /var/log/root.lsof again shows rc 5892 root DEL REG 8,2 886616 /var/run/nscd/passwd and dmesg again shows a ~7 seconds which likely is the time for ext4 journal rollback: [ 5.182026] PM: Resume from disk failed. [ 12.091046] kjournald starting. Commit interval 15 seconds [ 12.091210] EXT3-fs (sda2): using internal journal [ 12.091218] EXT3-fs (sda2): mounted filesystem with ordered data mode [ 13.868606] preloadtrace: systemtap: 1.1/0.147, base: ffffffffa0220000, memory: 37data/40text/12ctx/13net/396alloc kb, probes: 44 for trying to fsync(1) a deleted file, try: sleep 999 > /tmp/SLEEP & sleep 1 lsof -p `pidof sleep` | grep SLEEP fsync /tmp/SLEEP rm /tmp/SLEEP lsof -p `pidof sleep` | grep SLEEP fsync /tmp/SLEEP with this output for the final fsync: Usage: fsync file /tmp/SLEEP: No such file or directory this does not perfectly match the /var/run/nscd/passwd example as rc uses map (see the FD column in lsof output showing "DEL" instead of a fd number!) but it shows that without existing directory entry for that file fsync(1) won't work... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.