Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 23487 Details for
Bug 37327
foldingathome 3.24 should not run as root
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for foldingathome 3.24
foldingathome-noroot.patch (text/plain), 1.04 KB, created by
Andreas Schwarz
on 2004-01-09 09:11:50 UTC
(
hide
)
Description:
patch for foldingathome 3.24
Filename:
MIME Type:
Creator:
Andreas Schwarz
Created:
2004-01-09 09:11:50 UTC
Size:
1.04 KB
patch
obsolete
>--- foldingathome-3.24.ebuild.orig 2004-01-09 17:39:25.000000000 +0100 >+++ foldingathome-3.24.ebuild 2004-01-09 18:07:06.000000000 +0100 >@@ -15,7 +15,8 @@ > LICENSE="as-is" > KEYWORDS="x86" > >-DEPEND=">=sys-apps/baselayout-1.8.0" >+DEPEND=">=sys-apps/baselayout-1.8.0 >+ app-admin/sudo" > S="${WORKDIR}/${P}" > > src_unpack() { >@@ -33,12 +34,15 @@ > } > > pkg_postinst() { >+ useradd -d /opt/foldingathome -g nogroup foldingathome >+ chown -R foldingathome:nogroup /opt/foldingathome > einfo "To run Folding@home in the background at boot:" > einfo " rc-update add foldingathome default" > einfo "" > } > > pkg_postrm() { >+ userdel foldingathome > einfo "Folding@home data files were not removed." > einfo " Remove them manually from ${I}" > einfo "" > >--- files/folding-init.d.orig 2004-01-09 17:41:09.000000000 +0100 >+++ files/folding-init.d 2004-01-09 17:47:05.000000000 +0100 >@@ -7,7 +7,7 @@ > > ebegin "Starting Folding@home" > cd /opt/foldingathome >- nice -n 19 ./foldingathome >&/dev/null& >+ nice -n 19 sudo -u foldingathome ./foldingathome >&/dev/null& > eend $? > } >
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 37327
: 23487