Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 851549

Summary: sys-block/gparted-1.4.0-r1 doesn't install org.gnome.gparted.policy file
Product: Gentoo Linux Reporter: Alexis <flexibeast>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexis 2022-06-12 13:05:04 UTC
The ebuild for sys-block/gparted-1.4.0-r1 doesn't install the file 
'org.gnome.gparted.policy' even when the 'policykit' USE flag is enabled. The gparted README:

  https://github.com/GNOME/gparted

seems to suggest that upstream's 'install' make target doesn't automatically install this file, implying that the ebuild should manually install this file when appropriate.

Issue found via user report at:

  https://www.reddit.com/r/Gentoo/comments/va5lfj/gparted_issues/ic2o29m/
Comment 1 Matt Turner gentoo-dev 2022-06-17 18:55:18 UTC
Thanks!

I believe this is fixed by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb73255629cc4999ff198fda276d593657609b8 (bug #827884).

You have to rebuild gparted after installing >=sys-auth/polkit-0.120_p20220221-r1. With that, I see the file installed by both versions of gparted in tree:

> /var/tmp/portage # find -name org.gnome.gparted.policy | grep image
> ./sys-block/gparted-1.4.0/image/usr/share/polkit-1/actions/org.gnome.gparted.policy
> ./sys-block/gparted-1.4.0-r1/image/usr/share/polkit-1/actions/org.gnome.gparted.policy

*** This bug has been marked as a duplicate of bug 827884 ***