Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721058 - sys-libs/libcap: check for kernel option $filesystem_FS_SECURITY
Summary: sys-libs/libcap: check for kernel option $filesystem_FS_SECURITY
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-05 08:36 UTC by David Heidelberg (okias)
Modified: 2020-08-21 22:01 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Heidelberg (okias) 2020-05-05 08:36:49 UTC
Since it won't work without EXT4_FS_SECURITY, F2FS_FS_SECURITY or $any_fs_FS_SECURITY option,

I propose to check if FS is compiled and if is, check for _FS_SECURITY config option.

Does it make sense? 

Reproducible: Always
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-21 14:45:21 UTC
What do you mean with "won't work without"?
Comment 2 David Heidelberg (okias) 2020-08-21 19:58:06 UTC
without kernel compiled with this option it won't have effect. No capabilities are applied.

This cause later issues, since applications suppose it did worked (regular distros has always this option compiled in).
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-21 20:12:21 UTC
There are some features which maybe need it but not in general. Your comment sounds like we always need it but think about XFS-only systems for example.

So what do you want us to do here? A hard failure or just a warning when EXT4_FS_SECURITY is not set in kernel doesn't make sense if you don't use EXT4 at all...

I tend to close this as INVALID or at least CANTFIX at the moment.
Comment 4 David Heidelberg (okias) 2020-08-21 22:01:05 UTC
for me it doesn't matter anymore, I did recompiled kernel long time ago.

I just wanted to warn others, that their system may misbehave.