Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 477634 Details for
Bug 544164
net-fs/nfs-utils: rpc.statd should be run as non-root
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nfs-utils-statd-user-ebuild.diff
nfs-utils-statd-user-ebuild.diff (text/plain), 771 bytes, created by
Alan Swanson
on 2017-06-22 18:20:06 UTC
(
hide
)
Description:
nfs-utils-statd-user-ebuild.diff
Filename:
MIME Type:
Creator:
Alan Swanson
Created:
2017-06-22 18:20:06 UTC
Size:
771 bytes
patch
obsolete
>--- a/net-fs/nfs-utils/nfs-utils-2.1.1-r1.ebuild 2017-05-16 08:48:42.000000000 +0100 >+++ b/net-fs/nfs-utils/nfs-utils-2.1.1-r1.ebuild 2017-06-22 18:57:16.505617328 +0100 >@@ -54,6 +54,11 @@ > DEPEND="${DEPEND_COMMON} > virtual/pkgconfig" > >+pkg_setup() { >+ enewgroup statd >+ enewuser statd -1 -1 /var/lib/nfs statd >+} >+ > src_prepare() { > epatch "${FILESDIR}"/${PN}-1.1.4-mtab-sym.patch > epatch "${FILESDIR}"/${PN}-1.2.8-cross-build.patch >@@ -160,6 +165,9 @@ > cp -pPR "${f}" "${EROOT}"/var/lib/nfs/ > done > >+ chown statd "${EROOT}"/var/lib/nfs{,/state,/sm{,.bak}} >+ chmod 700 "${EROOT}"/var/lib/nfs/sm{,.bak} >+ > if systemd_is_booted; then > if [[ ${REPLACING_VERSIONS} < 1.3.0 ]]; then > ewarn "We have switched to upstream systemd unit files. Since"
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 544164
: 477634