[systemd-devel] [RFC 1/6] proxy-discoveryd: Basic core added

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sat Apr 11 12:02:51 PDT 2015


On Fri, Apr 10, 2015 at 03:17:38PM +0300, Tomasz Bursztyka wrote:
> +# This file is part of systemd.
> +#
> +# systemd is free software; you can redistribute it and/or modify it
> +# under the terms of the GNU Lesser General Public License as published by
> +# the Free Software Foundation; either version 2.1 of the License, or
> +# (at your option) any later version.
> +
> +[Unit]
> +Description=Proxy service
> +DefaultDependencies=no
> +Requires=dbus.socket
> +After=dbus.socket
> +Before=remote-fs.target
> +
> +[Service]
> +Restart=on-failure
> +ExecStart=@rootlibexecdir@/systemd-proxy-discoveryd
> +StandardOutput=null
What privileges does this daemon require? I'd guess it can run as normal
user at least... Since this is supposed to be executing untrusted javascript
code, let's lock it down heavily from the start.

Zbyszek


More information about the systemd-devel mailing list