FreeBSD Bugzilla – Attachment 218556 Details for
Bug 250159
net/py-wsdd: Create dedicated sandbox user instead of re-using daemon
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Create dedicated sandbox user for wsdd
net__py-wsdd-add-user-1.diff (text/plain), 1.63 KB, created by
Dimitry Andric
on 2020-10-06 11:01:19 UTC
(
hide
)
Description:
Create dedicated sandbox user for wsdd
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2020-10-06 11:01:19 UTC
Size:
1.63 KB
patch
obsolete
>Index: GIDs >=================================================================== >--- GIDs (revision 551571) >+++ GIDs (working copy) >@@ -310,7 +310,7 @@ httptunnel:*:361: > # free: 367 > # free: 368 > # free: 369 >-# free: 370 >+_wsdd:*:370: > # free: 371 > # free: 372 > # free: 373 >Index: UIDs >=================================================================== >--- UIDs (revision 551571) >+++ UIDs (working copy) >@@ -315,7 +315,7 @@ httptunnel:*:361:361::0:0:httptunnel Daemon:/nonex > # free: 367 > # free: 368 > # free: 369 >-# free: 370 >+_wsdd:*:370:370::0:0:Web Service Discovery Daemon:/nonexistent:/usr/sbin/nologin > # free: 371 > # free: 372 > # free: 373 >Index: net/py-wsdd/Makefile >=================================================================== >--- net/py-wsdd/Makefile (revision 551571) >+++ net/py-wsdd/Makefile (working copy) >@@ -3,7 +3,7 @@ > PORTNAME= wsdd > DISTVERSIONPREFIX= v > DISTVERSION= 0.6.1 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= net python > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > >@@ -20,6 +20,9 @@ SHEBANG_FILES= src/${PORTNAME}.py > NO_ARCH= yes > NO_BUILD= yes > >+USERS= _wsdd >+GROUPS= _wsdd >+ > PLIST_FILES= bin/${PORTNAME} \ > etc/rc.d/${PORTNAME} \ > man/man1/${PORTNAME}.1.gz >Index: net/py-wsdd/files/patch-etc_rc.d_wsdd >=================================================================== >--- net/py-wsdd/files/patch-etc_rc.d_wsdd (revision 551571) >+++ net/py-wsdd/files/patch-etc_rc.d_wsdd (working copy) >@@ -68,7 +68,7 @@ > +wsdd_start() > +{ > + echo -n "Starting ${name}." >-+ /usr/sbin/daemon -u daemon -S -p ${pidfile} ${command} ${wsdd_opts} >++ /usr/sbin/daemon -u _wsdd -S -p ${pidfile} ${command} ${wsdd_opts} > +} > + > run_rc_command "$1"
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 250159
: 218556