[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

Update today broke my gateway

I’m on testing using the xfce environment.

I updated my template VMs for the workstation and gateway a few hours ago (sudo apt-get update && sudo apt-get dist-upgrade -y). After the update I restarted the VMs based from those templates. My sys-gateway has no issue with getting internet and connecting to Tor. Although I noticed that there is a new zenity notification about Tor connecting and then being connected which didn’t exist before. Previous I believe it was using kdialog, which was nicer because it showed the progress of whonixcheck. Now it is more similar to Tails where you just get two pop up. Whatever, not a big deal just thought I’d mention that part.

My VMs using the ws as a template however can get no connection to the gateway it appears. Furthermore they are not attempting whonixcheck. When I manually run whonixcheck I get this:

user@host:~$ whonixcheck
bash: /usr/lib/msgcollector/msgdispatcher_run_check: No such file or directory
###############################################################################
## whonixcheck script bug.
## No panic. Nothing is broken. Just some rare condition has been hit.
## Try again later. There is likely a solution for this problem.
## Please see Whonix News, Whonix Blog and Whonix User Help Forum.
## Please report this bug!
##
## who_ami: 
## identifier: 
## exit_code: 127
## error_cause: error_handler signal ERR detected with BASH_COMMAND:
bash -n /usr/lib/msgcollector/msgdispatcher_run_check
##
## Experts only:
## bash -x whonixcheck --verbose
## for verbose output. Clean the output and report to Whonix developers.
#########################################################################
whonixcheck: Error detected. Skipping ex_funct since not yet load. Exiting...

I tried to copy “/usr/lib/msgcollector/msgdispatcher_run_check” from the gateway to the workstation and then run whonixcheck again. I get this:

user@host:~$ whonixcheck
Failed to read /qubes-gateway
msgcollector unknown option: --onlyecho
###############################################################################
## whonixcheck script bug.
## No panic. Nothing is broken. Just some rare condition has been hit.
## Try again later. There is likely a solution for this problem.
## Please see Whonix News, Whonix Blog and Whonix User Help Forum.
## Please report this bug!
##
## who_ami: user
## identifier: 
## exit_code: 1
## error_cause: error_handler signal ERR detected with BASH_COMMAND:
$output_tool --identifier "$IDENTIFIER" --whoami "$who_ami" ${1+"$@"}
##
## Experts only:
## bash -x whonixcheck --verbose
## for verbose output. Clean the output and report to Whonix developers.
#########################################################################
whonixcheck: Error detected. Cleaning up... Exiting...
whonixcheck: signal ERR received. Cleaning up... Exiting...
msgcollector unknown option: --onlyecho
msgcollector unknown option: --onlyecho
msgcollector unknown option: --onlyecho

Here is the verbose output from whonixcheck with the missing file (without it’s just repeating that I need that file):

user@host:~$ bash -x whonixcheck --verbose
+ set -e
+ set -o pipefail
+ set -o errtrace
+ NOTIFY_MSG='Checking Tor Connection, Tor Browser Version, Operating System Updates, Whonix Version, Whonix News...
This will happen in background and will take approximately three minutes...'
+ ICON=/usr/share/icons/anon-icon-pack/whonix.ico
++ basename /usr/bin/whonixcheck
+ SCRIPTNAME=whonixcheck
+ IDENTIFIER=whonixcheck
+ bash -n /usr/lib/msgcollector/error_handler
+ source /usr/lib/msgcollector/error_handler
+ trap error_handler ERR
+ set +e
+ bash -n /usr/lib/msgcollector/msgdispatcher_run_check
+ source /usr/lib/msgcollector/msgdispatcher_run_check
+ bash -n /usr/lib/anon-shared-helper-scripts/tor_enabled_check
+ source /usr/lib/anon-shared-helper-scripts/tor_enabled_check
+ bash -n /usr/lib/anon-shared-helper-scripts/pkg_manager_running_check
+ source /usr/lib/anon-shared-helper-scripts/pkg_manager_running_check
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/autostart ']'
+ '[' t = '~' ']'
+ echo /usr/lib/whonixcheck/autostart
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/autostart
+ source /usr/lib/whonixcheck/autostart
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_apt_repository ']'
+ '[' y = '~' ']'
+ echo /usr/lib/whonixcheck/check_apt_repository
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_apt_repository
+ source /usr/lib/whonixcheck/check_apt_repository
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_control_port_filter ']'
+ '[' r = '~' ']'
+ echo /usr/lib/whonixcheck/check_control_port_filter
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_control_port_filter
+ source /usr/lib/whonixcheck/check_control_port_filter
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_entropy ']'
+ '[' y = '~' ']'
+ echo /usr/lib/whonixcheck/check_entropy
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_entropy
+ source /usr/lib/whonixcheck/check_entropy
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_hostname ']'
+ '[' e = '~' ']'
+ echo /usr/lib/whonixcheck/check_hostname
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_hostname
+ source /usr/lib/whonixcheck/check_hostname
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_initializer ']'
+ '[' r = '~' ']'
+ echo /usr/lib/whonixcheck/check_initializer
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_initializer
+ source /usr/lib/whonixcheck/check_initializer
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_ip_forwarding_disabled ']'
+ '[' d = '~' ']'
+ echo /usr/lib/whonixcheck/check_ip_forwarding_disabled
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_ip_forwarding_disabled
+ source /usr/lib/whonixcheck/check_ip_forwarding_disabled
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_logs ']'
+ '[' s = '~' ']'
+ echo /usr/lib/whonixcheck/check_logs
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_logs
+ source /usr/lib/whonixcheck/check_logs
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_news ']'
+ '[' s = '~' ']'
+ echo /usr/lib/whonixcheck/check_news
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_news
+ source /usr/lib/whonixcheck/check_news
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_operating_system ']'
+ '[' m = '~' ']'
+ echo /usr/lib/whonixcheck/check_operating_system
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_operating_system
+ source /usr/lib/whonixcheck/check_operating_system
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_package_manager_running ']'
+ '[' g = '~' ']'
+ echo /usr/lib/whonixcheck/check_package_manager_running
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_package_manager_running
+ source /usr/lib/whonixcheck/check_package_manager_running
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_packages ']'
+ '[' s = '~' ']'
+ echo /usr/lib/whonixcheck/check_packages
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_packages
+ source /usr/lib/whonixcheck/check_packages
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_pvclock ']'
+ '[' k = '~' ']'
+ echo /usr/lib/whonixcheck/check_pvclock
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_pvclock
+ source /usr/lib/whonixcheck/check_pvclock
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_qubes ']'
+ '[' s = '~' ']'
+ echo /usr/lib/whonixcheck/check_qubes
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_qubes
+ source /usr/lib/whonixcheck/check_qubes
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_stream_isolation ']'
+ '[' n = '~' ']'
+ echo /usr/lib/whonixcheck/check_stream_isolation
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_stream_isolation
+ source /usr/lib/whonixcheck/check_stream_isolation
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_systemd_clock ']'
+ '[' k = '~' ']'
+ echo /usr/lib/whonixcheck/check_systemd_clock
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_systemd_clock
+ source /usr/lib/whonixcheck/check_systemd_clock
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_timezone ']'
+ '[' e = '~' ']'
+ echo /usr/lib/whonixcheck/check_timezone
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_timezone
+ source /usr/lib/whonixcheck/check_timezone
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_tor_bootstrap ']'
+ '[' p = '~' ']'
+ echo /usr/lib/whonixcheck/check_tor_bootstrap
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_tor_bootstrap
+ source /usr/lib/whonixcheck/check_tor_bootstrap
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_torbrowser ']'
+ '[' r = '~' ']'
+ echo /usr/lib/whonixcheck/check_torbrowser
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_torbrowser
+ source /usr/lib/whonixcheck/check_torbrowser
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_tor_config ']'
+ '[' g = '~' ']'
+ echo /usr/lib/whonixcheck/check_tor_config
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_tor_config
+ source /usr/lib/whonixcheck/check_tor_config
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_tor_enabled ']'
+ '[' d = '~' ']'
+ echo /usr/lib/whonixcheck/check_tor_enabled
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_tor_enabled
+ source /usr/lib/whonixcheck/check_tor_enabled
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_tor_pid ']'
+ '[' d = '~' ']'
+ echo /usr/lib/whonixcheck/check_tor_pid
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_tor_pid
+ source /usr/lib/whonixcheck/check_tor_pid
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_tor_socks_or_trans_port ']'
+ '[' t = '~' ']'
+ echo /usr/lib/whonixcheck/check_tor_socks_or_trans_port
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_tor_socks_or_trans_port
+ source /usr/lib/whonixcheck/check_tor_socks_or_trans_port
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_tor_socks_port_reachability ']'
+ '[' y = '~' ']'
+ echo /usr/lib/whonixcheck/check_tor_socks_port_reachability
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_tor_socks_port_reachability
+ source /usr/lib/whonixcheck/check_tor_socks_port_reachability
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_virtualizer ']'
+ '[' r = '~' ']'
+ echo /usr/lib/whonixcheck/check_virtualizer
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_virtualizer
+ source /usr/lib/whonixcheck/check_virtualizer
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/check_whonixsetup_done ']'
+ '[' e = '~' ']'
+ echo /usr/lib/whonixcheck/check_whonixsetup_done
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/check_whonixsetup_done
+ source /usr/lib/whonixcheck/check_whonixsetup_done
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/cleanup ']'
+ '[' p = '~' ']'
+ echo /usr/lib/whonixcheck/cleanup
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/cleanup
+ source /usr/lib/whonixcheck/cleanup
++ trap trap_sigterm SIGTERM
++ trap trap_sigint SIGINT
++ trap trap_sigusr2 SIGUSR2
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/disclaimer ']'
+ '[' r = '~' ']'
+ echo /usr/lib/whonixcheck/disclaimer
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/disclaimer
+ source /usr/lib/whonixcheck/disclaimer
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/donate ']'
+ '[' e = '~' ']'
+ echo /usr/lib/whonixcheck/donate
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/donate
+ source /usr/lib/whonixcheck/donate
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/function_manual_run ']'
+ '[' n = '~' ']'
+ echo /usr/lib/whonixcheck/function_manual_run
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/function_manual_run
+ source /usr/lib/whonixcheck/function_manual_run
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/help_cli ']'
+ '[' i = '~' ']'
+ echo /usr/lib/whonixcheck/help_cli
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/help_cli
+ source /usr/lib/whonixcheck/help_cli
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/parse_cmd ']'
+ '[' d = '~' ']'
+ echo /usr/lib/whonixcheck/parse_cmd
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/parse_cmd
+ source /usr/lib/whonixcheck/parse_cmd
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/pin_ssl_cert ']'
+ '[' t = '~' ']'
+ echo /usr/lib/whonixcheck/pin_ssl_cert
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/pin_ssl_cert
+ source /usr/lib/whonixcheck/pin_ssl_cert
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/preparation ']'
+ '[' n = '~' ']'
+ echo /usr/lib/whonixcheck/preparation
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/preparation
+ source /usr/lib/whonixcheck/preparation
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/process_killer_helper ']'
+ '[' r = '~' ']'
+ echo /usr/lib/whonixcheck/process_killer_helper
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/process_killer_helper
+ source /usr/lib/whonixcheck/process_killer_helper
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/root_check ']'
+ '[' k = '~' ']'
+ echo /usr/lib/whonixcheck/root_check
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/root_check
+ source /usr/lib/whonixcheck/root_check
+ for i in '/usr/lib/whonixcheck/*'
+ '[' -f /usr/lib/whonixcheck/uwt_tool ']'
+ '[' l = '~' ']'
+ echo /usr/lib/whonixcheck/uwt_tool
+ grep -q .dpkg-
+ bash -n /usr/lib/whonixcheck/uwt_tool
+ source /usr/lib/whonixcheck/uwt_tool
+ whonixcheck_main --verbose
+ whonixcheck_basics --verbose
+ parse_cmd_options --verbose
+ AUTOSTARTED=0
+ CURL_VERBOSE=--silent
+ :
+ case $1 in
+ verbose=1
+ shift
+ :
+ case $1 in
+ break
+ preparation
+ msgdispatcher_init
+ output_tool=/usr/lib/msgcollector/msgcollector
+ output_general=output_func_general
+ output_x=output_func_x
+ output_cli=output_func_cli
+ msgdispatcher_run_check
+ msgdispatcher_pid_check x
+ local pid_file pid
+ '[' '' = '' ']'
++ whoami
+ who_ami=user
+ '[' cli = x ']'
+ '[' x = x ']'
+ pid_file=/var/run/msgcollector/user/msgdispatcher_pidx
+ [[ -f /var/run/msgcollector/user/msgdispatcher_pidx ]]
++ cat /var/run/msgcollector/user/msgdispatcher_pidx
+ pid=1439
+ kill -0 1439
+ msgdispatcher_running_x=true
+ msgdispatcher_pid_check cli
+ local pid_file pid
+ '[' user = '' ']'
+ '[' cli = cli ']'
+ pid_file=/var/run/msgcollector/user/msgdispatcher_pidcli
+ [[ -f /var/run/msgcollector/user/msgdispatcher_pidcli ]]
+ return 4
+ '[' -n 1 ']'
+ '[' 0 = 1 ']'
+ '[' '' = 1 ']'
+ '[' -e /var/run/whonixcheck/whonixcheck_pid ']'
+ local oldpid
++ cat /var/run/whonixcheck/whonixcheck_pid
+ oldpid=5738
+ '[' '!' 5738 = '' ']'
+ '[' 0 = 1 ']'
+ '[' '' = 1 ']'
+ lastpid=5738
+ process_killer_helper
++ type -t error_handler
+ '[' function = function ']'
+ trap error_handler ERR
+ '[' 5738 = '' ']'
+ local ps_p_exit_code
+ ps_p_exit_code=0
+ ps -p 5738
+ ps_p_exit_code=1
+ true
+ '[' '!' 1 = 0 ']'
+ return 0
+ unset lastpid
+ rm --force /var/run/whonixcheck/whonixcheck_done
+ rm --force /var/run/whonixcheck/whonixcheck_recently_run
+ sudo -u user touch /var/run/whonixcheck/whonixcheck_running
+ echo 7557
+ sudo -u user tee /var/run/whonixcheck/whonixcheck_pid
+ sync
+ '[' '' = '' ']'
+ '[' :0 = '' ']'
+ display=:0
+ local my_tty
+ local my_tty_exit_code
+ my_tty_exit_code=0
++ tty
+ my_tty=/dev/pts/1
+ '[' '!' 0 = 0 ']'
+ '[' /dev/pts/1 = '' ']'
+ user_name=user
+ WHONIX_HOMEPAGE=https://www.whonix.org
++ mktemp --directory
+ TEMP_DIR=/tmp/tmp.W8zjSM1fHv
+ export TEMP_DIR
+ get_local_whonix_version
+ '[' -f /usr/share/anon-gw-base-files/gateway ']'
+ '[' -f /usr/share/anon-ws-base-files/workstation ']'
+ whonix_deb_package_name=whonix-workstation-packages-dependencies
+ whonix_deb_package_version='Could not detect Whonix debian version. (Code: 1) Please report this bug!'
+ local dpkg_query_exit_code
+ dpkg_query_exit_code=0
++ dpkg-query --show '--showformat=${Version}' whonix-workstation-packages-dependencies
+ whonix_deb_package_version=3:2.7-1
+ '[' '!' 0 = 0 ']'
++ echo 3:2.7-1
++ awk -F : '{ print $2 }'
+ whonix_deb_package_version=2.7-1
+ '[' 2.7-1 = '' ']'
+ whonix_build_version='Could not read Whonix Build Version File. (Code: 3) Please report this bug!'
+ local build_version_file
+ '[' -f /usr/share/whonix/build_version ']'
+ '[' -f /var/lib/anon-dist/build_version ']'
+ build_version_file=/var/lib/anon-dist/build_version
+ '[' /var/lib/anon-dist/build_version = '' ']'
+ '[' -f /var/lib/anon-dist/build_version ']'
++ cat /var/lib/anon-dist/build_version
+ whonix_build_version=11.0.0.3.0
+ '[' 11.0.0.3.0 = '' ']'
+ chmod 700 /tmp/tmp.W8zjSM1fHv
+ command -v qubesdb-read
+ qubes_detected=true
+ '[' -f /usr/share/anon-gw-base-files/gateway ']'
+ '[' -f /usr/share/anon-ws-base-files/workstation ']'
+ VM=Whonix-Workstation
+ vm_lower_case_short=workstation
+ '[' true = true ']'
++ qubesdb-read /qubes-gateway
Failed to read /qubes-gateway
+ GATEWAY_IP=
+ GATEWAY_IP=qubesdb_read_failed
+ '[' -f /etc/apt/sources.list.d/whonix.list ']'
+ whonix_codename=unknown
+ local i
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '##' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' '' = deb ']'
+ read -r i
+ local first second third fourth
+ read -r first second third fourth _
+ '[' deb = deb ']'
+ whonix_codename=testers
+ break
+ whonix_codename_uppercase=TESTERS
+ '[' '' = 1 ']'
+ '[' 0 = 1 ']'
+ manualrun=1
++ uname --machine
+ ARCH=x86_64
+ '[' true = true ']'
++ qubesdb-read /name
+ qubes_name_of_vm=btc-PRUNED
+ passive_popup_title='[btc-PRUNED]'
+ qubes_starter_first_part=ServiceVM
+ '[' btc-PRUNED = AppVM ']'
+ '[' btc-PRUNED = TemplateVM ']'
++ qubesdb-read /qubes-vm-type
+ qubes_vm_type=AppVM
++ qubesdb-read /qubes-vm-persistence
+ qubes_vm_persistence=rw-only
++ qubesdb-read /qubes-base-template
+ qubes_base_template=whonix-ws
+ '[' AppVM = TemplateVM ']'
+ '[' rw-only = full ']'
+ '[' rw-only = rw-only ']'
+ qubes_title_extra=' | whonix-ws Template-Based AppVM'
+ update_where='your '\''<code>whonix-ws</code>'\'' TemplateVM'
+ persistent_changes_start_menu_instructions_first_part='dom0 -> Start Menu -> Template: <code>whonix-ws</code> ->'
+ start_menu_instructions_system_first_part='dom0 -> Start Menu -> ServiceVM: <code>btc-PRUNED</code> ->'
+ '[' 0 = 1 ']'
+ '[' '' = 1 ']'
+ whonixcheck_exit_immediate_was=
+ '[' workstation = gateway ']'
+ '[' 0 = 1 ']'
+ '[' '' = 1 ']'
+ local 'MSG=Qubes detected.
AUTOSTARTED: 0
DAEMON: 
whonixcheck_exit_immediate_was: 
whonixcheck_exit_immediate: '
+ '[' 1 -ge 3 ']'
+ '[' -n '' ']'
+ silent=0
+ '[' '' = true ']'
++ date
+ TITLE_X='whonixcheck | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
++ date
+ TITLE_CLI='btc-PRUNED | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
+ TPO_PIN_CERT_FILE=/usr/share/torbrowser-launcher/torproject.pem
+ CURL_TPO_PIN_CERT='--cacert /usr/share/torbrowser-launcher/torproject.pem'
++ whoami
+ who_ami=user
+ output_func_general --icon /usr/share/icons/anon-icon-pack/whonix.ico
+ output_func --icon /usr/share/icons/anon-icon-pack/whonix.ico
+ '[' -n user ']'
+ '[' '' = true ']'
+ /usr/lib/msgcollector/msgcollector --identifier whonixcheck --whoami user --icon /usr/share/icons/anon-icon-pack/whonix.ico
+ return 0
+ return 0
+ output_func_general --parenttty /dev/pts/1
+ output_func --parenttty /dev/pts/1
+ '[' -n user ']'
+ '[' '' = true ']'
+ /usr/lib/msgcollector/msgcollector --identifier whonixcheck --whoami user --parenttty /dev/pts/1
+ return 0
+ return 0
+ output_func_general --whoami user
+ output_func --whoami user
+ '[' -n user ']'
+ '[' '' = true ']'
+ /usr/lib/msgcollector/msgcollector --identifier whonixcheck --whoami user --whoami user
+ return 0
+ return 0
+ output_func_x --titlex 'whonixcheck | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
+ '[' true = true ']'
+ output_func --titlex 'whonixcheck | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
+ '[' -n user ']'
+ '[' '' = true ']'
+ /usr/lib/msgcollector/msgcollector --identifier whonixcheck --whoami user --titlex 'whonixcheck | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
+ return 0
+ return 0
+ output_func_cli --titlecli 'btc-PRUNED | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
+ '[' '' = true ']'
+ true 'output_func_cli: injecting --onlyecho.'
+ output_func --onlyecho --titlecli 'btc-PRUNED | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
+ '[' -n user ']'
+ '[' '' = true ']'
+ /usr/lib/msgcollector/msgcollector --identifier whonixcheck --whoami user --onlyecho --titlecli 'btc-PRUNED | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
msgcollector unknown option: --onlyecho
++ error_handler
++ local exit_code=1
++ BUG=1
++ local error_cause error_text
++ error_text=
++ '[' '' = '' ']'
++ error_cause='error_handler signal ERR detected with BASH_COMMAND:
$output_tool --identifier "$IDENTIFIER" --whoami "$who_ami" ${1+"$@"}'
++ '[' -d /usr/share/whonix ']'
++ local 'MSG=<p>###############################################################################
<br></br>## whonixcheck script bug.
<br></br>## No panic. Nothing is broken. Just some rare condition has been hit.
<br></br>## Try again later. There is likely a solution for this problem.
<br></br>## Please see Whonix News, Whonix Blog and Whonix User Help Forum.
<br></br>## Please report this bug!
<br></br>##
<br></br>## who_ami: user
<br></br>## identifier: 
<br></br>## exit_code: 1
<br></br>## error_cause: error_handler signal ERR detected with BASH_COMMAND:
$output_tool --identifier "$IDENTIFIER" --whoami "$who_ami" ${1+"$@"}
<br></br>##
<br></br>## Experts only:
<br></br>## bash -x whonixcheck --verbose
<br></br>## for verbose output. Clean the output and report to Whonix developers.
<br></br>#########################################################################</p>'
++ local command_v_output_exit_code
++ command_v_output_exit_code=0
++ command -v ''
++ command_v_output_exit_code=1
++ true
++ '[' 1 = 0 ']'
++ local stripped_msg
+++ /usr/lib/msgcollector/striphtml '<p>###############################################################################
<br></br>## whonixcheck script bug.
<br></br>## No panic. Nothing is broken. Just some rare condition has been hit.
<br></br>## Try again later. There is likely a solution for this problem.
<br></br>## Please see Whonix News, Whonix Blog and Whonix User Help Forum.
<br></br>## Please report this bug!
<br></br>##
<br></br>## who_ami: user
<br></br>## identifier: 
<br></br>## exit_code: 1
<br></br>## error_cause: error_handler signal ERR detected with BASH_COMMAND:
$output_tool --identifier "$IDENTIFIER" --whoami "$who_ami" ${1+"$@"}
<br></br>##
<br></br>## Experts only:
<br></br>## bash -x whonixcheck --verbose
<br></br>## for verbose output. Clean the output and report to Whonix developers.
<br></br>#########################################################################</p>'
++ stripped_msg='###############################################################################
## whonixcheck script bug.
## No panic. Nothing is broken. Just some rare condition has been hit.
## Try again later. There is likely a solution for this problem.
## Please see Whonix News, Whonix Blog and Whonix User Help Forum.
## Please report this bug!
##
## who_ami: user
## identifier: 
## exit_code: 1
## error_cause: error_handler signal ERR detected with BASH_COMMAND:
$output_tool --identifier "$IDENTIFIER" --whoami "$who_ami" ${1+"$@"}
##
## Experts only:
## bash -x whonixcheck --verbose
## for verbose output. Clean the output and report to Whonix developers.
#########################################################################'
++ '[' '###############################################################################
## whonixcheck script bug.
## No panic. Nothing is broken. Just some rare condition has been hit.
## Try again later. There is likely a solution for this problem.
## Please see Whonix News, Whonix Blog and Whonix User Help Forum.
## Please report this bug!
##
## who_ami: user
## identifier: 
## exit_code: 1
## error_cause: error_handler signal ERR detected with BASH_COMMAND:
$output_tool --identifier "$IDENTIFIER" --whoami "$who_ami" ${1+"$@"}
##
## Experts only:
## bash -x whonixcheck --verbose
## for verbose output. Clean the output and report to Whonix developers.
#########################################################################' = '' ']'
++ echo '###############################################################################
## whonixcheck script bug.
## No panic. Nothing is broken. Just some rare condition has been hit.
## Try again later. There is likely a solution for this problem.
## Please see Whonix News, Whonix Blog and Whonix User Help Forum.
## Please report this bug!
##
## who_ami: user
## identifier: 
## exit_code: 1
## error_cause: error_handler signal ERR detected with BASH_COMMAND:
$output_tool --identifier "$IDENTIFIER" --whoami "$who_ami" ${1+"$@"}
##
## Experts only:
## bash -x whonixcheck --verbose
## for verbose output. Clean the output and report to Whonix developers.
#########################################################################'
###############################################################################
## whonixcheck script bug.
## No panic. Nothing is broken. Just some rare condition has been hit.
## Try again later. There is likely a solution for this problem.
## Please see Whonix News, Whonix Blog and Whonix User Help Forum.
## Please report this bug!
##
## who_ami: user
## identifier: 
## exit_code: 1
## error_cause: error_handler signal ERR detected with BASH_COMMAND:
$output_tool --identifier "$IDENTIFIER" --whoami "$who_ami" ${1+"$@"}
##
## Experts only:
## bash -x whonixcheck --verbose
## for verbose output. Clean the output and report to Whonix developers.
#########################################################################
++ local command_v_output_exit_code
++ command_v_output_exit_code=0
++ command -v ex_funct
++ '[' 0 = 0 ']'
++ echo 'whonixcheck: Error detected. Cleaning up... Exiting...'
whonixcheck: Error detected. Cleaning up... Exiting...
++ SIGNAL_TYPE=ERR
++ ex_funct
++ '[' '!' ERR = NONE ']'
++ echo 'whonixcheck: signal ERR received. Cleaning up... Exiting...'
whonixcheck: signal ERR received. Cleaning up... Exiting...
++ trap - SIGTERM
++ trap - SIGINT
++ trap - SIGUSR2
++ maybe_kill_apt_get_update
++ '[' '' = '' ']'
++ return 0
++ command -v process_killer_helper
++ process_killer_helper
+++ type -t error_handler
++ '[' function = function ']'
++ trap error_handler ERR
++ '[' '' = '' ']'
++ return 0
++ lastpid=
++ process_killer_helper
+++ type -t error_handler
++ '[' function = function ']'
++ trap error_handler ERR
++ '[' '' = '' ']'
++ return 0
++ cleanup_files
++ '[' '' = false ']'
++ '[' -d /tmp/tmp.W8zjSM1fHv ']'
++ rm --recursive /tmp/tmp.W8zjSM1fHv
++ rm --force /var/run/whonixcheck/whonixcheck_running
++ rm --force /var/run/whonixcheck/whonixcheck_waiting
++ local command_v_output_exit_code
++ command_v_output_exit_code=0
++ command -v output_func
++ '[' 0 = 0 ']'
++ local output_status_exit_code
++ output_status_exit_code=0
++ output_func_general --identifier whonixcheck --status --messagecli
++ output_func --identifier whonixcheck --status --messagecli
++ '[' -n user ']'
++ '[' '' = true ']'
++ /usr/lib/msgcollector/msgcollector --identifier whonixcheck --whoami user --identifier whonixcheck --status --messagecli
++ return 1
++ return 1
++ output_status_exit_code=1
++ true
++ '[' '!' 1 = 1 ']'
++ '[' '!' '' = '' ']'
++ '[' ERR = SIGUSR2 ']'
++ '[' '' = 0 ']'
++ true 'No progress bar open. No need to send progress 100 to close progress bar.'
++ '[' 'whonixcheck | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015' = '' ']'
++ '[' 'btc-PRUNED | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015' = '' ']'
++ output_func_x --titlex 'whonixcheck | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
++ '[' true = true ']'
++ output_func --titlex 'whonixcheck | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
++ '[' -n user ']'
++ '[' '' = true ']'
++ /usr/lib/msgcollector/msgcollector --identifier whonixcheck --whoami user --titlex 'whonixcheck | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
++ return 0
++ return 0
++ output_func_cli --titlecli 'btc-PRUNED | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
++ '[' '' = true ']'
++ true 'output_func_cli: injecting --onlyecho.'
++ output_func --onlyecho --titlecli 'btc-PRUNED | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
++ '[' -n user ']'
++ '[' '' = true ']'
++ /usr/lib/msgcollector/msgcollector --identifier whonixcheck --whoami user --onlyecho --titlecli 'btc-PRUNED | Whonix-Workstation | whonix-ws Template-Based AppVM | Wed Nov  4 18:16:43 UTC 2015'
msgcollector unknown option: --onlyecho
++ return 1
++ '[' '!' ERR = NONE ']'
++ local 'MSG=<p><b>whonixcheck aborted!</b> (SIGNAL_TYPE: ERR)</p>'
++ output_func_cli --messagecli --typecli info --message '<p><b>whonixcheck aborted!</b> (SIGNAL_TYPE: ERR)</p>'
++ '[' '' = true ']'
++ true 'output_func_cli: injecting --onlyecho.'
++ output_func --onlyecho --messagecli --typecli info --message '<p><b>whonixcheck aborted!</b> (SIGNAL_TYPE: ERR)</p>'
++ '[' -n user ']'
++ '[' '' = true ']'
++ /usr/lib/msgcollector/msgcollector --identifier whonixcheck --whoami user --onlyecho --messagecli --typecli info --message '<p><b>whonixcheck aborted!</b> (SIGNAL_TYPE: ERR)</p>'
msgcollector unknown option: --onlyecho
++ return 1
++ output_func_x --messagex --done
++ '[' true = true ']'
++ output_func --messagex --done
++ '[' -n user ']'
++ '[' '' = true ']'
++ /usr/lib/msgcollector/msgcollector --identifier whonixcheck --whoami user --messagex --done
++ return 0
++ return 0
++ output_func_cli --messagecli --done
++ '[' '' = true ']'
++ true 'output_func_cli: injecting --onlyecho.'
++ output_func --onlyecho --messagecli --done
++ '[' -n user ']'
++ '[' '' = true ']'
++ /usr/lib/msgcollector/msgcollector --identifier whonixcheck --whoami user --onlyecho --messagecli --done
msgcollector unknown option: --onlyecho
++ return 1
++ '[' '' = '' ']'
++ EXIT_CODE=1
++ exit 1

