Page MenuHomeFreeBSD

tzsetup: symlink /etc/localtime instead of copying
ClosedPublic

Authored by emaste on Oct 14 2022, 3:14 PM.
Tags
None
Referenced Files
F154411616: D37005.id130491.diff
Tue, Apr 28, 9:49 AM
F154321507: D37005.id.diff
Mon, Apr 27, 8:10 PM
Unknown Object (File)
Sat, Apr 18, 2:15 PM
Unknown Object (File)
Sat, Apr 18, 5:24 AM
Unknown Object (File)
Thu, Apr 16, 10:58 PM
Unknown Object (File)
Wed, Apr 15, 12:40 AM
Unknown Object (File)
Tue, Apr 7, 9:36 PM
Unknown Object (File)
Sun, Apr 5, 4:56 PM
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