[SOLVED] bedrock: bedrock poki remains on UTC no matter what
Bedrock LinuxThis forum is for the discussion of Bedrock Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
bedrock: bedrock poki remains on UTC no matter what
I just did a fresh bedrock Poki install, in Qemu. Hijacked a buildroot. Added a void strata.
Bedrock is on UTF no matter what. Made a new /etc/adjtime and populated it so as to use LOCAL time. Edited the /bedrock/etc/ to tell it Eastern time (/usr/share/zoneinfo/America/New_York). Rebooted.
Bedrock is still on the wrong time. Typing "date" indicates that the machine is still on UTC.
What is your exact `timezone` line under `[locale]` in `bedrock.conf?`
After setting what sounds like it should be `timezone = America/New_York` did you run `brl apply` (as root)?
What does `readlink /etc/localtime` print?
What does `readlink /bedrock/run/localtime` print?
What does `tail -n1 /bedrock/cross/zoneinfo/America/New_York` print?
What does `tail -n1 /bedrock/strata/*/usr/share/zoneinfo/America/New_York` print?
Install `strace` if you don't have it already, then `strat -r $(brl which strace) strace -tvf -s999 -o/tmp/log date` and provide the resulting contents of `/tmp/log`
There's the problem right there. That's not a valid value for the field. There is a comment directly above the `timezone` field explaining how to use it, and it uses your timezone as an example use case:
Code:
#
# The Olson timezone. For example:
#
# timezone = America/New_York
#
# At least one stratum should provide an Olson database file at
#
# /usr/share/zoneinfo/<timezone>
#
# For example, for America/New_York there should be a file at
#
# /usr/share/zoneinfo/America/New_York
#
timezone =
I don't know how to explain it any better than it already does there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.