Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 292971 Details for
Bug 390903
x11-misc/i3status: update fcaps() error message for recent kernel versions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch with updated error message
i3status-2.3.ebuild.patch (text/plain), 1.26 KB, created by
Alexandre Rostovtsev (RETIRED)
on 2011-11-18 09:12:00 UTC
(
hide
)
Description:
patch with updated error message
Filename:
MIME Type:
Creator:
Alexandre Rostovtsev (RETIRED)
Created:
2011-11-18 09:12:00 UTC
Size:
1.26 KB
patch
obsolete
>--- a/i3status-2.3.ebuild >+++ b/i3status-2.3.ebuild >@@ -4,7 +4,7 @@ > > EAPI=4 > >-inherit toolchain-funcs >+inherit toolchain-funcs versionator > > DESCRIPTION="generates a status bar for dzen2, xmobar or similar" > HOMEPAGE="http://i3wm.org/i3status/" >@@ -28,6 +28,7 @@ > # @DESCRIPTION: > # fcaps sets the specified capabilities in the effective and permitted set of > # the given file. In case of failure fcaps sets the given file-mode. >+# Requires versionator.eclass > fcaps() { > local uid_gid=$1 > local perms=$2 >@@ -48,10 +49,13 @@ > res=$? > > if [ $res -ne 0 ]; then >- ewarn "Failed to set capabilities. Probable reason is missed kernel support." >- ewarn "Kernel must have SECURITY_FILE_CAPABILITIES, and <FS>_FS_SECURITY" >- ewarn "enabled (e.g. EXT3_FS_SECURITY) where <FS> is the filesystem to store" >- ewarn "${path}" >+ ewarn "Failed to set capabilities. Probable reason is missing kernel support." >+ ewarn "Your kernel must have <FS>_FS_SECURITY enabled (e.g. EXT4_FS_SECURITY)" >+ ewarn "where <FS> is the filesystem to store ${path}" >+ if ! version_is_at_least 2.6.33 "$(uname -r)"; then >+ ewarn "For kernel 2.6.32 or older, you will also need to enable" >+ ewarn "SECURITY_FILE_CAPABILITIES." >+ fi > ewarn > ewarn "Falling back to suid now..." > chmod u+s ${path}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 390903
: 292971