[Bug 450196] ext3 - recovering journal on / on first boot on new kernel/fresh system updates
https://bugzilla.novell.com/show_bug.cgi?id=450196 https://bugzilla.novell.com/show_bug.cgi?id=450196#c95 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|werner@suse.com | --- Comment #95 from Dr. Werner Fink <werner@suse.com> 2012-07-06 14:36:25 UTC --- I've just include a fix in mkinitrd, from changelog of mkinitrd: * Wed Jul 04 2012 werner@suse.de - Fix boot clock scriptlet by testing /etc/adjtime before /etc/sysconfig/clock to make sure that warpclock is executed if CMOS clock is in local time you may give this a try. With this /boot/05-clock.sh in initrd should looks like (after running mkinitrd!): #!/bin/bash # #%stage: boot #%depends: start rtc udev #%provides: clock #%dontshow if test -e /etc/localtime then if test -e /etc/adjtime then while read line do if test "$line" = LOCAL then /bin/warpclock > /dev/shm/warpclock fi done < /etc/adjtime elif test -e /etc/sysconfig/clock then . /etc/sysconfig/clock case "$HWCLOCK" in *-l*) /bin/warpclock > /dev/shm/warpclock esac fi fi that is if /etc/adjtime is uptodate in initrd then /bin/warpclock should inform the kernel with the help of /etc/localtime in initrd (and as well as /usr/share/zoneinfo/UTC in initrd) that CMOS is not in UTC. For DST switches I've no solution as I do not know how the other OS in the system handle this. There is *no* common standard about this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com