New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Debian templates] - [qubes-gui-agent] - Qubes GUI broken because of Xorg ABI Interface update in package xserver-xorg-core 2:1.19.0-2 (debian testing) #2514

Closed
yilmi opened this Issue Dec 11, 2016 · 19 comments

Comments

@yilmi

yilmi commented Dec 11, 2016

Qubes OS version : 3.2

Affected TemplateVMs : Debian template using testing repositories (Kali templates)


Expected behavior:

Qubes GUI working as designed

Actual behavior:

Xorg not starting because of incompatible ABI interface for modules dummyavs and qubes

Steps to reproduce the behavior:

Upgrade debian 8 template to testing distribution, Xorg will complain about incompatible ABI versions.

There is an option to ignore ABI versions mismatch but even after ignoring mismatch, Xorg crashes shortly after loading the modules (add section Server Flags with option IgnoreABI in /etc/X11/xorg-qubes.conf.template)

General notes:

Xorg log output

[ 7.040] (II) Module ABI versions:
[ 7.040] X.Org ANSI C Emulation: 0.4
[ 7.040] X.Org Video Driver: 23.0
[ 7.040] X.Org XInput driver : 24.1
[ 7.040] X.Org Server Extension : 10.0
......
[ 7.051] (WW) dummyqbs: module ABI major version (20) doesn't match the server's version (23)
[ 7.052] ABI class: X.Org XInput driver, version 22.1
[ 7.052] (WW) qubes: module ABI major version (22) doesn't match the server's version (24)
[ 7.056] ABI class: X.Org ANSI C Emulation, version 0.4


Workaround:

This will break packages dependencies

  • Install package from a previous version from /var/cache/apt/archives/xserver-xorg-core_2%3a1.18.4-2_amd64.deb
  • Mask xserver-xorg-core package : sudo apt-mark hold xserver-xorg-core

Related issues:

@yilmi yilmi changed the title from [Debian templates] - [qubes-gui-agent] - Qubes gui broken because of Xorg ABI Interface updated in package xserver-xorg-core 2:1.19.0-2 (debian testing) to [Debian templates] - [qubes-gui-agent] - Qubes GUI broken because of Xorg ABI Interface update in package xserver-xorg-core 2:1.19.0-2 (debian testing) Dec 11, 2016

@andrewdavidwong andrewdavidwong added this to the Release 3.2 updates milestone Dec 11, 2016

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 12, 2016

Member

Rebuilt package just uploaded to testing repository
(qubes-gui-agent_3.2.10-2+deb9u1).

But in general, qubes-gui-agent should depend on Xorg ABI interface version. And apparently, it require (among other things) the package with video driver being named xserver-org-video-(something). So video driver needs to be split of the qubes-gui-agent. The same applies to input driver.

Member

marmarek commented Dec 12, 2016

Rebuilt package just uploaded to testing repository
(qubes-gui-agent_3.2.10-2+deb9u1).

But in general, qubes-gui-agent should depend on Xorg ABI interface version. And apparently, it require (among other things) the package with video driver being named xserver-org-video-(something). So video driver needs to be split of the qubes-gui-agent. The same applies to input driver.

marmarek added a commit to marmarek/old-qubes-gui-agent-linux that referenced this issue Dec 12, 2016

debian: fail the build if any file in not packaged
Preparation for package split, to not miss anything.

QubesOS/qubes-issues#2514
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 12, 2016

Member

Automated announcement from builder-github

The package qubes-gui-agent_3.2.11-1+deb8u1 has been pushed to the r3.2 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

Changes included in this update

Member

marmarek commented Dec 12, 2016

Automated announcement from builder-github

The package qubes-gui-agent_3.2.11-1+deb8u1 has been pushed to the r3.2 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

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 12, 2016

Member

Automated announcement from builder-github

The package qubes-gui-agent_3.2.11-1+deb9u1 has been pushed to the r3.2 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

Changes included in this update

Member

marmarek commented Dec 12, 2016

Automated announcement from builder-github

The package qubes-gui-agent_3.2.11-1+deb9u1 has been pushed to the r3.2 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

Changes included in this update

@yilmi

This comment has been minimized.

Show comment
Hide comment
@yilmi

yilmi Dec 12, 2016

Thanks, I didn't expected it to be fixed that fast ! Upgraded packages on stretch and now it works fine.

yilmi commented Dec 12, 2016

Thanks, I didn't expected it to be fixed that fast ! Upgraded packages on stretch and now it works fine.

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Dec 12, 2016

