-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown time zone 'posixrules' #15722
Labels
Comments
@YangKeao Thanks for your feedback, could you please post the error message and error stack to us? |
|
Has this been fixed and is there any workaround? |
Please edit this comment to complete the following informationNot a bug
Duplicate bug
BugNote: Make Sure that 'component', and 'severity' labels are added 1. Root Cause Analysis (RCA) (optional)2. Symptom (optional)3. All Trigger Conditions (optional)4. Workaround (optional)5. Affected versions6. Fixed versions |
(RCA AllTriggerConditions FixedVersions AffectedVersions Symptom ) fields are empty. |
This was referenced Oct 23, 2020
( FixedVersions AffectedVersions ) fields are empty. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug Report
1. What did you do?
Start tikv, pd and tidb on a machine with America/New_York timezone. (Ubuntu 18.04)
2. What did you expect to see?
TiDB starts normally.
3. What did you see instead?
TiDB fails to start. Return an error from tikv coprocessor:
Unknown time zone 'posixrules'
.This was because on some distribution,
/etc/localtime
was linked to/usr/share/zoneinfo/America/New_York
which was also a soft link to/usr/share/zoneinfo/posixrules
.Then TiKV receives
posixrules
timezone and fails to parse it.A simple way to fix it is to
readlink
only once (butfilepath.EvalSymlinks
actually follows the symlink recursively).The text was updated successfully, but these errors were encountered: