Control: tags -1 + patch

On Mon, 24 Sep 2018 Andreas Beckmann <a...@debian.org> wrote:
> Hi,
> 
> during a test with piuparts I noticed your package failed to install. As
> per definition of the release team this makes the package too buggy for
> a release, thus the severity.
> 
> From the attached log (scroll to the bottom...):
> 
>   Selecting previously unselected package bidentd.
>   (Reading database ... 
> (Reading database ... 8336 files and directories currently installed.)
>   Preparing to unpack .../bidentd_1.1.4-1.1+b2_i386.deb ...
>   Unpacking bidentd (1.1.4-1.1+b2) ...
>   Setting up bidentd (1.1.4-1.1+b2) ...
>   update-inetd: error: --pattern is not relevant with --add
>   dpkg: error processing package bidentd (--configure):
>    installed bidentd package post-installation script subprocess returned 
> error exit status 255
>   Errors were encountered while processing:
>    bidentd
> 
> 
> update-inetd got more strict recently and rejects superfluous
> usage of --group

The issue is actually with the usage of --pattern and can be easily
fixed by dropping the option when --add is used. A patch is attached.

Paride
--- bidentd-1.1.4.orig/debian/bidentd.postinst	2010-04-29 16:48:25.000000000 +0200
+++ bidentd-1.1.4/debian/bidentd.postinst	2020-03-11 13:31:55.260658323 +0100
@@ -26,7 +26,7 @@
  if [ "x$opt" != "xUSER" ]; then
   CONF_STR="ident\tstream\ttcp\tnowait\troot\t/usr/sbin/bidentd bidentd $opt"
   update-inetd --pattern "/usr/sbin/bidentd" --remove ident
-  update-inetd --pattern "/usr/sbin/bidentd" --group INFO --add "$CONF_STR"
+  update-inetd --group INFO --add "$CONF_STR"
  fi
  
  # Re-enable the manual settings too

Reply via email to