Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 307913 Details for
Bug 410687
emerge fails with ACCESS DENIED on /sys/fs/selinux/context
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to misc-functions.sh
misc-functions.patch (text/plain), 940 bytes, created by
Sven Vermeulen (RETIRED)
on 2012-04-05 16:07:47 UTC
(
hide
)
Description:
Patch to misc-functions.sh
Filename:
MIME Type:
Creator:
Sven Vermeulen (RETIRED)
Created:
2012-04-05 16:07:47 UTC
Size:
940 bytes
patch
obsolete
>--- misc-functions.sh.orig 2012-04-05 17:59:40.996004479 +0200 >+++ misc-functions.sh 2012-04-05 18:03:43.095004994 +0200 >@@ -1076,13 +1076,15 @@ > # SELinux file labeling (needs to always be last in dyn_preinst) > # only attempt to label if setfiles is executable > # and 'context' is available on selinuxfs. >- if [ -f /selinux/context -a -x /usr/sbin/setfiles -a -x /usr/sbin/selinuxconfig ]; then >+ if [ -f /selinux/context -a -x /usr/sbin/setfiles -a -x /usr/sbin/selinuxconfig ] || \ >+ [ -f /sys/fs/selinux/context -a -x /usr/sbin/setfiles -a -x /usr/sbin/selinuxconfig ]; then > vecho ">>> Setting SELinux security labels" > ( > eval "$(/usr/sbin/selinuxconfig)" || \ > die "Failed to determine SELinux policy paths."; > > addwrite /selinux/context; >+ addwrite /sys/fs/selinux/context; > > /usr/sbin/setfiles "${file_contexts_path}" -r "${D}" "${D}" > ) || die "Failed to set SELinux security labels."
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 410687
: 307913