Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 490192 Details for
Bug 628558
app-admin/logstash-bin: root privilege escalation via init script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
logstash-bin-remove-chown.diff
logstash-bin-remove-chown.diff (text/plain), 1.29 KB, created by
Ferenc Erki
on 2017-08-23 05:55:01 UTC
(
hide
)
Description:
logstash-bin-remove-chown.diff
Filename:
MIME Type:
Creator:
Ferenc Erki
Created:
2017-08-23 05:55:01 UTC
Size:
1.29 KB
patch
obsolete
>diff --git a/app-admin/logstash-bin/files/logstash.initd b/app-admin/logstash-bin/files/logstash.initd >index 0a0f7ad..21f279a 100644 >--- a/app-admin/logstash-bin/files/logstash.initd >+++ b/app-admin/logstash-bin/files/logstash.initd >@@ -57,7 +57,6 @@ start_pre() { > local d > for d in "${LS_INSTALL_DIR}/data" "$(dirname "${pidfile}")" "${LS_LOG_DIR}"; do > checkpath -d -o "${LS_USER}":"${LS_GROUP}" -m750 "$d" >- chown -R "${LS_USER}":"${LS_GROUP}" "$d" > done > > } >diff --git a/app-admin/logstash-bin/logstash-bin-5.4.3-r1.ebuild b/app-admin/logstash-bin/logstash-bin-5.4.3-r1.ebuild >index f8c948c..1282312 100644 >--- a/app-admin/logstash-bin/logstash-bin-5.4.3-r1.ebuild >+++ b/app-admin/logstash-bin/logstash-bin-5.4.3-r1.ebuild >@@ -54,7 +54,8 @@ src_install() { > pkg_postinst() { > ewarn "The default user changed from root to ${MY_PN}. If you wish to run as root (for" > ewarn "example to read local logs), be sure to change LS_USER and LS_GROUP in" >- ewarn "${EROOT%/}/etc/conf.d/${MY_PN}" >+ ewarn "${EROOT%/}/etc/conf.d/${MY_PN}. Please ensure proper permissions for both input" >+ ewarn "and output files, including its own logs." > ewarn > ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)" > ewarn "Install the plugins via eselect module that will automatically re-install"
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 628558
:
490192
|
490210