You are not logged in.

#1 2012-07-03 01:11:24

McEnroe
Member
Registered: 2009-03-27
Posts: 6

Setting a timezone

I want to set my timezone to America/New_York. date says that the current time is CEST. I'm using systemd, no desktop environment.

Right now I have

/etc/localtime link to /usr/share/zoneinfo/America/New_York

/etc/timezone set right

/etc/rc.conf set right

Hardware clock is set to utc and works fine.

Unfortunately I'm still on CEST. Am I missing something?

Offline

#2 2012-07-03 05:13:58

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Setting a timezone

What's that /etc/timezone file?

Get rid of it and see if makes a difference.

Offline

#3 2012-07-03 05:57:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Setting a timezone

x33a wrote:

What's that /etc/timezone file?

Get rid of it and see if makes a difference.

https://wiki.archlinux.org/index.php/Systemd#Timezone


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2012-07-03 07:04:34

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Setting a timezone

jasonwryan wrote:
x33a wrote:

What's that /etc/timezone file?

Get rid of it and see if makes a difference.

https://wiki.archlinux.org/index.php/Systemd#Timezone

So now timezone needs to be set in both rc.conf and this file?

Offline

#5 2012-07-03 07:11:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Setting a timezone

x33a wrote:
jasonwryan wrote:
x33a wrote:

What's that /etc/timezone file?

Get rid of it and see if makes a difference.

https://wiki.archlinux.org/index.php/Systemd#Timezone

So now timezone needs to be set in both rc.conf and this file?

You could just read the page yourself…

Systemd page wrote:

systemd will use /etc/rc.conf if these files are absent.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2012-07-03 07:19:38

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Setting a timezone

Yes, so having it set in both is a good idea? Anyway, not interested in systemd, so didn't bother reading the page tongue

Offline

#7 2012-07-03 14:16:44

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Setting a timezone

Having installed and setup systemd, rc.conf is not necessary anymore, it will be ignored.

Offline

Board footer

Powered by FluxBB