Testers-only version 8.6.6.0 (Whonix 9) - testers wanted!

[html]

The version number for this testers-only release is 8.6.6.0, which will become Whonix 9 the moment it’s blessed stable.

Download link for Virtual Box images (.ova), experimental kvm/qemu images and OpenPGP signatures (.asc):

http://mirror.whonix.de/8.6.6.0/

Upgrading Whonix 8 to Whonix 9

– You cannot upgrade using apt-get dist-upgrade or you will break the packaging system!

– You can upgrade using these instructions: https://www.whonix.org/wiki/Upgrading_Whonix_8_to_Whonix_9

If you want to build from source code, see:

https://www.whonix.org/wiki/Dev/Build_Documentation

Thanks to everyone who made this test release possible!

Changlog between 8.6.2.8 and 8.6.6.0:

– added empty Whonix-Custom-Workstation

– sdwdate: fix terminating sclockadj

– Added extra log file /var/run/tor/log that won’t survive reboot. (Existing log file /var/log/tor/log that survives reboot will continue to exist.) And added necessary AppArmor rules. Thanks to @troubadoour who figured out the AppArmor rules (Whonix Forum). This is useful, so whonixcheck can in future grep the log for clock specific warnings (https://github.com/Whonix/Whonix/issues/244).

– sdwdate: log time/date before and after running sclockadj

– open-link-confirmation: prettier default output “Tor Browser” rather than “x-www-browser (/usr/bin/torbrowser)”

– tb-starter: fix opening links in conjunction with tb-default-browser when open-link-confirmation is not installed

– swap-file-creator: timeout when reading from /dev/random

– when whonixsetup is automatically started, support automatically maximizing window in other terminals than konsole

– disable TCP-Timestamps (implemented #247)

– Added deletion of /boot/grub/device.map for VM builds during build process to prevent hard drive serial of build machine leaking into image. System also boots without /boot/grub/device.map. https://github.com/Whonix/Whonix/issues/249

– New alternative option name –install-to-root. This is an alternative to –bare-metal. Since some users liked to use “–bare-metal in a VM”, which sounds like an oxymoron. Now we can talk about “using –install-to-root in a VM”.

– Drop all incoming ICMP traffic by default. All incoming connections are dropped by default anyway, but should a user allow incoming ports (such as for incoming SSH or FlashProxy), ICMP should still be dropped to filter for example ICMP time stamp requests.

– build script: implemented –testing-frozen-sources, installs from Debian testing frozen (snapshot.debian.org) sources. This is useful for compatibility test of Whonix’s Debian packages with Debian testing. There is no official support for Debian testing.

– whonixcheck: fixed apt-get –simulate parsing code, whonixcheck can now also report how many packages could be upgraded when using non-English languages

– tb-updater: code cleanup zenity leftovers

– swap-file-creator: fix creation when less then 512 MB RAM is available at swap file creation time; check size of swapfile to handle cases in which dd was interrupted

– Removed geoclue-ubuntu-geoip and geoclue from anon-banned-packages because those are not evil by definition, those are only providing an API. Not allowing them to be installed would not allow users installing gnome-desktop-environment.

– Removed resolvconf and openresolv from anon-banned-packages conflicts. Was added to anon-[gw/ws]-dns-conf conflicts.

– Removed ufw from anon-banned-packages conflicts. Was added to anon-[gw/ws]-firewall conflicts.

– whonixcheck: There is no general “Whonix Debian Version” anymore, because Whonix has been split into multiple packages that now all have their own version number. What whonixcheck can figure out is if the whonixcheck version is up to date and if there is a Whonix news file for that whonixcheck version. There is currently no notification for packages by the Whonix team in whonixcheck for packages other than whonixcheck for users who do not use Whonix’s APT repository.

– vbox-disable-timesync: added compatibility with Debian jessie

– control-port-filter: replaced netcat-traditional dependency with netcat-openbsd as per Whonix Forum

– whonix-gw-firewall: Added 10.0.2.2/24 to NON_TOR_GATEWAY and LOCAL_NET to prevent spamming syslog with: host dhclient: DHCPREQUEST on eth0 to 10.0.2.2 port 67 | host dhclient: send_packet: Operation not permitted


[/html]

I am trying to build this new 8.6.6.0 branch but there is no git 8.6.6.0 tag.

Therefore I tried building off of master branch but when I ran that it shows as 8.6.2.8

Now I am trying to build against the Whonix9 branch.

I am building for KVM and going to try to implement that encryption I implemented awhile back.

Just now pushed 8.6.6.0 tag.

(
We have some usability issues with git tag names and locations:
https://github.com/Whonix/Whonix/issues/276
)

I attempted to compile the 8.6.6.0 git branch and am getting an error:

* Notice: remove /var/cache/grml-debootstrap/stages_Whonix-Workstation-8.6.6.0.raw/umount_chroot to reexecute the stage
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ exit 2
++ error_handler_general
++ error_handler_shared
++ last_exit_code=2
last_bash_command='bash -x grml-debootstrap --debopt "--verbose" --arch "$BUILD_TARGET_ARCH" --filesystem ext4 --force --hostname host --password changeme --release "$whonix_build_apt_stable_release" --keep_src_list --verbose --vmfile --vmsize "$VMSIZE" --packages "$WHONIX_SOURCE_FOLDER/grml_packages" --target "$binary_image_raw" --mirror "$whonix_build_apt_sources_mirror"'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in pre detected!
Please have a look above "error_handler_general", note the command that failed, its output and last_exit_code.
- Please enter c and press enter to ignore the error and continue building. (Recommended against!)
- Please press s and enter to open an chroot interactive shell.
- Please press enter to cleanup and exit.

I tried pressing c and enter to continue building. When it finished building, it said there were no errors. When I ran the .ova file in Virtualbox, it began booting and then halted even before it got to the Grub screen. Compiling the Gateway, I received the error once, pressed enter to cleanup and exit, tried recompiling and did not get that error again. The Gateway works. For the Workstation, I receive that error after trying a recompile every time.

Also tried compiling the Gateway as a Terminal Only build and KDE was still included in the final result. I reduced the RAM settings for the .ova file and it boots terminal only.

My host system for compiling is a Debian Wheezy up to date system. Had no problem compiling the 8.6.2.8 branch. Hope I gave you enough information.

Hi trickle!

I tried pressing c and enter to continue building.
When grml-debootstrap, the tool that Whonix's build script uses to create a base Debian image, failed in the middle, continuing the build is not useful and will probably not work. It's not a minor thing that failed such as cleaning up a file, but a huge issue.
When I ran the .ova file in Virtualbox, it began booting and then halted even before it got to the Grub screen.
Not surprising.
Also tried compiling the Gateway as a Terminal Only build and KDE was still included in the final result.
Is fixed in master and will be fixed in next git tag. We probably have a Whonix 9 release candidate soon.
Hope I gave you enough information.
Unfortunately the log is too short to see what went wrong.

It is grml-debootstrap that failed. Whonix’s build script is a user of grml-debootstrap. Unfortunately, grml-debootstrap does not have the best error handling. I am working with upstream to resolve the error handling (better error handler by adrelanos · Pull Request #31 · grml/grml-debootstrap · GitHub). This means, some command that grml-debootstrap executed may have failed without grml-debootstrap noticing. Therefore something else where it does error checking failed because of that.

Long story short. Please post a longer log where the whole execution and failure of grml-debootstrap has been logged. Seeing the whole 1100_prepare-build-machine build step would be best.

Please reboot after you had this bug. (Because there is likely also a bug in mount/kpartx, that I don’t know how to fix once it occurred without reboot.)

Patrick:

I tried building the 8.6.6.0 Gateway and Workstation and both failed. I created a log file of each build attempt. Each log file is around 3MB in size.

Seeing the whole 1100_prepare-build-machine build step would be best.

[code] true ‘INFO: Currently running script: ./whonix_build–build’ --tor-gateway --virtualbox --minimal-report --32bit-linux --terminal-only

  • set -o pipefail
    +++ dirname ./whonix_build
    ++ cd .
    ++ pwd
  • MYDIR=/home/whonixuser/gitfiles/Whonix
    ++ dirname /home/whonixuser/gitfiles/Whonix
  • MY_PARENTDIR=/home/whonixuser/gitfiles
  • cd /home/whonixuser/gitfiles/Whonix
  • source ./help-steps/pre
    ++ set +x
  • export WHONIX_BUILD_MAIN_SCRIPT_STARTED=1
  • WHONIX_BUILD_MAIN_SCRIPT_STARTED=1
  • whonix_build_preparation --build --tor-gateway --virtualbox --minimal-report --32bit-linux --terminal-only
  • trap error_handler_general ERR INT TERM
  • cd help-steps
  • source parse-cmd
  • whonix_build_cmdoptions --build --tor-gateway --virtualbox --minimal-report --32bit-linux --terminal-only
  • trap error_handler_general ERR INT TERM
  • ‘[’ ‘!’ ‘’ = 1 ‘]’
  • ‘[’ ‘–build --tor-gateway --virtualbox --minimal-report --32bit-linux --terminal-only’ = ‘’ ‘]’
  • build_machines=0
  • :
  • case $1 in
  • export WHONIX_BUILD_BUILD=1
  • WHONIX_BUILD_BUILD=1
  • shift
  • :
  • case $1 in
  • export WHONIX_BUILD_GATEWAY=1
  • WHONIX_BUILD_GATEWAY=1
  • build_machines=1
  • shift
  • :
  • case $1 in
  • export WHONIX_BUILD_VIRTUALBOX=true
  • WHONIX_BUILD_VIRTUALBOX=true
  • shift
  • :
  • case $1 in
  • export whonix_build_script_minimal_report=1
  • whonix_build_script_minimal_report=1
  • shift
  • :
  • case $1 in
  • export BUILD_TARGET_ARCH=i386
  • BUILD_TARGET_ARCH=i386
  • export ‘BUILD_KERNEL_PKGS= linux-image-686-pae linux-headers-686-pae’
  • BUILD_KERNEL_PKGS=’ linux-image-686-pae linux-headers-686-pae’
  • shift
  • :
  • case $1 in
  • whonix_build_script_whonix_package+=’ anon-shared-desktop ’
  • whonix_build_script_whonix_package+=’ anon-shared-desktop-kde ’
  • whonix_build_script_whonix_package+=’ anon-shared-kde-accessibility ’
  • whonix_build_script_whonix_package+=’ whonix-gateway ’
  • whonix_build_script_whonix_package+=’ whonix-workstation ’
  • export whonix_build_script_whonix_package
  • shift
  • :
  • case $1 in
  • break
  • ‘[’ ’ linux-image-686-pae linux-headers-686-pae’ = ‘’ ‘]’
  • ‘[’ i386 = ‘’ ‘]’
  • ‘[’ ‘’ = 1 ‘]’
  • ‘[’ ‘!’ ‘’ = 1 ‘]’
  • ‘[’ ‘!’ 1 = 1 ‘]’
  • ‘[’ ‘’ = 1 ‘]’
  • ‘[’ ‘’ = 1 ‘]’
  • ‘[’ ‘’ = 1 ‘]’
  • ‘[’ 1 -gt 1 ‘]’
  • ‘[’ 1 -le 0 ‘]’
  • ‘[’ ‘’ = 1 ‘]’
  • ‘[’ true = true ‘]’
  • true
  • export WHONIX_BUILD_PARSED=1
  • WHONIX_BUILD_PARSED=1
  • source pre
    ++ set +x
  • cd …
  • ‘[’ ‘’ = 1 ‘]’
  • ‘[’ 1 = 1 ‘]’
  • ‘[’ ‘’ = 1 ‘]’
  • ‘[’ 1 = 1 ‘]’
  • whonix_build_machine
  • trap error_handler_build-machine ERR INT TERM
  • run-parts --verbose --test ./build-steps.d
    ./build-steps.d/1100_prepare-build-machine
    ./build-steps.d/1150_export-libvirt-xml
    ./build-steps.d/1200_create-debian-packages
    ./build-steps.d/1300_create-raw-image
    ./build-steps.d/1400_backup-raw-after-grml-debootstrap
    ./build-steps.d/1700_install-packages
    ./build-steps.d/1800_backup-raw-after-package-install
    ./build-steps.d/2300_run-chroot-scripts-post-d
    ./build-steps.d/2400_convert-raw-to-qcow2
    ./build-steps.d/2500_convert-raw-to-vdi
    ./build-steps.d/2600_create-vbox-vm
    ./build-steps.d/2700_export-vbox-vm
    ./build-steps.d/2800_create-report
  • run-parts --verbose --exit-on-error ./build-steps.d
    run-parts: executing ./build-steps.d/1100_prepare-build-machine
  • true ‘INFO: Currently running script: ./build-steps.d/1100_prepare-build-machine’
    +++ dirname ./build-steps.d/1100_prepare-build-machine
    ++ cd ./build-steps.d
    ++ pwd
  • MYDIR=/home/whonixuser/gitfiles/Whonix/build-steps.d
  • cd /home/whonixuser/gitfiles/Whonix/build-steps.d
  • cd …
  • cd help-steps
  • WHONIX_BUILD_INTERNALRUN=1
  • whonix_build_on_operating_system_detect_skip=1
  • source pre
    ++ set +x
  • source variables
    ++ set +x
    INFO: Setting… export UWT_DEV_PASSTHROUGH=“1”
    anon_dist_build_version: 8.6.6.0.83.g99193a02d7f1dfe921ee209026f03e8e48f4d3ee
  • unset whonix_build_on_operating_system_detect_skip
  • true 'INFO: Currently running script: ./build-steps.d/1100_prepare-build-machine ’
  • prepare-build-machine
  • trap error_handler_general ERR INT TERM
  • :
  • case $1 in
  • break
  • check-virtualbox-vm-exists
  • trap error_handler_general ERR INT TERM
  • ‘[’ 0 = 1 ‘]’
  • ‘[’ Whonix-Gateway = internalrun ‘]’
  • local command_v_exit_code=0
  • command -v VBoxManage
  • ‘[’ ‘!’ 0 = 0 ‘]’
  • true ‘INFO: Checking, if a VirtualBox VM named Whonix-Gateway already exists…’
  • local vboxmanage_exit_code
  • vboxmanage_exit_code=0
  • sudo -u whonixuser VBoxManage showvminfo Whonix-Gateway
  • vboxmanage_exit_code=1
  • true
  • ‘[’ 1 = 0 ‘]’
  • true ‘INFO: Done, no VirtualBox VM named Whonix-Gateway does exist, ok.’
  • true ‘INFO: Checking, if an VirtualBox ova file /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.ova already exists…’
  • ‘[’ -e /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.ova ‘]’
  • true ‘INFO: Done, no VirtualBox ova file /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.ova exist, ok.’
  • ‘[’ ‘’ = 1 ‘]’
  • true 'INFO: PWD: /home/whonixuser/gitfiles/Whonix ’
    ++ stat -c %U ./build-steps.d/1100_prepare-build-machine
  • stat_output_owner=whonixuser
    ++ stat -c %G ./build-steps.d/1100_prepare-build-machine
  • stat_output_group=whonixuser
  • ‘[’ whonixuser = root ‘]’
  • ‘[’ whonixuser = root ‘]’
  • local id_exit_code
  • id_exit_code=0
  • id whonixuser
    uid=1000(whonixuser) gid=1000(whonixuser) groups=1000(whonixuser),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),119(lpadmin),125(kvm),126(libvirt)
  • ‘[’ ‘!’ 0 = 0 ‘]’
  • true ‘INFO: Not creating user “whonixuser” with password “changeme”, because it already exists.’
  • addgroup whonixuser sudo
    The user whonixuser' is already a member of sudo’.
  • true ‘INFO: Benchmarking "sudo -u “$user_name” echo “This is a test echo.” using “time”…’
  • sudo -u whonixuser echo ‘This is a test echo.’
    This is a test echo.

real 0m0.012s
user 0m0.000s
sys 0m0.008s

  • ‘[’ ‘!’ 1 = 1 ‘]’
  • true ‘INFO: Using longer timeout to allow more reliably downloading using apt-get over Tor. Feel free to out comment apt_timeout_opts in help-steps/variables.’
  • local dpkg_exit_code
  • dpkg_exit_code=0
  • dpkg-query -Wf ‘${db:Status-abbrev}’ apt-cacher-ng
  • grep -q ‘^i’
  • ‘[’ ‘!’ 0 = 0 ‘]’
  • service apt-cacher-ng restart
    Restarting apt-cacher-ng: apt-cacher-ng.
  • service apt-cacher-ng status
    apt-cacher-ng is running.
  • maybe_enable_apt_cache
  • trap error_handler_general ERR INT TERM
  • ‘[’ -f /usr/share/anon-gw-base-files/gateway ‘]’
  • ‘[’ ‘’ = ‘’ ‘]’
  • echo ‘INFO: Setting, export http_proxy=“http://127.0.0.1:3142”’
    INFO: Setting, export http_proxy=“http://127.0.0.1:3142
  • export http_proxy=http://127.0.0.1:3142
  • http_proxy=http://127.0.0.1:3142
  • apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 update
    Get:1 http://ftp.us.debian.org wheezy Release.gpg [1655 B]
    Get:2 http://security.debian.org wheezy/updates Release.gpg [836 B]
    Get:3 http://ftp.us.debian.org wheezy-updates Release.gpg [836 B]
    Get:4 http://ftp.us.debian.org wheezy-backports Release.gpg [836 B]
    Get:5 http://deb.torproject.org wheezy Release.gpg [455 B]
    Get:6 http://security.debian.org wheezy/updates Release [102 kB]
    Get:7 http://ftp.us.debian.org wheezy Release [168 kB]
    Get:8 http://ftp.us.debian.org wheezy-updates Release [124 kB]
    Get:9 http://deb.torproject.org wheezy Release [3707 B]
    Get:10 http://ftp.us.debian.org wheezy-backports Release [147 kB]
    Get:11 http://ftp.us.debian.org wheezy/main Sources [5957 kB]
    Get:12 http://deb.torproject.org wheezy/main amd64 Packages [3932 B]
    Get:13 http://ftp.us.debian.org wheezy/non-free Sources [93.4 kB]
    Get:14 http://deb.torproject.org wheezy/main i386 Packages [3931 B]
    Get:15 http://ftp.us.debian.org wheezy/contrib Sources [47.7 kB]
    Get:16 http://security.debian.org wheezy/updates/main Sources [127 kB]
    Get:17 http://ftp.us.debian.org wheezy/main amd64 Packages [5841 kB]
    Get:18 http://ftp.us.debian.org wheezy/non-free amd64 Packages [80.8 kB]
    Get:19 http://ftp.us.debian.org wheezy/contrib amd64 Packages [42.0 kB]
    Get:20 http://ftp.us.debian.org wheezy/main i386 Packages [5859 kB]
    Get:21 http://ftp.us.debian.org wheezy/non-free i386 Packages [77.5 kB]
    Get:22 http://ftp.us.debian.org wheezy/contrib i386 Packages [42.3 kB]
    Get:23 http://ftp.us.debian.org wheezy/contrib Translation-en [34.8 kB]
    Get:24 http://ftp.us.debian.org wheezy/main Translation-en [3847 kB]
    Get:25 http://security.debian.org wheezy/updates/contrib Sources [14 B]
    Get:26 http://ftp.us.debian.org wheezy/non-free Translation-en [66.1 kB]
    Get:27 http://ftp.us.debian.org wheezy-updates/main Sources [4478 B]
    Get:28 http://ftp.us.debian.org wheezy-updates/contrib Sources [14 B]
    Get:29 http://ftp.us.debian.org wheezy-updates/non-free Sources [14 B]
    Get:30 http://ftp.us.debian.org wheezy-updates/main amd64 Packages/DiffIndex [1471 B]
    Get:31 http://ftp.us.debian.org wheezy-updates/contrib amd64 Packages [14 B]
    Get:32 http://ftp.us.debian.org wheezy-updates/non-free amd64 Packages [14 B]
    Get:33 http://ftp.us.debian.org wheezy-updates/main i386 Packages/DiffIndex [1471 B]
    Get:34 http://ftp.us.debian.org wheezy-updates/contrib i386 Packages [14 B]
    Get:35 http://ftp.us.debian.org wheezy-updates/non-free i386 Packages [14 B]
    Get:36 http://ftp.us.debian.org wheezy-updates/contrib Translation-en [14 B]
    Get:37 http://ftp.us.debian.org wheezy-updates/main Translation-en/DiffIndex [919 B]
    Get:38 http://ftp.us.debian.org wheezy-updates/non-free Translation-en [14 B]
    Get:39 http://ftp.us.debian.org wheezy-backports/main amd64 Packages/DiffIndex [7819 B]
    Get:40 http://ftp.us.debian.org wheezy-backports/main i386 Packages/DiffIndex [7819 B]
    Get:41 http://security.debian.org wheezy/updates/non-free Sources [14 B]
    Ign http://deb.torproject.org wheezy/main Translation-en
    Get:42 http://ftp.us.debian.org wheezy-backports/main Translation-en/DiffIndex [7819 B]
    Get:43 http://security.debian.org wheezy/updates/main amd64 Packages [215 kB]
    Get:44 http://security.debian.org wheezy/updates/contrib amd64 Packages [14 B]
    Get:45 http://security.debian.org wheezy/updates/non-free amd64 Packages [14 B]
    Get:46 http://security.debian.org wheezy/updates/main i386 Packages [217 kB]
    Get:47 http://security.debian.org wheezy/updates/contrib i386 Packages [14 B]
    Get:48 http://security.debian.org wheezy/updates/non-free i386 Packages [14 B]
    Get:49 http://security.debian.org wheezy/updates/contrib Translation-en [14 B]
    Get:50 http://security.debian.org wheezy/updates/main Translation-en [121 kB]
    Get:51 http://security.debian.org wheezy/updates/non-free Translation-en [14 B]
    Fetched 18.5 MB
    Reading package lists…
  • ‘[’ ‘!’ 0 = 0 ‘]’
  • apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 --yes install sudo ruby-ronn diffutils debhelper dialog haveged devscripts reprepro libfile-fcntllock-perl config-package-dev dh-apparmor gawk bash-completion grep debian-archive-keyring faketime vbindiff lsb-release pv
    Reading package lists…
    Building dependency tree…
    Reading state information…
    dh-apparmor is already the newest version.
    bash-completion is already the newest version.
    debhelper is already the newest version.
    debian-archive-keyring is already the newest version.
    devscripts is already the newest version.
    dialog is already the newest version.
    diffutils is already the newest version.
    faketime is already the newest version.
    gawk is already the newest version.
    grep is already the newest version.
    haveged is already the newest version.
    libfile-fcntllock-perl is already the newest version.
    lsb-release is already the newest version.
    pv is already the newest version.
    reprepro is already the newest version.
    ruby-ronn is already the newest version.
    sudo is already the newest version.
    vbindiff is already the newest version.
    config-package-dev is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  • ‘[’ ‘’ = true ‘]’
  • apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 --yes install git
    Reading package lists…
    Building dependency tree…
    Reading state information…
    git is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    +++ dirname ./build-steps.d/1100_prepare-build-machine
    ++ cd ./build-steps.d
    ++ pwd
  • MYDIR=/home/whonixuser/gitfiles/Whonix/build-steps.d
  • cd /home/whonixuser/gitfiles/Whonix/build-steps.d
  • cd …
  • cd help-steps
  • source variables
    ++ set +x
    INFO: Setting… export UWT_DEV_PASSTHROUGH=“1”
    anon_dist_build_version: 8.6.6.0.83.g99193a02d7f1dfe921ee209026f03e8e48f4d3ee
  • ‘[’ 0 = 1 ‘]’
  • apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 --no-install-recommends --yes install qemu-utils grml-debootstrap parted kpartx mksh libguestfs-tools
    Reading package lists…
    Building dependency tree…
    Reading state information…
    libguestfs-tools is already the newest version.
    mksh is already the newest version.
    kpartx is already the newest version.
    parted is already the newest version.
    qemu-utils is already the newest version.
    grml-debootstrap is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  • ‘[’ debian = ubuntu ‘]’
  • apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 --yes install guestmount
    Reading package lists…
    Building dependency tree…
    Reading state information…
    guestmount is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  • apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 --yes install guestfish
    Reading package lists…
    Building dependency tree…
    Reading state information…
    guestfish is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  • command -v guestmount
  • command -v guestfish
  • command -v virt-filesystems
  • command -v guestunmount
  • true
  • true ‘INFO: Attempting to install linux headers…
    Linux headers have to be installed so VirtualBox kernel modules can be
    compiled. When linux headers are not installed, the following
    warning will be shown.
    […] Starting VirtualBox kernel modules […]
    No suitable module for running kernel found … [ FAIL ]
    invoke-rc.d: initscript virtualbox, action “restart” failed.
    The build would still complete, because the build script does not start
    VirtualBox, hence does not affect the build. The build script only
    uses VBoxManage for creation of virtual machine description files
    and that tool does not need VirtualBox kernel modules. However, without
    kernel modules, the user might wonder why Whonix virtual machines
    cannot be started after building Whonix. Hence, we attempt to install them.
    If it succeeds, good. If not, we fail open, i.e. no need to break the build
    at this point. (This is useful for builders who currently have not started
    a linux kernel.)’
  • local linux_headers
    ++ uname -r
  • linux_headers=linux-headers-3.2.0-4-amd64
  • apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 --yes install linux-headers-3.2.0-4-amd64
    Reading package lists…
    Building dependency tree…
    Reading state information…
    linux-headers-3.2.0-4-amd64 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  • apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 --yes install virtualbox
    Reading package lists…
    Building dependency tree…
    Reading state information…
    virtualbox is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  • check-virtualbox-vm-exists
  • trap error_handler_general ERR INT TERM
  • ‘[’ 0 = 1 ‘]’
  • ‘[’ Whonix-Gateway = internalrun ‘]’
  • local command_v_exit_code=0
  • command -v VBoxManage
  • ‘[’ ‘!’ 0 = 0 ‘]’
  • true ‘INFO: Checking, if a VirtualBox VM named Whonix-Gateway already exists…’
  • local vboxmanage_exit_code
  • vboxmanage_exit_code=0
  • sudo -u whonixuser VBoxManage showvminfo Whonix-Gateway
  • vboxmanage_exit_code=1
  • true
  • ‘[’ 1 = 0 ‘]’
  • true ‘INFO: Done, no VirtualBox VM named Whonix-Gateway does exist, ok.’
  • true ‘INFO: Checking, if an VirtualBox ova file /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.ova already exists…’
  • ‘[’ -e /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.ova ‘]’
  • true ‘INFO: Done, no VirtualBox ova file /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.ova exist, ok.’
  • ‘[’ 0 = 1 ‘]’
    ++ dpkg-query --show ‘–showformat=${Version}’ grml-debootstrap
  • grml_debootstrap_version=0.65
  • local dpkg_exit_code=0
  • dpkg --compare-versions 0.65 ge 0.61
  • ‘[’ 0 = 0 ‘]’
  • true ‘INFO: grml-debootstrap version equal or higher 0.61 already installed, ok.’
  • ‘[’ ‘!’ -d /usr/share/doc/config-package-dev/examples/debhelper/ ‘]’
  • true ‘INFO: config-package-dev with debhelper support already installed, ok.’
  • ‘[’ ‘’ = 1 ‘]’
  • ‘[’ 0 = 1 ‘]’
  • ‘[’ ‘!’ -f /home/whonixuser/whonix_binary/status_files/update-guestfs-appliance.done ‘]’
  • disable_apt_cache
  • trap error_handler_general ERR INT TERM
  • unset http_proxy
  • true ‘INFO: Updating git sub modules…’
  • sudo -u whonixuser git submodule sync
    Synchronizing submodule url for ‘packages/anon-apt-sources-list’
    Synchronizing submodule url for ‘packages/anon-base-files’
    Synchronizing submodule url for ‘packages/anon-gpg-tweaks’
    Synchronizing submodule url for ‘packages/anon-gw-anonymizer-config’
    Synchronizing submodule url for ‘packages/anon-gw-base-files’
    Synchronizing submodule url for ‘packages/anon-gw-build-upgrade-tor’
    Synchronizing submodule url for ‘packages/anon-gw-dhcp-conf’
    Synchronizing submodule url for ‘packages/anon-gw-dns-conf’
    Synchronizing submodule url for ‘packages/anon-gw-first-run-notice’
    Synchronizing submodule url for ‘packages/anon-gw-kde-startmenu’
    Synchronizing submodule url for ‘packages/anon-gw-leaktest’
    Synchronizing submodule url for ‘packages/anon-iceweasel-warning’
    Synchronizing submodule url for ‘packages/anon-icon-pack’
    Synchronizing submodule url for ‘packages/anon-kde-streamiso’
    Synchronizing submodule url for ‘packages/anon-meta-packages’
    Synchronizing submodule url for ‘packages/anon-mixmaster’
    Synchronizing submodule url for ‘packages/anon-shared-build-apt-sources-tpo’
    Synchronizing submodule url for ‘packages/anon-shared-build-ban-nonfree’
    Synchronizing submodule url for ‘packages/anon-shared-build-fix-grub’
    Synchronizing submodule url for ‘packages/anon-shared-build-inst-tb’
    Synchronizing submodule url for ‘packages/anon-shared-build-log-build-version’
    Synchronizing submodule url for ‘packages/anon-shared-build-remember-sources’
    Synchronizing submodule url for ‘packages/anon-shared-build-sanity-checks’
    Synchronizing submodule url for ‘packages/anon-shared-build-upgrade-torsocks’
    Synchronizing submodule url for ‘packages/anon-shared-helper-scripts’
    Synchronizing submodule url for ‘packages/anon-torchat’
    Synchronizing submodule url for ‘packages/anon-ws-base-files’
    Synchronizing submodule url for ‘packages/anon-ws-disable-stacked-tor’
    Synchronizing submodule url for ‘packages/anon-ws-dns-conf’
    Synchronizing submodule url for ‘packages/anon-ws-kde-startmenu’
    Synchronizing submodule url for ‘packages/anon-ws-leaktest’
    Synchronizing submodule url for ‘packages/apparmor-profile-anondist’
    Synchronizing submodule url for ‘packages/apparmor-profile-icedove’
    Synchronizing submodule url for ‘packages/apparmor-profile-okular’
    Synchronizing submodule url for ‘packages/apparmor-profile-pidgin’
    Synchronizing submodule url for ‘packages/apparmor-profile-sdwdate’
    Synchronizing submodule url for ‘packages/apparmor-profile-timesync’
    Synchronizing submodule url for ‘packages/apparmor-profile-torbrowser’
    Synchronizing submodule url for ‘packages/apparmor-profile-virtualbox’
    Synchronizing submodule url for ‘packages/apparmor-profile-whonixcheck’
    Synchronizing submodule url for ‘packages/apparmor-profile-xchat’
    Synchronizing submodule url for ‘packages/bootclockrandomization’
    Synchronizing submodule url for ‘packages/control-port-filter’
    Synchronizing submodule url for ‘packages/curl-scripts’
    Synchronizing submodule url for ‘packages/damngpl’
    Synchronizing submodule url for ‘packages/gpl-sources-download’
    Synchronizing submodule url for ‘packages/grub-enable-apparmor’
    Synchronizing submodule url for ‘packages/ipv4-forward-disable’
    Synchronizing submodule url for ‘packages/ipv6-disable’
    Synchronizing submodule url for ‘packages/kde-apper-no-autoupdate’
    Synchronizing submodule url for ‘packages/kde-dolphin-menubar-enable’
    Synchronizing submodule url for ‘packages/kde-kdm-autologin’
    Synchronizing submodule url for ‘packages/kde-kgpg-tweaks’
    Synchronizing submodule url for ‘packages/kde-konsole-unlim-scrollback’
    Synchronizing submodule url for ‘packages/kde-lowfat’
    Synchronizing submodule url for ‘packages/kde-mouse-doubleclick’
    Synchronizing submodule url for ‘packages/kde-no-move-max-win’
    Synchronizing submodule url for ‘packages/kde-sounds-off’
    Synchronizing submodule url for ‘packages/kmix-disable-autostart’
    Synchronizing submodule url for ‘packages/knetattach-hide’
    Synchronizing submodule url for ‘packages/msgcollector’
    Synchronizing submodule url for ‘packages/open-link-confirmation’
    Synchronizing submodule url for ‘packages/pidgin-improved-privacy’
    Synchronizing submodule url for ‘packages/pkg-manager-longer-timeouts’
    Synchronizing submodule url for ‘packages/pkg-manager-no-autoupdate’
    Synchronizing submodule url for ‘packages/power-savings-disable-in-vms’
    Synchronizing submodule url for ‘packages/poweroff-passwordless’
    Synchronizing submodule url for ‘packages/rads’
    Synchronizing submodule url for ‘packages/scurl’
    Synchronizing submodule url for ‘packages/sdwdate’
    Synchronizing submodule url for ‘packages/sdwdate-plugin-anon-shared-con-check’
    Synchronizing submodule url for ‘packages/sdwdate-plugin-anon-shared-streamiso’
    Synchronizing submodule url for ‘packages/shared-folder-help’
    Synchronizing submodule url for ‘packages/swap-file-creator’
    Synchronizing submodule url for ‘packages/swappiness-lowest’
    Synchronizing submodule url for ‘packages/tb-default-browser’
    Synchronizing submodule url for ‘packages/tb-starter’
    Synchronizing submodule url for ‘packages/tb-updater’
    Synchronizing submodule url for ‘packages/tcp-timestamps-disable’
    Synchronizing submodule url for ‘packages/timesanitycheck’
    Synchronizing submodule url for ‘packages/timesync’
    Synchronizing submodule url for ‘packages/timezone-utc’
    Synchronizing submodule url for ‘packages/tor-ctrl’
    Synchronizing submodule url for ‘packages/uwt’
    Synchronizing submodule url for ‘packages/vbox-disable-timesync’
    Synchronizing submodule url for ‘packages/whonix-base-files’
    Synchronizing submodule url for ‘packages/whonix-gw-desktop-shortcuts’
    Synchronizing submodule url for ‘packages/whonix-gw-firewall’
    Synchronizing submodule url for ‘packages/whonix-gw-kde-desktop-conf’
    Synchronizing submodule url for ‘packages/whonix-gw-network-conf’
    Synchronizing submodule url for ‘packages/whonix-initializer’
    Synchronizing submodule url for ‘packages/whonix-legacy’
    Synchronizing submodule url for ‘packages/whonix-repository’
    Synchronizing submodule url for ‘packages/whonix-ws-desktop-shortcuts’
    Synchronizing submodule url for ‘packages/whonix-ws-firewall’
    Synchronizing submodule url for ‘packages/whonix-ws-irc-chat-support’
    Synchronizing submodule url for ‘packages/whonix-ws-kde-desktop-conf’
    Synchronizing submodule url for ‘packages/whonix-ws-network-conf’
    Synchronizing submodule url for ‘packages/whonix-ws-start-menu-additions’
    Synchronizing submodule url for ‘packages/whonixcheck’
    Synchronizing submodule url for ‘packages/whonixsetup’
    Synchronizing submodule url for ‘packages/xchat-improved-privacy’
  • sudo -u whonixuser git submodule update --init --recursive
    Submodule ‘packages/anon-apt-sources-list’ () registered for path ‘packages/anon-apt-sources-list’
    Submodule ‘packages/anon-base-files’ () registered for path ‘packages/anon-base-files’
    Submodule ‘packages/anon-gpg-tweaks’ () registered for path ‘packages/anon-gpg-tweaks’
    Submodule ‘packages/anon-gw-anonymizer-config’ () registered for path ‘packages/anon-gw-anonymizer-config’
    Submodule ‘packages/anon-gw-base-files’ () registered for path ‘packages/anon-gw-base-files’
    Submodule ‘packages/anon-gw-build-upgrade-tor’ () registered for path ‘packages/anon-gw-build-upgrade-tor’
    Submodule ‘packages/anon-gw-dhcp-conf’ () registered for path ‘packages/anon-gw-dhcp-conf’
    Submodule ‘packages/anon-gw-dns-conf’ () registered for path ‘packages/anon-gw-dns-conf’
    Submodule ‘packages/anon-gw-first-run-notice’ () registered for path ‘packages/anon-gw-first-run-notice’
    Submodule ‘packages/anon-gw-kde-startmenu’ () registered for path ‘packages/anon-gw-kde-startmenu’
    Submodule ‘packages/anon-gw-leaktest’ () registered for path ‘packages/anon-gw-leaktest’
    Submodule ‘packages/anon-iceweasel-warning’ () registered for path ‘packages/anon-iceweasel-warning’
    Submodule ‘packages/anon-icon-pack’ () registered for path ‘packages/anon-icon-pack’
    Submodule ‘packages/anon-kde-streamiso’ () registered for path ‘packages/anon-kde-streamiso’
    Submodule ‘packages/anon-meta-packages’ () registered for path ‘packages/anon-meta-packages’
    Submodule ‘packages/anon-mixmaster’ () registered for path ‘packages/anon-mixmaster’
    Submodule ‘packages/anon-shared-build-apt-sources-tpo’ () registered for path ‘packages/anon-shared-build-apt-sources-tpo’
    Submodule ‘packages/anon-shared-build-ban-nonfree’ () registered for path ‘packages/anon-shared-build-ban-nonfree’
    Submodule ‘packages/anon-shared-build-fix-grub’ () registered for path ‘packages/anon-shared-build-fix-grub’
    Submodule ‘packages/anon-shared-build-inst-tb’ () registered for path ‘packages/anon-shared-build-inst-tb’
    Submodule ‘packages/anon-shared-build-log-build-version’ () registered for path ‘packages/anon-shared-build-log-build-version’
    Submodule ‘packages/anon-shared-build-remember-sources’ () registered for path ‘packages/anon-shared-build-remember-sources’
    Submodule ‘packages/anon-shared-build-sanity-checks’ () registered for path ‘packages/anon-shared-build-sanity-checks’
    Submodule ‘packages/anon-shared-build-upgrade-torsocks’ () registered for path ‘packages/anon-shared-build-upgrade-torsocks’
    Submodule ‘packages/anon-shared-helper-scripts’ () registered for path ‘packages/anon-shared-helper-scripts’
    Submodule ‘packages/anon-torchat’ () registered for path ‘packages/anon-torchat’
    Submodule ‘packages/anon-ws-base-files’ () registered for path ‘packages/anon-ws-base-files’
    Submodule ‘packages/anon-ws-disable-stacked-tor’ () registered for path ‘packages/anon-ws-disable-stacked-tor’
    Submodule ‘packages/anon-ws-dns-conf’ () registered for path ‘packages/anon-ws-dns-conf’
    Submodule ‘packages/anon-ws-kde-startmenu’ () registered for path ‘packages/anon-ws-kde-startmenu’
    Submodule ‘packages/anon-ws-leaktest’ () registered for path ‘packages/anon-ws-leaktest’
    Submodule ‘packages/apparmor-profile-anondist’ () registered for path ‘packages/apparmor-profile-anondist’
    Submodule ‘packages/apparmor-profile-icedove’ () registered for path ‘packages/apparmor-profile-icedove’
    Submodule ‘packages/apparmor-profile-okular’ () registered for path ‘packages/apparmor-profile-okular’
    Submodule ‘packages/apparmor-profile-pidgin’ () registered for path ‘packages/apparmor-profile-pidgin’
    Submodule ‘packages/apparmor-profile-sdwdate’ () registered for path ‘packages/apparmor-profile-sdwdate’
    Submodule ‘packages/apparmor-profile-timesync’ () registered for path ‘packages/apparmor-profile-timesync’
    Submodule ‘packages/apparmor-profile-torbrowser’ () registered for path ‘packages/apparmor-profile-torbrowser’
    Submodule ‘packages/apparmor-profile-virtualbox’ () registered for path ‘packages/apparmor-profile-virtualbox’
    Submodule ‘packages/apparmor-profile-whonixcheck’ () registered for path ‘packages/apparmor-profile-whonixcheck’
    Submodule ‘packages/apparmor-profile-xchat’ () registered for path ‘packages/apparmor-profile-xchat’
    Submodule ‘packages/bootclockrandomization’ () registered for path ‘packages/bootclockrandomization’
    Submodule ‘packages/control-port-filter’ () registered for path ‘packages/control-port-filter’
    Submodule ‘packages/curl-scripts’ () registered for path ‘packages/curl-scripts’
    Submodule ‘packages/damngpl’ () registered for path ‘packages/damngpl’
    Submodule ‘packages/gpl-sources-download’ () registered for path ‘packages/gpl-sources-download’
    Submodule ‘packages/grub-enable-apparmor’ () registered for path ‘packages/grub-enable-apparmor’
    Submodule ‘packages/ipv4-forward-disable’ () registered for path ‘packages/ipv4-forward-disable’
    Submodule ‘packages/ipv6-disable’ () registered for path ‘packages/ipv6-disable’
    Submodule ‘packages/kde-apper-no-autoupdate’ () registered for path ‘packages/kde-apper-no-autoupdate’
    Submodule ‘packages/kde-dolphin-menubar-enable’ () registered for path ‘packages/kde-dolphin-menubar-enable’
    Submodule ‘packages/kde-kdm-autologin’ () registered for path ‘packages/kde-kdm-autologin’
    Submodule ‘packages/kde-kgpg-tweaks’ () registered for path ‘packages/kde-kgpg-tweaks’
    Submodule ‘packages/kde-konsole-unlim-scrollback’ () registered for path ‘packages/kde-konsole-unlim-scrollback’
    Submodule ‘packages/kde-lowfat’ () registered for path ‘packages/kde-lowfat’
    Submodule ‘packages/kde-mouse-doubleclick’ () registered for path ‘packages/kde-mouse-doubleclick’
    Submodule ‘packages/kde-no-move-max-win’ () registered for path ‘packages/kde-no-move-max-win’
    Submodule ‘packages/kde-sounds-off’ () registered for path ‘packages/kde-sounds-off’
    Submodule ‘packages/kmix-disable-autostart’ () registered for path ‘packages/kmix-disable-autostart’
    Submodule ‘packages/knetattach-hide’ () registered for path ‘packages/knetattach-hide’
    Submodule ‘packages/msgcollector’ () registered for path ‘packages/msgcollector’
    Submodule ‘packages/open-link-confirmation’ () registered for path ‘packages/open-link-confirmation’
    Submodule ‘packages/pidgin-improved-privacy’ () registered for path ‘packages/pidgin-improved-privacy’
    Submodule ‘packages/pkg-manager-longer-timeouts’ () registered for path ‘packages/pkg-manager-longer-timeouts’
    Submodule ‘packages/pkg-manager-no-autoupdate’ () registered for path ‘packages/pkg-manager-no-autoupdate’
    Submodule ‘packages/power-savings-disable-in-vms’ () registered for path ‘packages/power-savings-disable-in-vms’
    Submodule ‘packages/poweroff-passwordless’ () registered for path ‘packages/poweroff-passwordless’
    Submodule ‘packages/rads’ () registered for path ‘packages/rads’
    Submodule ‘packages/scurl’ () registered for path ‘packages/scurl’
    Submodule ‘packages/sdwdate’ () registered for path ‘packages/sdwdate’
    Submodule ‘packages/sdwdate-plugin-anon-shared-con-check’ () registered for path ‘packages/sdwdate-plugin-anon-shared-con-check’
    Submodule ‘packages/sdwdate-plugin-anon-shared-streamiso’ () registered for path ‘packages/sdwdate-plugin-anon-shared-streamiso’
    Submodule ‘packages/shared-folder-help’ () registered for path ‘packages/shared-folder-help’
    Submodule ‘packages/swap-file-creator’ () registered for path ‘packages/swap-file-creator’
    Submodule ‘packages/swappiness-lowest’ () registered for path ‘packages/swappiness-lowest’
    Submodule ‘packages/tb-default-browser’ () registered for path ‘packages/tb-default-browser’
    Submodule ‘packages/tb-starter’ () registered for path ‘packages/tb-starter’
    Submodule ‘packages/tb-updater’ () registered for path ‘packages/tb-updater’
    Submodule ‘packages/tcp-timestamps-disable’ () registered for path ‘packages/tcp-timestamps-disable’
    Submodule ‘packages/timesanitycheck’ () registered for path ‘packages/timesanitycheck’
    Submodule ‘packages/timesync’ () registered for path ‘packages/timesync’
    Submodule ‘packages/timezone-utc’ () registered for path ‘packages/timezone-utc’
    Submodule ‘packages/tor-ctrl’ () registered for path ‘packages/tor-ctrl’
    Submodule ‘packages/uwt’ () registered for path ‘packages/uwt’
    Submodule ‘packages/vbox-disable-timesync’ () registered for path ‘packages/vbox-disable-timesync’
    Submodule ‘packages/whonix-base-files’ () registered for path ‘packages/whonix-base-files’
    Submodule ‘packages/whonix-gw-desktop-shortcuts’ () registered for path ‘packages/whonix-gw-desktop-shortcuts’
    Submodule ‘packages/whonix-gw-firewall’ () registered for path ‘packages/whonix-gw-firewall’
    Submodule ‘packages/whonix-gw-kde-desktop-conf’ () registered for path ‘packages/whonix-gw-kde-desktop-conf’
    Submodule ‘packages/whonix-gw-network-conf’ () registered for path ‘packages/whonix-gw-network-conf’
    Submodule ‘packages/whonix-initializer’ () registered for path ‘packages/whonix-initializer’
    Submodule ‘packages/whonix-legacy’ () registered for path ‘packages/whonix-legacy’
    Submodule ‘packages/whonix-repository’ () registered for path ‘packages/whonix-repository’
    Submodule ‘packages/whonix-ws-desktop-shortcuts’ () registered for path ‘packages/whonix-ws-desktop-shortcuts’
    Submodule ‘packages/whonix-ws-firewall’ () registered for path ‘packages/whonix-ws-firewall’
    Submodule ‘packages/whonix-ws-irc-chat-support’ () registered for path ‘packages/whonix-ws-irc-chat-support’
    Submodule ‘packages/whonix-ws-kde-desktop-conf’ () registered for path ‘packages/whonix-ws-kde-desktop-conf’
    Submodule ‘packages/whonix-ws-network-conf’ () registered for path ‘packages/whonix-ws-network-conf’
    Submodule ‘packages/whonix-ws-start-menu-additions’ () registered for path ‘packages/whonix-ws-start-menu-additions’
    Submodule ‘packages/whonixcheck’ () registered for path ‘packages/whonixcheck’
    Submodule ‘packages/whonixsetup’ () registered for path ‘packages/whonixsetup’
    Submodule ‘packages/xchat-improved-privacy’ () registered for path ‘packages/xchat-improved-privacy’
  • true ‘INFO: Updated git sub modules.’
  • cat /usr/sbin/policy-rc.d
    cat: /usr/sbin/policy-rc.d: No such file or directory
  • true
  • ‘[’ ‘’ = true ‘]’
  • service haveged status
    haveged is running.
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ ‘’ = true ‘]’
  • benchmark_time_end
    ++ date +%s
  • benchmark_time_end=1410375767
  • benchmark_took_seconds=34
    ++ convertsecs 34
    ++ (( h=34/3600 ))
    ++ (( m=(34%3600)/60 ))
    ++ (( s=34%60 ))
    ++ printf ‘%02d:%02d:%02d\n’ 0 0 34
    ++ true
  • benchmark_took_time=00:00:34
  • true
  • true ‘INFO: End of: ./build-steps.d/1100_prepare-build-machine No error detected. (benchmark: 00:00:34)’
    run-parts: executing ./build-steps.d/1150_export-libvirt-xml
  • true ‘INFO: Currently running script: ./build-steps.d/1150_export-libvirt-xml’
    +++ dirname ./build-steps.d/1150_export-libvirt-xml
    ++ cd ./build-steps.d
    ++ pwd
  • MYDIR=/home/whonixuser/gitfiles/Whonix/build-steps.d
  • cd /home/whonixuser/gitfiles/Whonix/build-steps.d
  • cd …
  • cd help-steps
  • source pre
    ++ set +x
  • source variables
    ++ set +x
    INFO: Setting… export UWT_DEV_PASSTHROUGH=“1”
    anon_dist_build_version: 8.6.6.0.83.g99193a02d7f1dfe921ee209026f03e8e48f4d3ee
  • ‘[’ 0 = 1 ‘]’
  • true 'INFO: Currently running script: ./build-steps.d/1150_export-libvirt-xml ’
  • export-libvirt-xml
  • trap error_handler_general ERR INT TERM
  • ‘[’ ‘!’ 0 = 1 ‘]’
  • true ‘INFO: Skipping ./build-steps.d/1150_export-libvirt-xml, because whonix_build_script_create_qcow2 is not set to 1.’
  • return 0
  • benchmark_time_end
    ++ date +%s
  • benchmark_time_end=1410375767
  • benchmark_took_seconds=0
    ++ convertsecs 0
    ++ (( h=0/3600 ))
    ++ (( m=(0%3600)/60 ))
    ++ (( s=0%60 ))
    ++ printf ‘%02d:%02d:%02d\n’ 0 0 0
    ++ true
  • benchmark_took_time=00:00:00
  • true
  • true ‘INFO: End of: ./build-steps.d/1150_export-libvirt-xml No error detected. (benchmark: 00:00:00)’[/code]

Hope this is helpful in debugging.

No error there. My mistake. Sorry, I meant the ./build-steps.d/1300_create-raw-image build step, because that is the one that runs grml-debootstrap.

I think it’s most effective posting the whole log unless you already know what’s unnecessary.

Patrick:

Here is the log from 1300_create-raw-image

[code]

  • true ‘INFO: End of: ./build-steps.d/1200_create-debian-packages No error detected. (benchmark: 00:17:20)’
    run-parts: executing ./build-steps.d/1300_create-raw-image
  • true ‘INFO: Currently running script: ./build-steps.d/1300_create-raw-image’
    +++ dirname ./build-steps.d/1300_create-raw-image
    ++ cd ./build-steps.d
    ++ pwd
  • MYDIR=/home/whonixuser/gitfiles/Whonix/build-steps.d
  • cd /home/whonixuser/gitfiles/Whonix/build-steps.d
  • cd …
  • cd help-steps
  • source pre
    ++ set +x
  • source variables
    ++ set +x
    INFO: Setting… export UWT_DEV_PASSTHROUGH=“1”
    anon_dist_build_version: 8.6.6.0.83.g99193a02d7f1dfe921ee209026f03e8e48f4d3ee
  • ‘[’ 0 = 1 ‘]’
  • true 'INFO: Currently running script: ./build-steps.d/1300_create-raw-image ’
  • ‘[’ 1 = 1 ‘]’
  • create-debian-raw-image
  • trap error_handler_general ERR INT TERM
  • mkdir --parents /home/whonixuser/whonix_binary/
  • chown --recursive whonixuser:whonixuser /home/whonixuser/whonix_binary/
  • ‘[’ ‘’ = 1 ‘]’
    ++ uname --machine
  • ARCH=x86_64
  • true ‘./build-steps.d/1300_create-raw-image INFO: Architecture x86_64 detected.’
  • true ‘INFO: BUILD_TARGET_ARCH set to: i386’
  • mkdir --parents /etc/debootstrap/etc/apt/
  • cp /home/whonixuser/gitfiles/Whonix/build_sources/debian_stable_frozen.list /etc/debootstrap/etc/apt/sources.list
  • true 'INFO: Using the following /etc/apt/sources.list for grml-debootstrap: ’
  • cat /etc/debootstrap/etc/apt/sources.list

This file is part of Whonix.

Copyright (C) 2012 - 2014 Patrick Schleizer adrelanos@riseup.net

See the file COPYING for copying conditions.

Using http://snapshot.debian.org/ to create verifiable builds.

1. Go to for example:

- debian-security - snapshot.debian.org

- debian - snapshot.debian.org

2. Then for example click on 2013 09

- debian-security:2013-10 - snapshot.debian.org

- debian:2013-10 - snapshot.debian.org

3. Scroll down and for example click on 2013-09-19 21:48:59

- debian-security:/ 2013-09-19 21:55:14 - snapshot.debian.org

- debian:/ 2013-09-19 21:48:59 - snapshot.debian.org

4. See note above!

- See note above!

- See note above!

deb debian-security:/ 2014-08-18 12:53:20 - snapshot.debian.org stable/updates main
deb http://snapshot.debian.org/archive/debian/20140819T161127Z/ stable main

We currently do not need any source packages for building Whonix.

  • ‘[’ -n ‘’ ‘]’

  • export DEBUG=true

  • DEBUG=true

  • ‘[’ -n ‘’ ‘]’

  • export REPORT_TRAP_ERR=yes

  • REPORT_TRAP_ERR=yes

  • ‘[’ -n ‘’ ‘]’

  • export FAIL_TRAP_ERR=yes

  • FAIL_TRAP_ERR=yes

  • ‘[’ -n ‘’ ‘]’

  • export 'DPKG_OPTIONS= -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false ’

  • DPKG_OPTIONS=’ -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false ’

  • ‘[’ -n ‘’ ‘]’

  • export KERNEL=none

  • KERNEL=none

  • ‘[’ -n ‘’ ‘]’

  • export COMPONENTS=main

  • COMPONENTS=main

  • ‘[’ -n ‘’ ‘]’

  • export FSCK=yes

  • FSCK=yes

  • ‘[’ -n ‘’ ‘]’

  • export TIMEZONE=UTC

  • TIMEZONE=UTC

  • ‘[’ -n ‘’ ‘]’

  • export RM_APTCACHE=no

  • RM_APTCACHE=no

  • ‘[’ -n ‘’ ‘]’

  • export UPGRADE_SYSTEM=no

  • UPGRADE_SYSTEM=no

  • ‘[’ -n ‘’ ‘]’

  • export FIXED_DISK_IDENTIFIERS=yes

  • FIXED_DISK_IDENTIFIERS=yes

  • ‘[’ -n ‘’ ‘]’

  • export NOKERNEL=true

  • NOKERNEL=true

  • ‘[’ -n ‘’ ‘]’

  • export NOINTERFACES=true

  • NOINTERFACES=true

  • maybe_enable_apt_cache

  • trap error_handler_general ERR INT TERM

  • ‘[’ -f /usr/share/anon-gw-base-files/gateway ‘]’

  • ‘[’ ‘’ = ‘’ ‘]’

  • echo ‘INFO: Setting, export http_proxy=“http://127.0.0.1:3142”’
    INFO: Setting, export http_proxy=“http://127.0.0.1:3142

  • export http_proxy=http://127.0.0.1:3142

  • http_proxy=http://127.0.0.1:3142

  • bash -x grml-debootstrap --debopt --verbose --arch i386 --filesystem ext4 --force --hostname host --password changeme --release stable --keep_src_list --verbose --vmfile --vmsize 100G --packages /home/whonixuser/gitfiles/Whonix/grml_packages --target /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw --mirror http://snapshot.debian.org/archive/debian/20140819T161127Z/
    ++ basename grml-debootstrap

  • PN=grml-debootstrap
    ++ dpkg-query --show ‘–showformat=${Version}’ grml-debootstrap

  • VERSION=0.65

  • VERSION=0.65

  • MNTPOINT=/mnt/debootstrap.24207

  • ‘[’ -n ‘’ ‘]’

  • CHROOT_SCRIPTS=yes

  • ‘[’ -n ‘’ ‘]’

  • CONFFILES=/etc/debootstrap

  • ‘[’ -n ‘’ ‘]’

  • DEBCONF=yes

  • ‘[’ -n noninteractive ‘]’

  • ‘[’ -n ‘’ ‘]’

  • DEBOOTSTRAP=debootstrap

  • ‘[’ -n ‘’ ‘]’

  • DEFAULT_LOCALES=en_US.UTF-8

  • ‘[’ -n ‘’ ‘]’

  • EXTRAPACKAGES=yes

  • ‘[’ -n ‘’ ‘]’

  • FALLBACK_MIRROR=Index of /debian

  • ‘[’ -n ‘’ ‘]’

  • FORCE=

  • ‘[’ -n ixlatan ‘]’

  • ‘[’ -n ‘’ ‘]’

  • INITRD=yes

  • ‘[’ -n ‘’ ‘]’

  • INSTALL_NOTES=/etc/debootstrap/install_notes

  • ‘[’ -n ‘’ ‘]’

  • LOCALES=yes

  • ‘[’ -n ‘’ ‘]’

  • MIRROR=Index of /debian

  • ‘[’ -n ‘’ ‘]’

  • MKFS=mkfs.ext4

  • ‘[’ -n ‘’ ‘]’

  • PACKAGES=yes

  • ‘[’ -n ‘’ ‘]’

  • PRE_SCRIPTS=yes

  • ‘[’ -n ‘’ ‘]’

  • RECONFIGURE=console-data

  • ‘[’ -n ‘’ ‘]’

  • RELEASE=wheezy

  • ‘[’ -n no ‘]’

  • ‘[’ -n ‘’ ‘]’

  • SCRIPTS=yes

  • ‘[’ -n ‘’ ‘]’

  • SECURE=yes

  • ‘[’ -n UTC ‘]’

  • ‘[’ -n ‘’ ‘]’

  • TUNE2FS=‘tune2fs -c0 -i0’

  • ‘[’ -n no ‘]’

  • ‘[’ -n 100G ‘]’

  • ‘[’ -n yes ‘]’

  • export LANG=C

  • LANG=C

  • export LC_ALL=C

  • LC_ALL=C

  • INTERACTIVE=

  • ‘[’ --debopt = -h ‘]’

  • ‘[’ --debopt = -help ‘]’

  • ‘[’ --debopt = --help ‘]’

  • GOOD=‘e[32;01m’

  • WARN=‘e[33;01m’

  • BAD=‘e[31;01m’

  • NORMAL=‘e[0m’

  • HILITE=‘e[36;01m’

  • BRACKET=‘e[34;01m’

  • trap bailout HUP INT QUIT TERM

  • check4progs debootstrap

  • local RC=

  • for arg in ‘$*’

  • which debootstrap

  • ‘[’ -n ‘’ ‘]’

  • ‘[’ -r /etc/debootstrap/config ‘]’

  • . /etc/debootstrap/config

  • ‘[’ -r ./cmdlineopts.clp ‘]’

  • ‘[’ -r /usr/share/grml-debootstrap/functions/cmdlineopts.clp ‘]’

  • . /usr/share/grml-debootstrap/functions/cmdlineopts.clp
    ++ CMDLINE_OPTS=mirror:,iso:,release:,target:,mntpoint:,debopt:,defaultinterfaces,interactive,nodebootstrap,nointerfaces,nokernel,nopackages,filesystem:,config:,confdir:,packages:,chroot-scripts:,scripts:,pre-scripts:,debconf:,vm,vmfile,vmsize:,keep_src_list,hostname:,password:,nopassword,grmlrepos,backportrepos,bootappend:,grub:,arch:,insecure,verbose,help,version,force,debug
    +++ getopt --name grml-debootstrap -o +m:i:r:t:p:c:d:vhV --long mirror:,iso:,release:,target:,mntpoint:,debopt:,defaultinterfaces,interactive,nodebootstrap,nointerfaces,nokernel,nopackages,filesystem:,config:,confdir:,packages:,chroot-scripts:,scripts:,pre-scripts:,debconf:,vm,vmfile,vmsize:,keep_src_list,hostname:,password:,nopassword,grmlrepos,backportrepos,bootappend:,grub:,arch:,insecure,verbose,help,version,force,debug – --debopt --verbose --arch i386 --filesystem ext4 --force --hostname host --password changeme --release stable --keep_src_list --verbose --vmfile --vmsize 100G --packages /home/whonixuser/gitfiles/Whonix/grml_packages --target /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw --mirror http://snapshot.debian.org/archive/debian/20140819T161127Z/
    ++ _opt_temp=’ --debopt ‘'’–verbose’'’ --arch ‘'‘i386’'’ --filesystem ‘'‘ext4’'’ --force --hostname ‘'‘host’'’ --password ‘'‘changeme’'’ --release ‘'‘stable’'’ --keep_src_list --verbose --vmfile --vmsize ‘'‘100G’'’ --packages ‘'’/home/whonixuser/gitfiles/Whonix/grml_packages’'’ --target ‘'’/home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw’'’ --mirror ‘'‘http://snapshot.debian.org/archive/debian/20140819T161127Z/‘\’’ --’
    ++ ‘[’ 0 ‘!=’ 0 ‘]’
    ++ eval set – ’ --debopt ‘'’–verbose’'’ --arch ‘'‘i386’'’ --filesystem ‘'‘ext4’'’ --force --hostname ‘'‘host’'’ --password ‘'‘changeme’'’ --release ‘'‘stable’'’ --keep_src_list --verbose --vmfile --vmsize ‘'‘100G’'’ --packages ‘'’/home/whonixuser/gitfiles/Whonix/grml_packages’'’ --target ‘'’/home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw’'’ --mirror ‘'‘http://snapshot.debian.org/archive/debian/20140819T161127Z/‘\’’ --’
    +++ set – --debopt --verbose --arch i386 --filesystem ext4 --force --hostname host --password changeme --release stable --keep_src_list --verbose --vmfile --vmsize 100G --packages /home/whonixuser/gitfiles/Whonix/grml_packages --target /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw --mirror http://snapshot.debian.org/archive/debian/20140819T161127Z/
    ++ :
    ++ case “$1” in
    ++ shift
    ++ _opt_debopt=–verbose
    ++ shift
    ++ :
    ++ case “$1” in
    ++ shift
    ++ _opt_arch=i386
    ++ shift
    ++ :
    ++ case “$1” in
    ++ shift
    ++ _opt_filesystem=ext4
    ++ shift
    ++ :
    ++ case “$1” in
    ++ _opt_force=T
    ++ shift
    ++ :
    ++ case “$1” in
    ++ shift
    ++ _opt_hostname=host
    ++ shift
    ++ :
    ++ case “$1” in
    ++ shift
    ++ _opt_password=changeme
    ++ shift
    ++ :
    ++ case “$1” in
    ++ shift
    ++ _opt_release=stable
    ++ shift
    ++ :
    ++ case “$1” in
    ++ _opt_keep_src_list=T
    ++ shift
    ++ :
    ++ case “$1” in
    ++ ‘[’ ‘’ ‘]’
    ++ _opt_verbose=1
    ++ shift
    ++ :
    ++ case “$1” in
    ++ _opt_vmfile=T
    ++ shift
    ++ :
    ++ case “$1” in
    ++ shift
    ++ _opt_vmsize=100G
    ++ shift
    ++ :
    ++ case “$1” in
    ++ shift
    ++ _opt_packages=/home/whonixuser/gitfiles/Whonix/grml_packages
    ++ _opt_packages_set=T
    ++ shift
    ++ :
    ++ case “$1” in
    ++ shift
    ++ _opt_target=/home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw
    ++ shift
    ++ :
    ++ case “$1” in
    ++ shift
    ++ _opt_mirror=http://snapshot.debian.org/archive/debian/20140819T161127Z/
    ++ shift
    ++ :
    ++ case “$1” in
    ++ shift
    ++ break

  • ‘[’ ‘’ ‘]’

  • ‘[’ http://snapshot.debian.org/archive/debian/20140819T161127Z/ ‘]’

  • MIRROR=http://snapshot.debian.org/archive/debian/20140819T161127Z/

  • ‘[’ ‘’ ‘]’

  • ‘[’ stable ‘]’

  • RELEASE=stable

  • ‘[’ /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw ‘]’

  • TARGET=/home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw

  • ‘[’ ‘’ ‘]’

  • ‘[’ T ‘]’

  • VMFILE=1

  • VIRTUAL=1

  • ‘[’ 100G ‘]’

  • VMSIZE=100G

  • ‘[’ ‘’ ‘]’

  • ‘[’ --verbose ‘]’

  • DEBOOTSTRAP_OPT=–verbose

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • ‘[’ ext4 ‘]’

  • MKFS=mkfs.ext4

  • ‘[’ T ‘]’

  • PACKAGES=yes

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • ‘[’ T ‘]’

  • KEEP_SRC_LIST=yes

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • ‘[’ host ‘]’

  • HOSTNAME=host

  • ‘[’ changeme ‘]’

  • ROOTPASSWORD=changeme

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • ‘[’ i386 ‘]’

  • ARCH=i386

  • ‘[’ ‘’ ‘]’

  • ‘[’ T ‘]’

  • FORCE=T

  • ‘[’ 1 ‘]’

  • VERBOSE=-v

  • ‘[’ ‘’ ‘]’

  • ‘[’ true = true ‘]’

  • set -x

  • ‘[’ ‘’ ‘]’

  • ‘[’ ‘’ ‘]’

  • check4root
    ++ id -u

  • ‘[’ 0 ‘!=’ 0 ‘]’

  • ‘[’ -n 1 ‘]’

  • check4progs kpartx mksh parted qemu-img

  • local RC=

  • for arg in ‘$*’

  • which kpartx

  • for arg in ‘$*’

  • which mksh

  • for arg in ‘$*’

  • which parted

  • for arg in ‘$*’

  • which qemu-img

  • ‘[’ -n ‘’ ‘]’

  • ‘[’ -n ‘’ ‘]’

  • ‘[’ -n ‘’ ‘]’

  • echo ‘’

  • grep -q ‘^hd’

  • ‘[’ -z /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw -o -n ‘’ ‘]’

  • ‘[’ -n i386 ‘]’

  • ARCHCMD=‘–arch i386’

  • ARCHINFO=’ (i386)’
    ++ uname -m

  • CURRENT_ARCH=x86_64

  • ‘[’ x86_64 ‘!=’ x86_64 ‘]’

  • checkconfiguration

  • ‘[’ -n ‘’ ‘]’

  • ‘[’ -n ‘’ ‘]’

  • einfo ‘grml-debootstrap [0.65] - Please recheck configuration before execution:’

  • einfon ‘grml-debootstrap [0.65] - Please recheck configuration before execution:\n’

  • ‘[’ ‘’ ‘!=’ yes ‘]’

  • ‘[’ ‘’ = ebegin ‘]’

  • printf ’ e[32;01me[0m grml-debootstrap [0.65] - Please recheck configuration before execution:\n’
    e[32;01m
    e[0m grml-debootstrap [0.65] - Please recheck configuration before execution:

  • LAST_E_CMD=einfon

  • return 0

  • return 0

  • echo

  • echo ’ Target: /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw’
    Target: /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw

  • case “$MNTPOINT” in

  • ‘[’ -n 1 ‘]’

  • echo ’ Install grub: yes’
    Install grub: yes

  • ‘[’ -n stable ‘]’

  • echo ’ Using release: stable’
    Using release: stable

  • ‘[’ -n host ‘]’

  • echo ’ Using hostname: host’
    Using hostname: host

  • ‘[’ -n http://snapshot.debian.org/archive/debian/20140819T161127Z/ ‘]’

  • echo ’ Using mirror: http://snapshot.debian.org/archive/debian/20140819T161127Z/
    Using mirror: http://snapshot.debian.org/archive/debian/20140819T161127Z/

  • ‘[’ -n ‘’ ‘]’

  • ‘[’ -n i386 ‘]’

  • echo ’ Using arch: i386’
    Using arch: i386

  • ‘[’ -n 1 ‘]’

  • echo ’ Deploying as Virtual Machine.’
    Deploying as Virtual Machine.

  • ‘[’ -n 100G -a -n 1 ‘]’

  • echo ’ Using Virtual Disk file with size of 100G.’
    Using Virtual Disk file with size of 100G.

  • ‘[’ ‘!’ -t 0 -a -z changeme -a -z ‘’ ‘]’

  • echo

  • echo ’ Important! Continuing will delete all data from /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw!’
    Important! Continuing will delete all data from /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw!

  • ‘[’ -n T ‘]’

  • einfo ‘Skip user acknowledgement as requested via --force option.’

  • einfon ‘Skip user acknowledgement as requested via --force option.\n’

  • ‘[’ ‘’ ‘!=’ yes ‘]’

  • ‘[’ einfon = ebegin ‘]’

  • printf ’ e[32;01me[0m Skip user acknowledgement as requested via --force option.\n’
    e[32;01m
    e[0m Skip user acknowledgement as requested via --force option.

  • LAST_E_CMD=einfon

  • return 0

  • return 0

  • ‘[’ -n /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw ‘]’

  • SHORT_TARGET=Whonix-Gateway-8.6.6.0.raw

  • ‘[’ -z ‘’ ‘]’

  • STAGES=/var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw

  • ‘[’ -d /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw ‘]’

  • mkdir -p /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw

  • ‘[’ -r /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/grml-debootstrap ‘]’

  • PARTITION=

  • DIRECTORY=

  • ‘[’ -b /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw ‘]’

  • ‘[’ -n 1 ‘]’

  • PARTITION=1

  • ‘[’ -n ‘’ ‘]’

  • ISODIR=

  • ISODIR=

  • ‘[’ -n ‘’ ‘]’

  • for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool

  • stage prepare_vm

  • ‘[’ -n ‘’ ‘]’

  • grep -q done /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/prepare_vm

  • prepare_vm

  • ‘[’ -z 1 ‘]’

  • ‘[’ -b /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw -a -n 1 ‘]’

  • ‘[’ ‘!’ -b /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw -a -z 1 ‘]’

  • ORIG_TARGET=/home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw

  • ‘[’ -n 1 ‘]’

  • qemu-img create -f raw /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw 100G
    Formatting ‘/home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw’, fmt=raw size=107374182400

  • echo 4 66

  • /usr/share/grml-debootstrap/bootgrub.mksh -A

  • dd of=/home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw conv=notrunc
    0 @0x168: 63 @4 (0x4)

  • 0x168: 32 (0x20) @ 4 (0x4)
  • 0x16A: 31 (0x1F) @ 36 (0x24)
    using 2 blocks, 4 bytes (146 free)
    using sectors of 2^9 = 512 bytes
    1+0 records in
    1+0 records out
    512 bytes (512 B) copied, 0.023354 s, 21.9 kB/s
  • dd if=/dev/zero bs=1 conv=notrunc count=64 seek=446 of=/home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw
    64+0 records in
    64+0 records out
    64 bytes (64 B) copied, 0.000295845 s, 216 kB/s
  • ‘[’ yes = yes ‘]’
  • einfo ‘Adjusting disk signature to a fixed (non-random) value’
  • einfon ‘Adjusting disk signature to a fixed (non-random) value\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Adjusting disk signature to a fixed (non-random) value\n’
    e[32;01m
    e[0m Adjusting disk signature to a fixed (non-random) value
  • LAST_E_CMD=einfon
  • return 0
  • return 0
    ++ mktemp
  • MBRTMPFILE=/tmp/tmp.Wz1YakVKwy
  • dd if=/home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw of=/tmp/tmp.Wz1YakVKwy bs=512 count=1
    1+0 records in
    1+0 records out
    512 bytes (512 B) copied, 2.5703e-05 s, 19.9 MB/s
  • echo -en ‘\x41\x41\x41\x41\x41’
  • dd of=/tmp/tmp.Wz1YakVKwy conv=notrunc seek=440 bs=1
    5+0 records in
    5+0 records out
    5 bytes (5 B) copied, 6.4159e-05 s, 77.9 kB/s
  • dd if=/tmp/tmp.Wz1YakVKwy of=/home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw conv=notrunc
    1+0 records in
    1+0 records out
    512 bytes (512 B) copied, 1.5727e-05 s, 32.6 MB/s
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • parted -s /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw ‘mkpart primary ext4 2M -1’
  • kpartx -av /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw
  • grep -q device-mapper /proc/misc
  • losetup -f
    ++ kpartx -av /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw
  • DEVINFO=‘add map loop0p1 (254:3): 0 209711104 linear /dev/loop0 4096’
  • ‘[’ -z ‘add map loop0p1 (254:3): 0 209711104 linear /dev/loop0 4096’ ‘]’
    ++ sed ‘s/.* linear //; s/ [[:digit:]]*//’
    ++ echo add map loop0p1 ‘(254:3):’ 0 209711104 linear /dev/loop0 4096
  • LOOP=/dev/loop0
    ++ sed -e ‘s/.* ((.:.)).*/\1/’
    ++ echo ‘add map loop0p1 (254:3): 0 209711104 linear /dev/loop0 4096’
  • BLOCKDEV=254:3
    ++ echo loop0p1 ‘(254:3):’ 0 209711104 linear /dev/loop0 4096
    ++ sed ‘s/ .*//’
  • LOOP_PART=loop0p1
  • export TARGET=/dev/mapper/loop0p1
  • TARGET=/dev/mapper/loop0p1
  • blockdev --rereadpt /dev/loop0
    BLKRRPART: Invalid argument
  • ‘[’ -z /dev/mapper/loop0p1 ‘]’
  • stage prepare_vm done
  • ‘[’ -n done ‘]’
  • echo done
  • return 0
  • rm -f /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/prepare_vm
  • for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
  • stage mkfs
  • ‘[’ -n ‘’ ‘]’
  • grep -q done /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/mkfs
  • mkfs
  • ‘[’ -n ‘’ ‘]’
  • grep -q /dev/mapper/loop0p1 /proc/mounts
  • ‘[’ -n mkfs.ext4 ‘]’
  • einfo ‘Running mkfs.ext4 on /dev/mapper/loop0p1’
  • einfon ‘Running mkfs.ext4 on /dev/mapper/loop0p1\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Running mkfs.ext4 on /dev/mapper/loop0p1\n’
    e[32;01m
    e[0m Running mkfs.ext4 on /dev/mapper/loop0p1
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • mkfs.ext4 /dev/mapper/loop0p1
    mke2fs 1.42.5 (29-Jul-2012)
    Filesystem label=
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    Stride=0 blocks, Stripe width=0 blocks
    6553600 inodes, 26213888 blocks
    1310694 blocks (5.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=4294967296
    800 block groups
    32768 blocks per group, 32768 fragments per group
    8192 inodes per group
    Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: 0/800 1/800 2/800 3/800 4/800 5/800 6/800 7/800 8/800 9/800 10/800 11/800 12/800 13/800 14/800 15/800 16/800 17/800 18/800 19/800 20/800 21/800 22/800 23/800 24/800 25/800 26/800 27/800 28/800 29/800 30/800 31/800 32/800 33/800 34/800 35/800 36/800 37/800 38/800 39/800 40/800 41/800 42/800 43/800 44/800 45/800 46/800 47/800 48/800 49/800 50/800 51/800 52/800 53/800 54/800 55/800 56/800 57/800 58/800 59/800 60/800 61/800 62/800 63/800 64/800 65/800 66/800 67/800 68/800 69/800 70/800 71/800 72/800 73/800 74/800 75/800 76/800 77/800 78/800 79/800 80/800 81/800 82/800 83/800 84/800 85/800 86/800 87/800 88/800 89/800 90/800 91/800 92/800 93/800 94/800 95/800 96/800 97/800 98/800 99/800100/800101/800102/800103/800104/800105/800106/800107/800108/800109/800110/800111/800112/800113/800114/800115/800116/800117/800118/800119/800120/800121/800122/800123/800124/800125/800126/800127/800128/800129/800130/800131/800132/800133/800134/800135/800136/800137/800138/800139/800140/800141/800142/800143/800144/800145/800146/800147/800148/800149/800150/800151/800152/800153/800154/800155/800156/800157/800158/800159/800160/800161/800162/800163/800164/800165/800166/800167/800168/800169/800170/800171/800172/800173/800174/800175/800176/800177/800178/800179/800180/800181/800182/800183/800184/800185/800186/800187/800188/800189/800190/800191/800192/800193/800194/800195/800196/800197/800198/800199/800200/800201/800202/800203/800204/800205/800206/800207/800208/800209/800210/800211/800212/800213/800214/800215/800216/800217/800218/800219/800220/800221/800222/800223/800224/800225/800226/800227/800228/800229/800230/800231/800232/800233/800234/800235/800236/800237/800238/800239/800240/800241/800242/800243/800244/800245/800246/800247/800248/800249/800250/800251/800252/800253/800254/800255/800256/800257/800258/800259/800260/800261/800262/800263/800264/800265/800266/800267/800268/800269/800270/800271/800272/800273/800274/800275/800276/800277/800278/800279/800280/800281/800282/800283/800284/800285/800286/800287/800288/800289/800290/800291/800292/800293/800294/800295/800296/800297/800298/800299/800300/800301/800302/800303/800304/800305/800306/800307/800308/800309/800310/800311/800312/800313/800314/800315/800316/800317/800318/800319/800320/800321/800322/800323/800324/800325/800326/800327/800328/800329/800330/800331/800332/800333/800334/800335/800336/800337/800338/800339/800340/800341/800342/800343/800344/800345/800346/800347/800348/800349/800350/800351/800352/800353/800354/800355/800356/800357/800358/800359/800360/800361/800362/800363/800364/800365/800366/800367/800368/800369/800370/800371/800372/800373/800374/800375/800376/800377/800378/800379/800380/800381/800382/800383/800384/800385/800386/800387/800388/800389/800390/800391/800392/800393/800394/800395/800396/800397/800398/800399/800400/800401/800402/800403/800404/800405/800406/800407/800408/800409/800410/800411/800412/800413/800414/800415/800416/800417/800418/800419/800420/800421/800422/800423/800424/800425/800426/800427/800428/800429/800430/800431/800432/800433/800434/800435/800436/800437/800438/800439/800440/800441/800442/800443/800444/800445/800446/800447/800448/800449/800450/800451/800452/800453/800454/800455/800456/800457/800458/800459/800460/800461/800462/800463/800464/800465/800466/800467/800468/800469/800470/800471/800472/800473/800474/800475/800476/800477/800478/800479/800480/800481/800482/800483/800484/800485/800486/800487/800488/800489/800490/800491/800492/800493/800494/800495/800496/800497/800498/800499/800500/800501/800502/800503/800504/800505/800506/800507/800508/800509/800510/800511/800512/800513/800514/800515/800516/800517/800518/800519/800520/800521/800522/800523/800524/800525/800526/800527/800528/800529/800530/800531/800532/800533/800534/800535/800536/800537/800538/800539/800540/800541/800542/800543/800544/800545/800546/800547/800548/800549/800550/800551/800552/800553/800554/800555/800556/800557/800558/800559/800560/800561/800562/800563/800564/800565/800566/800567/800568/800569/800570/800571/800572/800573/800574/800575/800576/800577/800578/800579/800580/800581/800582/800583/800584/800585/800586/800587/800588/800589/800590/800591/800592/800593/800594/800595/800596/800597/800598/800599/800600/800601/800602/800603/800604/800605/800606/800607/800608/800609/800610/800611/800612/800613/800614/800615/800616/800617/800618/800619/800620/800621/800622/800623/800624/800625/800626/800627/800628/800629/800630/800631/800632/800633/800634/800635/800636/800637/800638/800639/800640/800641/800642/800643/800644/800645/800646/800647/800648/800649/800650/800651/800652/800653/800654/800655/800656/800657/800658/800659/800660/800661/800662/800663/800664/800665/800666/800667/800668/800669/800670/800671/800672/800673/800674/800675/800676/800677/800678/800679/800680/800681/800682/800683/800684/800685/800686/800687/800688/800689/800690/800691/800692/800693/800694/800695/800696/800697/800698/800699/800700/800701/800702/800703/800704/800705/800706/800707/800708/800709/800710/800711/800712/800713/800714/800715/800716/800717/800718/800719/800720/800721/800722/800723/800724/800725/800726/800727/800728/800729/800730/800731/800732/800733/800734/800735/800736/800737/800738/800739/800740/800741/800742/800743/800744/800745/800746/800747/800748/800749/800750/800751/800752/800753/800754/800755/800756/800757/800758/800759/800760/800761/800762/800763/800764/800765/800766/800767/800768/800769/800770/800771/800772/800773/800774/800775/800776/800777/800778/800779/800780/800781/800782/800783/800784/800785/800786/800787/800788/800789/800790/800791/800792/800793/800794/800795/800796/800797/800798/800799/800 done
Writing inode tables: 0/800 1/800 2/800 3/800 4/800 5/800 6/800 7/800 8/800 9/800 10/800 11/800 12/800 13/800 14/800 15/800 16/800 17/800 18/800 19/800 20/800 21/800 22/800 23/800 24/800 25/800 26/800 27/800 28/800 29/800 30/800 31/800 32/800 33/800 34/800 35/800 36/800 37/800 38/800 39/800 40/800 41/800 42/800 43/800 44/800 45/800 46/800 47/800 48/800 49/800 50/800 51/800 52/800 53/800 54/800 55/800 56/800 57/800 58/800 59/800 60/800 61/800 62/800 63/800 64/800 65/800 66/800 67/800 68/800 69/800 70/800 71/800 72/800 73/800 74/800 75/800 76/800 77/800 78/800 79/800 80/800 81/800 82/800 83/800 84/800 85/800 86/800 87/800 88/800 89/800 90/800 91/800 92/800 93/800 94/800 95/800 96/800 97/800 98/800 99/800100/800101/800102/800103/800104/800105/800106/800107/800108/800109/800110/800111/800112/800113/800114/800115/800116/800117/800118/800119/800120/800121/800122/800123/800124/800125/800126/800127/800128/800129/800130/800131/800132/800133/800134/800135/800136/800137/800138/800139/800140/800141/800142/800143/800144/800145/800146/800147/800148/800149/800150/800151/800152/800153/800154/800155/800156/800157/800158/800159/800160/800161/800162/800163/800164/800165/800166/800167/800168/800169/800170/800171/800172/800173/800174/800175/800176/800177/800178/800179/800180/800181/800182/800183/800184/800185/800186/800187/800188/800189/800190/800191/800192/800193/800194/800195/800196/800197/800198/800199/800200/800201/800202/800203/800204/800205/800206/800207/800208/800209/800210/800211/800212/800213/800214/800215/800216/800217/800218/800219/800220/800221/800222/800223/800224/800225/800226/800227/800228/800229/800230/800231/800232/800233/800234/800235/800236/800237/800238/800239/800240/800241/800242/800243/800244/800245/800246/800247/800248/800249/800250/800251/800252/800253/800254/800255/800256/800257/800258/800259/800260/800261/800262/800263/800264/800265/800266/800267/800268/800269/800270/800271/800272/800273/800274/800275/800276/800277/800278/800279/800280/800281/800282/800283/800284/800285/800286/800287/800288/800289/800290/800291/800292/800293/800294/800295/800296/800297/800298/800299/800300/800301/800302/800303/800304/800305/800306/800307/800308/800309/800310/800311/800312/800313/800314/800315/800316/800317/800318/800319/800320/800321/800322/800323/800324/800325/800326/800327/800328/800329/800330/800331/800332/800333/800334/800335/800336/800337/800338/800339/800340/800341/800342/800343/800344/800345/800346/800347/800348/800349/800350/800351/800352/800353/800354/800355/800356/800357/800358/800359/800360/800361/800362/800363/800364/800365/800366/800367/800368/800369/800370/800371/800372/800373/800374/800375/800376/800377/800378/800379/800380/800381/800382/800383/800384/800385/800386/800387/800388/800389/800390/800391/800392/800393/800394/800395/800396/800397/800398/800399/800400/800401/800402/800403/800404/800405/800406/800407/800408/800409/800410/800411/800412/800413/800414/800415/800416/800417/800418/800419/800420/800421/800422/800423/800424/800425/800426/800427/800428/800429/800430/800431/800432/800433/800434/800435/800436/800437/800438/800439/800440/800441/800442/800443/800444/800445/800446/800447/800448/800449/800450/800451/800452/800453/800454/800455/800456/800457/800458/800459/800460/800461/800462/800463/800464/800465/800466/800467/800468/800469/800470/800471/800472/800473/800474/800475/800476/800477/800478/800479/800480/800481/800482/800483/800484/800485/800486/800487/800488/800489/800490/800491/800492/800493/800494/800495/800496/800497/800498/800499/800500/800501/800502/800503/800504/800505/800506/800507/800508/800509/800510/800511/800512/800513/800514/800515/800516/800517/800518/800519/800520/800521/800522/800523/800524/800525/800526/800527/800528/800529/800530/800531/800532/800533/800534/800535/800536/800537/800538/800539/800540/800541/800542/800543/800544/800545/800546/800547/800548/800549/800550/800551/800552/800553/800554/800555/800556/800557/800558/800559/800560/800561/800562/800563/800564/800565/800566/800567/800568/800569/800570/800571/800572/800573/800574/800575/800576/800577/800578/800579/800580/800581/800582/800583/800584/800585/800586/800587/800588/800589/800590/800591/800592/800593/800594/800595/800596/800597/800598/800599/800600/800601/800602/800603/800604/800605/800606/800607/800608/800609/800610/800611/800612/800613/800614/800615/800616/800617/800618/800619/800620/800621/800622/800623/800624/800625/800626/800627/800628/800629/800630/800631/800632/800633/800634/800635/800636/800637/800638/800639/800640/800641/800642/800643/800644/800645/800646/800647/800648/800649/800650/800651/800652/800653/800654/800655/800656/800657/800658/800659/800660/800661/800662/800663/800664/800665/800666/800667/800668/800669/800670/800671/800672/800673/800674/800675/800676/800677/800678/800679/800680/800681/800682/800683/800684/800685/800686/800687/800688/800689/800690/800691/800692/800693/800694/800695/800696/800697/800698/800699/800700/800701/800702/800703/800704/800705/800706/800707/800708/800709/800710/800711/800712/800713/800714/800715/800716/800717/800718/800719/800720/800721/800722/800723/800724/800725/800726/800727/800728/800729/800730/800731/800732/800733/800734/800735/800736/800737/800738/800739/800740/800741/800742/800743/800744/800745/800746/800747/800748/800749/800750/800751/800752/800753/800754/800755/800756/800757/800758/800759/800760/800761/800762/800763/800764/800765/800766/800767/800768/800769/800770/800771/800772/800773/800774/800775/800776/800777/800778/800779/800780/800781/800782/800783/800784/800785/800786/800787/800788/800789/800790/800791/800792/800793/800794/800795/800796/800797/800798/800799/800 done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: 0/800 1/800 2/800 3/800 4/800 5/800 6/800 7/800 8/800 9/800 10/800 11/800 12/800 13/800 14/800 15/800 16/800 17/800 18/800 19/800 20/800 21/800 22/800 23/800 24/800 25/800 26/800 27/800 28/800 29/800 30/800 31/800 32/800 33/800 34/800 35/800 36/800 37/800 38/800 39/800 40/800 41/800 42/800 43/800 44/800 45/800 46/800 47/800 48/800 49/800 50/800 51/800 52/800 53/800 54/800 55/800 56/800 57/800 58/800 59/800 60/800 61/800 62/800 63/800 64/800 65/800 66/800 67/800 68/800 69/800 70/800 71/800 72/800 73/800 74/800 75/800 76/800 77/800 78/800 79/800 80/800 81/800 82/800 83/800 84/800 85/800 86/800 87/800 88/800 89/800 90/800 91/800 92/800 93/800 94/800 95/800 96/800 97/800 98/800 99/800100/800101/800102/800103/800104/800105/800106/800107/800108/800109/800110/800111/800112/800113/800114/800115/800116/800117/800118/800119/800120/800121/800122/800123/800124/800125/800126/800127/800128/800129/800130/800131/800132/800133/800134/800135/800136/800137/800138/800139/800140/800141/800142/800143/800144/800145/800146/800147/800148/800149/800150/800151/800152/800153/800154/800155/800156/800157/800158/800159/800160/800161/800162/800163/800164/800165/800166/800167/800168/800169/800170/800171/800172/800173/800174/800175/800176/800177/800178/800179/800180/800181/800182/800183/800184/800185/800186/800187/800188/800189/800190/800191/800192/800193/800194/800195/800196/800197/800198/800199/800200/800201/800202/800203/800204/800205/800206/800207/800208/800209/800210/800211/800212/800213/800214/800215/800216/800217/800218/800219/800220/800221/800222/800223/800224/800225/800226/800227/800228/800229/800230/800231/800232/800233/800234/800235/800236/800237/800238/800239/800240/800241/800242/800243/800244/800245/800246/800247/800248/800249/800250/800251/800252/800253/800254/800255/800256/800257/800258/800259/800260/800261/800262/800263/800264/800265/800266/800267/800268/800269/800270/800271/800272/800273/800274/800275/800276/800277/800278/800279/800280/800281/800282/800283/800284/800285/800286/800287/800288/800289/800290/800291/800292/800293/800294/800295/800296/800297/800298/800299/800300/800301/800302/800303/800304/800305/800306/800307/800308/800309/800310/800311/800312/800313/800314/800315/800316/800317/800318/800319/800320/800321/800322/800323/800324/800325/800326/800327/800328/800329/800330/800331/800332/800333/800334/800335/800336/800337/800338/800339/800340/800341/800342/800343/800344/800345/800346/800347/800348/800349/800350/800351/800352/800353/800354/800355/800356/800357/800358/800359/800360/800361/800362/800363/800364/800365/800366/800367/800368/800369/800370/800371/800372/800373/800374/800375/800376/800377/800378/800379/800380/800381/800382/800383/800384/800385/800386/800387/800388/800389/800390/800391/800392/800393/800394/800395/800396/800397/800398/800399/800400/800401/800402/800403/800404/800405/800406/800407/800408/800409/800410/800411/800412/800413/800414/800415/800416/800417/800418/800419/800420/800421/800422/800423/800424/800425/800426/800427/800428/800429/800430/800431/800432/800433/800434/800435/800436/800437/800438/800439/800440/800441/800442/800443/800444/800445/800446/800447/800448/800449/800450/800451/800452/800453/800454/800455/800456/800457/800458/800459/800460/800461/800462/800463/800464/800465/800466/800467/800468/800469/800470/800471/800472/800473/800474/800475/800476/800477/800478/800479/800480/800481/800482/800483/800484/800485/800486/800487/800488/800489/800490/800491/800492/800493/800494/800495/800496/800497/800498/800499/800500/800501/800502/800503/800504/800505/800506/800507/800508/800509/800510/800511/800512/800513/800514/800515/800516/800517/800518/800519/800520/800521/800522/800523/800524/800525/800526/800527/800528/800529/800530/800531/800532/800533/800534/800535/800536/800537/800538/800539/800540/800541/800542/800543/800544/800545/800546/800547/800548/800549/800550/800551/800552/800553/800554/800555/800556/800557/800558/800559/800560/800561/800562/800563/800564/800565/800566/800567/800568/800569/800570/800571/800572/800573/800574/800575/800576/800577/800578/800579/800580/800581/800582/800583/800584/800585/800586/800587/800588/800589/800590/800591/800592/800593/800594/800595/800596/800597/800598/800599/800600/800601/800602/800603/800604/800605/800606/800607/800608/800609/800610/800611/800612/800613/800614/800615/800616/800617/800618/800619/800620/800621/800622/800623/800624/800625/800626/800627/800628/800629/800630/800631/800632/800633/800634/800635/800636/800637/800638/800639/800640/800641/800642/800643/800644/800645/800646/800647/800648/800649/800650/800651/800652/800653/800654/800655/800656/800657/800658/800659/800660/800661/800662/800663/800664/800665/800666/800667/800668/800669/800670/800671/800672/800673/800674/800675/800676/800677/800678/800679/800680/800681/800682/800683/800684/800685/800686/800687/800688/800689/800690/800691/800692/800693/800694/800695/800696/800697/800698/800699/800700/800701/800702/800703/800704/800705/800706/800707/800708/800709/800710/800711/800712/800713/800714/800715/800716/800717/800718/800719/800720/800721/800722/800723/800724/800725/800726/800727/800728/800729/800730/800731/800732/800733/800734/800735/800736/800737/800738/800739/800740/800741/800742/800743/800744/800745/800746/800747/800748/800749/800750/800751/800752/800753/800754/800755/800756/800757/800758/800759/800760/800761/800762/800763/800764/800765/800766/800767/800768/800769/800770/800771/800772/800773/800774/800775/800776/800777/800778/800779/800780/800781/800782/800783/800784/800785/800786/800787/800788/800789/800790/800791/800792/800793/800794/800795/800796/800797/800798/800799/800 done

  • RC=0
  • ‘[’ yes = yes ‘]’
  • echo mkfs.ext4
  • grep -q mkfs.ext
  • einfo ‘Changing disk uuid for /dev/mapper/loop0p1 to fixed (non-random) value using tune2fs’
  • einfon ‘Changing disk uuid for /dev/mapper/loop0p1 to fixed (non-random) value using tune2fs\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Changing disk uuid for /dev/mapper/loop0p1 to fixed (non-random) value using tune2fs\n’
    e[32;01m
    e[0m Changing disk uuid for /dev/mapper/loop0p1 to fixed (non-random) value using tune2fs
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • tune2fs /dev/mapper/loop0p1 -U 26ada0c0-1165-4098-884d-aafd2220c2c6
    tune2fs 1.42.5 (29-Jul-2012)
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • echo /dev/mapper/loop0p1
  • grep -q /dev/md
  • ‘[’ -n 1 ‘]’
  • sleep 2
    ++ blkid -o udev /dev/mapper/loop0p1
  • eval ID_FS_UUID=26ada0c0-1165-4098-884d-aafd2220c2c6 ID_FS_UUID_ENC=26ada0c0-1165-4098-884d-aafd2220c2c6 ID_FS_TYPE=ext4
    ++ ID_FS_UUID=26ada0c0-1165-4098-884d-aafd2220c2c6
    ++ ID_FS_UUID_ENC=26ada0c0-1165-4098-884d-aafd2220c2c6
    ++ ID_FS_TYPE=ext4
  • ‘[’ -n 26ada0c0-1165-4098-884d-aafd2220c2c6 ‘]’
  • TARGET_UUID=26ada0c0-1165-4098-884d-aafd2220c2c6
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • stage mkfs done
  • ‘[’ -n done ‘]’
  • echo done
  • return 0
  • rm -f /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/mkfs
  • for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
  • stage tunefs
  • ‘[’ -n ‘’ ‘]’
  • grep -q done /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/tunefs
  • tunefs
  • ‘[’ -n ‘tune2fs -c0 -i0’ ‘]’
  • echo mkfs.ext4
  • grep -q mkfs.ext
  • einfo ‘Disabling automatic filesystem check on /dev/mapper/loop0p1 via tune2fs’
  • einfon ‘Disabling automatic filesystem check on /dev/mapper/loop0p1 via tune2fs\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Disabling automatic filesystem check on /dev/mapper/loop0p1 via tune2fs\n’
    e[32;01m
    e[0m Disabling automatic filesystem check on /dev/mapper/loop0p1 via tune2fs
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • tune2fs -c0 -i0 /dev/mapper/loop0p1
    tune2fs 1.42.5 (29-Jul-2012)
    Setting maximal mount count to -1
    Setting interval between checks to 0 seconds
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • stage tunefs done
  • ‘[’ -n done ‘]’
  • echo done
  • return 0
  • rm -f /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/tunefs
  • for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
  • stage mount_target
  • ‘[’ -n ‘’ ‘]’
  • grep -q done /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/mount_target
  • mount_target
  • ‘[’ -n ‘’ ‘]’
  • grep -q /dev/mapper/loop0p1 /proc/mounts
  • ‘[’ -d /mnt/debootstrap.24207 ‘]’
  • ‘[’ -n 1 ‘]’
  • einfo ‘Mounting /dev/mapper/loop0p1 to /mnt/debootstrap.24207’
  • einfon ‘Mounting /dev/mapper/loop0p1 to /mnt/debootstrap.24207\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Mounting /dev/mapper/loop0p1 to /mnt/debootstrap.24207\n’
    e[32;01m
    e[0m Mounting /dev/mapper/loop0p1 to /mnt/debootstrap.24207
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • mkdir -p /mnt/debootstrap.24207
  • mount -o rw,suid,dev /dev/mapper/loop0p1 /mnt/debootstrap.24207
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • ‘[’ -n ‘’ ‘]’
  • stage mount_target done
  • ‘[’ -n done ‘]’
  • echo done
  • return 0
  • rm -f /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/mount_target
  • for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
  • stage debootstrap_system
  • ‘[’ -n ‘’ ‘]’
  • grep -q done /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/debootstrap_system
  • debootstrap_system
  • ‘[’ ‘’ ‘]’
  • grep -q /mnt/debootstrap.24207 /proc/mounts
  • :
  • ‘[’ -n ‘’ ‘]’
  • einfo ‘Running debootstrap --verbose for release stable (i386) using http://snapshot.debian.org/archive/debian/20140819T161127Z/
  • einfon ‘Running debootstrap --verbose for release stable (i386) using http://snapshot.debian.org/archive/debian/20140819T161127Z/\n
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Running debootstrap --verbose for release stable (i386) using http://snapshot.debian.org/archive/debian/20140819T161127Z/\n
    e[32;01m
    e[0m Running debootstrap --verbose for release stable (i386) using http://snapshot.debian.org/archive/debian/20140819T161127Z/
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • einfo ‘Executing: debootstrap --arch i386 --verbose stable /mnt/debootstrap.24207 http://snapshot.debian.org/archive/debian/20140819T161127Z/
  • einfon ‘Executing: debootstrap --arch i386 --verbose stable /mnt/debootstrap.24207 http://snapshot.debian.org/archive/debian/20140819T161127Z/\n
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Executing: debootstrap --arch i386 --verbose stable /mnt/debootstrap.24207 http://snapshot.debian.org/archive/debian/20140819T161127Z/\n
    e[32;01m
    e[0m Executing: debootstrap --arch i386 --verbose stable /mnt/debootstrap.24207 http://snapshot.debian.org/archive/debian/20140819T161127Z/
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • debootstrap --arch i386 --verbose stable /mnt/debootstrap.24207 http://snapshot.debian.org/archive/debian/20140819T161127Z/
    I: Retrieving Release
    I: Retrieving Release.gpg
    I: Checking Release signature
    I: Valid Release signature (key id ED6D65271AACF0FF15D123036FB2A1C265FFB764)
    I: Retrieving Packages
    I: Validating Packages
    I: Validating Packages
    I: Resolving dependencies of required packages…
    I: Resolving dependencies of base packages…
    I: Found additional required dependencies: insserv libbz2-1.0 libdb5.1 libsemanage-common libsemanage1 libslang2 libustr-1.0-1
    I: Found additional base dependencies: libept1.4.12 libgcrypt11 libgnutls26 libgpg-error0 libidn11 libnfnetlink0 libp11-kit0 libsqlite3-0 libtasn1-3 libxapian22
    I: Checking component main on debian:/ 2014-08-19 16:11:27 - snapshot.debian.org
    I: Retrieving libacl1
    I: Validating libacl1
    I: Retrieving adduser
    I: Validating adduser
    I: Retrieving apt
    I: Validating apt
    I: Retrieving apt-utils
    I: Validating apt-utils
    I: Retrieving libapt-inst1.5
    I: Validating libapt-inst1.5
    I: Retrieving libapt-pkg4.12
    I: Validating libapt-pkg4.12
    I: Retrieving aptitude
    I: Validating aptitude
    I: Retrieving aptitude-common
    I: Validating aptitude-common
    I: Retrieving libattr1
    I: Validating libattr1
    I: Retrieving base-files
    I: Validating base-files
    I: Retrieving base-passwd
    I: Validating base-passwd
    I: Retrieving bash
    I: Validating bash
    I: Retrieving libboost-iostreams1.49.0
    I: Validating libboost-iostreams1.49.0
    I: Retrieving bsdmainutils
    I: Validating bsdmainutils
    I: Retrieving libbz2-1.0
    I: Validating libbz2-1.0
    I: Retrieving coreutils
    I: Validating coreutils
    I: Retrieving cpio
    I: Validating cpio
    I: Retrieving cron
    I: Validating cron
    I: Retrieving libcwidget3
    I: Validating libcwidget3
    I: Retrieving dash
    I: Validating dash
    I: Retrieving libdb5.1
    I: Validating libdb5.1
    I: Retrieving debconf
    I: Validating debconf
    I: Retrieving debconf-i18n
    I: Validating debconf-i18n
    I: Retrieving debian-archive-keyring
    I: Validating debian-archive-keyring
    I: Retrieving debianutils
    I: Validating debianutils
    I: Retrieving diffutils
    I: Validating diffutils
    I: Retrieving dmidecode
    I: Validating dmidecode
    I: Retrieving dpkg
    I: Validating dpkg
    I: Retrieving e2fslibs
    I: Validating e2fslibs
    I: Retrieving e2fsprogs
    I: Validating e2fsprogs
    I: Retrieving libcomerr2
    I: Validating libcomerr2
    I: Retrieving libss2
    I: Validating libss2
    I: Retrieving libc-bin
    I: Validating libc-bin
    I: Retrieving libc6
    I: Validating libc6
    I: Retrieving multiarch-support
    I: Validating multiarch-support
    I: Retrieving findutils
    I: Validating findutils
    I: Retrieving gcc-4.7-base
    I: Validating gcc-4.7-base
    I: Retrieving libgcc1
    I: Validating libgcc1
    I: Retrieving libstdc++6
    I: Validating libstdc++6
    I: Retrieving libgdbm3
    I: Validating libgdbm3
    I: Retrieving gnupg
    I: Validating gnupg
    I: Retrieving gpgv
    I: Validating gpgv
    I: Retrieving libgnutls26
    I: Validating libgnutls26
    I: Retrieving grep
    I: Validating grep
    I: Retrieving groff-base
    I: Validating groff-base
    I: Retrieving gzip
    I: Validating gzip
    I: Retrieving hostname
    I: Validating hostname
    I: Retrieving ifupdown
    I: Validating ifupdown
    I: Retrieving insserv
    I: Validating insserv
    I: Retrieving iproute
    I: Validating iproute
    I: Retrieving iptables
    I: Validating iptables
    I: Retrieving iputils-ping
    I: Validating iputils-ping
    I: Retrieving isc-dhcp-client
    I: Validating isc-dhcp-client
    I: Retrieving isc-dhcp-common
    I: Validating isc-dhcp-common
    I: Retrieving kmod
    I: Validating kmod
    I: Retrieving libkmod2
    I: Validating libkmod2
    I: Retrieving libept1.4.12
    I: Validating libept1.4.12
    I: Retrieving libgcrypt11
    I: Validating libgcrypt11
    I: Retrieving libgpg-error0
    I: Validating libgpg-error0
    I: Retrieving libidn11
    I: Validating libidn11
    I: Retrieving liblocale-gettext-perl
    I: Validating liblocale-gettext-perl
    I: Retrieving libnfnetlink0
    I: Validating libnfnetlink0
    I: Retrieving libpipeline1
    I: Validating libpipeline1
    I: Retrieving libselinux1
    I: Validating libselinux1
    I: Retrieving libsemanage-common
    I: Validating libsemanage-common
    I: Retrieving libsemanage1
    I: Validating libsemanage1
    I: Retrieving libsepol1
    I: Validating libsepol1
    I: Retrieving libsigc+±2.0-0c2a
    I: Validating libsigc+±2.0-0c2a
    I: Retrieving libtasn1-3
    I: Validating libtasn1-3
    I: Retrieving libtext-charwidth-perl
    I: Validating libtext-charwidth-perl
    I: Retrieving libtext-iconv-perl
    I: Validating libtext-iconv-perl
    I: Retrieving libtext-wrapi18n-perl
    I: Validating libtext-wrapi18n-perl
    I: Retrieving libusb-0.1-4
    I: Validating libusb-0.1-4
    I: Retrieving logrotate
    I: Validating logrotate
    I: Retrieving lsb-base
    I: Validating lsb-base
    I: Retrieving man-db
    I: Validating man-db
    I: Retrieving manpages
    I: Validating manpages
    I: Retrieving mawk
    I: Validating mawk
    I: Retrieving nano
    I: Validating nano
    I: Retrieving libncurses5
    I: Validating libncurses5
    I: Retrieving libncursesw5
    I: Validating libncursesw5
    I: Retrieving libtinfo5
    I: Validating libtinfo5
    I: Retrieving ncurses-base
    I: Validating ncurses-base
    I: Retrieving ncurses-bin
    I: Validating ncurses-bin
    I: Retrieving net-tools
    I: Validating net-tools
    I: Retrieving netbase
    I: Validating netbase
    I: Retrieving netcat-traditional
    I: Validating netcat-traditional
    I: Retrieving libnewt0.52
    I: Validating libnewt0.52
    I: Retrieving whiptail
    I: Validating whiptail
    I: Retrieving libssl1.0.0
    I: Validating libssl1.0.0
    I: Retrieving libp11-kit0
    I: Validating libp11-kit0
    I: Retrieving libpam-modules
    I: Validating libpam-modules
    I: Retrieving libpam-modules-bin
    I: Validating libpam-modules-bin
    I: Retrieving libpam-runtime
    I: Validating libpam-runtime
    I: Retrieving libpam0g
    I: Validating libpam0g
    I: Retrieving perl-base
    I: Validating perl-base
    I: Retrieving libpopt0
    I: Validating libpopt0
    I: Retrieving libprocps0
    I: Validating libprocps0
    I: Retrieving procps
    I: Validating procps
    I: Retrieving libreadline6
    I: Validating libreadline6
    I: Retrieving readline-common
    I: Validating readline-common
    I: Retrieving rsyslog
    I: Validating rsyslog
    I: Retrieving sed
    I: Validating sed
    I: Retrieving sensible-utils
    I: Validating sensible-utils
    I: Retrieving login
    I: Validating login
    I: Retrieving passwd
    I: Validating passwd
    I: Retrieving libslang2
    I: Validating libslang2
    I: Retrieving libsqlite3-0
    I: Validating libsqlite3-0
    I: Retrieving initscripts
    I: Validating initscripts
    I: Retrieving sysv-rc
    I: Validating sysv-rc
    I: Retrieving sysvinit
    I: Validating sysvinit
    I: Retrieving sysvinit-utils
    I: Validating sysvinit-utils
    I: Retrieving tar
    I: Validating tar
    I: Retrieving tasksel
    I: Validating tasksel
    I: Retrieving tasksel-data
    I: Validating tasksel-data
    I: Retrieving info
    I: Validating info
    I: Retrieving install-info
    I: Validating install-info
    I: Retrieving traceroute
    I: Validating traceroute
    I: Retrieving tzdata
    I: Validating tzdata
    I: Retrieving libudev0
    I: Validating libudev0
    I: Retrieving udev
    I: Validating udev
    I: Retrieving libustr-1.0-1
    I: Validating libustr-1.0-1
    I: Retrieving bsdutils
    I: Validating bsdutils
    I: Retrieving libblkid1
    I: Validating libblkid1
    I: Retrieving libmount1
    I: Validating libmount1
    I: Retrieving libuuid1
    I: Validating libuuid1
    I: Retrieving mount
    I: Validating mount
    I: Retrieving util-linux
    I: Validating util-linux
    I: Retrieving vim-common
    I: Validating vim-common
    I: Retrieving vim-tiny
    I: Validating vim-tiny
    I: Retrieving wget
    I: Validating wget
    I: Retrieving libxapian22
    I: Validating libxapian22
    I: Retrieving liblzma5
    I: Validating liblzma5
    I: Retrieving xz-utils
    I: Validating xz-utils
    I: Retrieving zlib1g
    I: Validating zlib1g
    I: Chosen extractor for .deb packages: dpkg-deb
    I: Extracting libacl1…
    I: Extracting libattr1…
    I: Extracting base-files…
    I: Extracting base-passwd…
    I: Extracting bash…
    I: Extracting libbz2-1.0…
    I: Extracting coreutils…
    I: Extracting dash…
    I: Extracting libdb5.1…
    I: Extracting debconf…
    I: Extracting debconf-i18n…
    I: Extracting debianutils…
    I: Extracting diffutils…
    I: Extracting dpkg…
    I: Extracting e2fslibs…
    I: Extracting e2fsprogs…
    I: Extracting libcomerr2…
    I: Extracting libss2…
    I: Extracting libc-bin…
    I: Extracting libc6…
    I: Extracting multiarch-support…
    I: Extracting findutils…
    I: Extracting gcc-4.7-base…
    I: Extracting libgcc1…
    I: Extracting grep…
    I: Extracting gzip…
    I: Extracting hostname…
    I: Extracting insserv…
    I: Extracting liblocale-gettext-perl…
    I: Extracting libselinux1…
    I: Extracting libsemanage-common…
    I: Extracting libsemanage1…
    I: Extracting libsepol1…
    I: Extracting libtext-charwidth-perl…
    I: Extracting libtext-iconv-perl…
    I: Extracting libtext-wrapi18n-perl…
    I: Extracting lsb-base…
    I: Extracting mawk…
    I: Extracting libncurses5…
    I: Extracting libtinfo5…
    I: Extracting ncurses-base…
    I: Extracting ncurses-bin…
    I: Extracting libpam-modules…
    I: Extracting libpam-modules-bin…
    I: Extracting libpam-runtime…
    I: Extracting libpam0g…
    I: Extracting perl-base…
    I: Extracting sed…
    I: Extracting sensible-utils…
    I: Extracting login…
    I: Extracting passwd…
    I: Extracting libslang2…
    I: Extracting initscripts…
    I: Extracting sysv-rc…
    I: Extracting sysvinit…
    I: Extracting sysvinit-utils…
    I: Extracting tar…
    I: Extracting tzdata…
    I: Extracting libustr-1.0-1…
    I: Extracting bsdutils…
    I: Extracting libblkid1…
    I: Extracting libmount1…
    I: Extracting libuuid1…
    I: Extracting mount…
    I: Extracting util-linux…
    I: Extracting liblzma5…
    I: Extracting xz-utils…
    I: Extracting zlib1g…
    I: Installing core packages…
    I: Unpacking required packages…
    I: Unpacking libacl1:i386…
    I: Unpacking libattr1:i386…
    I: Unpacking base-files…
    I: Unpacking base-passwd…
    I: Unpacking bash…
    I: Unpacking libbz2-1.0:i386…
    I: Unpacking coreutils…
    I: Unpacking dash…
    I: Unpacking libdb5.1:i386…
    I: Unpacking debconf…
    I: Unpacking debconf-i18n…
    I: Unpacking debianutils…
    I: Unpacking diffutils…
    I: Unpacking dpkg…
    I: Unpacking e2fslibs:i386…
    I: Unpacking e2fsprogs…
    I: Unpacking libcomerr2:i386…
    I: Unpacking libss2:i386…
    I: Unpacking libc-bin…
    I: Unpacking libc6:i386…
    I: Unpacking multiarch-support…
    I: Unpacking findutils…
    I: Unpacking gcc-4.7-base:i386…
    I: Unpacking libgcc1:i386…
    I: Unpacking grep…
    I: Unpacking gzip…
    I: Unpacking hostname…
    I: Unpacking insserv…
    I: Unpacking liblocale-gettext-perl…
    I: Unpacking libselinux1:i386…
    I: Unpacking libsemanage-common…
    I: Unpacking libsemanage1:i386…
    I: Unpacking libsepol1:i386…
    I: Unpacking libtext-charwidth-perl…
    I: Unpacking libtext-iconv-perl…
    I: Unpacking libtext-wrapi18n-perl…
    I: Unpacking lsb-base…
    I: Unpacking mawk…
    I: Unpacking libncurses5:i386…
    I: Unpacking libtinfo5:i386…
    I: Unpacking ncurses-base…
    I: Unpacking ncurses-bin…
    I: Unpacking libpam-modules:i386…
    I: Unpacking libpam-modules-bin…
    I: Unpacking libpam-runtime…
    I: Unpacking libpam0g:i386…
    I: Unpacking perl-base…
    I: Unpacking sed…
    I: Unpacking sensible-utils…
    I: Unpacking login…
    I: Unpacking passwd…
    I: Unpacking libslang2:i386…
    I: Unpacking initscripts…
    I: Unpacking sysv-rc…
    I: Unpacking sysvinit…
    I: Unpacking sysvinit-utils…
    I: Unpacking tar…
    I: Unpacking tzdata…
    I: Unpacking libustr-1.0-1:i386…
    I: Unpacking bsdutils…
    I: Unpacking libblkid1:i386…
    I: Unpacking libmount1…
    I: Unpacking libuuid1:i386…
    I: Unpacking mount…
    I: Unpacking util-linux…
    I: Unpacking liblzma5:i386…
    I: Unpacking xz-utils…
    I: Unpacking zlib1g:i386…
    I: Configuring required packages…
    I: Configuring lsb-base…
    I: Configuring ncurses-base…
    I: Configuring sensible-utils…
    I: Configuring libsemanage-common…
    I: Configuring gcc-4.7-base:i386…
    I: Configuring libc-bin…
    I: Configuring libc6:i386…
    I: Configuring debianutils…
    I: Configuring bsdutils…
    I: Configuring tar…
    I: Configuring base-passwd…
    I: Configuring mawk…
    I: Configuring hostname…
    I: Configuring insserv…
    I: Configuring multiarch-support…
    I: Configuring libselinux1:i386…
    I: Configuring libustr-1.0-1:i386…
    I: Configuring libsepol1:i386…
    I: Configuring zlib1g:i386…
    I: Configuring libgcc1:i386…
    I: Configuring base-files…
    I: Configuring libattr1:i386…
    I: Configuring e2fslibs:i386…
    I: Configuring libcomerr2:i386…
    I: Configuring libacl1:i386…
    I: Configuring libslang2:i386…
    I: Configuring libss2:i386…
    I: Configuring liblzma5:i386…
    I: Configuring libdb5.1:i386…
    I: Configuring libbz2-1.0:i386…
    I: Configuring libtinfo5:i386…
    I: Configuring sysvinit-utils…
    I: Configuring ncurses-bin…
    I: Configuring libsemanage1:i386…
    I: Configuring libncurses5:i386…
    I: Configuring xz-utils…
    I: Configuring dpkg…
    I: Configuring dash…
    I: Configuring coreutils…
    I: Configuring perl-base…
    I: Configuring diffutils…
    I: Configuring libtext-iconv-perl…
    I: Configuring sed…
    I: Configuring grep…
    I: Configuring findutils…
    I: Configuring gzip…
    I: Configuring liblocale-gettext-perl…
    I: Configuring bash…
    I: Configuring libtext-charwidth-perl…
    I: Configuring libtext-wrapi18n-perl…
    I: Configuring debconf…
    I: Configuring libpam0g:i386…
    I: Configuring sysv-rc…
    I: Configuring tzdata…
    I: Configuring debconf-i18n…
    I: Configuring libpam-modules-bin…
    I: Configuring libpam-modules:i386…
    I: Configuring passwd…
    I: Configuring libpam-runtime…
    I: Configuring login…
    I: Configuring libuuid1:i386…
    I: Configuring libblkid1:i386…
    I: Configuring libmount1…
    I: Configuring mount…
    I: Configuring initscripts…
    I: Configuring util-linux…
    I: Configuring sysvinit…
    I: Configuring e2fsprogs…
    I: Unpacking the base system…
    I: Unpacking adduser…
    I: Unpacking apt…
    I: Unpacking apt-utils…
    I: Unpacking libapt-inst1.5:i386…
    I: Unpacking libapt-pkg4.12:i386…
    I: Unpacking aptitude…
    I: Unpacking aptitude-common…
    I: Unpacking libboost-iostreams1.49.0…
    I: Unpacking bsdmainutils…
    I: Unpacking cpio…
    I: Unpacking cron…
    I: Unpacking libcwidget3…
    I: Unpacking debian-archive-keyring…
    I: Unpacking dmidecode…
    I: Unpacking libstdc++6:i386…
    I: Unpacking libgdbm3:i386…
    I: Unpacking gnupg…
    I: Unpacking gpgv…
    I: Unpacking libgnutls26:i386…
    I: Unpacking groff-base…
    I: Unpacking ifupdown…
    I: Unpacking iproute…
    I: Unpacking iptables…
    I: Unpacking iputils-ping…
    I: Unpacking isc-dhcp-client…
    I: Unpacking isc-dhcp-common…
    I: Unpacking kmod…
    I: Unpacking libkmod2:i386…
    I: Unpacking libept1.4.12…
    I: Unpacking libgcrypt11:i386…
    I: Unpacking libgpg-error0:i386…
    I: Unpacking libidn11:i386…
    I: Unpacking libnfnetlink0…
    I: Unpacking libpipeline1:i386…
    I: Unpacking libsigc+±2.0-0c2a:i386…
    I: Unpacking libtasn1-3:i386…
    I: Unpacking libusb-0.1-4:i386…
    I: Unpacking logrotate…
    I: Unpacking man-db…
    I: Unpacking manpages…
    I: Unpacking nano…
    I: Unpacking libncursesw5:i386…
    I: Unpacking net-tools…
    I: Unpacking netbase…
    I: Unpacking netcat-traditional…
    I: Unpacking libnewt0.52…
    I: Unpacking whiptail…
    I: Unpacking libssl1.0.0:i386…
    I: Unpacking libp11-kit0:i386…
    I: Unpacking libpopt0:i386…
    I: Unpacking libprocps0:i386…
    I: Unpacking procps…
    I: Unpacking libreadline6:i386…
    I: Unpacking readline-common…
    I: Unpacking rsyslog…
    I: Unpacking libsqlite3-0:i386…
    I: Unpacking tasksel…
    I: Unpacking tasksel-data…
    I: Unpacking info…
    I: Unpacking install-info…
    I: Unpacking traceroute…
    I: Unpacking libudev0:i386…
    I: Unpacking udev…
    I: Unpacking vim-common…
    I: Unpacking vim-tiny…
    I: Unpacking wget…
    I: Unpacking libxapian22…
    I: Configuring the base system…
    I: Configuring gpgv…
    I: Configuring libssl1.0.0:i386…
    I: Configuring libgdbm3:i386…
    I: Configuring isc-dhcp-common…
    I: Configuring libtasn1-3:i386…
    I: Configuring libpopt0:i386…
    I: Configuring libusb-0.1-4:i386…
    I: Configuring libgpg-error0:i386…
    I: Configuring install-info…
    I: Configuring vim-common…
    I: Configuring libprocps0:i386…
    I: Configuring netbase…
    I: Configuring dmidecode…
    I: Configuring libudev0:i386…
    I: Configuring libkmod2:i386…
    I: Configuring adduser…
    I: Configuring traceroute…
    I: Configuring manpages…
    I: Configuring libsqlite3-0:i386…
    I: Configuring iproute…
    I: Configuring libidn11:i386…
    I: Configuring libnewt0.52…
    I: Configuring net-tools…
    I: Configuring libpipeline1:i386…
    I: Configuring bsdmainutils…
    I: Configuring netcat-traditional…
    I: Configuring debian-archive-keyring…
    I: Configuring libncursesw5:i386…
    I: Configuring info…
    I: Configuring iputils-ping…
    I: Configuring aptitude-common…
    I: Configuring cron…
    I: Configuring nano…
    I: Configuring libp11-kit0:i386…
    I: Configuring rsyslog…
    I: Configuring cpio…
    I: Configuring libstdc++6:i386…
    I: Configuring isc-dhcp-client…
    I: Configuring vim-tiny…
    I: Configuring readline-common…
    I: Configuring libnfnetlink0…
    I: Configuring libgcrypt11:i386…
    I: Configuring procps…
    I: Configuring libxapian22…
    I: Configuring whiptail…
    I: Configuring ifupdown…
    I: Configuring kmod…
    I: Configuring libapt-pkg4.12:i386…
    I: Configuring libept1.4.12…
    I: Configuring libapt-inst1.5:i386…
    I: Configuring libreadline6:i386…
    I: Configuring logrotate…
    I: Configuring libboost-iostreams1.49.0…
    I: Configuring groff-base…
    I: Configuring gnupg…
    I: Configuring libsigc+±2.0-0c2a:i386…
    I: Configuring libgnutls26:i386…
    I: Configuring apt-utils…
    I: Configuring udev…
    I: Configuring iptables…
    I: Configuring man-db…
    I: Configuring apt…
    I: Configuring wget…
    I: Configuring libcwidget3…
    I: Configuring aptitude…
    I: Configuring tasksel…
    I: Configuring tasksel-data…
    I: Base system installed successfully.
  • RC=0
  • ‘[’ 0 -ne 0 ‘]’
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • stage debootstrap_system done
  • ‘[’ -n done ‘]’
  • echo done
  • return 0
  • rm -f /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/debootstrap_system
  • for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
  • stage preparechroot
  • ‘[’ -n ‘’ ‘]’
  • grep -q done /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/preparechroot
  • preparechroot
  • einfo ‘Preparing chroot system’
  • einfon ‘Preparing chroot system\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Preparing chroot system\n’
    e[32;01m
    e[0m Preparing chroot system
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • CHROOT_VARIABLES=/var/cache/grml-debootstrap/variables_Whonix-Gateway-8.6.6.0.raw
  • touch /var/cache/grml-debootstrap/variables_Whonix-Gateway-8.6.6.0.raw
  • chmod 600 /var/cache/grml-debootstrap/variables_Whonix-Gateway-8.6.6.0.raw
  • echo ‘# Configuration of grml-debootstrap’
  • ‘[’ -n i386 ‘]’
  • echo ‘ARCH=“i386”’
  • ‘[’ -n ‘’ ‘]’
  • ‘[’ -n yes ‘]’
  • echo ‘CHROOT_SCRIPTS=“yes”’
  • ‘[’ -n /etc/debootstrap ‘]’
  • echo ‘CONFFILES=“/etc/debootstrap”’
  • ‘[’ -n yes ‘]’
  • echo ‘DEBCONF=“yes”’
  • ‘[’ -n noninteractive ‘]’
  • echo ‘DEBIAN_FRONTEND=“noninteractive”’
  • ‘[’ -n debootstrap ‘]’
  • echo ‘DEBOOTSTRAP=“debootstrap”’
  • ‘[’ -n en_US.UTF-8 ‘]’
  • echo ‘DEFAULT_LOCALES=“en_US.UTF-8”’
  • ‘[’ -n yes ‘]’
  • echo ‘EXTRAPACKAGES=“yes”’
  • ‘[’ -n Index of /debian ‘]’
  • echo ‘FALLBACK_MIRROR=“Index of /debian”’
  • ‘[’ -n T ‘]’
  • echo ‘FORCE=“T”’
  • ‘[’ -n ‘’ ‘]’
  • ‘[’ -n ‘’ ‘]’
  • ‘[’ -n host ‘]’
  • echo ‘HOSTNAME=“host”’
  • ‘[’ -n yes ‘]’
  • echo ‘INITRD=“yes”’
  • ‘[’ -n /etc/debootstrap/install_notes ‘]’
  • echo ‘INSTALL_NOTES=“/etc/debootstrap/install_notes”’
  • ‘[’ -n ‘’ ‘]’
  • ‘[’ -n ‘’ ‘]’
  • ‘[’ -n yes ‘]’
  • echo ‘KEEP_SRC_LIST=“yes”’
  • ‘[’ -n yes ‘]’
  • echo ‘LOCALES=“yes”’
  • ‘[’ -n http://snapshot.debian.org/archive/debian/20140819T161127Z/ ‘]’
  • echo ‘MIRROR=“http://snapshot.debian.org/archive/debian/20140819T161127Z/”’
  • ‘[’ -n mkfs.ext4 ‘]’
  • echo ‘MKFS=“mkfs.ext4”’
  • ‘[’ -n ‘’ ‘]’
  • ‘[’ -n true ‘]’
  • echo ‘NOKERNEL=“true”’
  • ‘[’ -n yes ‘]’
  • echo ‘PACKAGES=“yes”’
  • ‘[’ -n yes ‘]’
  • echo ‘PRE_SCRIPTS=“yes”’
  • ‘[’ -n console-data ‘]’
  • echo ‘RECONFIGURE=“console-data”’
  • ‘[’ -n stable ‘]’
  • echo ‘RELEASE=“stable”’
  • ‘[’ -n no ‘]’
  • echo ‘RM_APTCACHE=“no”’
  • ‘[’ -n changeme ‘]’
  • echo ‘ROOTPASSWORD=“changeme”’
  • ‘[’ -n yes ‘]’
  • echo ‘SCRIPTS=“yes”’
  • ‘[’ -n yes ‘]’
  • echo ‘SECURE=“yes”’
  • ‘[’ -n ‘’ ‘]’
  • ‘[’ -n /dev/mapper/loop0p1 ‘]’
  • echo ‘TARGET=“/dev/mapper/loop0p1”’
  • ‘[’ -n no ‘]’
  • echo ‘UPGRADE_SYSTEM=“no”’
  • ‘[’ -n 26ada0c0-1165-4098-884d-aafd2220c2c6 ‘]’
  • echo ‘TARGET_UUID=“26ada0c0-1165-4098-884d-aafd2220c2c6”’
  • ‘[’ -n UTC ‘]’
  • echo ‘TIMEZONE=“UTC”’
  • ‘[’ -n ‘tune2fs -c0 -i0’ ‘]’
  • echo ‘TUNE2FS=“tune2fs -c0 -i0”’
  • ‘[’ -n 100G ‘]’
  • echo ‘VMSIZE=“100G”’
  • cp -v /etc/debootstrap/chroot-script /mnt/debootstrap.24207/bin/chroot-script
    /etc/debootstrap/chroot-script' -> /mnt/debootstrap.24207/bin/chroot-script’
  • chmod 755 /mnt/debootstrap.24207/bin/chroot-script
  • ‘[’ -d /mnt/debootstrap.24207/etc/debootstrap/ ‘]’
  • mkdir /mnt/debootstrap.24207/etc/debootstrap/
  • cp -v /etc/debootstrap/config /mnt/debootstrap.24207/etc/debootstrap/
    /etc/debootstrap/config' -> /mnt/debootstrap.24207/etc/debootstrap/config’
  • sed -i ‘s#RELEASE=.*#RELEASE=“stable”#’ /mnt/debootstrap.24207/etc/debootstrap/config
  • sed -i ‘s#TARGET=.*#TARGET=“/dev/mapper/loop0p1”#’ /mnt/debootstrap.24207/etc/debootstrap/config
  • sed -i ‘s#GRUB=.*#GRUB=“”#’ /mnt/debootstrap.24207/etc/debootstrap/config
  • ‘[’ -n /etc/debootstrap/install_notes ‘]’
  • ‘[’ -r /etc/debootstrap/install_notes ‘]’
  • cp -v /home/whonixuser/gitfiles/Whonix/grml_packages /mnt/debootstrap.24207/etc/debootstrap/packages
    /home/whonixuser/gitfiles/Whonix/grml_packages' -> /mnt/debootstrap.24207/etc/debootstrap/packages’
  • _opt_debconf=/etc/debootstrap/debconf-selections
  • ‘[’ -f /etc/debootstrap/debconf-selections -a yes = yes ‘]’
  • _opt_chroot_scripts=/etc/debootstrap/chroot-scripts/
  • ‘[’ -d /etc/debootstrap/chroot-scripts/ -a yes = yes ‘]’
  • cp -v /var/cache/grml-debootstrap/variables_Whonix-Gateway-8.6.6.0.raw /mnt/debootstrap.24207/etc/debootstrap/variables
    /var/cache/grml-debootstrap/variables_Whonix-Gateway-8.6.6.0.raw' -> /mnt/debootstrap.24207/etc/debootstrap/variables’
  • cp -v -a -L /etc/debootstrap/extrapackages/ /mnt/debootstrap.24207/etc/debootstrap/
    /etc/debootstrap/extrapackages/' -> /mnt/debootstrap.24207/etc/debootstrap/extrapackages’
  • ‘[’ -f /mnt/debootstrap.24207/etc/resolv.conf ‘]’
  • ‘[’ -f /mnt/debootstrap.24207/etc/hosts ‘]’
  • ‘[’ -n yes ‘]’
  • cp -v /etc/debootstrap/locale.gen /mnt/debootstrap.24207/etc/locale.gen
    /etc/debootstrap/locale.gen' -> /mnt/debootstrap.24207/etc/locale.gen’
  • cd /mnt/debootstrap.24207/dev
  • tar zxf /etc/debootstrap/devices.tar.gz
  • ‘[’ -d /etc/debootstrap/bin ‘]’
  • ‘[’ -d /etc/debootstrap/boot ‘]’
  • ‘[’ -d /etc/debootstrap/etc ‘]’
  • cp -v -a -L /etc/debootstrap/etc/apt /mnt/debootstrap.24207/etc/
    /etc/debootstrap/etc/apt/sources.list' -> /mnt/debootstrap.24207/etc/apt/sources.list’
  • ‘[’ -d /etc/debootstrap/sbin ‘]’
  • ‘[’ -d /etc/debootstrap/share ‘]’
  • ‘[’ -d /etc/debootstrap/usr ‘]’
  • ‘[’ -d /etc/debootstrap/var ‘]’
  • DEFAULT_INTERFACES='# /etc/network/interfaces - generated by grml-debootstrap

Include files from /etc/network/interfaces.d when using

ifupdown v0.7.44 or newer:

#source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp

Extracting templates from packages: 63%
Extracting templates from packages: 100%
Preconfiguring packages …
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libasprintf0c2:i386.
(Reading database … 9305 files and directories currently installed.)
Unpacking libasprintf0c2:i386 (from …/libasprintf0c2_0.18.1.1-9_i386.deb) …
Selecting previously unselected package libmagic1:i386.
Unpacking libmagic1:i386 (from …/libmagic1_5.11-2+deb7u3_i386.deb) …
Selecting previously unselected package libpci3:i386.
Unpacking libpci3:i386 (from …/libpci3_1%3a3.1.9-6_i386.deb) …
Selecting previously unselected package console-data.
Unpacking console-data (from …/console-data_2%3a1.12-2_all.deb) …
Selecting previously unselected package kbd.
Unpacking kbd (from …/archives/kbd_1.15.3-9_i386.deb) …
update-rc.d: using dependency based boot sequencing
Selecting previously unselected package console-common.
Unpacking console-common (from …/console-common_0.7.87_all.deb) …
Selecting previously unselected package dmsetup.
Unpacking dmsetup (from …/dmsetup_2%3a1.02.74-8_i386.deb) …
Selecting previously unselected package libdevmapper1.02.1:i386.
Unpacking libdevmapper1.02.1:i386 (from …/libdevmapper1.02.1_2%3a1.02.74-8_i386.deb) …
Selecting previously unselected package libexpat1:i386.
Unpacking libexpat1:i386 (from …/libexpat1_2.1.0-1+deb7u1_i386.deb) …
Selecting previously unselected package libfreetype6:i386.
Unpacking libfreetype6:i386 (from …/libfreetype6_2.4.9-1.1_i386.deb) …
Selecting previously unselected package libfuse2:i386.
Unpacking libfuse2:i386 (from …/libfuse2_2.9.0-2+deb7u1_i386.deb) …
Selecting previously unselected package libsysfs2:i386.
Unpacking libsysfs2:i386 (from …/libsysfs2_2.1.0+repack-2_i386.deb) …
Selecting previously unselected package libusb-1.0-0:i386.
Unpacking libusb-1.0-0:i386 (from …/libusb-1.0-0_2%3a1.0.11-1_i386.deb) …
Selecting previously unselected package module-init-tools.
Unpacking module-init-tools (from …/module-init-tools_9-3_all.deb) …
Selecting previously unselected package bzip2.
Unpacking bzip2 (from …/bzip2_1.0.6-4_i386.deb) …
Selecting previously unselected package file.
Unpacking file (from …/file_5.11-2+deb7u3_i386.deb) …
Selecting previously unselected package gettext-base.
Unpacking gettext-base (from …/gettext-base_0.18.1.1-9_i386.deb) …
Selecting previously unselected package less.
Unpacking less (from …/archives/less_444-4_i386.deb) …
Selecting previously unselected package libclass-isa-perl.
Unpacking libclass-isa-perl (from …/libclass-isa-perl_0.36-3_all.deb) …
Selecting previously unselected package perl-modules.
Unpacking perl-modules (from …/perl-modules_5.14.2-21+deb7u1_all.deb) …
Selecting previously unselected package perl.
Unpacking perl (from …/perl_5.14.2-21+deb7u1_i386.deb) …
Selecting previously unselected package libswitch-perl.
Unpacking libswitch-perl (from …/libswitch-perl_2.16-2_all.deb) …
Selecting previously unselected package locales.
Unpacking locales (from …/locales_2.13-38+deb7u3_all.deb) …
Selecting previously unselected package libperl4-corelibs-perl.
Unpacking libperl4-corelibs-perl (from …/libperl4-corelibs-perl_0.003-1_all.deb) …
Selecting previously unselected package lsof.
Unpacking lsof (from …/lsof_4.86+dfsg-1_i386.deb) …
Selecting previously unselected package mime-support.
Unpacking mime-support (from …/mime-support_3.52-1_all.deb) …
Selecting previously unselected package pciutils.
Unpacking pciutils (from …/pciutils_1%3a3.1.9-6_i386.deb) …
Selecting previously unselected package python2.7-minimal.
Unpacking python2.7-minimal (from …/python2.7-minimal_2.7.3-6+deb7u2_i386.deb) …
Selecting previously unselected package python2.7.
Unpacking python2.7 (from …/python2.7_2.7.3-6+deb7u2_i386.deb) …
Selecting previously unselected package python-minimal.
Unpacking python-minimal (from …/python-minimal_2.7.3-4+deb7u1_all.deb) …
Selecting previously unselected package python.
Unpacking python (from …/python_2.7.3-4+deb7u1_all.deb) …
Selecting previously unselected package ucf.
Unpacking ucf (from …/ucf_3.0025+nmu3_all.deb) …
Moving old data out of the way
Selecting previously unselected package acpid.
Unpacking acpid (from …/acpid_1%3a2.0.16-1+deb7u1_i386.deb) …
Selecting previously unselected package acpi-support-base.
Unpacking acpi-support-base (from …/acpi-support-base_0.140-5+deb7u2_all.deb) …
Selecting previously unselected package grub-common.
Unpacking grub-common (from …/grub-common_1.99-27+deb7u2_i386.deb) …
Selecting previously unselected package grub2-common.
Unpacking grub2-common (from …/grub2-common_1.99-27+deb7u2_i386.deb) …
Selecting previously unselected package grub-pc-bin.
Unpacking grub-pc-bin (from …/grub-pc-bin_1.99-27+deb7u2_i386.deb) …
Selecting previously unselected package grub-pc.
Unpacking grub-pc (from …/grub-pc_1.99-27+deb7u2_i386.deb) …
Selecting previously unselected package libklibc.
Unpacking libklibc (from …/libklibc_2.0.1-3.1_i386.deb) …
Selecting previously unselected package klibc-utils.
Unpacking klibc-utils (from …/klibc-utils_2.0.1-3.1_i386.deb) …
Selecting previously unselected package initramfs-tools.
Unpacking initramfs-tools (from …/initramfs-tools_0.109.1_all.deb) …
Selecting previously unselected package lsb-release.
Unpacking lsb-release (from …/lsb-release_4.1+Debian8+deb7u1_all.deb) …
Selecting previously unselected package most.
Unpacking most (from …/most_5.0.0a-2.1_i386.deb) …
Selecting previously unselected package strace.
Unpacking strace (from …/strace_4.5.20-2.3_i386.deb) …
Selecting previously unselected package usbutils.
Unpacking usbutils (from …/usbutils_1%3a005-3_i386.deb) …
Selecting previously unselected package os-prober.
Unpacking os-prober (from …/os-prober_1.58_i386.deb) …
Selecting previously unselected package sysfsutils.
Unpacking sysfsutils (from …/sysfsutils_2.1.0+repack-2_i386.deb) …
Processing triggers for man-db …
Processing triggers for install-info …
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libasprintf0c2:i386 (0.18.1.1-9) …
Setting up libmagic1:i386 (5.11-2+deb7u3) …
Setting up libpci3:i386 (1:3.1.9-6) …
Setting up console-data (2:1.12-2) …
Looking for keymap to install:
NONE
Setting up kbd (1.15.3-9) …
invoke-rc.d: policy-rc.d denied execution of start.
Setting up console-common (0.7.87) …
Looking for keymap to install:
NONE
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libexpat1:i386 (2.1.0-1+deb7u1) …
Setting up libfreetype6:i386 (2.4.9-1.1) …
Setting up libfuse2:i386 (2.9.0-2+deb7u1) …
Setting up libsysfs2:i386 (2.1.0+repack-2) …
Setting up libusb-1.0-0:i386 (2:1.0.11-1) …
Setting up module-init-tools (9-3) …
Setting up bzip2 (1.0.6-4) …
Setting up file (5.11-2+deb7u3) …
Setting up gettext-base (0.18.1.1-9) …
Setting up less (444-4) …
Setting up libclass-isa-perl (0.36-3) …
Setting up locales (2.13-38+deb7u3) …
Generating locales (this might take a while)…
en_US.ISO-8859-1… done
en_US.ISO-8859-15… done
en_US.UTF-8… done
Generation complete.
Setting up mime-support (3.52-1) …
Setting up pciutils (1:3.1.9-6) …
Setting up python2.7-minimal (2.7.3-6+deb7u2) …
Setting up python2.7 (2.7.3-6+deb7u2) …
Setting up python-minimal (2.7.3-4+deb7u1) …
Setting up python (2.7.3-4+deb7u1) …
Setting up ucf (3.0025+nmu3) …
Setting up acpid (1:2.0.16-1+deb7u1) …
invoke-rc.d: policy-rc.d denied execution of start.
Setting up acpi-support-base (0.140-5+deb7u2) …
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up libklibc (2.0.1-3.1) …
Setting up klibc-utils (2.0.1-3.1) …
Setting up initramfs-tools (0.109.1) …
update-initramfs: deferring update (trigger activated)
Setting up lsb-release (4.1+Debian8+deb7u1) …
Setting up most (5.0.0a-2.1) …
Setting up strace (4.5.20-2.3) …
Setting up usbutils (1:005-3) …
Setting up os-prober (1.58) …
Setting up sysfsutils (2.1.0+repack-2) …
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libdevmapper1.02.1:i386 (2:1.02.74-8) …
Setting up libswitch-perl (2.16-2) …
Setting up perl-modules (5.14.2-21+deb7u1) …
Setting up perl (5.14.2-21+deb7u1) …
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
Setting up libperl4-corelibs-perl (0.003-1) …
Setting up lsof (4.86+dfsg-1) …
Setting up grub-common (1.99-27+deb7u2) …
Setting up grub2-common (1.99-27+deb7u2) …
Setting up grub-pc-bin (1.99-27+deb7u2) …
Setting up grub-pc (1.99-27+deb7u2) …

Creating config file /etc/default/grub with new version
device node not found
device node not found
device node not found
device node not found
device node not found
device node not found
device node not found
device node not found
device node not found
device node not found
device node not found
device node not found
device node not found
device node not found
device node not found
device node not found
Setting up dmsetup (2:1.02.74-8) …
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools …
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…
Reading task descriptions…

  • stage packages done
  • [ -n done ]
  • echo done
  • return 0
  • stage extrapackages
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/extrapackages
  • echo Executing stage extrapackages
    Executing stage extrapackages
  • return 0
  • extrapackages
  • [ yes = yes ]
  • find /etc/debootstrap/extrapackages -type f -name *.deb
  • PACKAGELIST=
  • [ -n ]
  • stage extrapackages done
  • [ -n done ]
  • echo done
  • return 0
  • stage reconfigure
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/reconfigure
  • echo Executing stage reconfigure
    Executing stage reconfigure
  • return 0
  • reconfigure
  • [ -n console-data ]
  • grep -q ^ii
    dpkg --list console-data
  • stage reconfigure done
  • [ -n done ]
  • echo done
  • return 0
  • stage hosts
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/hosts
  • echo Executing stage hosts
    Executing stage hosts
  • return 0
  • hosts
  • [ -f /etc/hosts ]
  • sed -i s#127.0.0.1 .*#127.0.0.1 localhost host# /etc/hosts
  • [ -n host ]
  • sed -i s/grml/host/g /etc/hosts
  • stage hosts done
  • [ -n done ]
  • echo done
  • return 0
  • stage default_locales
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/default_locales
  • echo Executing stage default_locales
    Executing stage default_locales
  • return 0
  • default_locales
  • [ -n en_US.UTF-8 ]
  • [ -x /usr/sbin/update-locale ]
  • /usr/sbin/update-locale LANG=en_US.UTF-8
  • stage default_locales done
  • [ -n done ]
  • echo done
  • return 0
  • stage timezone
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/timezone
  • echo Executing stage timezone
    Executing stage timezone
  • return 0
  • timezone
  • [ -n UTC ]
  • echo Adjusting /etc/localtime
    Adjusting /etc/localtime
  • ln -sf /usr/share/zoneinfo/UTC /etc/localtime
  • stage timezone done
  • [ -n done ]
  • echo done
  • return 0
  • stage fstab
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/fstab
  • echo Executing stage fstab
    Executing stage fstab
  • return 0
  • fstab
  • [ ! -f /etc/fstab ]
  • grep -q UNCONFIGURED /etc/fstab
  • createfstab
  • echo Setting up /etc/fstab
    Setting up /etc/fstab
  • [ -n 26ada0c0-1165-4098-884d-aafd2220c2c6 ]
  • echo /dev/disk/by-uuid/26ada0c0-1165-4098-884d-aafd2220c2c6 / auto defaults,errors=remount-ro 0 1
  • cat
  • stage fstab done
  • [ -n done ]
  • echo done
  • return 0
  • stage hostname
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/hostname
  • echo Executing stage hostname
    Executing stage hostname
  • return 0
  • hostname
  • [ -n host ]
  • echo Setting hostname to host.
    Setting hostname to host.
  • echo host
  • [ -r /etc/postfix/main.cf ]
  • stage hostname done
  • [ -n done ]
  • echo done
  • return 0
  • stage initrd
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/initrd
  • echo Executing stage initrd
    Executing stage initrd
  • return 0
  • initrd
  • ls -1 /boot/vmlinuz-*
    -1
  • KERNELIMG=
  • [ -z ]
  • echo No kernel image found, skipping initrd stuff.
    No kernel image found, skipping initrd stuff.
  • return
  • stage initrd done
  • [ -n done ]
  • echo done
  • return 0
  • stage grub_install
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/grub_install
  • echo Executing stage grub_install
    Executing stage grub_install
  • return 0
  • grub_install
  • [ -z ]
  • echo Notice: $GRUB not defined, will not install grub inside chroot at this stage.
    Notice: $GRUB not defined, will not install grub inside chroot at this stage.
  • return 0
  • stage grub_install done
  • [ -n done ]
  • echo done
  • return 0
  • stage passwords
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/passwords
  • echo Executing stage passwords
    Executing stage passwords
  • return 0
  • passwords
  • [ -n ]
  • echo Activating shadow passwords.
    Activating shadow passwords.
  • shadowconfig on
    Shadow passwords are now on.
  • CHPASSWD_OPTION=
  • chpasswd --help+ grep -q – -m,
  • CHPASSWD_OPTION=-m
  • [ -n changeme ]
  • echo root:changeme
  • chpasswd -m
  • export ROOTPASSWORD=
  • stage passwords done
  • [ -n done ]
  • echo done
  • return 0
  • stage custom_scripts
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/custom_scripts
  • echo Executing stage custom_scripts
    Executing stage custom_scripts
  • return 0
  • custom_scripts
  • [ -d /etc/debootstrap/chroot-scripts/ ]
  • return 0
  • stage custom_scripts done
  • [ -n done ]
  • echo done
  • return 0
  • stage upgrade_system
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/upgrade_system
  • echo Executing stage upgrade_system
    Executing stage upgrade_system
  • return 0
  • upgrade_system
  • [ no = yes ]
  • echo Not running update + upgrade as $UPDATE_AND_UPGRADE is not set to ‘yes’.
    Not running update + upgrade as $UPDATE_AND_UPGRADE is not set to ‘yes’.
  • stage upgrade_system done
  • [ -n done ]
  • echo done
  • return 0
  • stage remove_apt_cache
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/remove_apt_cache
  • echo Executing stage remove_apt_cache
    Executing stage remove_apt_cache
  • return 0
  • remove_apt_cache
  • [ no = yes ]
  • echo Not cleaning apt cache as $RM_APTCACHE is unset.
    Not cleaning apt cache as $RM_APTCACHE is unset.
  • stage remove_apt_cache done
  • [ -n done ]
  • echo done
  • return 0
  • stage services
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/services
  • echo Executing stage services
    Executing stage services
  • return 0
  • services
  • [ -x /etc/init.d/ssh ]
  • [ -x /etc/init.d/mdadm ]
  • [ -x /etc/init.d/mdadm-raid ]
  • stage services done
  • [ -n done ]
  • echo done
  • return 0
  • stage remove_chrootmirror
  • [ -n ]
  • grep -q done /etc/debootstrap/stages/remove_chrootmirror
  • echo Executing stage remove_chrootmirror
    Executing stage remove_chrootmirror
  • return 0
  • remove_chrootmirror
  • [ -n yes ]
  • echo KEEP_SRC_LIST has been set, skipping remove_chrootmirror stage.
    KEEP_SRC_LIST has been set, skipping remove_chrootmirror stage.
  • return
  • stage remove_chrootmirror done
  • [ -n done ]
  • echo done
  • return 0
  • finalize
  • rm -f /etc/debootstrap/variables
  • [ -n 1 ]
  • rm -f /usr/sbin/policy-rc.d
  • umount /proc
  • echo Finished chroot installation, exiting.
    Finished chroot installation, exiting.
  • exit 0
  • RC=0
  • umount /mnt/debootstrap.24207/dev
    umount: /mnt/debootstrap.24207/dev: device is busy.
    (In some cases useful info about processes that use
    the device is found by lsof(8) or fuser(1))
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • grep -q GRML_CHROOT_SCRIPT_MARKER /mnt/debootstrap.24207/bin/chroot-script
  • einfo ‘Removing chroot-script again’
  • einfon ‘Removing chroot-script again\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Removing chroot-script again\n’
    e[32;01m
    e[0m Removing chroot-script again
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • rm -f /mnt/debootstrap.24207/bin/chroot-script
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • stage chrootscript done
  • ‘[’ -n done ‘]’
  • echo done
  • return 0
  • rm -f /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/chrootscript
  • for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
  • stage execute_scripts
  • ‘[’ -n ‘’ ‘]’
  • grep -q done /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/execute_scripts
  • execute_scripts
  • export MNTPOINT
  • ‘[’ -d ‘’ ‘]’
  • ‘[’ yes = yes ‘]’
  • ‘[’ -d ‘’ ‘]’
  • scripts=/etc/debootstrap/scripts/
  • for script in ‘${scripts}/*’
  • ‘[’ -x ‘/etc/debootstrap/scripts//*’ ‘]’
  • stage execute_scripts done
  • ‘[’ -n done ‘]’
  • echo done
  • return 0
  • rm -f /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/execute_scripts
  • for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
  • stage umount_chroot
  • ‘[’ -n ‘’ ‘]’
  • grep -q done /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/umount_chroot
  • umount_chroot
  • ‘[’ -n /etc/debootstrap/install_notes ‘]’
  • ‘[’ -r /mnt/debootstrap.24207//etc/debootstrap/install_notes ‘]’
  • ‘[’ -n ‘’ ‘]’
  • grep -q /mnt/debootstrap.24207 /proc/mounts
  • ‘[’ -n 1 ‘]’
  • einfo ‘Unmount /mnt/debootstrap.24207’
  • einfon ‘Unmount /mnt/debootstrap.24207\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Unmount /mnt/debootstrap.24207\n’
    e[32;01m
    e[0m Unmount /mnt/debootstrap.24207
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • umount /mnt/debootstrap.24207
    umount: /mnt/debootstrap.24207: device is busy.
    (In some cases useful info about processes that use
    the device is found by lsof(8) or fuser(1))
  • eend 1
  • local retval=1
  • shift
  • ‘[’ 1 -gt 0 ‘]’
  • printf ’ e[31;01m-> Failed (rc=1)e[0m\n’
    e[31;01m-> Failed (rc=1)e[0m
  • return 1
  • bailout 2 umount_chroot
  • cleanup
  • ‘[’ -n /var/cache/grml-debootstrap/variables_Whonix-Gateway-8.6.6.0.raw ‘]’
  • einfo ‘Removing /var/cache/grml-debootstrap/variables_Whonix-Gateway-8.6.6.0.raw’
  • einfon ‘Removing /var/cache/grml-debootstrap/variables_Whonix-Gateway-8.6.6.0.raw\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Removing /var/cache/grml-debootstrap/variables_Whonix-Gateway-8.6.6.0.raw\n’
    e[32;01m
    e[0m Removing /var/cache/grml-debootstrap/variables_Whonix-Gateway-8.6.6.0.raw
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • rm /var/cache/grml-debootstrap/variables_Whonix-Gateway-8.6.6.0.raw
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • ‘[’ -n /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw ‘]’
  • einfo ‘Removing /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw’
  • einfon ‘Removing /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Removing /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw\n’
    e[32;01m
    e[0m Removing /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • rmdir /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • echo /mnt/debootstrap.24207
  • grep -q ‘/mnt/debootstrap.’
  • rmdir /mnt/debootstrap.24207
  • ‘[’ -n /mnt/debootstrap.24207 ‘]’
  • grep -q /mnt/debootstrap.24207 /proc/mounts
  • ‘[’ -x /mnt/debootstrap.24207/etc/init.d/ssh ‘]’
  • ‘[’ -x /mnt/debootstrap.24207/etc/init.d/mdadm ‘]’
  • ‘[’ -x /mnt/debootstrap.24207/bin/umount ‘]’
  • chroot /mnt/debootstrap.24207 umount -a
  • for ARG in /sys /proc /proc /dev /dev
  • ‘[’ -x /mnt/debootstrap.24207/bin/umount ‘]’
  • chroot /mnt/debootstrap.24207 umount /sys
  • umount /mnt/debootstrap.24207//sys
  • for ARG in /sys /proc /proc /dev /dev
  • ‘[’ -x /mnt/debootstrap.24207/bin/umount ‘]’
  • chroot /mnt/debootstrap.24207 umount /proc
  • umount /mnt/debootstrap.24207//proc
  • for ARG in /sys /proc /proc /dev /dev
  • ‘[’ -x /mnt/debootstrap.24207/bin/umount ‘]’
  • chroot /mnt/debootstrap.24207 umount /proc
  • umount /mnt/debootstrap.24207//proc
  • for ARG in /sys /proc /proc /dev /dev
  • ‘[’ -x /mnt/debootstrap.24207/bin/umount ‘]’
  • chroot /mnt/debootstrap.24207 umount /dev
  • umount /mnt/debootstrap.24207//dev
  • for ARG in /sys /proc /proc /dev /dev
  • ‘[’ -x /mnt/debootstrap.24207/bin/umount ‘]’
  • chroot /mnt/debootstrap.24207 umount /dev
  • umount /mnt/debootstrap.24207//dev
  • ‘[’ -n ‘’ ‘]’
  • ‘[’ -n ‘’ ‘]’
  • einfo ‘Unmounting /mnt/debootstrap.24207’
  • einfon ‘Unmounting /mnt/debootstrap.24207\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Unmounting /mnt/debootstrap.24207\n’
    e[32;01m
    e[0m Unmounting /mnt/debootstrap.24207
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • umount /mnt/debootstrap.24207
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • ‘[’ -n /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw ‘]’
  • echo -n 'Removing stages directory /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw: ’
    Removing stages directory /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw: + rm -rf /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw
  • echo done
    done
  • echo /mnt/debootstrap.24207
  • grep -q ‘/mnt/debootstrap.’
  • einfo ‘Removing directory /mnt/debootstrap.24207’
  • einfon ‘Removing directory /mnt/debootstrap.24207\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Removing directory /mnt/debootstrap.24207\n’
    e[32;01m
    e[0m Removing directory /mnt/debootstrap.24207
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • rmdir /mnt/debootstrap.24207
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • ‘[’ -n /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw ‘]’
  • einfo ‘Removing loopback mount of file /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw.’
  • einfon ‘Removing loopback mount of file /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw.\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Removing loopback mount of file /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw.\n’
    e[32;01m
    e[0m Removing loopback mount of file /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw.
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • kpartx -d /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw
    loop deleted : /dev/loop0
  • eend 0
  • local retval=0
  • shift
  • ‘[’ 0 -gt 0 ‘]’
  • return 0
  • ‘[’ -n 2 ‘]’
  • EXIT=2
  • ‘[’ -n umount_chroot ‘]’
  • einfo ‘Notice: remove /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/umount_chroot to reexecute the stage’
  • einfon ‘Notice: remove /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/umount_chroot to reexecute the stage\n’
  • ‘[’ ‘’ ‘!=’ yes ‘]’
  • ‘[’ einfon = ebegin ‘]’
  • printf ’ e[32;01me[0m Notice: remove /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/umount_chroot to reexecute the stage\n’
    e[32;01m
    e[0m Notice: remove /var/cache/grml-debootstrap/stages_Whonix-Gateway-8.6.6.0.raw/umount_chroot to reexecute the stage
  • LAST_E_CMD=einfon
  • return 0
  • return 0
  • exit 2
    ++ error_handler_general
    ++ error_handler_shared
    ++ last_exit_code=2
    ++ last_bash_command=‘bash -x grml-debootstrap --debopt “$whonix_build_debopt” --arch “$BUILD_TARGET_ARCH” --filesystem “$whonix_build_file_system” --force --hostname “$whonix_build_hostname” --password “$whonix_build_os_password” --release “$whonix_build_apt_stable_release” --keep_src_list --verbose --vmfile --vmsize “$VMSIZE” --packages “$WHONIX_SOURCE_FOLDER/grml_packages” --target “$binary_image_raw” --mirror “$whonix_build_apt_sources_mirror”’
    ++ ‘[’ test -o xtrace = 0 ‘]’
    ++ set +x
    ERROR in pre detected!
    Please have a look above “error_handler_general”, note the command that failed, its output and last_exit_code.
  • Please enter c and press enter to ignore the error and continue building. (Recommended against!)
  • Please press s and enter to open an chroot interactive shell.
  • Please press enter to cleanup and exit. ++ ‘[’ false = true ‘]’
    +++ caller
    ++ last_caller=‘128 pre’
    ++ last_script=pre
    ++ error_handler_exit
    ++ ‘[’ false = true ‘]’
    ++ abort_or_continue=Aborted
    ++ rm --force /etc/apt/sources.list.d/whonix_temp.list
    ++ rm --force /var/run/package_manager_lock
    ++ true ’
    ############################################################
    ERROR in pre detected! Aborted!
    (benchmark: 00:08:13)
    BASH_COMMAND: bash -x grml-debootstrap --debopt “$whonix_build_debopt” --arch “$BUILD_TARGET_ARCH” --filesystem “$whonix_build_file_system” --force --hostname “$whonix_build_hostname” --password “$whonix_build_os_password” --release “$whonix_build_apt_stable_release” --keep_src_list --verbose --vmfile --vmsize “$VMSIZE” --packages “$WHONIX_SOURCE_FOLDER/grml_packages” --target “$binary_image_raw” --mirror “$whonix_build_apt_sources_mirror”
    last_exit_code: 2
    caller: 128 pre
    ERROR in pre! Aborted!
    ############################################################

    ++ ‘[’ false = true ‘]’
    ++ exit 1
    run-parts: ./build-steps.d/1300_create-raw-image exited with return code 1
    ++ error_handler_build-machine
    +++ caller
    ++ : echo ’
    BASH_COMMAND: run-parts --verbose --exit-on-error ./build-steps.d
    ERROR ./whonix_build: | caller: 46 ./whonix_build

    ++ exit 1[/code]

In my last post, I showed from the beginning to end of 1150. In the above log, I posted the end of 1200_create-debian-packages process showing no errors there either. However, if you find nothing in the 1300_create-raw-image section, I’ll post the 1200_create-debian-packages log section too. Thanks.

No more logs required for now.

From: https://www.whonix.org/wiki/Dev/Build_Documentation/9_full#Warning

Have you read,

  • “Gnome user? Please disable device auto mounter and the file indexing service. You can do this by running the following commands.”
  • “KDE user? It is recommended to disable nepomuk.You can do this by running the following command.”
    and applied it if your case?

Once such kind of bugs happened, you must reboot before trying building again. Reboot may not be an absolute requirement, but I don’t never figured out how to recover from such situations without.

Did you build on Debian wheezy?

If the answer to that and the answer to:

Have you read, - "Gnome user? Please disable device auto mounter and the file indexing service. You can do this by running the following commands." - "KDE user? It is recommended to disable nepomuk.You can do this by running the following command." and applied it if your case?

…is yes and yes…

Then it is the command.

bash -x grml-debootstrap --debopt --verbose --arch i386 --filesystem ext4 --force --hostname host --password changeme --release stable --keep_src_list --verbose --vmfile --vmsize 100G --packages /home/whonixuser/gitfiles/Whonix/grml_packages --target /home/whonixuser/whonix_binary/Whonix-Gateway-8.6.6.0.raw --mirror http://snapshot.debian.org/archive/debian/20140819T161127Z/

(Ignoring environment variables that Whonix has set for grml-debootstrap. Those probably don’t make a difference for this issue.)

That is failing. I guess it would also fail aftter reboot and if it was not Whonix’s build script that invoked it.

I guess it would also fail if you knew nothing about Whonix and tried to be a user of grml-debootstrap for creating a debian raw image as per grml-debootstrap(8) by example by using (untested):

grml-debootstrap --arch i386 --filesystem ext4 --force --hostname host --password changeme --release stable --verbose --vmfile --target ./debian.raw

This is an issue likely outside of Whonix’s code. Might be a bug in grml-debootstrap and/or mount and/or kpartx and/or linux.

[ GitHub - adrelanos/grml-debootstraptest ]

What could be an easy fix would be installing Debian wheezy in a fresh VM and build Whonix inside that VM - because then whatever interferes would likely not interfere.

I have some other and more ideas for debugging this and working around this, but sorry to say, you may need a lot of staying power posting back and forth. Let’s hope this won’t be required and any of my current suggestions will work for you. Please tell how it worked.

Have you read, - "Gnome user? Please disable device auto mounter and the file indexing service. You can do this by running the following commands." - "KDE user? It is recommended to disable nepomuk.You can do this by running the following command." and applied it if your case?

I’ll try those commands and report back what happens. I don’t have the following option under Removable Media

Never prompt or start programs on media insertion

Thanks for the helpful information. I know I read the Warnings section before, but I must have missed the parts about Gnome and KDE. Sorry.

Did you build on Debian wheezy?

I build on an up to date Debian Wheezy system. I built the 8.6.2.8 versions of Gateway and Workstation without any problem.

This is an issue likely outside of Whonix's code. Might be a bug in grml-debootstrap and/or mount and/or kpartx and/or linux.

OK. I just tried building the Gateway and again it failed after making the Gnome/KDE changes. I will try rebooting the system later and see if that helps.

What could be an easy fix would be installing Debian wheezy in a fresh VM and build Whonix inside that VM - because then whatever interferes would likely not interfere.

OK, I will consider trying that. Thanks for the helpful suggestions and ideas.