Your message dated Tue, 18 Oct 2005 13:33:12 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#334576: fixed in slrn 0.9.8.1pl1-13
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 18 Oct 2005 19:00:41 +0000
>From [EMAIL PROTECTED] Tue Oct 18 12:00:41 2005
Return-path: <[EMAIL PROTECTED]>
Received: from hansolo.ghnet.pl (vox.robbo.home) [83.175.176.193] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ERwhU-000799-00; Tue, 18 Oct 2005 12:00:41 -0700
Received: by vox.robbo.home (Postfix, from userid 1000)
        id 085C010ADDF; Tue, 18 Oct 2005 21:02:10 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Robert Luberda <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: slrn: postinst destroys contents of /etc/mailname when _POSIX2_VERSION 
is
 set to 200112
X-Mailer: reportbug 3.17
Date: Tue, 18 Oct 2005 21:02:10 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: slrn
Version: 0.9.8.1pl1-12
Severity: grave


Hi,

The config and postinst scripts do not check exit status of `head -1' 
command, which fails when _POSIX2_VERSION environment variable is 
set to 200112, causing the slrn installation scripts  to replace
the contents of /etc/mailname file with one '\n' (newline) char:


   vox:~# export LC_ALL=C
   vox:~# ls -la /etc/mailname
   -rw-r--r--  1 root root 15 2005-10-18 20:30 /etc/mailname
[ Note, the file size is 15 ]
   vox:~# env | grep POSIX
   _POSIX2_VERSION=200112
   vox:~# apt-get install --reinstall slrn
[ Let's remove standard apt-get stuff ]
   Preconfiguring packages ...
   head: `-1' option is obsolete; use `-n 1'
   Try `head --help' for more information.
   head: `-1' option is obsolete; use `-n 1'
   Try `head --help' for more information.
   (Reading database ... 307461 files and directories currently installed.)
   Preparing to replace slrn 0.9.8.1pl1-12 (using 
.../slrn_0.9.8.1pl1-12_i386.deb) ...
   Unpacking replacement slrn ...
   Setting up slrn (0.9.8.1pl1-12) ...
   head: `-1' option is obsolete; use `-n 1'
   Try `head --help' for more information.
   head: `-1' option is obsolete; use `-n 1'
   Try `head --help' for more information.
   
   vox:~# ls -la /etc/mailname
   -rw-r--r--  1 root root 1 Oct 18 20:31 /etc/mailname
[ And now the size is 1; the file contains only the '\n' char ]

Severity grave, because this bug causes data loss, and breaks unrelated
software, like postfix (see bug #322602).

Best Regards,
robert

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (100, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages slrn depends on:
ii  debconf [debconf-2.0]         1.4.58     Debian configuration management sy
ii  debianutils                   2.15       Miscellaneous utilities specific t
ii  libc6                         2.3.5-7    GNU C Library: Shared libraries an
ii  libcanlock2                   2b-3       library for creating and verifying
ii  libgcrypt11                   1.2.1-4    LGPL Crypto library - runtime libr
ii  libgnutls12                   1.2.6-1    the GNU TLS library - runtime libr
ii  libslang2                     2.0.4-7    The S-Lang programming library - r
ii  libtasn1-2                    0.2.13-1   Manage ASN.1 structures (runtime)

slrn recommends no packages.

-- debconf information:
* shared/mailname:
* slrn/manual_getdescs:
* slrn/getdescs: manually
* slrn/getdescs_now: false
* shared/news/server:
  slrn/lost_slrnpull:

---------------------------------------
Received: (at 334576-close) by bugs.debian.org; 18 Oct 2005 20:38:37 +0000
>From [EMAIL PROTECTED] Tue Oct 18 13:38:37 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1ERy92-0004Dj-00; Tue, 18 Oct 2005 13:33:12 -0700
From: Norbert Tretkowski <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#334576: fixed in slrn 0.9.8.1pl1-13
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 18 Oct 2005 13:33:12 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: slrn
Source-Version: 0.9.8.1pl1-13

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

slrn_0.9.8.1pl1-13.diff.gz
  to pool/main/s/slrn/slrn_0.9.8.1pl1-13.diff.gz
slrn_0.9.8.1pl1-13.dsc
  to pool/main/s/slrn/slrn_0.9.8.1pl1-13.dsc
slrn_0.9.8.1pl1-13_i386.deb
  to pool/main/s/slrn/slrn_0.9.8.1pl1-13_i386.deb
slrnpull_0.9.8.1pl1-13_i386.deb
  to pool/main/s/slrn/slrnpull_0.9.8.1pl1-13_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.
Norbert Tretkowski <[EMAIL PROTECTED]> (supplier of updated slrn 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.7
Date: Tue, 18 Oct 2005 21:51:33 +0200
Source: slrn
Binary: slrn slrnpull
Architecture: source i386
Version: 0.9.8.1pl1-13
Distribution: unstable
Urgency: low
Maintainer: Norbert Tretkowski <[EMAIL PROTECTED]>
Changed-By: Norbert Tretkowski <[EMAIL PROTECTED]>
Description: 
 slrn       - threaded news reader (fast for slow links)
 slrnpull   - pulls a small newsfeed from an NNTP server
Closes: 334576
Changes: 
 slrn (0.9.8.1pl1-13) unstable; urgency=low
 .
   * Use "head -n 1" instead obsolete "head -1" in debconf and postinst
     scripts. (closes: #334576)
Files: 
 7d1bd7a0a10c5d4c662f66507bc98faa 754 news optional slrn_0.9.8.1pl1-13.dsc
 08d12fbde9964ff5f897cca44b2e169e 67636 news optional slrn_0.9.8.1pl1-13.diff.gz
 016f55c338ba45f5327b46c2098ffa7b 822958 news optional 
slrn_0.9.8.1pl1-13_i386.deb
 dd4d7df7da43cd7d66d4dc48d5bde1cf 120612 news optional 
slrnpull_0.9.8.1pl1-13_i386.deb

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

iD8DBQFDVVVRr/RnCw96jQERArpUAJ9hDB6acTVMLpsMi/I3v7WzgTS0TgCgmHbn
86Ep5E0B6cNgVHWo8zo0YPA=
=PMUP
-----END PGP SIGNATURE-----


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

Reply via email to