Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130710 - Clock init breaks when /etc/localtime is pointed in the wrong direction
Summary: Clock init breaks when /etc/localtime is pointed in the wrong direction
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 03:12 UTC by Stefan de Konink
Modified: 2006-04-21 07:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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