Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 268361 Details for
Bug 360773
net-dns/dnsmasq: run as dedicated user instead of nobody
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch (text/plain), 767 bytes, created by
Paweł Hajdan, Jr. (RETIRED)
on 2011-04-03 16:36:08 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Paweł Hajdan, Jr. (RETIRED)
Created:
2011-04-03 16:36:08 UTC
Size:
767 bytes
patch
obsolete
>diff -ru dnsmasq.orig/dnsmasq-2.52.ebuild dnsmasq/dnsmasq-2.52.ebuild >--- dnsmasq.orig/dnsmasq-2.52.ebuild 2011-04-03 18:26:14.000000000 +0200 >+++ dnsmasq/dnsmasq-2.52.ebuild 2011-04-03 18:30:33.000000000 +0200 >@@ -70,3 +70,8 @@ > doins dbus/dnsmasq.conf > fi > } >+ >+pkg_preinst() { >+ enewgroup dnsmasq >+ enewuser dnsmasq -1 -1 /dev/null dnsmasq >+} >diff -ru dnsmasq.orig/files/dnsmasq.confd dnsmasq/files/dnsmasq.confd >--- dnsmasq.orig/files/dnsmasq.confd 2011-04-03 18:26:14.000000000 +0200 >+++ dnsmasq/files/dnsmasq.confd 2011-04-03 18:31:59.000000000 +0200 >@@ -1,4 +1,4 @@ > # /etc/conf.d/dnsmasq: config file for /etc/init.d/dnsmasq > > # See the dnsmasq(8) man page for possible options to put here. >-DNSMASQ_OPTS="" >+DNSMASQ_OPTS="--user=dnsmasq --group=dnsmasq"
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 360773
: 268361