[pkg-go] Bug#1107777: gitaly-installer: temporary directories should also be created in postinst

Pirate Praveen praveen at debian.org
Sat Jun 14 10:19:05 BST 2025


On Sat, 14 Jun 2025 14:38:06 +0530 Pirate Praveen <praveen at debian.org> 
wrote: > I'm not sure if this will work as expected as it needs to be 
package
> name.tmpfile I think (so gitaly-installer.tmpfile)
I can see the package has correctly installed tmpfiles configuration

/usr/lib/tmpfiles.d/gitaly-installer.conf

But this hard codes username, so will break if users select a username 
during installation (usually people prefer git as username instead of 
gitlab).

So we need to read the username value from debconf database and use 
that. See gitlab package for how to do it. Read the debconf manual too.

Please test it with a different username selected during gitlab-common 
installation and see if the tmpfiles configuration reflects the selected 
username.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8F53E0193B294B75.asc
Type: application/pgp-keys
Size: 4938 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20250614/402d5e09/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20250614/402d5e09/attachment-0001.sig>


More information about the Pkg-go-maintainers mailing list