[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#88921: postinst of package oidentd expects an installed inetd



Package: oidentd
Version: 1.7.1-2

The postinst try to call 'update-inetd --disable ident', which isn't installed on all systems.

A workaround is to install inetd temporary, or edit /var/lib/dpkg/oidentd.postinst manualy(see below).

Here is a transcript(after 'apt-get dist-upgrade' on a potato system):
--snip--
Setting up oidentd (1.7.1-2) ...
/var/lib/dpkg/info/oidentd.postinst: update-inetd: command not found
dpkg: error processing oidentd (--configure):
 subprocess post-installation script returned error exit status 127
--snap--

I suggest to replace the line
 update-inetd --group INFO --add 'ident          stream tcp      nowait nobody /usr/sbin/oidentd oidentd -i'
with
  [ -x /usr/sbin/update-inetd ] && update-inetd --group INFO --add 'ident          stream tcp      nowait nobody /usr/sbin/oidentd oidentd -i'
in the file /var/lib/dpkg/info/oidentd.postinst.

regards,
  Lutz Langenbach(komu)



Reply to: