🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Andrea Pappacoda Mon, 16 Nov 2026 16:10
Bug#994945: webhook should not run as root by default
#4743
Author: Andrea Pappacoda
Date: Mon, 16 Nov 2026 16:10
26 lines
2756 bytes
Hi Antoine,

On Thu, 23 Sep 2021 12:05:43 -0400 Antoine Beaupre <anarcat@debian.org> wrote:
> I was surprised to find out that this package starts a user-facing 
> daemon as root, by default (when the config file is created, that is).
> 
> That seems like poor security, and it seems to me the package should 
> create a user on install.

I was similarly surprised to see this as well. At least, the systemd 
service unit is disabled by default (as no configuration file is shipped 
in the package).

I have now started using this software in my local hacklab, and would 
like to take a bit more care of it (unless we stop using it in the next 
few weeks, that is).

I was thinking that maybe the package could ship with a socket unit, so 
that the program doesn't need to bind sockets itself and needs no 
special privileges. Then, settings like DynamicUser= could easily be 
enabled.

Do you think this makes sense?

Bye!
Bug#994945: webhook should not run as root by default
#4744
Author: Antoine Beaupré
Date: Mon, 16 Nov 2026 16:10
30 lines
2853 bytes
On 2026-11-16 16:55:17, Andrea Pappacoda wrote:
> Hi Antoine,
>
> On Thu, 23 Sep 2021 12:05:43 -0400 Antoine Beaupre <anarcat@debian.org> wrote:
>> I was surprised to find out that this package starts a user-facing 
>> daemon as root, by default (when the config file is created, that is).
>> 
>> That seems like poor security, and it seems to me the package should 
>> create a user on install.
>
> I was similarly surprised to see this as well. At least, the systemd 
> service unit is disabled by default (as no configuration file is shipped 
> in the package).
>
> I have now started using this software in my local hacklab, and would 
> like to take a bit more care of it (unless we stop using it in the next 
> few weeks, that is).
>
> I was thinking that maybe the package could ship with a socket unit, so 
> that the program doesn't need to bind sockets itself and needs no 
> special privileges. Then, settings like DynamicUser= could easily be 
> enabled.
>
> Do you think this makes sense?

Yes.

-- 
Don't just do something, sit there.
                        - Sylvia Boorstein
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads