Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 509708
Collapse All | Expand All

(-)cachefilesd.orig (+2 lines)
Lines 11-16 Link Here
11
11
12
checkxattr() {
12
checkxattr() {
13
	local testpath testfile ret
13
	local testpath testfile ret
14
	# SELinux requires xattrs, so we can assume things work already
15
	[ -f /sys/fs/selinux/status ] && return 0;
14
	testpath=$(awk '/^[[:space:]]*dir/ {print $2}' /etc/cachefilesd.conf)
16
	testpath=$(awk '/^[[:space:]]*dir/ {print $2}' /etc/cachefilesd.conf)
15
	testfile="${testpath}/.tmp-xattr-test.cachefilesd"
17
	testfile="${testpath}/.tmp-xattr-test.cachefilesd"
16
	touch "${testfile}"
18
	touch "${testfile}"

Return to bug 509708