Your message dated Wed, 29 Nov 2006 16:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#400795: fixed in lphdisk 0.9.1-3
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)

--- Begin Message ---
Package: lphdisk
Version: 0.9.1-2
Severity: critical
Tags: patch
Justification: causes serious data loss / breaks whole system


The latest few versions of lphdisk completely and utterly break the system. If 
run, lphdisk destroys the entire MBR and parition table.

I've tracked this down at least partially to a bunch of broken syscall stuff in 
the Debian patches. The following patch makes it work correctly without 
corrupting anything by getting rid of the broken syscall stuff completely. I 
can't guarnatee that this fixes it for everyone, but without this patch or 
another fix, anyone running this program would nuke their entire system.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages lphdisk depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries

lphdisk recommends no packages.

-- no debconf information
Only in lphdisk-0.9.1.working/debian: files
Only in lphdisk-0.9.1.working/debian: lphdisk
Only in lphdisk-0.9.1.working/debian: lphdisk.substvars
Only in lphdisk-0.9.1.working/debian: stamp-makefile-build
Only in lphdisk-0.9.1.working/: lphdisk
diff -ur lphdisk-0.9.1/lphdisk.c lphdisk-0.9.1.working/lphdisk.c
--- lphdisk-0.9.1/lphdisk.c	2006-11-28 11:47:57.000000000 -0700
+++ lphdisk-0.9.1.working/lphdisk.c	2006-11-28 11:26:55.000000000 -0700
@@ -112,23 +112,6 @@
 
 typedef long long lloff_t;
 
-#ifdef SYS__llseek
-
-#define _llseek(fd, offset_high, offset_low, result, origin) \
-	syscall(SYS__llseek, fd, offset_high, offset_low, result, origin)
-
-lloff_t llseek (unsigned int fd, lloff_t offset, unsigned int origin) {
-  lloff_t result;
-  int retval;
-
-  retval = _llseek (fd, ((unsigned long long) offset) >> 32,
-                   ((unsigned long long) offset) & 0xffffffff,
-                   &result, origin);
-  return (retval == -1 ? (lloff_t) retval : result);
-}
-
-#else /* SYS__llseek */
-
 /* Somehow, SYS__llseek wasn't in sys/syscall.h.  This shouldn't ever        */
 /* happen, but better safe than sorry.. The best we can do is emulate it     */
 /* with lseek, and hope we don't get an offset that's too large (throw an    */
@@ -147,7 +130,6 @@
   }
 }
 
-#endif /* SYS__llseek */
 
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
Only in lphdisk-0.9.1.working/: lphdisk.o
Only in lphdisk-0.9.1.working/lrmi-0.6m: lrmi.o
Only in lphdisk-0.9.1.working/: lrmi.h
Only in lphdisk-0.9.1.working/: lrmi.o
Only in lphdisk-0.9.1.working/: vbe.h

--- End Message ---
--- Begin Message ---
Source: lphdisk
Source-Version: 0.9.1-3

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

lphdisk_0.9.1-3.diff.gz
  to pool/main/l/lphdisk/lphdisk_0.9.1-3.diff.gz
lphdisk_0.9.1-3.dsc
  to pool/main/l/lphdisk/lphdisk_0.9.1-3.dsc
lphdisk_0.9.1-3_i386.deb
  to pool/main/l/lphdisk/lphdisk_0.9.1-3_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.
Roberto Lumbreras <[EMAIL PROTECTED]> (supplier of updated lphdisk 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: Wed, 29 Nov 2006 10:13:50 +0100
Source: lphdisk
Binary: lphdisk
Architecture: source i386
Version: 0.9.1-3
Distribution: unstable
Urgency: high (fixes critical bug)
Maintainer: Roberto Lumbreras <[EMAIL PROTECTED]>
Changed-By: Roberto Lumbreras <[EMAIL PROTECTED]>
Description: 
 lphdisk    - prepares hibernation partition for Phoenix NoteBIOS
Closes: 400795
Changes: 
 lphdisk (0.9.1-3) unstable; urgency=high (fixes critical bug)
 .
   * Remove unneeded linux-kernel-headers dependency.
   * Use fseek64 to get rid of llseek issues. (closes: #400795)
Files: 
 3baf3c6f8f7ac0ca1874a798473fd1f1 566 admin extra lphdisk_0.9.1-3.dsc
 1951ba99663a2c13ead912dd2caeecbb 4183 admin extra lphdisk_0.9.1-3.diff.gz
 cab79cf988bc0cbb4da909dccbf249fc 21810 admin extra lphdisk_0.9.1-3_i386.deb

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

iD8DBQFFbVbwfIEQE/XJcI0RAuzUAJ9G32ucGdhKvzgX7FSTaIaukVNvbQCgs6kc
+e1Pr98oaihwedRUVZZuq6g=
=p/HI
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to