Your message dated Tue, 22 Jul 2008 16:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#486123: fixed in netkit-telnet 0.17-36
has caused the Debian Bug report #486123,
regarding telnetd: update-inetd problems
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.)


-- 
486123: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486123
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: telnetd
Version: 0.17-35
Severity: important
Tags: patch

Hi,

netkit-telnet suffers from the same problem as linux-ftpd (#482912), a
change to update-inetd --remove regexp handling means inetd.conf
entries aren't removed.

The attached patch fixes the regexp, plus problems with the
code to handle switching from telnetd-ssl -> telnetd:

* telnetd-ssl no longer specifies a group name in inetd.conf
  (due to inetutils-inetd not supporting groups [patch nicked from
  telnetd 0.17-33]) which means the fgrep match in postinst fails.

* installing telnetd, then installing telnetd-ssl, then purging
  telnetd results in removing the inetd.conf entry for telnetd.
  The fix is to only remove the inetd.conf entry if it is disabled
  (which will have happened in the prerm). I've just uploaded
  a new version of netkit-telnet-ssl which solves the corresponding
  problem going in the other direction.

The patch also replaces the dependency on netbase with one on
openbsd-inetd | inet-superserver, which is needed to drag in
update-inetd. Purely cosmetically, it also removes the versioned
dependecies on base-files and dpkg, as the minimum versions specified
long predate oldstable.

cheers,

Ian.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages telnetd depends on:
ii  adduser                     3.108        add and remove users and groups
ii  libc6                       2.7-12       GNU C Library: Shared libraries
ii  openbsd-inetd [inet-superse 0.20080125-1 The OpenBSD Internet Superserver
ii  passwd                      1:4.1.1-1    change and administer password and

telnetd recommends no packages.
diff -Naur dist/netkit-telnet-0.17/debian/changelog 
netkit-telnet-0.17/debian/changelog
--- dist/netkit-telnet-0.17/debian/changelog    2008-05-21 16:30:55.000000000 
+0100
+++ netkit-telnet-0.17/debian/changelog 2008-06-13 15:43:34.000000000 +0100
@@ -1,3 +1,17 @@
+netkit-telnet (0.17-36) unstable; urgency=low
+
+  * telnetd.postinst:
+    + Fix update-inetd --remove regexp.
+    + Drop group from telnetd-ssl regexp.
+  * telnetd.postrm: Only remove inetd entry if it is disabled.
+  * telnetd Depends:
+    + Replace netbase Depends: with openbsd-inetd | inet-superserver
+      to pull in update-inetd (Closes: #473262).
+    + Remove versioned dependencies on versions of dpkg and base-files
+      that long predate oldstable.
+
+ -- Ian Beckwith <[EMAIL PROTECTED]>  Fri, 13 Jun 2008 14:05:45 +0100
+
 netkit-telnet (0.17-35) unstable; urgency=low
 
   * The 'this does not need to depend on update-inetd' release
diff -Naur dist/netkit-telnet-0.17/debian/control 
netkit-telnet-0.17/debian/control
--- dist/netkit-telnet-0.17/debian/control      2008-05-21 16:30:55.000000000 
+0100
+++ netkit-telnet-0.17/debian/control   2008-05-26 19:53:04.000000000 +0100
@@ -17,7 +17,7 @@
 Package: telnetd
 Architecture: any
 Priority: optional
-Depends: adduser, base-files (>= 2.1.8), dpkg (>= 1.7.0), netbase, passwd, 
${shlibs:Depends}
+Depends: adduser, openbsd-inetd | inet-superserver, passwd, ${shlibs:Depends}
 Replaces: netstd
 Provides: telnet-server
 Conflicts: suidmanager (<< 0.50)
diff -Naur dist/netkit-telnet-0.17/debian/telnetd.postinst 
netkit-telnet-0.17/debian/telnetd.postinst
--- dist/netkit-telnet-0.17/debian/telnetd.postinst     2008-05-21 
16:30:55.000000000 +0100
+++ netkit-telnet-0.17/debian/telnetd.postinst  2008-05-21 16:42:56.000000000 
+0100
@@ -3,10 +3,10 @@
 
 update_inetd_entry() {
        if [ $2 ]; then
-               update-inetd --remove ".*/usr/sbin/in.telnetd"
+               update-inetd --remove ".*telnet"
                update-inetd --group STANDARD --add "$telnetdent"
        else
-               update-inetd --remove ".*/usr/sbin/in.telnetd"
+               update-inetd --remove ".*telnet"
                update-inetd --group STANDARD --add "$rootent"
        fi
 }
@@ -41,7 +41,7 @@
 configure)
        if [ -z "$2" ] || 
        dpkg --compare-versions "$2" lt 0.17-13 ||
-       fgrep -q telnetd-ssl.telnetd-ssl /etc/inetd.conf
+       fgrep -q telnetd-ssl /etc/inetd.conf
     then
                update_inetd_entry "$2" $devpts
        else
diff -Naur dist/netkit-telnet-0.17/debian/telnetd.postrm 
netkit-telnet-0.17/debian/telnetd.postrm
--- dist/netkit-telnet-0.17/debian/telnetd.postrm       2008-05-21 
16:30:55.000000000 +0100
+++ netkit-telnet-0.17/debian/telnetd.postrm    2008-06-13 14:17:44.000000000 
+0100
@@ -38,7 +38,7 @@
 purge)
        # If netbase is not installed, then we don't need to do the remove.
        if command -v update-inetd >/dev/null 2>&1; then
-               update-inetd --remove "telnet   .*      /usr/sbin/in.telnetd"
+               update-inetd --remove "#<off># telnet"
        fi
        ;;
 *)

