Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177359 Details for
Bug 251465
enable app-misc/uptimed to run as an unpriviledged user
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
uptimed.diff
uptimed.diff (text/plain), 673 bytes, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2009-01-04 17:06:48 UTC
(
hide
)
Description:
uptimed.diff
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2009-01-04 17:06:48 UTC
Size:
673 bytes
patch
obsolete
>--- /usr/portage/app-misc/uptimed/files/uptimed >+++ /usr/local/portage/app-misc/uptimed/files/uptimed >@@ -5,15 +5,18 @@ > > # Copyright 2002 Sean Russell > >+PIDFILE="/var/run/uptimed/uptimed.pid" >+ > start() { > ebegin "Starting uptimed" >- uptimed -b >- start-stop-daemon --quiet --start --pidfile /var/run/uptimed --exec /usr/sbin/uptimed >+ /usr/sbin/uptimed -b >+ start-stop-daemon --quiet --start --user uptimed --chuid uptimed \ >+ --exec /usr/sbin/uptimed -- -p ${PIDFILE} > eend $? > } > > stop() { > ebegin "Stopping uptimed" >- start-stop-daemon --quiet --stop --pidfile /var/run/uptimed >+ start-stop-daemon --quiet --stop --user uptimed --pidfile ${PIDFILE} > 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 251465
:
175732
|
177359
|
177361
|
177367
|
177435