On 2024-12-16 10:36, Michael Tokarev via Postfix-users wrote:
> 
> Calling tzset() before chroot() is not useful in glibc.  Because while glibc
> caches the /etc/localtime values to avoid the need to re-read it on each
> use, it also *resets* the cached values back to defaults if it doesn't find
> /etc/localtime on the next use.

Would storing the value in TZ variable before chroot() help dealing with
this?
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to