@yilmi @marmarek The result I got is that most function is restored, but systray (i.e. Network Manager) doesn't work. If I use nmcli to connect, a status popup will appear, but nothing related to the systray.

tasket commented Dec 12, 2016

@yilmi @marmarek The result I got is that most function is restored, but systray (i.e. Network Manager) doesn't work. If I use nmcli to connect, a status popup will appear, but nothing related to the systray.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 12, 2016

Member

@tasket I think it is unrelated to ABI change itself. Check if nm-applet is running, try to restart it etc. If nothing helps, open new issue.

Member

marmarek commented Dec 12, 2016

@tasket I think it is unrelated to ABI change itself. Check if nm-applet is running, try to restart it etc. If nothing helps, open new issue.

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Dec 12, 2016

I think is was a dom0 issue triggered by this issue. DomU/nm-applet restart didn't help, but dom0 restart did.

tasket commented Dec 12, 2016

I think is was a dom0 issue triggered by this issue. DomU/nm-applet restart didn't help, but dom0 restart did.

@agutl

This comment has been minimized.

Show comment
Hide comment
@agutl

agutl Dec 13, 2016

Does this bug affect v3.1, too? I have a debian stretch template on v3.1 which fails to start any apps since that recent update.
I don't get any response from qvm-run when I try to start an app, it just hangs there forever.

agutl commented Dec 13, 2016

Does this bug affect v3.1, too? I have a debian stretch template on v3.1 which fails to start any apps since that recent update.
I don't get any response from qvm-run when I try to start an app, it just hangs there forever.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 13, 2016

Member
Member

marmarek commented Dec 13, 2016

marmarek added a commit to QubesOS/qubes-gui-agent-linux that referenced this issue Dec 15, 2016

debian: fail the build if any file in not packaged
Preparation for package split, to not miss anything.

QubesOS/qubes-issues#2514

(cherry picked from commit 1a7d969)

marmarek added a commit to QubesOS/qubes-gui-agent-linux that referenced this issue Dec 15, 2016

debian: split xorg drivers into separate packages
This is required for dh_xsf to set appropriate dependendies.

Fixes QubesOS/qubes-issues#2514

(cherry picked from commit aee6859)
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 15, 2016

Member

Automated announcement from builder-github

The package qubes-gui-agent_3.1.10+deb8u1 has been pushed to the r3.1 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

Changes included in this update

Member

marmarek commented Dec 15, 2016

Automated announcement from builder-github

The package qubes-gui-agent_3.1.10+deb8u1 has been pushed to the r3.1 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

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 15, 2016

Member

Automated announcement from builder-github

The package qubes-gui-agent_3.1.10+deb9u1 has been pushed to the r3.1 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

Changes included in this update

Member

marmarek commented Dec 15, 2016

Automated announcement from builder-github

The package qubes-gui-agent_3.1.10+deb9u1 has been pushed to the r3.1 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

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 15, 2016

Member

Automated announcement from builder-github

The package qubes-gui-agent_3.1.10+deb7u1 has been pushed to the r3.1 testing repository for the Debian wheezy template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing wheezy-testing, then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

Member

marmarek commented Dec 15, 2016

Automated announcement from builder-github

The package qubes-gui-agent_3.1.10+deb7u1 has been pushed to the r3.1 testing repository for the Debian wheezy template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing wheezy-testing, then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Dec 19, 2016

Automated announcement from builder-github

The package qubes-gui-agent_3.2.11-1+deb9u1 has been pushed to the r3.2 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

Changes included in this update

Automated announcement from builder-github

The package qubes-gui-agent_3.2.11-1+deb9u1 has been pushed to the r3.2 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

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Jan 26, 2017

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc23 has been pushed to the r3.2 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc23 has been pushed to the r3.2 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Jan 26, 2017

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc24 has been pushed to the r3.2 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc24 has been pushed to the r3.2 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Jan 26, 2017

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc25 has been pushed to the r3.2 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc25 has been pushed to the r3.2 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Mar 5, 2017

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc23 has been pushed to the r3.2 stable repository for the Fedora fc23 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc23 has been pushed to the r3.2 stable repository for the Fedora fc23 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Mar 5, 2017

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc24 has been pushed to the r3.2 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc24 has been pushed to the r3.2 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Mar 5, 2017

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc25 has been pushed to the r3.2 stable repository for the Fedora fc25 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

Automated announcement from builder-github

The package qubes-gui-vm-3.2.13-1.fc25 has been pushed to the r3.2 stable repository for the Fedora fc25 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment