Re: [qubes-users] How to block template vm? (prevent it from starting)

2016-11-27 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Sat, Nov 19, 2016 at 09:27:39AM -0800, Pawel Debski wrote:
> Folks,
> 
> is it possible to somehow block a TemplateVM and all VMs based on this 
> template?
> 
> I.e. whenever some app would be started in any VM involving this template I'd 
> like to get an error messages or at least have the operation fail silently 
> instead of having Qubes start the VM.

There is no builtin option for this, but if you really want, you can
intentionally break such template. Like renaming
/var/lib/qubes/vm-templates//root.img to some other
name.

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJYO5v/AAoJENuP0xzK19csNfAH/3+Q66qBuyWjxbmWSkJmPEVC
fkIDLlgV2TVgjK6g0thQNE1LQo9DgvBNhS+yOq0soidNAGfR53iKXEo8vVXlgnFs
WsnuYuT35jndOVp5046awpo7mpXyH2QD0VnaOFru/IqOk/k5Zq697UFyFGEMjCnE
ScrwWsbR3EQRC2sx21R9wCue/jqYPjiFD7WdZipk1tLRySiqVrtwfrwSuMaBg19I
C65W/YunAydoSfGg8gcgdhBJj891BooYbHzfnkms3ygUl7Tr+JWb/T1G6zpLkUIR
2ZuTH0TigxJgQvb74lSJD5pDRRGf5zOPac6Mug0TO0oDcMs0IMT7KSbE3Dfs55k=
=vvdo
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20161128025247.GL2130%40mail-itl.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] How to block template vm? (prevent it from starting)

2016-11-19 Thread yaqu
On Sat, 19 Nov 2016 09:27:39 -0800 (PST), Pawel Debski
 wrote:

> is it possible to somehow block a TemplateVM and all VMs based on
> this template?
> 
> I.e. whenever some app would be started in any VM involving this
> template I'd like to get an error messages or at least have the
> operation fail silently instead of having Qubes start the VM.

You could add to rc.local script:
shutdown -h now

VM will shutdown immediately after starting.

-- 
yaqu

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20161119221651.D6182105E9B%40mail2.openmailbox.org.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] How to block template vm? (prevent it from starting)

2016-11-19 Thread Pawel Debski
Folks,

is it possible to somehow block a TemplateVM and all VMs based on this template?

I.e. whenever some app would be started in any VM involving this template I'd 
like to get an error messages or at least have the operation fail silently 
instead of having Qubes start the VM.

Best regards
PD

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/04641d0d-0a9c-478f-a909-ef1ecac937b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.