Immediately before the update I had no issues with any networking. Whonixcheck was running on startup of each app VM based from the ws template. So it is directly related no doubt. I look forward to hearing some possible solution as this has really put my workflow at a stand still.

Thank you.

Good day,

may seem like a very simplistic question, but have you tried restarting Qubes in its entirety?

Have a nice day,

Ego

Yes, this is a good suggestion. I shut down completely twice and problem persists.

Update:

I needed to get to work, so I came up with the solution of installing Whonix 12 templates. I was able to use the gateway from 12 to connect the VMs I needed to work. Now that I have some more time I did some inspecting and I see that my “/etc/apt/sources.list.d/whonix.list” is gone, and my “/etc/tor/torrc” is overwritten back to default! So I’m assuming that things all over could have been overwritten. I should mention that I did the update via “Qubes VM manager > Run command in VM”, not with a terminal. I guess that must force yes for all questions, including overwriting confs?

I thought the best course of action would be to completely remove the gateway template and vm. I have just reinstalled it and I will stay on stable branch. Next I will attempt to roll back my workstation template to stable because replacing that is not a future I wish to see. I have 10 different app VMs using it as a template.

I will update.

Update 2

After connecting my ws template to the new sys-gateway and doing another apt update and upgrade I saw that a new package to be installed was none other than: msgcollector (and a few others). So I let apt-get do it’s thing and I seem to be ok now.

