Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469760 - sys-libs/timezone-data resetting timezone to "Factory" though correct setting is in /etc/timezone
Summary: sys-libs/timezone-data resetting timezone to "Factory" though correct setting...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-05-13 22:28 UTC by Mark Dominik Bürkle
Modified: 2013-05-14 16:22 UTC (History)
0 users

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


Attachments
patch for timezone-data-2013b.ebuild, also fits for 2013c (timezone-data-2013b.patch,562 bytes, patch)
2013-05-13 22:28 UTC, Mark Dominik Bürkle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Dominik Bürkle 2013-05-13 22:28:24 UTC
Created attachment 348194 [details, diff]
patch for timezone-data-2013b.ebuild, also fits for 2013c

/etc/localtime is being overwritten by every update of timezone-data (2013b,c and earlier).
patch follows.
Comment 1 Mark Dominik Bürkle 2013-05-13 22:34:27 UTC
ups - my /etc/timezone does not conform to the (current?) Gentoo manual:
I have as contents

TIMEZONE=Europe/Berlin

though equal signs normally don't appear in file names and it could be cut off anyways...

TIA
Comment 2 SpanKY gentoo-dev 2013-05-14 16:22:46 UTC
/etc/conf.d/clock is where you do something like:
 TIMEZONE=aslkdjf

/etc/timezone does not take the var form.  it is just:
 aslkdjf

if you're putting "TIMEZONE=aslkdjf" into /etc/timezone, then your system is misconfigured