troglobit / finit

Fast init for Linux. Cookies included
https://troglobit.com/projects/finit/
MIT License
633 stars 63 forks source link

System timezone changes does not "take" in Finit #139

Closed troglobit closed 3 years ago

troglobit commented 4 years ago

Westermo reports; changing the timezone of the system does not "take" in Finit. It continues logging starting/stopping processes with the default timezone.

Nov 3 16:29:04 FITIND01 linkd[2181]: Link up on eth26
Nov 3 16:29:04 FITIND01 linkd[2181]: Link up on eth15
Nov 3 16:29:04 FITIND01 linkd[2181]: Link up on lag0
Nov 3 06:29:04 FITIND01 finit[1]: Stopping teamdagentd:1, PID: 2735, sending SIGTERM...
Nov 3 06:29:04 FITIND01 finit[1]: Starting teamdagentd:1, PID: 2916
Nov 3 06:29:04 FITIND01 finit[1]: Starting dnsmasq:1, PID: 2917
troglobit commented 4 years ago

Best proposal so far is to call tzset() in the reload callback.