We need people using the testers repository. Please consider cloning the template to have a working backup around before upgrading. Otherwise updates might go to stable. The bad awakening would happen then.

My hypothesis for now is, that the upgrade was incomplete. That the newer msgcollector package (2.4-1) has not been installed. That things don’t play together then is to be expected.

whonixcheck is no longer automatically started in the workstation(s) by default in Qubes-Whonix 12. This is called silent mode.

[b]I should mention that I did the update via "Qubes VM manager > Run command in VM", not with a terminal.[/b] I guess that must force yes for all questions, including overwriting confs?
No. Not to my knowledge. Stdin attached or not. apt-get should not automate (without --yes and so forth). However, you really should run the update commands in a terminal. Otherwise you won't see what's going on. (https://www.whonix.org/wiki/Qubes/Update)

I am on testing branch in Qubes. Stable, Testing, and Development all resulted in the same problem with me for both qubes-template-whonix-gw and qubes-template-whonix-gw-experimental

The only solution that I could come up with was:

sudo yum erase qubes-template-whonix-gw* -y && sudo qubes-dom0-update qubes-template-whonix-gw* -y

sudo apt-get update breaks the gateways, so the only solution I could find was to leave them out-of-date for now.

How are people getting the whonix 12 templates? What repos am I missing? I have community templates enabled in qubes. . .

I am redownloading/installing/updating a new qubes-template-whonix-gw (11 at time of writing) with the stable repository at this moment… It will not be updating msgcollector or any other Whonix packages…

user@host:~$ sudo apt-get update
Ign http://security.debian.org jessie/updates InRelease
Get:1 http://deb.qubes-os.org jessie InRelease [2,463 B]                       
Ign http://ftp.us.debian.org jessie InRelease                                  
Get:2 http://mirror.whonix.de jessie InRelease [13.1 kB]                                                          
Get:3 http://deb.torproject.org jessie InRelease [4,246 B]                                                                
Get:4 http://security.debian.org jessie/updates Release.gpg [1,554 B]                                                        
Get:5 http://deb.qubes-os.org jessie/main amd64 Packages [4,380 B]                                                                
Get:6 http://ftp.us.debian.org jessie Release.gpg [2,373 B]                                                                 
Get:7 http://mirror.whonix.de jessie/main amd64 Packages [41.0 kB]                                                                                                                 
Get:8 http://security.debian.org jessie/updates Release [61.5 kB]                                                        
Get:9 http://deb.torproject.org jessie/main amd64 Packages [2,326 B]                                                                            
Get:10 http://ftp.us.debian.org jessie Release [148 kB]                                                                                         
Get:11 http://security.debian.org jessie/updates/main amd64 Packages [144 kB]                                              
Get:12 http://ftp.us.debian.org jessie/main amd64 Packages [6,764 kB]                                                                                                              
Get:13 http://security.debian.org jessie/updates/contrib amd64 Packages [2,512 B]                                           
Get:14 http://security.debian.org jessie/updates/non-free amd64 Packages [14 B]                                                                                                     
Get:15 http://security.debian.org jessie/updates/contrib Translation-en [1,211 B]                                                                                                   
Get:16 http://security.debian.org jessie/updates/main Translation-en [80.6 kB]                                                                                                      
Ign http://deb.qubes-os.org jessie/main Translation-en_US                                                                                                                           
Get:17 http://security.debian.org jessie/updates/non-free Translation-en [14 B]                                                                                                     
Ign http://deb.qubes-os.org jessie/main Translation-en                                                                                                                              
Ign http://mirror.whonix.de jessie/main Translation-en_US                                                                                                                          
Ign http://deb.torproject.org jessie/main Translation-en_US                                                                                                                        
Ign http://deb.torproject.org jessie/main Translation-en                                                                                                                           
Ign http://mirror.whonix.de jessie/main Translation-en                                                                                                                             
Get:18 http://ftp.us.debian.org jessie/contrib amd64 Packages [50.1 kB]                                                                                                            
Get:19 http://ftp.us.debian.org jessie/non-free amd64 Packages [83.6 kB]                                                                                                           
Get:20 http://ftp.us.debian.org jessie/contrib Translation-en [38.4 kB]                                                                                                            
Get:21 http://ftp.us.debian.org jessie/main Translation-en [4,585 kB]                                                                                                              
Get:22 http://ftp.us.debian.org jessie/non-free Translation-en [72.2 kB]                                                                                                           
Fetched 12.1 MB in 43s (279 kB/s)                                                                                                                                                  
Reading package lists... Done
user@host:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  gstreamer1.0-libav
The following packages will be upgraded:
  akonadi-backend-mysql akonadi-server apt apt-transport-https apt-utils base-files bind9-host cron dbus dbus-x11 dnsutils gir1.2-gdkpixbuf-2.0 gir1.2-gtk-3.0 gnome-terminal
  gnome-terminal-data host iceweasel libakonadiprotocolinternals1 libapt-inst1.5 libapt-pkg4.12 libbind9-90 libc-bin libc-dev-bin libc6 libc6-dev libdbus-1-3 libdns-export100
  libdns100 libegl1-mesa libfreetype6 libgail-3-0 libgbm1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgles1-mesa libgles2-mesa
  libgnutls-deb0-28 libgnutls-openssl27 libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0 libicu52 libio-socket-ssl-perl libirs-export91 libisc-export95 libisc95 libisccc90
  libisccfg-export90 libisccfg90 libldap-2.4-2 liblwres90 libmp3lame0 libmysqlclient18 libnss3 libpam-systemd libqubesdb libruby2.1 libsasl2-2 libsasl2-modules
  libsasl2-modules-db libsystemd0 libudev1 libvchan-xen libvlc5 libvlccore8 libwayland-egl1-mesa libwireshark-data libwireshark5 libwiretap4 libwsutil4 libxatracker2 libxen-4.4
  libxenstore3.0 linux-libc-dev locales multiarch-support mysql-common mysql-server-core-5.5 ntpdate python-apt python-apt-common python3-apt qubes-core-agent qubes-gpg-split
  qubes-gui-agent qubes-pdf-converter qubes-thunderbird qubes-utils qubesdb qubesdb-vm rpcbind rsyslog ruby2.1 ruby2.1-dev systemd systemd-sysv tshark tzdata udev unzip vlc
  vlc-data vlc-nox vlc-plugin-pulse wireshark-common xen-utils-common xenstore-utils xserver-xorg-video-modesetting
112 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 122 MB of archives.
After this operation, 10.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]

