Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
Re: [NEW] www/pgweb 0.17.0
To:
Igor Zornik <mocheryl@mocheryl.org>
Cc:
OpenBSD ports <ports@openbsd.org>
Date:
Thu, 5 Mar 2026 13:45:04 +0100

Download raw body.

Thread
Le Wed, Mar 04, 2026 at 10:49:38PM +0100, Igor Zornik a écrit :
> Hey, Landry. Thanks for looking into it.
> 
> > it doesnt make sense to run as www user. ideally it should run as its
> > own separate user.
> Indeed that is ideal, however acquiring new UIDs is a sensitive matter
> so I fallback to using 'www' for initial reviewing/testing purposes just
> in case.
> 
> I've updated the port to run the daemon as a separate user. This is now
> actually how I use it on my machine. Don't forget to amend the user's
> list. Diff at the bottom. Hopefully my e-mail client hasn't mangled it.
> 
> > README mentioning rc flags -> those should be the defaults in the rc
> > script itself (eg daemon_flags)
> > when running as a rc daemon, wouldnt it make snse to enable --sessions
> > ? thinking about multiple users connecting to pgweb, and wanting to
> > connect to distinct databases.
> 
> Sure. We can do it that way if that's how it's generally preferable. The
> new port version now has default flags plus the 'session' option set in
> RC. The readme is also updated to reflect this change.
> 
> Attached is the version with all the above suggestions applied. Feedback
> appreciated.
> 

thanks, imported it as-is, only change is 905 as 904 was already taken.