Your message dated Sun, 20 Apr 2008 15:38:22 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#413659: bug with postinst script for openbsd-inetd
has caused the Debian Bug report #413797,
regarding openbsd-inetd: update to  0.20050402-5 fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
413797: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413797
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: openbsd-inetd
Version: 0.20050402-5
Severity: important

postinst fails with latest release:

[re-installing - apt-get dist-upgrade gave same msg - 
 set 'set -x' in .postinst]
# apt-get install openbsd-inetd
...
Configuro openbsd-inetd (0.20050402-5) ...
+ '[' -x /etc/init.d/openbsd-inetd ']'
+ update-rc.d openbsd-inetd defaults 20
++ which invoke-rc.d
+ '[' -x /usr/sbin/invoke-rc.d ']'
+ invoke-rc.d openbsd-inetd start
Starting internet superserver: inetdinvoke-rc.d: initscript openbsd-inetd, 
action "start" failed.
+ exit 1
dpkg: errore processando openbsd-inetd (--configure):
 il sottoprocesso post-installation script ha restituito un codice di errore 1
Sono occorsi degli errori processando:
 openbsd-inetd
E: Sub-process /usr/bin/dpkg returned an error code (1)

patch .postinst as follows fixed the problem:

 if [ -x "/etc/init.d/openbsd-inetd" ]; then
         update-rc.d openbsd-inetd defaults 20 >/dev/null
         if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+                pidof inetd && invoke-rc.d openbsd-inetd stop || true
                 invoke-rc.d openbsd-inetd start || exit $?
         else
+                pidof inetd && /etc/init.d/openbsd-inetd stop || true
                 /etc/init.d/openbsd-inetd start || exit $?
         fi
 fi

--
paolo



--- End Message ---
--- Begin Message ---
Version: 0.20050402-6

These bugs are duplicates of #386469, which was fixed last year.

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to