Information
ID: 162
PHID: PHID-TASK-nckcyib6vzku7qmzkcb2
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Normal
Description
# Set timezone to UTC and make files immutable
timezone='UTC'
cp -p /usr/share/zoneinfo/${timezone} /etc/localtime
cp -p /usr/share/zoneinfo/${timezone} /etc/localtime.anondist
echo "${timezone}" > /etc/timezone
echo "${timezone}" > /etc/timezone.anondist
chattr +i /etc/localtime
chattr +i /etc/timezone
What’s the good for? Anything wrong with the timezone-utc package?
Issues:
chattr +i
is problematic, because in a later upgrade, echo "${timezone}" > /etc/timezone
will fail and the postinst script will abort.
- There is no file
/etc/timezone.anondist
.
- It robs the user’s ability to choose custom setting. Would be re-applied on upgrade of the
qubes-whonix
package.
- Doesn’t belong in that package?
Comments
nrgaway
2015-02-15 10:37:26 UTC
nrgaway
2015-02-15 11:15:00 UTC
Patrick
2015-02-15 11:16:40 UTC
nrgaway
2015-02-15 11:29:46 UTC
Patrick
2015-08-12 20:05:47 UTC
Patrick
2015-08-14 19:39:34 UTC
nrgaway
2015-08-15 12:50:35 UTC
Patrick
2015-08-15 18:52:56 UTC
Patrick
2015-09-08 15:52:32 UTC
Patrick
2015-09-08 15:53:19 UTC