Page MenuHomeFreeBSD

tzsetup: symlink /etc/localtime instead of copying
ClosedPublic

Authored by emaste on Oct 14 2022, 3:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 15 2024, 10:29 AM
Unknown Object (File)
Nov 14 2024, 8:15 AM
Unknown Object (File)
Nov 14 2024, 7:45 AM
Unknown Object (File)
Nov 13 2024, 6:38 PM
Unknown Object (File)
Nov 13 2024, 6:26 AM
Unknown Object (File)
Nov 13 2024, 6:02 AM
Unknown Object (File)
Nov 11 2024, 7:40 AM
Unknown Object (File)
Apr 6 2024, 6:46 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Oct 14 2022, 4:00 PM
philip added a subscriber: philip.

Looks good to me. Thank you!

A key argument for this change is that we align with what most Linux distributions are doing. Since Linux/systemd says it should be a symbolic link, some third-party software like Chromium or R runs into problems when the zoneinfo file is copied to /etc/. The arguments I've read against this change (https://twitter.com/kaevans91/status/1580652408861958144) describe (theoretical) problems when /usr isn't mounted. However, peter@ says,

"I’ve never found a case where a symlink doesn’t Just Work."

I don't see any reason not to do this. @emaste: do you want to commit this, or shall I?

I'll push it later today or tomorrow