Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 276619 Details for
Bug 360177
net-proxy/dansguardian: 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), 1.13 KB, created by
Paweł Hajdan, Jr. (RETIRED)
on 2011-06-11 08:47:22 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Paweł Hajdan, Jr. (RETIRED)
Created:
2011-06-11 08:47:22 UTC
Size:
1.13 KB
patch
obsolete
>--- /usr/portage/net-proxy/dansguardian/dansguardian-2.10.0.3.ebuild 2009-07-05 02:04:17.000000000 +0200 >+++ /usr/local/portage/net-proxy/dansguardian/dansguardian-2.10.0.3.ebuild 2011-05-22 12:20:46.000000000 +0200 >@@ -36,6 +36,11 @@ > die "Obsolete config files detected" > fi > fi >+ >+ if ! use clamav; then >+ enewgroup dansguardian >+ enewuser dansguardian -1 -1 /dev/null dansguardian >+ fi > } > > src_unpack() { >@@ -58,6 +63,10 @@ > myconf="${myconf} --enable-clamd > --with-proxyuser=clamav > --with-proxygroup=clamav" >+ else >+ myconf="${myconf} >+ --with-proxyuser=dansguardian >+ --with-proxygroup=dansguardian" > fi > if use kaspersky; then > myconf="${myconf} --enable-kavd" >@@ -99,9 +108,14 @@ > } > > pkg_postinst() { >- local runas="nobody:nobody" >+ local runas="dansguardian:dansguardian" > if use clamav ; then > runas="clamav:clamav" >+ else >+ einfo "dansguardian runs as a dedicated user now" >+ einfo "You may need to remove old ipc files or adjust their ownerhsip." >+ einfo "By default, those files are /tmp/.dguardianipc" >+ einfo "and /tmp/.dguardianurlipc" > fi > einfo "The dansguardian daemon will run by default as ${runas}" >
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 360177
: 276619