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

Bug 394329

Summary: app-admin/sudo: enable --with-selinux
Product: Gentoo Linux Reporter: Sven Vermeulen (RETIRED) <swift>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 394315    
Attachments: Simple ebuild patch to enable SELinux support

Description Sven Vermeulen (RETIRED) gentoo-dev 2011-12-11 12:47:05 UTC
The current app-admin/sudo packages do not use the USE="selinux" flag to enable selinux support. Enabling this allows SELinux users to define types and roles in the sudoers file and provide type/role information as a command-line option.

Enabling --with-selinux (through "$(use_with selinux")) is sufficient here (it automatically updates the man pages etc.)

Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2011-12-11 12:48:05 UTC
Created attachment 295457 [details, diff]
Simple ebuild patch to enable SELinux support

This is all there is to it to enable SELinux support in sudo
Comment 2 SpanKY gentoo-dev 2011-12-11 21:05:05 UTC
feel free to commit that
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2011-12-13 20:38:22 UTC
Done, thanks.