Thanks everyone for the suggestions. Marek's idea also triggered the
bug/error:
> [user@dom0 ~]$ echo date | qvm-run -p mail-1 "QUBESRPC qubes.VMShell dom0"
> /usr/lib/qubes/qubes-rpc-multiplexer: 24: export: gpg-1: bad variable name
Running the same command on another AppVM reported the date correctly.
More info from the VM in question: (everything looks normal?)
user@mail-1:~$ echo $QUBES_GPG_DOMAIN
gpg-1
(empty lines inserted for clarity)
user@mail-1:~$ cat /etc/profile.d/qubes-gpg.sh
#### Setting for client vm ####
# VM with GPG server (default)
#export QUBES_GPG_DOMAIN="gpgvm"
# Per-VM override
if [ -s /rw/config/gpg-split-domain ]; then
export QUBES_GPG_DOMAIN=`cat /rw/config/gpg-split-domain`
fi
#### Settings for GPG VM ####
# Remember user choice for this many seconds - default 5min (300s)
#export QUBES_GPG_AUTOACCEPT=300
user@mail-1:~$ cat /tmp/qubes-session-env
declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
declare -x DISPLAY=":0"
declare -x GNOME_DESKTOP_SESSION_ID="c1"
declare -x GPG_AGENT_INFO="/run/user/1000/gnupg/S.gpg-agent:0:1"
declare -x HOME="/home/user"
declare -x LANG="en_US.UTF-8"
declare -x MAIL="/var/mail/user"
declare -x OLDPWD
declare -x QT_ACCESSIBILITY="1"
declare -x QT_LINUX_ACCESSIBILITY_ALWAYS_ON="1"
declare -x QT_X11_NO_MITSHM="1"
declare -x QUBES_ENV_SOURCED="1"
declare -x QUBES_GPG_DOMAIN="gpg-1"
declare -x QUBES_KEYMAP="xkb_keymap {
xkb_keycodes { include \"evdev+aliases(qwerty)\" };
xkb_types { include \"complete\" };
xkb_compat { include \"complete\" };
xkb_symbols { include \"pc+us+inet(evdev)\" };
xkb_geometry { include \"pc(pc105)\" };
};"
declare -x QUBES_USER_KEYMAP=""
declare -x SSH_AGENT_PID="999"
declare -x SSH_AUTH_SOCK="/tmp/ssh-[redacted]/agent.999"
declare -x UPDTYPE="NonUpdateableVM"
declare -x VMTYPE="AppVM"
declare -x WINDOWPATH="7"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SEAT="seat0"
declare -x XDG_SESSION_ID="c1"
declare -x XDG_VTNR="7"
Package versions:
Package: qubes-core-agent
Version: 3.2.25-1+deb9u1
Package: libqubes-rpc-filecopy2
Source: qubes-utils
Version: 3.2.7+deb9u1
I haven't posted the VM config file
/var/lib/qubes/appvms/mail-1/mail-1.conf but it looks near identical to
other appvms. Any ideas what to check from here?
Thanks,
Robert