Bug 61356
| Summary: | Several config files in /etc/xinetd.d have 0 size | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Simon Matter <simon.matter> |
| Component: | xinetd | Assignee: | Trond Eivind Glomsrxd <teg> |
| Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.2 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2002-03-18 21:53:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Simon Matter
2002-03-18 14:31:32 UTC
Something I forgot to mention, I'm using XFS as filesystem. One can get zero filled files when having a kernel crash or unclean shutdown. But I didn't have a crash and no unclean shutdown as well. I reproduced it now: using ntsysv to manage services -> reboot: Files in /etc/xinetd.d have normal size but filled with zero. Using ntsysv again truncates them to zero size. Maybe write cache on the disks is enabled for some reason. That could explain why changes are not commited to disk. I don't understand it anyway because on reboot, the cache should be flushed to disk, doesn't it? I would definitely suspect XFS - I have no other reports of anything like it, and have never seen it happen. This does not look like an xinetd problem. Can you reproduce it on a supported configuration? (even so, it wouldn't be an xinetd problem, though - as long as the files are there when the package is installed, it should be off the hook). Okay, it seems to be a XFS problem, partly. XFS has the problem that on a crash, one can get zero filled files when metadata is updated but data could not get out to disk in time. But, whatever filesystem we use, it would be nice if the OS forces the drive to flush it's cache on halt/reboot. I was searching the web and found out that Windows NT had exactly this problem with the Quantum Fireball drive I'm using. So M$ modified the 'IDE driver' to let the drive flush it's cache before halt/reboot. I tried hdparm -f in the halt script to get the same result but it didn't help. I'll try to disable write cache on the drives tomorrow. Is there a way to disable write cache via hdparm or sysctl? If yes, this should go into the halt script. I'm pretty sure attempts are already made, but at this point, it's not an xinetd bug. Closing. |