Whonix live mode / amnesia / amnesic / non-persistent / anti-forensics

Package live-config-systemd is causing an issue. live-config-getty-generator fails. Visible in systemd journal. Debug output:

sudo /lib/systemd/system-generators/live-config-getty-generator
+ set -e
+ SYSTEMD_DIR=
+ . /lib/live/init-config.sh
/lib/systemd/system-generators/live-config-getty-generator: 15: .: Can't open /lib/live/init-config.sh

Installing live-config would fix this issue since it includes this file but it’s not an option since

grub-live boot with live-config package installed:

ls /var/lib/live/config/
hostname  lightdm  locales  login  policykit  sudo  tzdata  util-linux  xfce4-panel  xinit

Issue:

sudo cat /etc/sudoers.d/live
user ALL=(ALL) NOPASSWD: ALL

Is live-config-systemd a required package? Can we just remove live-config-systemd from grub-live Depends: in debian/control?

1 Like