Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 130710

Summary: Clock init breaks when /etc/localtime is pointed in the wrong direction
Product: Gentoo Linux Reporter: Stefan de Konink <stefan>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan de Konink 2006-04-21 03:12:18 UTC
I tryed some fancy stuff to point /etc/localtime to ../usr/share/zoneinfo/Europe/Amsterdam. The clock script didn't like this relative path and broke the boot.

I suggest a fix where it checks if the file exists instead of 'just' die.
Comment 1 SpanKY gentoo-dev 2006-04-21 07:08:08 UTC
works just fine

hwclock shouldnt care ... as long as the symlink isnt broken, it doesnt matter if it's relative or absolute

running this:
file -L /etc/localtime
should tell you whether the link is correct