[hr]

Qubes-Whonix 12 developers-only !test-only! images available:

(
Release candidate ‘soon’:

build Qubes-Whonix 12.0.0.2.7 RC templates
https://github.com/QubesOS/qubes-issues/issues/1376 )

Updating the gateway from stable repos didn’t break anything.

Workaround when using the Whonix testers repository…

Systemd leftovers from Whonix 11’s fault. To unbreak after updating from testers repository… Run the following commands in your TemplateVMs.

Then shutdown and restart sys-whonix and whonix.

Working on a fix.

[hr]

More technical information:

In Whonix 11 -> Whonix 12 updated images, due to the left overs… qubes-firewall.service conflicts with qubes-whonix-firewall.service. Neither one gets load. No worries. Even without firewall being load, no leaks are possible. (IP forwarding is disabled, traffic isn’t just forwarded to clearnet by anything.)

cat /lib/systemd/system/qubes-firewall.service.d/40_qubes-whonix.conf [Unit] ConditionPathExists=!/usr/lib/qubes-whonix

sudo service qubes-whonix-firewall status
● qubes-whonix-firewall.service - Qubes Whonix firewall updater
   Loaded: loaded (/lib/systemd/system/qubes-whonix-firewall.service; enabled)
  Drop-In: /lib/systemd/system/qubes-firewall.service.d
           └─40_qubes-whonix.conf
   Active: inactive (dead)
           start condition failed at Thu 2015-11-05 13:21:40 UTC; 15min ago
           ConditionPathExists=!/usr/lib/qubes-whonix was not met
sudo service qubes-firewall status
● qubes-whonix-firewall.service - Qubes Whonix firewall updater
   Loaded: loaded (/lib/systemd/system/qubes-whonix-firewall.service; enabled)
  Drop-In: /lib/systemd/system/qubes-firewall.service.d
           └─40_qubes-whonix.conf
   Active: inactive (dead)
           start condition failed at Thu 2015-11-05 13:21:40 UTC; 17min ago
           ConditionPathExists=!/usr/lib/qubes-whonix was not met

There is another issue related to qubes-whonix-postinit and /usr/lib/qubes-whonix/bind-directories.

user@host:~$ sudo service qubes-whonix-postinit status
● qubes-whonix-postinit.service - Qubes+Whonix network-pre init
   Loaded: loaded (/lib/systemd/system/qubes-whonix-postinit.service; enabled)
   Active: failed (Result: exit-code) since Thu 2015-11-05 14:02:16 UTC; 3min 40s ago
  Process: 451 ExecStart=/usr/lib/qubes-whonix/init/qubes-whonix-postinit (code=exited, status=32)
 Main PID: 451 (code=exited, status=32)

Nov 05 14:02:49 host systemd[1]: Starting Qubes+Whonix network-pre init...
Nov 05 14:02:16 host qubes-whonix-postinit[451]: mount: special device /rw/srv/whonix/var/lib/tor does not exist
Nov 05 14:02:16 host systemd[1]: qubes-whonix-postinit.service: main process exited, code=exited, status=32/n/a
Nov 05 14:02:16 host systemd[1]: Failed to start Qubes+Whonix network-pre init.
Nov 05 14:02:16 host systemd[1]: Unit qubes-whonix-postinit.service entered failed state.

Perhaps also wrong systemd dependencies.

I don’t recommend updating from the testers repository in meanwhile unless you want to help fix this.

I have nothing relating to qubes in /etc/systemd/

I have downloaded clean copy of qubes-template-whonix-gw

made a copy

dist-upgrade copy

run the above 4 commands provided by adrelanos in copied template

created TemplateBased ProxyVM

Started ProxyVM

"sudo service tor status" returned non-zero exit code , which means Tor does NOT work. Maybe your Whonix-Gateway has only one network card attached? Most likely there is something wrong with your /etc/tor/torrc. You can try to manually edit /etc/tor/torrc: Start Menu -> Applications -> Torrc Running: sudo service tor restart might help with troubleshooting.

Maybe I have having a different issue.

[quote=“QubesWhonixAnon, post:11, topic:1575”]I have nothing relating to qubes in /etc/systemd/

I have downloaded clean copy of qubes-template-whonix-gw

made a copy

dist-upgrade copy

run the above 4 commands provided by adrelanos in copied template

created TemplateBased ProxyVM

Started ProxyVM

[quote]“sudo service tor status” returned non-zero exit code , which means Tor does NOT work.
Maybe your Whonix-Gateway has only one network card attached? Most likely there is something wrong with your /etc/tor/torrc.
You can try to manually edit /etc/tor/torrc:
Start Menu -> Applications -> Torrc
Running:
sudo service tor restart
might help with troubleshooting.[/quote]

Maybe I have having a different issue.[/quote]
Sorry, you are not supposed to run these commands before upgrading from the testers repository.

It’s an unrelated issue.

My hypothesis for now is, that the upgrade was incomplete. That the newer msgcollector package (2.4-1) has not been installed. That things don't play together then is to be expected.

I believe you are correct.

We need people using the testers repository. Please consider cloning the template to have a working backup around before upgrading. Otherwise updates might go to stable. The bad awakening would happen then.

I will remain on testers for two reasons.

  1. You asked and I love you and your dedication to this amazing project.

  2. “The bad awakening” sounds like something from a Lovecraft novel, and it scares me.

Edit: Yes I have cloned the templates now, because sometimes I have to learn things the hard way.

To make a broken sys-whonix temporarily work again so you can update, you can try this.

[hr]

Uploaded fixes to the testers repository.

mirror.whonix.org always lags behind. Either wait ~1 hour. Or use this in the TemplateVMs.

(As per https://www.whonix.org/wiki/Whonix-APT-Repository#Repository_Location_URI.)

Upgrade the TemplateVMs. Then restart sys-whonix and whonix. As usual.

[hr]

In summary…

sudo whonix_repository --baseuri http://sourceforge.net/projects/whonixdevelopermetafiles/files/internal/ --repository testers --enable && \
sudo apt-get update && \
sudo apt-get --yes dist-upgrade && \
sudo apt-get --yes autoremove

[hr]

No worries. Just annoying stuff. Like this. No “real” breakage.

Whonix 12 testers repository - Notes
https://www.whonix.org/forum/index.php/topic,1910.0.html
[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]