powerman / powerman-overlay

Powerman's Gentoo overlay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Time & date off with runit, despite being set properly according to the Gentoo Handbook

fusion809 opened this issue · comments

Hi,

I followed the Gentoo Handbook with regard to setting up local time (on my glibc + runit system, not on the musl one) i.e. running:

echo "Australia/Brisbane" > /etc/localtime
emerge --config sys-libs/timezone-data

yet when I boot into Gentoo with runit I get these errors:

virtualbox_gentoo linux glibc runit _21_11_2017_21_57_17

I don't get this error when I follow the same technique with OpenRC or systemd. Any ideas how to fix this?

Sorry if this turns out to not be a bug, it's just I'm stuck with what to do.

Thanks for your time,
Brenton

It looks like this file should contain actual timezone data, not it's name. Not sure why Handbook tell you to do it this way, maybe emerge --config sys-libs/timezone-data does the trick of replacing file you've created with echo with actual data file. In short, check what this file contains (it should be a binary file) and if it's still text file then replace it using:

# cp /usr/share/zoneinfo/Australia/Brisbane /etc/localtime

As for error on screenshot - it's just a warning, usually happens on first boot (if you've installed Gentoo using system with another/wrong timezone) or because of using wrong timezone in BIOS (it should match one in /etc/localtime) and it's harmless.