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

Bug 390903

Summary: x11-misc/i3status: update fcaps() error message for recent kernel versions
Product: Gentoo Linux Reporter: Alexandre Rostovtsev (RETIRED) <tetromino>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch with updated error message

Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-18 09:12:00 UTC
Created attachment 292971 [details, diff]
patch with updated error message

If setting file capabilities fails, the fcaps() function included in the i3status ebuild prompts the user to enable SECURITY_FILE_CAPABILITIES in the kernel config. However, the SECURITY_FILE_CAPABILITIES config option was removed in 2.6.33_rc1 (it's now hardcoded to be enabled), and so for users running a more recent kernel versions, the error message is likely to result in confusion.

I have updated the fcaps() error message in gnome-base/gnome-keyring, and believe that the same modifications also ought to be made in the other copies of fcaps() in portage. A proposed patch for the i3status ebuild is attached.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-18 09:32:35 UTC
>  18 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org> i3status-2.3.ebuild:
>  Update fcaps() error message for recent kernels (bug #390903). Acked by
>  xarthisius.