pgbouncer: Make sure we create home directory with tmpfiles.d . Followup of 7458263259f
authorDevrim Gunduz <devrim@gunduz.org>
Mon, 22 Sep 2025 14:54:03 +0000 (09:54 -0500)
committerDevrim Gunduz <devrim@gunduz.org>
Mon, 22 Sep 2025 14:54:03 +0000 (09:54 -0500)
rpm/redhat/main/common/pgbouncer/main/pgbouncer.spec

index 583eb85b67fe33039073729770b822705ea2767a..541dd28eafdcfb44f08cd213402a995d6cd57ca2 100644 (file)
@@ -85,6 +85,8 @@ sed -i.fedora \
 %{__mkdir} -p %{buildroot}%{_tmpfilesdir}
 cat > %{buildroot}%{_tmpfilesdir}/%{name}.conf <<EOF
 d %{_rundir}/%{name} 0700 pgbouncer pgbouncer -
+d /home/%{name} 0700 pgbouncer pgbouncer -
+
 EOF
 
 # Install sysusers.d config file to allow rpm to create users/groups automatically.