Bug 977573
Summary: | BIOS Clock change by /etc/init.d/halt script becuase /etc/init.d/blk-availability runs and unmounts /usr | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Matt Roth <mgroth01> |
Component: | lvm2 | Assignee: | Peter Rajnoha <prajnoha> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4 | CC: | agk, bmr, dwysocha, heinzm, jbrassow, mgroth01, msnitzer, prajnoha, prockai, thornber, zkabelac |
Target Milestone: | rc | Flags: | mgroth01:
needinfo?
|
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-08 14:39:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Matt Roth
2013-06-24 23:39:51 UTC
So should the hwclock command run earlier now? (Instead or additionally?) Should /usr be an exception and not be unmounted till even later? Should the hwclock command behaviour in these specific circumstances be changed? Should the localtime information be stored somewhere else instead? And are there any other commands running after /usr is unmounted that also behave incorrectly? Why is /etc/localtime a symlink? It should be a copy of the relevant TZ data file for the local timezone from /usr/share/zoneinfo. A long way back in the RHL days this was maintained as a symlink and it caused exactly this type of problem - while /usr is unavailable the host uses UTC. There was a thread proposing reverting to symlinks about 7 years ago but this was rejected: http://www.redhat.com/archives/rhl-devel-list/2006-April/msg00017.html (In reply to Matt Roth from comment #0) > Description of problem: > > BIOS clock is changed during shutdown when BIOS clock is set to localtime, > and /usr is a separate filesystem Is it the whole /usr or just /usr/share that is on a separate mount? Could you please attach the output of "cat /proc/mounts"? Thanks. (thing is that /usr should not be unmounted - blkdeactivate avoids that by default) There seems to be a lot of the confusion internally and on the web as to whether or not the /etc/localtime should be a copy or a symbolic link. Is there a RHEL document that states this as needing to be a copy not a symbolic link. We do not support /usr as Matt, please, see comment #8 (blkdeactivate should not unmount /usr) - please, provide the output of cat /proc/mounts. Thanks. No response - closing for now. |