Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upweird timezone in appVM #1315
Comments
marmarek
added this to the Release 3.0 updates milestone
Oct 10, 2015
marmarek
added
bug
C: core
P: minor
labels
Oct 10, 2015
marmarek
closed this
in
marmarek/old-qubes-core-admin@350e279
Oct 11, 2015
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Oct 11, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yaqu commentedOct 10, 2015
If /etc/localtime in dom0 is a hardlink to zoneinfo file (instead of
symlink) and more than one zoneinfo file is hardlinked to this inode,
appVMs will get invalid timezone, e.g. "Europe/Warsaw\x0aPoland".
Bug is in /usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py
file in get_timezone(). To fix it, number of results from find should be
limited to one, like this:
p = subprocess.Popen(['find', '/usr/share/zoneinfo',
'-inum', str(tz_info.st_ino),
'-print', '-quit'],
stdout=subprocess.PIPE)
Temporary fix: create in dom0 a valid symlink /etc/localtime and do not
change timezone in KDE System Settings (KDE creates hardlink).