Package: inadyn
Version: 1.98.1+git20130517-1
Severity: important

Hi,

While installing 'inadyn' I get a dpkg error message:

Setting up inadyn (1.98.1+git20130517-1) ...
/var/lib/dpkg/info/inadyn.postinst: 38:
/var/lib/dpkg/info/inadyn.postinst: debian-inadyn: not found
dpkg: error processing inadyn (--configure):
 subprocess installed post-installation script returned error exit
 status 127
Errors were encountered while processing:
 inadyn

This is due to the fact that line 38 contains:

      debian-inadyn 755 $LOGDIR

on it's own, which seems like a copy paste error as it duplicates the
end of the line preceeding it.

Removing the line fixes the issue.


There's a second (this time a minor issue) in the postinst file.
Line 48, or 49 if you hadn't fixed the above issue yet ;^), contains:

   invoke-rc.d inadyn start || exit $?

This introduces a warning straight after the package has been installed:

inadyn: Not starting. Disabled in /etc/default/inadyn ... (warning).

Since there's are no configuration dialogues and one is unable to change
'RUN_DAEMON' option from "no" to "yes" at this stage, the above line
doesn't make much sense and will always produce the warning on a new
install.

This might be undesirable for another reason - one might not want to run
'inadyn' as a daemon at all, but simply from 'cron', i.e. once a day.
That way, not enabling daemon mode, one will get the warning on every
package update as well as fresh install.

Kind regards,

Raf

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (999, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 3.2.0-4-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages inadyn depends on:
ii  adduser  3.113+nmu3
ii  libc6    2.17-3

inadyn recommends no packages.

inadyn suggests no packages.

-- Configuration Files:
/etc/inadyn.conf [Errno 13] Permission denied: u'/etc/inadyn.conf'

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to