"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: gotwebd: ensure child procs inherit -f conffile
To:
Mark Jamsek <mark@jamsek.com>
Cc:
gameoftrees@openbsd.org
Date:
Tue, 19 Nov 2024 14:03:47 +0100

Download raw body.

Thread
On Tue, Nov 19, 2024 at 11:57:37PM +1100, Mark Jamsek wrote:
> The below diff fixes a bug in gotwebd where a non-default config file
> is effectively ignored as child processes always use either the default
> config filepath (i.e., /etc/gotwebd.conf) or default options if no file
> exists at the default path. So if the `chroot` and/or `user` options,
> for example, set non-default values, they're silently ignored; the
> default chroot (/var/www) and user (www) are used instead.
> 
> The diff restores the previous proc.c behaviour of copying the
> -f optarg to the child process argv.

ok