Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394329 - app-admin/sudo: enable --with-selinux
Summary: app-admin/sudo: enable --with-selinux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 394315
  Show dependency tree
 
Reported: 2011-12-11 12:47 UTC by Sven Vermeulen (RETIRED)
Modified: 2011-12-13 20:38 UTC (History)
1 user (show)

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


Attachments
Simple ebuild patch to enable SELinux support (sudo-ebuild.patch,346 bytes, patch)
2011-12-11 12:48 UTC, Sven Vermeulen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.