0

About a week ago I changed the timezone on my VPS using the following command:

sudo ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime

A couple of days later I get up in the morning and find the web server is down. Apparently the system restarted for some reason. Today I noticed that the time is wrong on the system because the symbolic link I made (shown above) was gone.

I thought that symbolic links are a permanent part of the filesystem that do not get deleted when a system restarts. Is this not true? What could have caused the symbolic link to be deleted?

1 Answer 1

1

timedatectl alters the /etc/localtime symlink.

See the following for more info:

timedatectl man page

localtime man page

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .