Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561672 - sys-auth/polkit : disable netgroup to support uclibc
Summary: sys-auth/polkit : disable netgroup to support uclibc
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: musl-porting uclibc-porting
  Show dependency tree
 
Reported: 2015-09-28 01:23 UTC by René Rhéaume
Modified: 2018-11-29 22:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
polkit-0.113-optional-netgroup-r2.patch (polkit-0.113-optional-netgroup-r2.patch,4.00 KB, patch)
2015-09-28 01:27 UTC, René Rhéaume
Details | Diff
polkit-0.113.ebuild.patch (polkit-0.113.ebuild.patch,998 bytes, patch)
2015-09-28 01:27 UTC, René Rhéaume
Details | Diff
polkit-0.113.ebuild.patch (polkit-0.113.ebuild.patch,710 bytes, patch)
2015-09-28 01:33 UTC, René Rhéaume
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume 2015-09-28 01:23:40 UTC
netgroup is a SunOS extension and is not supported by uclibc (to keep it small, it's also for microcontrolers). Whn applied, this patch checks for uclibc and replaces netgroup call by stubs returning that access cannot be granted by this method. 

Reproducible: Always

Steps to Reproduce:
1. Get Lilblue
2. emerge -1 polkit
3.
Actual Results:  
make failed

Expected Results:  
polkit installed on system
Comment 1 René Rhéaume 2015-09-28 01:27:24 UTC
Created attachment 413110 [details, diff]
polkit-0.113-optional-netgroup-r2.patch
Comment 2 René Rhéaume 2015-09-28 01:27:53 UTC
Created attachment 413112 [details, diff]
polkit-0.113.ebuild.patch
Comment 3 René Rhéaume 2015-09-28 01:33:00 UTC
Created attachment 413114 [details, diff]
polkit-0.113.ebuild.patch
Comment 4 Gilles Dartiguelongue gentoo-dev 2015-10-07 10:41:36 UTC
The patch looks fine. Did you submit it to upstream ?
Comment 5 René Rhéaume 2015-10-08 07:56:52 UTC
(In reply to Gilles Dartiguelongue from comment #4)
> The patch looks fine. Did you submit it to upstream ?

Submitted the patch as an attachment to https://bugs.freedesktop.org/show_bug.cgi?id=50145 . Natanael Copa (who used to be on gentoo-embedded list before starting his Alpine distribution) hit the problem in early 2013 and sent a patch, but the bug is assigned to someone not reading emails from Bugzilla. What a shame.
Comment 6 Gilles Dartiguelongue gentoo-dev 2017-09-30 08:53:34 UTC
Looks like this would also be needed for musl support. http://lists.openembedded.org/pipermail/openembedded-devel/2016-January/105613.html