Skip to content

Instantly share code, notes, and snippets.

20-03-26 00:02:07,396 qmemman.daemon.algo[2187]: balloon: dom 59 has actual memory 3640314186
2020-03-26 00:02:07,396 qmemman.daemon.algo[2187]: balloon: dom 56 has actual memory 2809387997
2020-03-26 00:02:07,396 qmemman.daemon.algo[2187]: balloon: dom 20 has actual memory 3088809984
2020-03-26 00:02:07,396 qmemman.daemon.algo[2187]: balloon: dom 0 has actual memory 3836522725
2020-03-26 00:02:07,396 qmemman.daemon.algo[2187]: req=27917202 avail=10151916581.6 donors=[('59', 3050619210.0), ('56', 2398260189.0), ('20', 2614737715.2), ('0', 2088299467.3999999)]
2020-03-26 00:02:07,396 qmemman.daemon.algo[2187]: borrow 8808483.563414916 from 59
2020-03-26 00:02:07,396 qmemman.daemon.algo[2187]: borrow 6924835.255200157 from 56
2020-03-26 00:02:07,396 qmemman.daemon.algo[2187]: borrow 7549901.381162637 from 20
2020-03-26 00:02:07,396 qmemman.daemon.algo[2187]: borrow 6029841.90022229 from 0
2020-03-26 00:02:07,396 qmemman.systemstate[2187]: memset_reqs=[('59', 3631505702), ('56', 2802463161), ('20', 3081260082),
#!/bin/python3
import subprocess
import sys
import time
def main():
if len(sys.argv) == 1:
print("Syntax: force-shutdown.py vm-name")
exit(1)
#!/bin/python3
import qubesadmin
import subprocess
import sys
import time
q = qubesadmin.Qubes()
def main():
78,83c78
< if vm == "dom0":
< return _check_updates_dom0()
< elif vm == "fedora":
< return _check_updates_fedora()
< else:
< return _check_updates_debian(vm)
---
> return UpdateStatus.UPDATES_REQUIRED
93,99d87
This file has been truncated, but you can view the full file.
[erik@dom0 console]$ cat guest-sd-whonix.log
[.[0;32m OK .[0m] Stopped target .[0;1;39mMulti-User System.[0m.
[.[0;32m OK .[0m] Stopped target .[0;1;39mTimers.[0m.
[.[0;32m OK .[0m] Stopped .[0;1;39mDaily apt upgrade and clean activities.[0m.
[.[0;32m OK .[0m] Stopped .[0;1;39mPeriodically check for updates.[0m.
[.[0;32m OK .[0m] Stopped .[0;1;39mDaily rotation of log files.[0m.
[.[0;32m OK .[0m] Stopped .[0;1;39mDaily Cleanup of Temporary Directories.[0m.
Stopping .[0;1;39mSecure Distributed Web Date.[0m...
[.[0;32m OK .[0m] Stopped .[0;1;39mUpdate system time each 6h.[0m.
Stopping .[0;1;39mSession c2 of user user.[0m.
----------
ID: remove-rpc-policy-tags
Function: cmd.script
Name: salt://remove-tags
Result: True
Comment: Command 'salt://remove-tags' run
Started: 16:58:43.424708
Duration: 171.706 ms
Changes:
----------
2020-05-26 16:35:33,264 calling 'state.sls update.qubes-vm'...
2020-05-26 16:44:14,514 output: fedora-31:
2020-05-26 16:44:14,515 output: ----------
2020-05-26 16:44:14,515 output: ID: dnf list updates --refresh >/dev/null
2020-05-26 16:44:14,515 output: Function: cmd.run
2020-05-26 16:44:14,515 output: Result: True
2020-05-26 16:44:14,516 output: Comment: Command "dnf list updates --refresh >/dev/null" run
2020-05-26 16:44:14,516 output: Started: 16:36:15.702876
2020-05-26 16:44:14,516 output: Duration: 61459.992 ms
2020-05-26 16:44:14,516 output: Changes:
Warning: apt-key output should not be parsed (stdout is not a terminal)
pub rsa4096 2016-10-20 [SC] [expires: 2021-06-30]
2224 5C81 E3BA EB41 38B3 6061 310F 5612 00F4 AD77
uid [ unknown] SecureDrop Release Signing Key
uid [ unknown] SecureDrop Release Signing Key <securedrop-release-key@freedom.press>
VM: sd-app-buster-template
Warning: apt-key output should not be parsed (stdout is not a terminal)
pub rsa4096 2016-10-20 [SC] [expires: 2021-06-30]
2224 5C81 E3BA EB41 38B3 6061 310F 5612 00F4 AD77
$ securedrop-admin --apply
Applying configuration...
[CRITICAL] Specified ext_pillar interface qvm_prefs is unavailable
local:
----------
beacons:
clouds:
engines:
grains:
- grains.boot_mode
(Reading database ... 174797 files and directories currently installed.)
Preparing to unpack .../securedrop-workstation-grsec_4.14.186+buster2_amd64.deb ...
Unpacking securedrop-workstation-grsec (4.14.186+buster2) over (4.14.186+buster1) ...
Setting up securedrop-workstation-grsec (4.14.186+buster2) ...
Synchronizing state of paxctld.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable paxctld
-------- Uninstall Beginning --------
Module: u2mfn
Version: 4.0.30