Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 457286 Details for
Bug 603408
<sci-mathematics/gimps-28.10-r1: root privilege escalation in init script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-sci-mathematics-gimps-Fix-potential-privilege-escala.patch
0001-sci-mathematics-gimps-Fix-potential-privilege-escala.patch (text/plain), 2.35 KB, created by
Paolo Pedroni
on 2016-12-23 13:31:55 UTC
(
hide
)
Description:
0001-sci-mathematics-gimps-Fix-potential-privilege-escala.patch
Filename:
MIME Type:
Creator:
Paolo Pedroni
Created:
2016-12-23 13:31:55 UTC
Size:
2.35 KB
patch
obsolete
>From 5adad18c89b9a45946f13050fd75db563c1741e2 Mon Sep 17 00:00:00 2001 >From: PPed72 <paolo.pedroni@iol.it> >Date: Fri, 23 Dec 2016 14:09:45 +0100 >Subject: [PATCH] sci-mathematics/gimps: Fix potential privilege escalation > through hardlinks in configuration directory. Gentoo-bug: > https://bugs.gentoo.org/show_bug.cgi?id=603408 > >--- > .../gimps/files/{gimps-26.6-r1-init.d => gimps-28.9-init.d} | 7 +------ > sci-mathematics/gimps/gimps-28.10.ebuild | 2 +- > sci-mathematics/gimps/gimps-28.9.ebuild | 2 +- > 3 files changed, 3 insertions(+), 8 deletions(-) > rename sci-mathematics/gimps/files/{gimps-26.6-r1-init.d => gimps-28.9-init.d} (82%) > >diff --git a/sci-mathematics/gimps/files/gimps-26.6-r1-init.d b/sci-mathematics/gimps/files/gimps-28.9-init.d >similarity index 82% >rename from sci-mathematics/gimps/files/gimps-26.6-r1-init.d >rename to sci-mathematics/gimps/files/gimps-28.9-init.d >index 73ef6a9..00eca82 100644 >--- a/sci-mathematics/gimps/files/gimps-26.6-r1-init.d >+++ b/sci-mathematics/gimps/files/gimps-28.9-init.d >@@ -7,12 +7,7 @@ depend() { > } > > checkconfig() { >- if [ ! -e "${GIMPS_DIR}" ]; then >- einfo "Creating ${GIMPS_DIR}" >- /bin/mkdir "${GIMPS_DIR}" >- fi >- >- /bin/chown -R ${USER}:${GROUP} ${GIMPS_DIR} >+ checkpath -d -o ${USER}:${GROUP} ${GIMPS_DIR} > > if [ ! -e "${GIMPS_DIR}/local.txt" ]; then > eerror "GIMPS has not been configured. Please configure it manually before" >diff --git a/sci-mathematics/gimps/gimps-28.10.ebuild b/sci-mathematics/gimps/gimps-28.10.ebuild >index d92f5fb..34a48f2 100644 >--- a/sci-mathematics/gimps/gimps-28.10.ebuild >+++ b/sci-mathematics/gimps/gimps-28.10.ebuild >@@ -40,7 +40,7 @@ src_install() { > > einstalldocs > >- newinitd "${FILESDIR}/${PN}-26.6-r1-init.d" gimps >+ newinitd "${FILESDIR}/${PN}-28.9-init.d" gimps > newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps > > systemd_dounit "${FILESDIR}/${PN}.service" >diff --git a/sci-mathematics/gimps/gimps-28.9.ebuild b/sci-mathematics/gimps/gimps-28.9.ebuild >index 6e0d02e..d477320 100644 >--- a/sci-mathematics/gimps/gimps-28.9.ebuild >+++ b/sci-mathematics/gimps/gimps-28.9.ebuild >@@ -40,7 +40,7 @@ src_install() { > > einstalldocs > >- newinitd "${FILESDIR}/${PN}-26.6-r1-init.d" gimps >+ newinitd "${FILESDIR}/${PN}-28.9-init.d" gimps > newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps > > systemd_dounit "${FILESDIR}/${PN}.service" >-- >2.10.2 >
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 603408
: 457286 |
457290
|
458730