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 upqubes-core-agent 3.2.27-1 breaks sudo on debian template #3762
Comments
andrewdavidwong
added
bug
C: core
C: Debian
labels
Mar 30, 2018
andrewdavidwong
added this to the Release 3.2 updates milestone
Mar 30, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubenix
Mar 30, 2018
Also affects Whonix13 and debian jessie templates/appvms upgraded from jessie-testing as they receive the same qubes-core-agent version.
qubenix
commented
Mar 30, 2018
•
|
Also affects Whonix13 and debian jessie templates/appvms upgraded from |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 30, 2018
Member
The error message invalid option -- 'c' suggests you've done something different because that documentation page doesn't have -c anywhere. Anyway, this is irrelevant here,
For now a workaround: add -- after qubes.VMAuth in qrexec-client-vm.
|
The error message For now a workaround: add |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubenix
Mar 30, 2018
I don't understand, that documentation I've followed a year ago and this just affects me now. I didn't issue a -c, that qrexec-client-vm is called as part of the upgrade. This affects about 10 of my templates all of a sudden with no changes on my part, especially no change that I spread to every one of my Debian and Whonix templates.
Where am I supposed to add the -- in your workaround?
qubenix
commented
Mar 30, 2018
|
I don't understand, that documentation I've followed a year ago and this just affects me now. I didn't issue a Where am I supposed to add the |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
In /etc/pam.d/system-auth, on pam_exec.so line |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubenix
Mar 30, 2018
Like this?
user@d9-comms:~$ cat /etc/pam.d/common-auth | grep pam_exec.so
auth [success=done default=die] pam_exec.so seteuid /usr/lib/qubes/qrexec-client-vm dom0 qubes.VMAuth -- /bin/grep -q ^1$
user@d9-comms:~$ sudo apt-mark unhold qubes-core-agent
Canceled hold on qubes-core-agent.
user@d9-comms:~$ sudo apt-get update && sudo apt-get dist-upgrade
Hit:1 https://updates.signal.org/desktop/apt xenial InRelease
Hit:2 http://deb.qubesos4rrrrz6n4.onion/r3.2/vm stretch-testing InRelease
Get:3 http://sgvtcaew4bxjd7ln.onion stretch/updates InRelease [63.0 kB]
Ign:4 http://vwakviie2ienjx6t.onion/debian stretch InRelease
Hit:5 http://vwakviie2ienjx6t.onion/debian stretch Release
Fetched 63.0 kB in 54s (1,147 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
qubes-core-agent
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/93.2 kB of archives.
After this operation, 18.4 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 104113 files and directories currently installed.)
Preparing to unpack .../qubes-core-agent_3.2.27-1+deb9u1_amd64.deb ...
Unpacking qubes-core-agent (3.2.27-1+deb9u1) over (3.2.26-1+deb9u1) ...
Setting up qubes-core-agent (3.2.27-1+deb9u1) ...
Installing new version of config file /etc/NetworkManager/dispatcher.d/qubes-nmhook ...
Removed /etc/systemd/system/multi-user.target.wants/haveged.service.
Created symlink /etc/systemd/system/multi-user.target.wants/haveged.service → /etc/systemd/system/haveged.service.
Leaving 'diversion of /etc/init/plymouth-shutdown.conf to /etc/init/plymouth-shutdown.conf.qubes-disabled by qubes-core-agent'
Leaving 'diversion of /etc/init/prefdm.conf to /etc/init/prefdm.conf.qubes-disabled by qubes-core-agent'
Leaving 'diversion of /etc/init/splash-manager.conf to /etc/init/splash-manager.conf.qubes-disabled by qubes-core-agent'
Leaving 'diversion of /etc/init/start-ttys.conf to /etc/init/start-ttys.conf.qubes-disabled by qubes-core-agent'
Leaving 'diversion of /etc/init/tty.conf to /etc/init/tty.conf.qubes-disabled by qubes-core-agent'
Leaving 'diversion of /etc/init/serial.conf to /etc/init/serial.conf.qubes-orig by qubes-core-agent'
qubes-update-check.service is a disabled or a static unit, not starting it.
Processing triggers for libglib2.0-0:amd64 (2.50.3-2) ...
/usr/lib/qubes/qrexec-client-vm: invalid option -- 'c'
usage: /usr/lib/qubes/qrexec-client-vm [--buffer-size=BUFFER_SIZE] target_vmname program_ident [local_program [local program arguments]]
BUFFER_SIZE is minimum vchan buffer size (default: 64k)
qubenix
commented
Mar 30, 2018
|
Like this?
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Looks like sudo is working again for you after this. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubenix
commented
Mar 30, 2018
|
Yes, you're right. Even though the upgrade shows the same error, sudo works. |
marmarek
referenced this issue
in QubesOS/updates-status
Mar 30, 2018
Closed
core-agent-linux v3.2.27 (r3.2) #463
marmarek
closed this
in
QubesOS/qubes-core-agent-linux@0ef6297
Mar 30, 2018
added a commit
to QubesOS/qubes-core-agent-linux
that referenced
this issue
Mar 30, 2018
qubesos-bot
added
the
r3.2-fc25-cur-test
label
Mar 30, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Mar 30, 2018
Closed
core-agent-linux v3.2.28 (r3.2) #470
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 30, 2018
Automated announcement from builder-github
The component core-agent-linux (including package python2-dnf-plugins-qubes-hooks-3.2.28-1.fc26) has been pushed to the r3.2 testing repository for the Fedora template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
qubesos-bot
commented
Mar 30, 2018
|
Automated announcement from builder-github The component
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 30, 2018
Automated announcement from builder-github
The package qubes-core-agent_3.2.28-1+deb9u1 has been pushed to the r3.2 testing repository for the Debian 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 (or appropriate equivalent for your template version), then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Mar 30, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-stretch-cur-test
label
Mar 30, 2018
qubesos-bot
added
r3.2-buster-stable
r3.2-jessie-stable
and removed
r3.2-buster-cur-test
r3.2-jessie-cur-test
labels
Apr 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 18, 2018
Automated announcement from builder-github
The package qubes-core-agent_3.2.28-1+deb9u1 has been pushed to the r3.2 stable repository for the Debian template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Apr 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r3.2-stretch-stable
r3.2-fc25-stable
and removed
r3.2-stretch-cur-test
r3.2-fc25-cur-test
labels
Apr 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 18, 2018
Automated announcement from builder-github
The component core-agent-linux (including package python2-dnf-plugins-qubes-hooks-3.2.28-1.fc26) has been pushed to the r3.2 stable repository for the Fedora template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Apr 18, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
added
r3.2-fc26-stable
and removed
r3.2-fc26-cur-test
labels
Apr 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 21, 2018
Automated announcement from builder-github
The component core-agent-linux (including package python2-dnf-plugins-qubes-hooks-4.0.25-1.fc26) has been pushed to the r4.0 testing repository for the Fedora 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
Apr 21, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
added
the
r4.0-fc26-cur-test
label
Apr 21, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Apr 21, 2018
Closed
core-agent-linux v4.0.25 (r4.0) #487
qubesos-bot
added
r4.0-buster-cur-test
r4.0-jessie-cur-test
labels
Apr 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 21, 2018
Automated announcement from builder-github
The package qubes-core-agent_4.0.25-1+deb9u1 has been pushed to the r4.0 testing repository for the Debian 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 (or appropriate equivalent for your template version), then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Apr 21, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-stretch-cur-test
label
Apr 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 2, 2018
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
May 2, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-centos7-cur-test
label
May 2, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 21, 2018
Automated announcement from builder-github
The component core-agent-linux (including package python2-dnf-plugins-qubes-hooks-4.0.28-1.fc26) has been pushed to the r4.0 stable repository for the Fedora template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
May 21, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
removed
the
r4.0-fc26-cur-test
label
May 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 21, 2018
Automated announcement from builder-github
The package core-agent-linux has been pushed to the r4.0 stable repository for the Fedora centos7 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
May 21, 2018
|
Automated announcement from builder-github The package
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 21, 2018
Automated announcement from builder-github
The package qubes-core-agent_4.0.28-1+deb9u1 has been pushed to the r4.0 stable repository for the Debian template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
May 21, 2018
|
Automated announcement from builder-github The package
|
qubenix commentedMar 30, 2018
•
edited
Edited 2 times
-
qubenix
edited Mar 30, 2018 (most recent)
-
qubenix
edited Mar 30, 2018
Qubes OS version:
R3.2
Affected component(s):
Debian stretch, Whonix 13, and debian jessie templates and appvms using these templates.
Steps to reproduce the behavior:
In a debian stretch template, with dom0 prompt for sudo, upgrade
qubes-core-agentusing thestretch-testingrepo. Or in Whonix13/debian jessie upgrade fromjessie-testing.Expected behavior:
Upgrade successful.
Actual behavior:
In debian stretch template there is a
qrexec-client-vmerror at the end of the upgrade. After restart no sudo is allowed.After restarting the template or starting an appvm based on this template, will get this error:
General notes:
I set dom0 prompt for sudo on all my templates using the docs a year ago or more. I'm not sure if that's related to this and I see there is at least one new thing added to the dom0 policy in the current version of the guide, but it seems to be for r4.0 if I'm not mistaken.
Edited to add Whonix13 and debian jessie to affected list.
Related issues: