Go to file
Marek Marczykowski-Górecki dd1bea98e1
core/start: ensure that the previous QubesDB daemon isn't running
When restarting VM (starting it just after it was shut down), it may
happen that previous `qubesdb-daemon` instance is still running - if VM
doesn't properly terminate the connection, dom0 part will not terminate
immediately, but at next alive check (every 10s). Such `qubesdb-daemon`,
when terminating, will remove pid file and socket file. In case of new
daemon already running it would be those of the new daemon, making the
whole QubesDB of this VM inaccessible for dom0 (`qubesdb-daemon` is
running, but its socket is removed).

To prevent this race, ensure that previous instance is terminated before
starting the new one.
There is no need to manually removing socket file, because if some stale
socket exists, it will be replaced by the new one when new
`qubesdb-daemon` starts up.

QubesOS/qubes-issues#1241
2015-09-25 22:06:14 +02:00
core core: use vm.absolute_path to parse paths in qubes.xml 2015-09-04 01:58:53 +02:00
core-modules core/start: ensure that the previous QubesDB daemon isn't running 2015-09-25 22:06:14 +02:00
dispvm dispvm: fallback to tar instead of bsdtar on tmpfs 2015-08-05 01:04:44 +02:00
doc core: inherit kernelopts from the template by default 2015-08-05 01:43:43 +02:00
linux Merge remote-tracking branch 'qubesos/pr/5' 2015-08-01 22:04:18 +02:00
qmemman qmemman: add logging 2015-03-31 20:42:53 +02:00
qubes-rpc hvm: update appmenus only on the first qubes.NotifyTools call 2015-08-09 21:21:47 +02:00
qubes-rpc-policy qubes-rpc-policy/qubes.GetImageRGBA.policy 2014-05-20 17:49:20 +02:00
qvm-tools suggest to use 'yum remove' rather than 'rpm -e' for VM removal so avoid yum's warning of noticing rpm changes outside of yum 2015-08-10 18:02:18 +02:00
rpm_spec Add support for 'pci_strictreset' option 2015-05-28 00:11:17 +02:00
site-packages add convenient symlinks simulating target python files layout 2014-03-10 01:05:01 +01:00
site-packages-qmemman Convenient link for qmemman 2014-04-23 12:53:41 +02:00
tests tests: backup compatibility with R2 (#1124) 2015-09-05 00:04:04 +02:00
vm-config hvm: change default graphics to std vga ('xen') 2015-07-01 04:44:41 +02:00
.gitignore gitignore 2015-05-04 00:35:57 +02:00
installer.wxs windows/installer: configurable destination directory 2014-11-19 12:50:31 +01:00
LICENSE Added LICENSE 2010-04-05 21:21:27 +02:00
Makefile dispvm: do not treat DispVMs as Xen-specific 2015-03-30 05:30:52 +02:00
Makefile.builder windows: installer 2014-11-19 12:50:30 +01:00
version version 3.0.22 2015-09-05 00:28:45 +02:00