🚀 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 Christoph Berg Fri, 13 Nov 2026 11:40
Bug#1153884: postgresql-common: tmpfiles.d runs before sysusers.d on fresh install, leaving /var/log/postgresql owned by root
#4360
Author: Christoph Berg
Date: Fri, 13 Nov 2026 11:40
15 lines
2274 bytes
Control: reassign -1 debhelper
Control: severity -1 important
Control: affects -1 postgresql-common

Re: Ben Prew
> The cause is the order of the autogenerated snippets in postinst: the
> dh_installtmpfiles snippet runs "systemd-tmpfiles --create
> postgresql-common.conf" before the dh_installsysusers snippet creates
> the postgres user. systemd-tmpfiles cannot resolve the user, and the
> "|| true" hides the failure:

Ouch, thanks for reporting that. I'm forwarding this to debhelper, but
will also add a workaround to postgresql-common.

Christoph
Bug#1153884: postgresql-common: tmpfiles.d runs before sysusers.d on fresh install, leaving /var/log/postgresql owned by root
#4362
Author: Christoph Berg
Date: Fri, 13 Nov 2026 12:00
8 lines
2306 bytes
Similar bug about ordering tmpfiles and sysusers: #1070473.
Thanks to jbicha for the pointer!

IMHO sysusers needs to run first to support the normal "create files
with that user" case. If a package needs something else, they could
still provide a custom postinst to override.

Christoph
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