Your message dated Thu, 28 Aug 2008 15:32:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#488205: fixed in liblinux-lvm-perl 0.14-1
has caused the Debian Bug report #488205,
regarding Parser is incomplete and buggy
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.)


-- 
488205: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488205
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: liblinux-lvm-perl
Version: 0.13-2
Severity: grave
Justification: renders package unusable

The attached perl code causes output like the following:

----------------------------------------------------------------------

    Finding volume group "FILE"
Use of uninitialized value in hash element at Linux/LVM.pm line 324.
Use of uninitialized value in hash element at Linux/LVM.pm line 230.
Use of uninitialized value in hash element at Linux/LVM.pm line 231.
Use of uninitialized value in hash element at Linux/LVM.pm line 324.
Use of uninitialized value in hash element at Linux/LVM.pm line 230.
Use of uninitialized value in hash element at Linux/LVM.pm line 231.
Use of uninitialized value in hash element at Linux/LVM.pm line 324.
Use of uninitialized value in hash element at Linux/LVM.pm line 230.
Use of uninitialized value in hash element at Linux/LVM.pm line 231.
$VAR1 = {
          '' => {
                  'status' => 'allocatable',
                  'free_pe' => '40090',
                  'total_pe' => '103090'
                }
        };

----------------------------------------------------------------------

Obtained using the following perl script, doing only parts of what the example
in the man page shows and what should thus be feasible:

----------------------------------------------------------------------
#!/usr/bin/perl -w

use strict;

use Linux::LVM;
use Data::Dumper;

# get the existing volume groups
foreach my $vg (get_volume_group_list()) {
  my %pv_info = get_physical_volume_information($vg);
  print Dumper \%pv_info;
}
----------------------------------------------------------------------

Clearly, the line-by-line parser doesn't work as expected:
- It refers to unset variables repeatedly because the respective value is not
  known _yet_
- My volume group _does_ have a name (FILE), but this is never stored in the
  hash
- The physical volume output is missing the device information

As the sole purpose of this package is taking the burden of parsing the
vgdisplay output off of the user, it becomes useless.

Apparently, a rewrite is planned (see #460604), and I guess the package should
not be part of Lenny unless this happens.

Thanks,
Michael

Attachment: pgpBl2UBZBnwU.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: liblinux-lvm-perl
Source-Version: 0.14-1

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

liblinux-lvm-perl_0.14-1.diff.gz
  to pool/main/libl/liblinux-lvm-perl/liblinux-lvm-perl_0.14-1.diff.gz
liblinux-lvm-perl_0.14-1.dsc
  to pool/main/libl/liblinux-lvm-perl/liblinux-lvm-perl_0.14-1.dsc
liblinux-lvm-perl_0.14-1_all.deb
  to pool/main/libl/liblinux-lvm-perl/liblinux-lvm-perl_0.14-1_all.deb
liblinux-lvm-perl_0.14.orig.tar.gz
  to pool/main/libl/liblinux-lvm-perl/liblinux-lvm-perl_0.14.orig.tar.gz



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.
David Bremner <[EMAIL PROTECTED]> (supplier of updated liblinux-lvm-perl 
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: Thu, 28 Aug 2008 14:54:50 +0000
Source: liblinux-lvm-perl
Binary: liblinux-lvm-perl
Architecture: source all
Version: 0.14-1
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <[EMAIL PROTECTED]>
Changed-By: David Bremner <[EMAIL PROTECTED]>
Description: 
 liblinux-lvm-perl - module to access LVM status information in perl scripts
Closes: 488205
Changes: 
 liblinux-lvm-perl (0.14-1) unstable; urgency=low
 .
   [ Jeremiah C. Foster ]
   * New upstream release (Closes: #488205)
 .
   [ David Bremner ]
   * Remove obsolete patch for whitespace in command output (fixed upstream)
   * Patch /usr/sbin paths to /sbin
   * Add myself to uploaders
   * Add lvm2 to Recommends
   * Fix broken long/short description
 .
   [ gregor herrmann ]
   * Set Standards-Version to 3.8.0.
   * Add debian/README.source to document quilt usage, as required by
     Debian Policy since 3.8.0.
   * debian/copyright: update year of copyright.
Checksums-Sha1: 
 0098dd8ecbce53c67688c398252e3b4c70fc6810 1404 liblinux-lvm-perl_0.14-1.dsc
 61ef1c131bf2f258ee33600f8135f70536a5d565 6591 
liblinux-lvm-perl_0.14.orig.tar.gz
 916f5f074ee17a123c1cbaa893fbf71225152264 2955 liblinux-lvm-perl_0.14-1.diff.gz
 cf0800c5d4e2be201e3ffd7dbe52ddd896542e9a 12444 liblinux-lvm-perl_0.14-1_all.deb
Checksums-Sha256: 
 d93276173fc6237b8c26c9e899a1013c7049e69d2254e2cf5e1a4b25255d5db2 1404 
liblinux-lvm-perl_0.14-1.dsc
 d4d4f11f445e900abbb0c2e73c5d53d62bdd774e587fa68253593ce3a0dd295a 6591 
liblinux-lvm-perl_0.14.orig.tar.gz
 7f05ffddfa4dc4d6f23d8008e1a28f72a3661336620bbcdd1f3d1f6d37c66b78 2955 
liblinux-lvm-perl_0.14-1.diff.gz
 0e4e5a0cc97a9f035d854651d32291b666e684bd9f071108f11d1907e238d52c 12444 
liblinux-lvm-perl_0.14-1_all.deb
Files: 
 4dba45e6f3a6ec66f934ab196dae5d8b 1404 perl optional 
liblinux-lvm-perl_0.14-1.dsc
 7c395715cb043586365c82c0d3ec411c 6591 perl optional 
liblinux-lvm-perl_0.14.orig.tar.gz
 3dfe2fae814e9599008e07b107756ff6 2955 perl optional 
liblinux-lvm-perl_0.14-1.diff.gz
 4cc6ab8484ad834a60f66c03cd193ea1 12444 perl optional 
liblinux-lvm-perl_0.14-1_all.deb

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

iEYEARECAAYFAki2wGUACgkQOzKYnQDzz+Sa2QCdGt/DpYb/8OgYfkyl2V6+jjBv
SU8AoOdmY4IwOUcRSFYiRVZPN0b9TlxP
=uZbn
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to