On Tue, Apr 4, 2017 at 6:00 PM, Chris Laprise <[email protected]> wrote:
> I read the proposal and a question occurred to me: Would it be possible to
> also make "LogVM" an assigned property in dom0, much as "ClockVM" and
> "UpdateVM" are? This would allow the user to choose which VM performs the
> logging.
>
> It also touches on a possible third aspect to implementing a LogVM, a dom0
> management side.

A good question, but I think not the desired approach.

I was imagining the VMs would send the logs via qrexec service, which
makes it quite easy to specify destination in dom0 config:

in /etc/qubes-rpc/qubes.SendLogs (or so) have:
$anyvm $anyvm allow,target=my-logvm

This has the added benefit of being able to specify destination logvm
on a per-sender basis, e.g.
build-fedora $anyvm allow,target=build-logs
build-debian $anyvm allow,target=build-logs
$anyvm $anyvm allow,target=default-logvm

Note also that 2nd $anyvm parameter (destination) will become optional
/ disappear in the long-term future. [1]

[1]: https://github.com/QubesOS/qubes-issues/issues/910

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/CABQWM_BkUPLAY1Y4S7r%3DmvmDOBDZ1yzwcJeVAsxJRk2aXG0X4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to