Michael Orlitzky 3dbd8e0a71 app-admin/logsurfer+: new revision to prevent PID file manipulation.
Previous versions of the logsurfer init script used start-stop-daemon
to run logsurfer as the "logsurfer" user, but let the daemon create
its own PID file. As a result, the "logsurfer" user needed to be able
to write to its PID file, and therein lies a minor security
vulnerability: if the daemon is compromised, the "logsurfer" user can
write an arbitrary PID into the file, later to be SIGKILLed by root
when he attempts to stop the service.

Since logsurfer cannot drop privileges on its own, the new init script
fixes this by running it in the foreground, and letting OpenRC manage
the PID file.

Gentoo-Bug: 628560

Package-Manager: Portage-2.3.6, Repoman-2.3.1
2017-08-21 20:23:27 -04:00
2017-08-17 15:53:03 +02:00
2017-08-09 17:12:14 +02:00
2017-08-21 16:28:03 +02:00
2017-08-21 18:17:08 +02:00
2017-08-17 13:46:21 +02:00
2017-08-19 19:15:26 +02:00
2017-08-12 12:04:18 +02:00
2017-08-05 18:22:35 +10:00
2017-08-21 22:32:30 +01:00
2017-08-20 11:22:59 +02:00
2017-08-19 10:41:36 +02:00
2017-08-19 17:49:29 +02:00
2017-08-10 14:45:58 +02:00
2017-08-19 10:41:37 +02:00
2017-08-19 18:07:03 +08:00
2017-08-21 11:34:34 +02:00
2017-08-20 10:59:20 +02:00
2017-08-19 09:43:46 +02:00
2017-08-15 13:06:28 +02:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%