[Bug 1737248] Re: Do not use --enable-xhost-root
Launchpad Bug Tracker
1737248 at bugs.launchpad.net
Sat Dec 9 01:31:36 UTC 2017
This bug was fixed in the package gparted - 0.30.0-3ubuntu1
---------------
gparted (0.30.0-3ubuntu1) bionic; urgency=medium
* Sync with Debian (LP: #1709140, LP: #1735833)
* Don't set --enable-xhost-root (LP: #1737248) (Closes: #883812)
* Build-Depend on policykit-1 to install the PolicyKit policy
* Install primary binary to /usr/sbin/; it didn't seem to run
correctly in /usr/bin/
gparted (0.30.0-3) unstable; urgency=medium
* Disable make check again.
gparted (0.30.0-2) unstable; urgency=medium
* Merge the following changes from Ubuntu:
* Switch to simple dh7 style rules
* Enable all hardening flags
* Bump debhelper compat to 10
* Update debian/watch to watch for .gz or .xz tarballs too
* Drop obsolete dirs, menu and .xpm
* Drop gparted.postinst which fixed a mistake from Debian Lenny
gparted (0.30.0-1) unstable; urgency=medium
* New upstream release (Closes: #857015, #432141)
* Drop 01_fix-desktop.patch
* Drop 02_use-pkexec.patch: upstream now uses pkexec (Closes: #658314)
* Disable make check as it fails in chroot
-- Jeremy Bicha <jbicha at ubuntu.com> Fri, 08 Dec 2017 15:41:02 -0500
** Changed in: gparted (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/1737248
Title:
Do not use --enable-xhost-root
Status in gparted package in Ubuntu:
Fix Released
Status in gparted package in Debian:
New
Bug description:
I'm filing this as a tracking bug.
Ubuntu does not wish to use the --enable-xhost-root option in gparted. This
ugly workaround was introduced upstream in
https://git.gnome.org/browse/gparted/commit/?id=f38ccd02
However, it only works because gparted still uses gtk2 and will stop working once it's ported to gtk3. That is because gtk3 apps benefit from native Wayland support, but gtk2 apps run under XWayland. xhost
won't help when X isn't used.
We do not want to encourage other apps to use this workaround. We do
want to encourage gtk2 apps to switch to gtk3.
The proper fix is for gparted to run the GUI with normal permissions
and use non-graphical PolicyKit helpers to perform the specific
actions that need elevated permissions
Workarounds for affected users
==============================
1. Log out. Click your name on the login screen then click the gear button and select Ubuntu on Xorg (or GNOME on Xorg). Enter your password.
2. Or, try using the GNOME Disks app (gnome-disk-utility) which runs
fine with Wayland and is already installed by default.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/1737248/+subscriptions
More information about the foundations-bugs
mailing list