Re: Games Team policy on dh_installtmpfiles
Alexandre Detiste <[email protected]> Wed, 3 Jun 2026 22:00:16 +0200
| Newsgroups | gmane.linux.debian.devel.games |
|---|---|
| Message-ID | <CADsTwjKBtX_tYviNqiN39oypJM1skEqwJ2syzZJTZZqPzGFBqA@mail.gmail.com> |
PS: as an addendum it should be explained somewhere that dpkg-statoverride is useless against tmpfiles and the proper way to override would be /etc/tmpfiles.d/<game>.conf if there's even a need. All existing calls to dpkg-statoverride should be reviewed. Greetings Le dim. 10 mai 2026 =C3=A0 20:21, Alexandre Detiste <[email protected]> a =C3=A9crit : > > Hi, > > I have used dh_installtmpfiles many years ago, I think that back then at = one > point it was a systemd-only thing so it was appropriate for a Debian deri= vative > but not for Debian proper when we still want to support alternative > init systems. > > This restriction has been lifted some times ago and dh_installtmpfiles[0] > is part of the default debhelper-compat 13 sequence. > > My proposal: > we should strive to review these postinst scripts - some of which > are 25 years old - and redo those in tmpfiles syntax. > > This makes the remaining postinst script smaller and easier to maintain. > this could also bring more cohesions to the access rights under /var/game= s > > In the future with upcoming debhelper-compat 14; > these tmpfiles could also be used to handle the purge phase. > > Debian Code Search[1] can help identify such games. > > Greetings > > Alexandre > > [0] https://manpages.debian.org/testing/debhelper/dh_installtmpfiles.1.en= .html > [1] https://codesearch.debian.net/search?q=3Dvar%2Fgames+path%3Apostinst&= literal=3D1