Skip to content

Don't register polkit agent if we cannot connect to system bus - #2997

Closed
smcv wants to merge 1 commit into
flatpak:masterfrom
smcv:polkit-no-system-bus
Closed

smcv wants to merge 1 commit into
flatpak:masterfrom
smcv:polkit-no-system-bus

Conversation

@smcv

@smcv smcv commented Jul 1, 2019

Copy link
Copy Markdown
Collaborator

This works around an old polkit client library bug which would cause
a segfault in this situation. The bug was fixed long ago in upstream
polkit, but is still present in Debian 10 'buster', Ubuntu 19.04 'disco'
and all older releases, due to Debian/Ubuntu using a branch of polkit
to avoid the mozjs dependency. It should finally get fixed in Debian 11
and Ubuntu 19.10.

Bug-Debian: https://bugs.debian.org/923046

This works around an old polkit client library bug which would cause
a segfault in this situation. The bug was fixed long ago in upstream
polkit, but is still present in Debian 10 'buster', Ubuntu 19.04 'disco'
and all older releases, due to Debian/Ubuntu using a branch of polkit
to avoid the mozjs dependency. It should finally get fixed in Debian 11
and Ubuntu 19.10.

Signed-off-by: Simon McVittie <[email protected]>
Bug-Debian: https://bugs.debian.org/923046
@matthiasclasen

Copy link
Copy Markdown
Collaborator

@rh-atomic-bot r+

@rh-atomic-bot

Copy link
Copy Markdown

📌 Commit 6b623e6 has been approved by matthiasclasen

@rh-atomic-bot

Copy link
Copy Markdown

⌛ Testing commit 6b623e6 with merge 75b5b7c...

@rh-atomic-bot

Copy link
Copy Markdown

☀️ Test successful - status-papr
Approved by: matthiasclasen
Pushing 75b5b7c to master...

alexlarsson pushed a commit to alexlarsson/flatpak that referenced this pull request Sep 18, 2019
This works around an old polkit client library bug which would cause
a segfault in this situation. The bug was fixed long ago in upstream
polkit, but is still present in Debian 10 'buster', Ubuntu 19.04 'disco'
and all older releases, due to Debian/Ubuntu using a branch of polkit
to avoid the mozjs dependency. It should finally get fixed in Debian 11
and Ubuntu 19.10.

Signed-off-by: Simon McVittie <[email protected]>
Bug-Debian: https://bugs.debian.org/923046

Closes: flatpak#2997
Approved by: matthiasclasen

(cherry picked from commit 75b5b7c)
rh-atomic-bot pushed a commit that referenced this pull request Sep 18, 2019
This works around an old polkit client library bug which would cause
a segfault in this situation. The bug was fixed long ago in upstream
polkit, but is still present in Debian 10 'buster', Ubuntu 19.04 'disco'
and all older releases, due to Debian/Ubuntu using a branch of polkit
to avoid the mozjs dependency. It should finally get fixed in Debian 11
and Ubuntu 19.10.

Signed-off-by: Simon McVittie <[email protected]>
Bug-Debian: https://bugs.debian.org/923046

Closes: #2997
Approved by: matthiasclasen

(cherry picked from commit 75b5b7c)

Closes: #3111
Approved by: alexlarsson
alexlarsson pushed a commit that referenced this pull request Sep 18, 2019
This works around an old polkit client library bug which would cause
a segfault in this situation. The bug was fixed long ago in upstream
polkit, but is still present in Debian 10 'buster', Ubuntu 19.04 'disco'
and all older releases, due to Debian/Ubuntu using a branch of polkit
to avoid the mozjs dependency. It should finally get fixed in Debian 11
and Ubuntu 19.10.

Signed-off-by: Simon McVittie <[email protected]>
Bug-Debian: https://bugs.debian.org/923046

Closes: #2997
Approved by: matthiasclasen

(cherry picked from commit 75b5b7c)
alexlarsson pushed a commit to alexlarsson/flatpak that referenced this pull request Sep 19, 2019
This works around an old polkit client library bug which would cause
a segfault in this situation. The bug was fixed long ago in upstream
polkit, but is still present in Debian 10 'buster', Ubuntu 19.04 'disco'
and all older releases, due to Debian/Ubuntu using a branch of polkit
to avoid the mozjs dependency. It should finally get fixed in Debian 11
and Ubuntu 19.10.

Signed-off-by: Simon McVittie <[email protected]>
Bug-Debian: https://bugs.debian.org/923046

Closes: flatpak#2997
Approved by: matthiasclasen

(cherry picked from commit 75b5b7c)
(cherry picked from commit 62cb645)
rh-atomic-bot pushed a commit that referenced this pull request Sep 19, 2019
This works around an old polkit client library bug which would cause
a segfault in this situation. The bug was fixed long ago in upstream
polkit, but is still present in Debian 10 'buster', Ubuntu 19.04 'disco'
and all older releases, due to Debian/Ubuntu using a branch of polkit
to avoid the mozjs dependency. It should finally get fixed in Debian 11
and Ubuntu 19.10.

Signed-off-by: Simon McVittie <[email protected]>
Bug-Debian: https://bugs.debian.org/923046

Closes: #2997
Approved by: matthiasclasen

(cherry picked from commit 75b5b7c)
(cherry picked from commit 62cb645)

Closes: #3115
Approved by: alexlarsson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants