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

Bug 469760

Summary: sys-libs/timezone-data resetting timezone to "Factory" though correct setting is in /etc/timezone
Product: Gentoo Linux Reporter: Mark Dominik Bürkle <dominik.buerkle>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for timezone-data-2013b.ebuild, also fits for 2013c

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