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

Bug 561672

Summary: sys-auth/polkit : disable netgroup to support uclibc
Product: Gentoo Linux Reporter: René Rhéaume <rene.rheaume>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: CONFIRMED ---    
Severity: normal CC: cfuga, herrtimson
Priority: Normal Keywords: Inclusion
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702, 570544    
Attachments: polkit-0.113-optional-netgroup-r2.patch

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
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]
Comment 2 René Rhéaume 2015-09-28 01:27:53 UTC
Created attachment 413112 [details, diff]
Comment 3 René Rhéaume 2015-09-28 01:33:00 UTC
Created attachment 413114 [details, diff]
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 . 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.