mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
3dbd8e0a71b7aabceedf523c71fe2461cb9edc33
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
…
Description
No description provided
9.8 GiB
Languages
Shell
98%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%