Bug#386469: openbsd-inetd: init script uses /bin/sh -e

2007-03-07 Thread Frank Küster
[EMAIL PROTECTED] (Marco d'Itri) wrote:

 On Mar 05, Jirka Novosad [EMAIL PROTECTED] wrote:

 I believe the problem is the #!/bin/sh line of /etc/init.d/openbsd-inetd.
 It uses the -e switch and when start-stop-daemon exits with a non-zero
 status, the script exits too.
 No shit, Sherlock.

Indeed, it seems to me that failing silently is not correct.  But what
do you think is the right thing to do instead?  Force removal of xinetd
with conflicts?  Force stopping xinetd in the postinst won't fix it
completely, because both will be trying to be started again when the
machine is rebooted, won't they?

Regards, Frank
-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Bug#386469: openbsd-inetd: init script uses /bin/sh -e

2007-03-05 Thread Jirka Novosad
Package: openbsd-inetd
Version: 0.20050402-5
Followup-For: Bug #386469

I believe the problem is the #!/bin/sh line of /etc/init.d/openbsd-inetd.
It uses the -e switch and when start-stop-daemon exits with a non-zero
status, the script exits too.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-debhome00
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)

Versions of packages openbsd-inetd depends on:
ii  libc6   2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libwrap07.6.dbs-13   Wietse Venema's TCP wrappers libra
ii  lsb-base3.1-23   Linux Standard Base 3.1 init scrip
ii  tcpd7.6.dbs-13   Wietse Venema's TCP wrapper utilit
ii  update-inetd4.27-0.4 inetd.conf updater

openbsd-inetd recommends no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#386469: openbsd-inetd: init script uses /bin/sh -e

2007-03-05 Thread Marco d'Itri
On Mar 05, Jirka Novosad [EMAIL PROTECTED] wrote:

 I believe the problem is the #!/bin/sh line of /etc/init.d/openbsd-inetd.
 It uses the -e switch and when start-stop-daemon exits with a non-zero
 status, the script exits too.
No shit, Sherlock.

-- 
ciao,
Marco


signature.asc
Description: Digital signature