--- End Message ---
--- Begin Message ---
Source: netkit-telnet
Source-Version: 0.17-36

We believe that the bug you reported is fixed in the latest version of
netkit-telnet, which is due to be installed in the Debian FTP archive:

netkit-telnet_0.17-36.diff.gz
  to pool/main/n/netkit-telnet/netkit-telnet_0.17-36.diff.gz
netkit-telnet_0.17-36.dsc
  to pool/main/n/netkit-telnet/netkit-telnet_0.17-36.dsc
telnet_0.17-36_i386.deb
  to pool/main/n/netkit-telnet/telnet_0.17-36_i386.deb
telnetd_0.17-36_i386.deb
  to pool/main/n/netkit-telnet/telnetd_0.17-36_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alberto Gonzalez Iniesta <[EMAIL PROTECTED]> (supplier of updated netkit-telnet 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 22 Jul 2008 17:38:26 +0200
Source: netkit-telnet
Binary: telnet telnetd
Architecture: source i386
Version: 0.17-36
Distribution: unstable
Urgency: low
Maintainer: Alberto Gonzalez Iniesta <[EMAIL PROTECTED]>
Changed-By: Alberto Gonzalez Iniesta <[EMAIL PROTECTED]>
Description: 
 telnet     - The telnet client
 telnetd    - The telnet server
Closes: 237324 437618 473262 483829 486123
Changes: 
 netkit-telnet (0.17-36) unstable; urgency=low
 .
   [ Ian Beckwith ]
   * telnetd.postinst:
     + Fix update-inetd --remove regexp.
     + Drop group from telnetd-ssl regexp.
   * telnetd.postrm: Only remove inetd entry if it is disabled.
   * telnetd Depends:
     + Replace netbase Depends: with openbsd-inetd | inet-superserver
       to pull in update-inetd (Closes: #473262).
     + Remove versioned dependencies on versions of dpkg and base-files
       that long predate oldstable.
 .
   [ Alberto Gonzalez Iniesta ]
   * Upload Ian's patch (Closes: #486123)
   * Patched telnet.cc to avoid unsetting the TERM variable when is not
     known in the local host. Thanks Philippe Troin for the patch.
     (Closes: #237324)
   * Updated debian/menu. Thanks Hideki Yamane. (Closes: #483829)
   * Removed stripping options from Makefiles. (Closes: #437618)
Checksums-Sha1: 
 b4053f6f27e66c09ab194cdc5a4a53f9575af162 1022 netkit-telnet_0.17-36.dsc
 a12b757186439b1599b171f86b4f56cd5cce7fbf 27226 netkit-telnet_0.17-36.diff.gz
 d7849f61309d847c2bc877a83d83bdadebc8cce2 65774 telnet_0.17-36_i386.deb
 5647b1ddb46ddfe76455ad15e1bf93f2902bf6ef 42290 telnetd_0.17-36_i386.deb
Checksums-Sha256: 
 bf8ea65c5fe179c1ef02fe2d92a1f16ac2dbe80be7785a6d5240d739c91e63dc 1022 
netkit-telnet_0.17-36.dsc
 cd192e3acbef83a3e8fbacfa26e1f6ededfe50587e9b372b5a38ce5928d746f7 27226 
netkit-telnet_0.17-36.diff.gz
 d8d0dc9c00e922232e4f8a7422404ac1168770af78ba3871c86520da19e63c4a 65774 
telnet_0.17-36_i386.deb
 2c0a4b1be396194f8443dac452e5cd2b100724d864599308c4e913cab79a9734 42290 
telnetd_0.17-36_i386.deb
Files: 
 7361404eaa950b8203d4edeabe75e9f3 1022 net standard netkit-telnet_0.17-36.dsc
 4fcbae857b01b91c859990374a09b174 27226 net standard 
netkit-telnet_0.17-36.diff.gz
 cba5086ac71e02356a162c035472b1e7 65774 net standard telnet_0.17-36_i386.deb
 bd2fe9a0289af7cfde1ce490bd14a96f 42290 net optional telnetd_0.17-36_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiGAlwACgkQxRSvjkukAcMu/gCgynI7FlByKV2QK9RqRLx+7r4l
p1YAnR4AGWmdPCVotqHxL0a4ealf6+AO
=nSZw
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to