Control: tags -1 + patch On Wed, Jul 18, 2018 at 11:06:59PM +0200, Andreas Henriksson wrote: > Source: mlocate [...] > If time permits and I haven't heard anything back I'll consider fixing > this via a NMU while at DebCamp/DebConf.
As we discussed you'd handle this and suggested a slightly different way, but I'm attaching my trivial patch anyway as I've already created and piuparts tested it. My only concern is for this to make it in well in time for buster release. Regards, Andreas Henriksson
diff -u mlocate-0.26/debian/changelog mlocate-0.26/debian/changelog --- mlocate-0.26/debian/changelog +++ mlocate-0.26/debian/changelog @@ -1,3 +1,10 @@ +mlocate (0.26-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Replace sg usage with getent group in mlocate.postinst (Closes: #904050) + + -- Andreas Henriksson <andr...@fatal.se> Sat, 28 Jul 2018 14:55:03 +0200 + mlocate (0.26-2) unstable; urgency=medium * Add support for nocache(1) to cron.daily. Closes: #711323 diff -u mlocate-0.26/debian/mlocate.postinst mlocate-0.26/debian/mlocate.postinst --- mlocate-0.26/debian/mlocate.postinst +++ mlocate-0.26/debian/mlocate.postinst @@ -10,7 +10,7 @@ --slave /usr/bin/updatedb updatedb /usr/bin/updatedb.mlocate \ --slave /usr/share/man/man8/updatedb.8.gz updatedb.8.gz /usr/share/man/man8/updatedb.mlocate.8.gz - if ! sg "$GROUP" true 2>/dev/null; then + if ! getent group "$GROUP" >/dev/null; then addgroup --system "$GROUP" fi