[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fsck Fails On Reboot After Partially Completed Testing Upgrade



On Sun, 08 Jan 2006, Debian User Leonard Chatagnier wrote:
> On Fri, 06 Jan 2006, Henrique de Moraes Holschuh wrote:
> >If you cannot, well, we are fixing the bug but it will take some time.  The
> >workaround that MAY work for you is to add TZ=ABC+XX:00 at the top of
> >/etc/init.d/hwclockfirst.sh, where ABC is just three or four letters with
> >the name of your timezone, and +XX is the offset to WEST of UTC of your
> >timezone. I.e. it is +03 if you are at UTC-03:00, or -05 if you are at
> >UTC+05... (don't ask why the stupid sign convention).

I should have also said to cd /etc/rcS.d; mv *hwclockfirst.sh
S05hwclockfirst.sh for people want to use TZ instead of setting the hardware
clock to UTC.

To make things clear: there are *two* possible work-arounds:
  a)  Set hardware clock to UTC: this avoids the issue completely
  b)  Band-aid the localtime support: this avoids all the _current_
      problems.

If you can use (a), it is always better.  (b) is going to be fixed
eventually, the patch for util-linux is already in the bug report, but the
glibc one _will_ take time, because it requires a lot of *testing*.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: