Re: [qubes-users] Re: qrexec_timeout does not truly accept 360

2021-03-10 Thread unman
On Wed, Mar 10, 2021 at 04:20:57PM -0800, Rob Townley wrote:
> Replying directly here in Google Groups because could not find this post in 
> email.
> 
> Where does one find the idleness monitor setting?
> 
> [root@dom0 ~]# qvm-prefs --verbose vmName | egrep -i shut
> shutdown_timeoutD  60
> [root@dom0 ~]# qvm-prefs --verbose vmName | egrep -i idle
> [root@dom0 ~]# 
> 
> 

You should be able to see if it is set with qvm-features, or
qvm-service.
It is called (in Debian) shutdown-idle service

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20210311014626.GA32238%40thirdeyesecurity.org.


Re: [qubes-users] Re: qrexec_timeout does not truly accept 360

2021-03-10 Thread Rob Townley
Replying directly here in Google Groups because could not find this post in 
email.

Where does one find the idleness monitor setting?

[root@dom0 ~]# qvm-prefs --verbose vmName | egrep -i shut
shutdown_timeoutD  60
[root@dom0 ~]# qvm-prefs --verbose vmName | egrep -i idle
[root@dom0 ~]# 



On Tuesday, March 2, 2021 at 7:58:43 PM UTC-6 unman wrote:

> On Tue, Mar 02, 2021 at 03:24:31PM -0600, Rob Townley wrote:
> > I really need this qube to run for over an hour without the hypervisor
> > killing it. Short of buying a much faster brand new machine, how does one
> > do that?
> > 
> > On Mon, Mar 1, 2021 at 12:19 AM Rob Townley  wrote:
> > 
> > > qvm-prefs vmName qrexec_timeout 3600
> > > does not return an error message. When read, 3600 is returned.
> > > However, the VM is forcibly stopped after 15 minutes.
> > >
> > > 1800 works
> > > 2700 works
> > > 3600 is not honored
> > >
> > > How can i get by this so this one VM can do finish its upgrade before
> > > forcibly rebooted?
> > >
> > 
>
> There's a confusion here - qrexec-timeout is the time to wait on boot
> for the qrexec agent to be connected.
> If the qube isn't booting up then you have no chance of performing an
> upgrade. You should fix that problem first. BUT...
> The fact that "the VM is forcibly stopped after 15 minutes" suggests to
> me that you have the idleness monitor enabled, since this *does* have a
> default shutdown time of 15 mins.
> Can you check to see if you have the shutdown-idle service enabled this
> qube?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/a1bb9b90-d0da-47cf-a931-a80665e47f75n%40googlegroups.com.


Re: [qubes-users] Re: qrexec_timeout does not truly accept 360

2021-03-02 Thread unman
On Tue, Mar 02, 2021 at 03:24:31PM -0600, Rob Townley wrote:
> I really need this qube to run for over an hour without the hypervisor
> killing it.  Short of buying a much faster brand new machine, how does one
> do that?
> 
> On Mon, Mar 1, 2021 at 12:19 AM Rob Townley  wrote:
> 
> > qvm-prefs vmName qrexec_timeout 3600
> > does not return an error message.   When read, 3600 is returned.
> > However, the VM is forcibly stopped after 15 minutes.
> >
> > 1800 works
> > 2700 works
> > 3600 is not honored
> >
> > How can i get by this so this one VM can do finish its upgrade before
> > forcibly rebooted?
> >
> 

There's a confusion here - qrexec-timeout is the time to wait on boot
for the qrexec agent to be connected.
If the qube isn't booting up then you have no chance of performing an
upgrade. You should fix that problem first. BUT...
The fact that "the VM is forcibly stopped after 15 minutes" suggests to
me that you have the idleness monitor enabled, since this *does* have a
default shutdown time of 15 mins.
Can you check to see if you have the shutdown-idle service enabled this
qube?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20210303015840.GA8710%40thirdeyesecurity.org.