Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upInvalid shell used for vm.run() (sometimes) #3139
Comments
marmarek
added
bug
C: core
P: minor
labels
Oct 1, 2017
marmarek
added this to the Release 4.0 milestone
Oct 1, 2017
marmarek
changed the title from
Invalid shell used for qubes.VMShell (sometimes)
to
Invalid shell used for vm.run() (sometimes)
Oct 1, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 1, 2017
Member
Similar issue applies to qubes.VMShell service. There always /bin/bash is used.
|
Similar issue applies to qubes.VMShell service. There always |
added a commit
to marmarek/qubes-core-agent-linux
that referenced
this issue
Oct 2, 2017
marmarek
closed this
in
marmarek/qubes-core-agent-linux@6bf3950
Oct 6, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 7, 2017
Automated announcement from builder-github
The package qubes-core-agent_4.0.11-1+deb8u1 has been pushed to the r4.0 testing repository for the Debian jessie template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing jessie-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Oct 7, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-jessie-cur-test
label
Oct 7, 2017
qubesos-bot
referenced this issue
in QubesOS/updates-status
Oct 7, 2017
Closed
core-agent-linux v4.0.11 (r4.0) #249
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 7, 2017
Automated announcement from builder-github
The package qubes-core-agent_4.0.11-1+deb9u1 has been pushed to the r4.0 testing repository for the Debian stretch template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Oct 7, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-stretch-cur-test
label
Oct 7, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 7, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-4.0.11-1.fc24 has been pushed to the r4.0 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Oct 7, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-fc24-cur-test
label
Oct 7, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 7, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-4.0.11-1.fc25 has been pushed to the r4.0 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Oct 7, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-fc25-cur-test
label
Oct 7, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 7, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-4.0.11-1.fc26 has been pushed to the r4.0 testing repository for the Fedora fc26 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Oct 7, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-fc26-cur-test
label
Oct 7, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 7, 2017
Automated announcement from builder-github
The package core-agent-linux has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Oct 7, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-centos7-cur-test
label
Oct 7, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
schnurentwickler
Oct 11, 2017
Maybe this was the issue what archlinux with zsh set as default in templateVM gave problematic VM shutdowns. (As described in #2888) - Quote from #2888 :
The unhealthy shutdown behavior caused by the zsh shell, set as standard for the template user. sudo chsh -s /bin/zsh user Obviosly some qubes(?) scripts are using the standard user shell. For now anyone who is affected should switch to the bash shell: sudo chsh -s /bin/bash user
This seems to be a bug and should not happen. <
schnurentwickler
commented
Oct 11, 2017
|
Maybe this was the issue what archlinux with zsh set as default in templateVM gave problematic VM shutdowns. (As described in #2888) - Quote from #2888 :
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 17, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-4.0.11-1.fc24 has been pushed to the r4.0 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Oct 17, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-fc24-stable
and removed
r4.0-fc24-cur-test
labels
Oct 17, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 17, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-4.0.11-1.fc25 has been pushed to the r4.0 stable repository for the Fedora fc25 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Oct 17, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-fc25-stable
and removed
r4.0-fc25-cur-test
labels
Oct 17, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 17, 2017
Automated announcement from builder-github
The package qubes-core-agent_4.0.11-1+deb8u1 has been pushed to the r4.0 stable repository for the Debian jessie template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Oct 17, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-jessie-stable
and removed
r4.0-jessie-cur-test
labels
Oct 17, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 17, 2017
Automated announcement from builder-github
The package qubes-core-agent_4.0.11-1+deb9u1 has been pushed to the r4.0 stable repository for the Debian stretch template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Oct 17, 2017
|
Automated announcement from builder-github The package
|
marmarek commentedOct 1, 2017
•
edited
Edited 1 time
-
marmarek
edited Oct 1, 2017 (most recent)
Qubes OS version (e.g.,
R3.2): R4.0Steps to reproduce the behavior:
Call vm.run('echo $SHELL') from inside qubesd.
Expected behavior:
Shell set for that user (
user).Actual behavior:
Sometimes correct value, sometimes
/bin/sh.General notes:
Looks to be depending on whether GUI is connected before the command is run.