Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be unavailable on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 517672 - Changes for lowering capabilities project
Summary: Changes for lowering capabilities project
Alias: None
Product: Fedora
Classification: Fedora
Component: kerneloops
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2009-08-15 21:35 UTC by Steve Grubb
Modified: 2011-12-13 22:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-10-01 17:17:00 UTC
Type: ---

Attachments (Terms of Use)
Patch to drop capabilities (1.25 KB, patch)
2009-08-15 21:35 UTC, Steve Grubb
no flags Details | Diff

Description Steve Grubb 2009-08-15 21:35:31 UTC
Created attachment 357551 [details]
Patch to drop capabilities

Description of problem:
As part of the lowering capabilities project, we should drop all unnecessary
capabilities in all daemons.

Comment 1 Steve Grubb 2009-09-29 12:51:29 UTC
Any progress on this? Thanks.

Comment 2 Chuck Ebbert 2009-10-01 03:55:48 UTC
Building with that patch applied, I get:

type=AVC msg=audit(1254369329.201:17): avc:  denied  { setpcap } for  pid=1784 comm="kerneloops" capability=8 scontext=system_u:system_r:kerneloops_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kerneloops_t:s0-s0:c0.c1023 tclass=capability

type=SYSCALL msg=audit(1254369329.201:17): arch=c000003e syscall=157 success=no exit=-1 a0=18 a1=0 a2=1 a3=0 items=0 ppid=1783 pid=1784 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="kerneloops" exe="/usr/sbin/kerneloops" subj=system_u:system_r:kerneloops_t:s0-s0:c0.c1023 key=(null)

Comment 3 Steve Grubb 2009-10-01 13:50:23 UTC
This is expected since Dan hasn't written policy for anything not in rawhide. Assuming you are in permissive mode, does everything work as its supposed to? Please note that I need this applied before the beta freeze.

Comment 4 Chuck Ebbert 2009-10-01 17:17:00 UTC
Kerneloops has been obsoleted by abrt

Note You need to log in before you can comment on or make changes to this bug.