Hello Stuart,
wouldn't it be better to use something like:
daemon_flags="-U _tinc --chroot ${daemon_flags}"
in /etc/rc.d/tincd?
Regards Uwe
Am 02.11.2015 23:35:42, schrieb Stuart Henderson:
> On 2015/11/02 22:08, Stuart Henderson wrote:
> > I've got a bit more on top of this, will send it in a bit..
> >
> - remove pointless lines from Makefile
> - install sample config
> - patch out mentions of '/dev/tun* link0' for OpenBSD, this is now /dev/tap*
> - add a uid, use it and chroot in tincd.rc
> - no need to override the standard functions in tincd.rc
>
> It could maybe also do with a little README showing people which files to edit
> and how to set tincd_flags in rc.conf.local to override the default config.
>
> So far I've only tested starting one side, not actually passing any traffic.
--
Sent with love from the Tine 2.0 email client ...
Please visit http://www.tine20.com