Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318565 - Please add a seperate acl flag to udev
Summary: Please add a seperate acl flag to udev
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-05 10:08 UTC by Thomas
Modified: 2011-06-30 20:05 UTC (History)
1 user (show)

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


Attachments
Patch against udev-149 to get rid of acl dependencies (udev-149.patch,2.56 KB, patch)
2010-05-05 14:52 UTC, Thomas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2010-05-05 10:08:14 UTC
The (indirect) prerequisites for the new gnome desktop is acl, which is unnecessary.  It is being pulled in by udev's "extras" flag.  Please add a seperate acl flag to udev to be able to switch off acl altogether.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge gnome 2.28 with sys-apps/acl masked

Actual Results:  
Unnecessary conflict

Expected Results:  
Installation of gnome without acl support
Comment 1 Olivier Galibert 2010-05-05 11:37:16 UTC
udev upstream does not have a separate ACL enable/disable at the configure level.
Comment 2 Thomas 2010-05-05 13:05:34 UTC
(In reply to comment #1)
> udev upstream does not have a separate ACL enable/disable at the configure
> level.

configure usually has some magic to auto-detect the presence of virtually any given library.  Although relying on this would mean, that you couldn't switch it off by -acl if it happens to be around anyway.
Comment 3 Olivier Galibert 2010-05-05 13:13:34 UTC
        AC_CHECK_LIB([acl], [acl_init], [:], AC_MSG_ERROR([libacl not found]))
        AC_CHECK_HEADER([acl/libacl.h], [:], AC_MSG_ERROR([libacl header not found]))

udev is not in the "usually" category.  If you enable extras, the configure wants everything to be there.

Comment 4 Thomas 2010-05-05 14:51:38 UTC
You are right, they really mean it. ;-)  The modem component of udev also requires acl, so it has to be switched off, too.  The patch below against udev-149 allows for the compilation of extras without acl being used.
Comment 5 Thomas 2010-05-05 14:52:42 UTC
Created attachment 230463 [details, diff]
Patch against udev-149 to get rid of acl dependencies
Comment 6 Matthias Schwarzott gentoo-dev 2011-06-30 20:05:29 UTC
udev-171 has extras split, so there now is a use-flag acl.