core-admin/qubes
Marek Marczykowski-Górecki f023b3dd6e
backup: fix naming qubes.xml.000 in the archive
Restore old code for calculating subdir within the archive. The new one
had two problems:
 - set '/' for empty input subdir - which caused qubes.xml.000 to be
 named '/qubes.xml.000' (and then converted to '../../qubes.xml.000');
 among other things, this results in the wrong path used for encryption
 passphrase
 - resolved symlinks, which breaks calculating path for any symlinks
 within VM's directory (symlinks there should be treated as normal files
 to be sure that actual content is included in the backup)

This partially reverts 4e49b951ce.

Fixes QubesOS/qubes-issues#4493
2018-11-15 18:25:29 +01:00
..
api api/admin: fix error message when refusing to create template on template 2018-11-04 17:05:55 +01:00
ext ext/pci: fix error message about missing device 2018-11-01 22:28:50 +01:00
qmemman qmemman: fix early crash 2018-01-18 17:36:37 +01:00
storage storage: fix NotImplementedError message for import_data() 2018-10-29 20:21:42 +00:00
tests api/admin: fix error message when refusing to create template on template 2018-11-04 17:05:55 +01:00
tools app: uncouple pool setup from loading initial configuration 2018-09-11 23:50:25 +00:00
vm vm: fix deadlock on qrexec timeout handling 2018-11-04 17:05:55 +01:00
__init__.py Merge branch 'master' into devel-no-assert 2018-10-29 20:29:53 +01:00
app.py vm: add shutdown_timeout property, make vm.shutdown(wait=True) use it 2018-10-26 23:54:04 +02:00
backup.py backup: fix naming qubes.xml.000 in the archive 2018-11-15 18:25:29 +01:00
config.py app: create /var/lib/qubes as file-reflink if supported 2018-09-11 23:50:26 +00:00
core2migration.py Make pylint happy 2017-12-21 18:19:10 +01:00
devices.py Merge branch 'master' into devel-no-assert 2018-10-29 20:29:53 +01:00
dochelpers.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
events.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
exc.py exc: fix QubesMemoryError constructor 2018-10-30 01:14:58 +01:00
firewall.py Merge branch 'master' into devel-no-assert 2018-10-29 20:29:53 +01:00
log.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
rngdoc.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
tarwriter.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
utils.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00