Coelacanthus@lemmy.kde.socialtoSelfhosted@lemmy.world•Why mount /etc/timezone and /etc/localtime in containers?English
3·
15 days agoWithout it, the program just fallback to UTC.
/etc/localtime
and $TZ
are two ways to specify timezone for programs. The program look up the later first, if it’s empty and then use /etc/localtime
. In theory, $TZ
has better performance because of the glibc will not look up the last modified time of /etc/localtime
when every calling of localtime lookup.
It looks like because the sandbox of Flatpak prevent the program access the unix domain socket of pcscd.
There is a document on Arch Wiki.
https://wiki.archlinux.org/title/Desktop_entries