summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-06-27 01:18:57 +0000
committerMike Frysinger <vapier@gentoo.org>2013-06-27 01:18:57 +0000
commit1c8c75c4fc3c4adaab6a87fb4dd013f56c328c1b (patch)
treea230a14918650ea35a3505b4267ee2a92907b362 /eclass/fcaps.eclass
parentDrop lxml test dep and enable pypy, thanks Arfrever. (diff)
downloadgentoo-2-1c8c75c4fc3c4adaab6a87fb4dd013f56c328c1b.tar.gz
gentoo-2-1c8c75c4fc3c4adaab6a87fb4dd013f56c328c1b.tar.bz2
gentoo-2-1c8c75c4fc3c4adaab6a87fb4dd013f56c328c1b.zip
fcaps: also mention user_xattr mount option #473246 by BT
Diffstat (limited to 'eclass/fcaps.eclass')
-rw-r--r--eclass/fcaps.eclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass
index 00a4ef5ad890..76f3c35488fd 100644
--- a/eclass/fcaps.eclass
+++ b/eclass/fcaps.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/fcaps.eclass,v 1.7 2013/06/02 15:21:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/fcaps.eclass,v 1.8 2013/06/27 01:18:57 vapier Exp $
# @ECLASS: fcaps.eclass
# @MAINTAINER:
@@ -162,9 +162,10 @@ fcaps() {
;;
*"Operation not supported"*)
local fstype=$(stat -f -c %T "${file}")
- ewarn "Could not set caps on '${file}' due to missing filesystem support."
- ewarn "Make sure you enable XATTR support for '${fstype}' in your kernel."
- ewarn "You might also have to enable the relevant FS_SECURITY option."
+ ewarn "Could not set caps on '${file}' due to missing filesystem support:"
+ ewarn "* enable XATTR support for '${fstype}' in your kernel (if configurable)"
+ ewarn "* mount the fs with the user_xattr option (if not the default)"
+ ewarn "* enable the relevant FS_SECURITY option (if configurable)"
break
;;
*)