Bug#578856: bind mounts not handled correctly by lost+found check in /etc/cron.daily/standard

2010-05-02 Thread Rob Walker
Hi,

Here's the results of the commands you requested:

[...@makalu ~]$  df -P --type=ext2 --type=ext3 --type=ext4 --type=xfs
Filesystem 1024-blocks  Used Available Capacity Mounted on
/dev/sda1307663800 229912116  74626000  76% /mnt/disk
/dev/sda1307663800 229912116  74626000  76% /srv
/dev/sda1307663800 229912116  74626000  76% /usr
/dev/sda1307663800 229912116  74626000  76% /var

[...@makalu ~]$ grep '/mnt' /proc/mounts
/dev/sda1 /mnt/disk ext3 rw,noatime,errors=continue,data=writeback 0 0

But /proc/mounts also contains:
/dev/sda1 /srv ext3 rw,noatime,errors=continue,data=writeback 0 0
/dev/sda1 /usr ext3 rw,noatime,errors=continue,data=writeback 0 0
/dev/sda1 /var ext3 rw,noatime,errors=continue,data=writeback 0 0

So there's no distinction between the real mount and the bind mount

Regards

Rob



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#578856: bind mounts not handled correctly by lost+found check in /etc/cron.daily/standard

2010-04-23 Thread Rob Walker
Package: cron
Version: 3.0pl1-109
Severity: normal


My system has a number of bind mounts set up: the root is NAND flash, so /usr 
/var & /srv are on a disk (/mnt/disk)

/etc/fstab has:
/mnt/disk/srv   /srvnonebind0   0
/mnt/disk/usr   /usrnonebind0   0
/mnt/disk/var   /varnonebind0   0

There is a lost+found in /mnt/disk, but cron's daily check in 
/etc/cron.daily/standard gives the following warning:

-
/etc/cron.daily/standard:
Some local filesystems do not have lost+found directories. This
means that these filesystems will not be able to recover
lost files when the filesystem is checked after a crash.
Consider creating a lost+found directory with mklost+found(8).

The following lost+found directories were not available:

/srv/lost+found
/usr/lost+found
/var/lost+found
-

As these are bind mounts, they don't need a lost+found directory.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32.8-1-g53ae419 (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cron depends on:
ii  adduser   3.112  add and remove users and groups
ii  debianutils   3.2.2  Miscellaneous utilities specific t
ii  libc6 2.10.2-6   Embedded GNU C Library: Shared lib
ii  libpam-runtime1.1.1-2Runtime support for the PAM librar
ii  libpam0g  1.1.1-2Pluggable Authentication Modules l
ii  libselinux1   2.0.94-1   SELinux runtime shared libraries
ii  lsb-base  3.2-23 Linux Standard Base 3.2 init scrip

Versions of packages cron recommends:
ii  exim4 4.71-4 metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.71-4 lightweight Exim MTA (v4) daemon
pn  lockfile-progs (no description available)

Versions of packages cron suggests:
pn  anacron(no description available)
pn  checksecurity  (no description available)
ii  logrotate 3.7.8-5Log rotation utility

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#471062: ixp4xx: stalls and I/O errors when reading and writing via NFS

2008-03-25 Thread Rob Walker
Hi,

I've been seeing similar errors with NFS writes to a NSLU2 running 2.6.24 (old 
arm, not armel).  Copying a 30Mb mp3 file to the server would result in an 
I/O error and corruption about 20% of the time, with the same errors in 
syslog.

I've just rebuilt the network module with the patch and these errors seem to 
have gone away.  

Also, I was getting loads of alignment faults (/proc/cpu/alignment had 80 
million faults over 20 days).  These seem to have stopped completely now.

Rob



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



Bug#470558: linux-image-2.6-ixp4xx: Please enable TKIP wireless encryption module (ieee80211_crypt_tkip)

2008-03-11 Thread Rob Walker
Package: linux-image-2.6-ixp4xx
Version: 2.6.24+13
Severity: wishlist


The default kernel of ARM ixp4xx based devices (i.e. NSLU2) does not include 
the necessary modules for wireless networks using WPA security 
with TKIP encryption.  I know this is deprecated in favour of the AES based 
CCMP encryption, but I am using some devices which do not 
support CCMP, so must fall back to TKIP.

The ieee80211_crypt_tkip.ko module is required to be built and can be enabled 
by setting "CONFIG_IEEE80211_CRYPT_TKIP" in the kernel config.  
I've done this on a custom build of the kernel image and it works OK and I can 
use my NSLU2 on the wireless network

Rob Walker

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'unstable')
Architecture: arm (armv5tel)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-1-ixp4xx
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)



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



Bug#410999: panel set to "Hide automatically" didn't show after upgrade

2007-02-15 Thread Rob Walker
Hi,

I've also seen this bug, but it's been happening for a number of weeks (i.e. 
before the upgrade to 4:3.5.5a.dfsg.1-6).  There doesn't seem to be any 
pattern to when it happens - I can be logged in for some time and the panel 
will appear when I put the mouse to the bottom one minute, but it won't 
appear the next time I try it.  Reconfiguring the panel from Kcontrol makes 
it work again.


Regards

Rob


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



Bug#406549: kwin: switch desktop with win+tab key broken

2007-01-16 Thread Rob Walker
Hi,

Just done a spot of googling and the following might be useful:

https://bugs.freedesktop.org/show_bug.cgi?id=587
https://bugs.freedesktop.org/show_bug.cgi?id=926
http://bugs.kde.org/show_bug.cgi?id=78467

Rob

-- 
Rob Walker <[EMAIL PROTECTED]>
http://www.tenfoot.org.uk


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



Bug#406549: kwin: switch desktop with win+tab key broken

2007-01-12 Thread Rob Walker
On Thursday 11 January 2007 23:01, Sune Vuorela wrote:
> On Thursday 11 January 2007 21:08, Rob Walker wrote:
> > However, I still think this is a bug as this option is not set by default
> > and less experienced users will not know how to fix it.  It's either in
> > the xkb rules (as they suggest altwin:super_win is the default), the
> > debian X config generator (for not setting the altwin:super_win option)
> > or kwin (for not recognising the Win key as a modifier).
>
> Hi!
>
> Can you post your full xorg config and the output from:
> xprop -root|grep XKB (probably one line)
>
> Thanks
>
> /Sune

My xorg.conf is attached.

Without the extra altwin:super_win option (i.e. desktop switching is broken), 
the command above gives:

_XKB_RULES_NAMES(STRING) = "xorg", "microsoftpro", "gb", "", ""

With the extra altwin:super_win option (desktop switching working), the command 
gives:

_XKB_RULES_NAMES(STRING) = "xorg", "microsoftpro", "gb", "", "altwin:super_win"

I get similar results on another machine which has "pc105", instead of 
"microsoftpro".

Regards

Rob

-- 
Rob Walker <[EMAIL PROTECTED]>
http://www.tenfoot.org.uk
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86
Section "Files"
FontPath"unix/:7100"# local font server
EndSection
Section "Module"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"glx"
Load"extmod"
Load"freetype"
Load"dri"
Load"int10"
Load"record"
Load"type1"
Load"vbe"
EndSection
Section "DRI"
Mode0666
EndSection
Section "InputDevice"
Identifier  "Keyboard"
Driver  "kbd"
Option  "CoreKeyboard"
Option  "XkbModel"  "microsoftpro"
Option  "XkbLayout" "gb"
#   Option  "XkbOptions""altwin:super_win"
EndSection
Section "InputDevice"
Identifier  "Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "G400_1"
Driver  "mga"
BusID   "PCI:1:0:0"
Screen  0
VideoRam32768
Option  "AGPMode" "4"
EndSection

Section "Monitor"
Identifier  "AG Neovo"
HorizSync   28-82
VertRefresh 50-90
Option  "DPMS"
EndSection

Section "Screen"
Identifier  "Screen"
Device  "G400_1"
Monitor "AG Neovo"
DefaultDepth24
SubSection "Display"
Depth   1
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier  "Layout"
Screen  "Screen"
InputDevice "Keyboard"
InputDevice "Mouse"
EndSection


Bug#406549: kwin: switch desktop with win+tab key broken

2007-01-11 Thread Rob Walker
Package: kwin
Version: 4:3.5.5a.dfsg.1-5
Severity: normal

I used to be able to switch between virtual desktops by using the Windows Key
+ Tab (I use the "KDE Default for 4 Modifier Keys" in the Keyboard Shortcuts
section of kcontrol.  However, this no longer works since upgrading to etch
(and is also broken on fresh installs).  The shortcut is still recognised as I
can switch between the last 2 desktops, but I cannot switch between more than
that and the window listing all the desktops is not displayed.

Digging into the kwin code (kdebase/kwin/tabbox.cpp I think), I think that the
short cut is recognised, but kwin no longer recognises the Windows Key as a
modifier.

The output from xmodmap -pm is:

[EMAIL PROTECTED] ~]$ xmodmap -pm
xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):

shift   Shift_L (0x32),  Shift_R (0x3e)
lockCaps_Lock (0x42)
control Control_L (0x25),  Control_R (0x6d)
mod1Alt_L (0x40),  Alt_L (0x7d)
mod2Num_Lock (0x4d)
mod3
mod4Super_L (0x7f),  Hyper_L (0x80)
mod5Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)


However, if I run xev, the left Win key generates keycode 115(0x73) and the
right Win key generates keycode 116(0x74).

Adding the following line to the keyboard section /etc/X11/xorg.conf fixes the
issue:
Option  "XkbOptions""altwin:super_win"
With this option I can switch between all desktops and I see the list of
desktops while I hold down the Win key.  The xmodmap output is now:

[EMAIL PROTECTED] ~]$ xmodmap -pm
xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):

shift   Shift_L (0x32),  Shift_R (0x3e)
lockCaps_Lock (0x42)
control Control_L (0x25),  Control_R (0x6d)
mod1Alt_L (0x40),  Alt_L (0x7d),  Meta_L (0x9c)
mod2Num_Lock (0x4d)
mod3
mod4Super_L (0x73),  Super_R (0x74),  Super_L (0x7f),  Hyper_L 
(0x80)
mod5Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)



However, I still think this is a bug as this option is not set by default and
less experienced users will not know how to fix it.  It's either in the xkb
rules (as they suggest altwin:super_win is the default), the debian X config
generator (for not setting the altwin:super_win option) or kwin (for not
recognising the Win key as a modifier).

Regards

Rob Walker


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages kwin depends on:
ii  kdelibs4c2a4:3.5.5a.dfsg.1-5 core libraries and binaries for al
ii  libart-2.0-2   2.3.17-1  Library of functions for 2D graphi
ii  libaudio2  1.8-2 The Network Audio System (NAS). (s
ii  libc6  2.3.6.ds1-8   GNU C Library: Shared libraries
ii  libfontconfig1 2.4.1-2   generic font configuration library
ii  libfreetype6   2.2.1-5   FreeType 2 font engine, shared lib
ii  libgcc11:4.1.1-19GCC support library
ii  libice61:1.0.1-2 X11 Inter-Client Exchange library
ii  libidn11   0.6.5-1   GNU libidn library, implementation
ii  libjpeg62  6b-13 The Independent JPEG Group's JPEG 
ii  libpng12-0 1.2.15~beta5-1PNG library - runtime
ii  libqt3-mt  3:3.3.7-2 Qt GUI Library (Threaded runtime v
ii  libsm6 1:1.0.1-3 X11 Session Management library
ii  libstdc++6 4.1.1-19  The GNU Standard C++ Library v3
ii  libx11-6   2:1.0.3-4 X11 client-side library
ii  libxcomposite1 1:0.3-3   X11 Composite extension library
ii  libxcursor11.1.7-4   X cursor management library
ii  libxdamage11:1.0.3-3 X11 damaged region extension libra
ii  libxext6   1:1.0.1-2 X11 miscellaneous extension librar
ii  libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio
ii  libxft22.1.8.2-8 FreeType-based font drawing librar
ii  libxi6 1:1.0.1-4 X11 Input extension library
ii  libxinerama1   1:1.0.1-4.1   X11 Xinerama extension library
ii  libxrandr2 2:1.1.0.2-5   X11 RandR extension library
ii  libxrender11:0.9.1-3 X Rendering Extension client libra
ii  libxt6 1:1.0.2-2 X11 toolkit intrinsics library
ii  zlib1g 1:1.2.3-13compression library - runtime

kwin recommends no packages.

-- no debconf information


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



Bug#404127: digikam: uploading servicemenu does not work with unmounted media

2006-12-21 Thread Rob Walker
Package: digikam
Version: 1:0.8.2-2
Severity: normal

The servicemenus for uploading pictures to digikam when a compact flash card
reader is plugged in do not work in digikam 0.8.2.

The dialog appears with the option to upload to digikam.  However, when I
select it, digikam starts and tries to acceess the card, but it is not
mounted.

This bug was fixed by using the upstream servicemenus in 0.9, but since
digikam is about to be reverted to 0.8.2, I'm raising it as a bug now, so you
can fix it with the new upload.

Regards

Rob


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages digikam depends on:
ii  dcraw  8.39-1decode raw digital camera images
ii  kdelibs4c2a4:3.5.5a.dfsg.1-5 core libraries and binaries for al
ii  libacl12.2.41-1  Access control list shared library
ii  libart-2.0-2   2.3.17-1  Library of functions for 2D graphi
ii  libattr1   2.4.32-1  Extended attribute shared library
ii  libaudio2  1.8-2 The Network Audio System (NAS). (s
ii  libc6  2.3.6.ds1-8   GNU C Library: Shared libraries
ii  libexif12  0.6.13-5  library to parse EXIF files
ii  libfam02.7.0-11  Client library to control the FAM 
ii  libfontconfig1 2.4.1-2   generic font configuration library
ii  libfreetype6   2.2.1-5   FreeType 2 font engine, shared lib
ii  libgcc11:4.1.1-19GCC support library
ii  libgphoto2-2   2.2.1-12  gphoto2 digital camera library
ii  libgphoto2-2-dev   2.2.1-12  gphoto2 digital camera library (de
ii  libgphoto2-port0   2.2.1-12  gphoto2 digital camera port librar
ii  libice61:1.0.1-2 X11 Inter-Client Exchange library
ii  libidn11   0.6.5-1   GNU libidn library, implementation
ii  libimlib2  1.3.0.0debian1-4  powerful image loading and renderi
ii  libjpeg62  6b-13 The Independent JPEG Group's JPEG 
ii  libkexif1  0.2.3-2   library for KDE to read/display/ed
ii  libkipi0   0.1.4-1   library for apps that want to use 
ii  libltdl3   1.5.22-4  A system independent dlopen wrappe
ii  libpng12-0 1.2.13-4  PNG library - runtime
ii  libqt3-mt  3:3.3.7-1 Qt GUI Library (Threaded runtime v
ii  libsm6 1:1.0.1-3 X11 Session Management library
ii  libsqlite3-0   3.3.8-1   SQLite 3 shared library
ii  libstdc++6 4.1.1-19  The GNU Standard C++ Library v3
ii  libtiff4   3.8.2-6   Tag Image File Format (TIFF) libra
ii  libx11-6   2:1.0.3-4 X11 client-side library
ii  libxcursor11.1.7-4   X cursor management library
ii  libxext6   1:1.0.1-2 X11 miscellaneous extension librar
ii  libxft22.1.8.2-8 FreeType-based font drawing librar
ii  libxi6 1:1.0.1-4 X11 Input extension library
ii  libxinerama1   1:1.0.1-4.1   X11 Xinerama extension library
ii  libxrandr2 2:1.1.0.2-5   X11 RandR extension library
ii  libxrender11:0.9.1-3 X Rendering Extension client libra
ii  libxt6 1:1.0.2-2 X11 toolkit intrinsics library
ii  zlib1g 1:1.2.3-13compression library - runtime

Versions of packages digikam recommends:
ii  digikamimageplugins0.8.2-3   image editor plugins for digikam a
ii  kdeprint   4:3.5.5a.dfsg.1-2 print system for KDE
ii  kipi-plugins   0.1.2-3   image manipulation/handling plugin
ii  konqueror  4:3.5.5a.dfsg.1-2 KDE's advanced file manager, web b

-- no debconf information


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



Bug#403075: [Pkg-cryptsetup-devel] Bug#403075: cryptsetup luksOpen can kill unrelated processes (out of memory killer)

2006-12-20 Thread Rob Walker
> >>
> >> Are you able to reproduce the error with the version of cryptsetup that
> >> is currently in unstable?
> >
> >I can reproduce the bug using the cryptsetup from unstable.  I've also
> > tried it on another machine with the same results.
>
> Ok, could you then provide me with the exact steps that you took to
> reproduce it cause so far I haven't managed to do so.


I think I've found the problem.  In lib/utils.c, the sector_size function is 
this:

static int sector_size(int fd) 
{
int bsize;
ioctl(fd,BLKSSZGET, &bsize);
return bsize;
}


For a file, the ioctl will fail.  Since bsize is not initialized, it's value 
will be random (when I ran it under gdb, I got several million) and as this 
value will later be used to allocate a buffer, this explains the runaway 
memory allocation I saw, but you didn't.

The attached patch checks the return code from ioctl and returns -EINVAL if it 
fails.  The users of sector_size are also changed to abort if sector_size 
returns a negative value.   

With this patch applied, I get the appropriate error messages from cryptsetup 
if I give it a file instead of a block device.

Regards

Rob
--- cryptsetup-1.0.4.orig/lib/utils.c	2006-10-04 14:47:01.0 +0100
+++ cryptsetup-1.0.4/lib/utils.c	2006-12-20 09:57:50.0 +
@@ -151,8 +151,10 @@
 static int sector_size(int fd) 
 {
 	int bsize;
-	ioctl(fd,BLKSSZGET, &bsize);
-	return bsize;
+	if (ioctl(fd,BLKSSZGET, &bsize) < 0)
+		return -EINVAL;
+	else
+		return bsize;
 }
 
 int sector_size_for_device(const char *device)
@@ -173,6 +175,9 @@
 	int r;
 	int hangover; int solid; int bsize = sector_size(fd);
 
+	if (bsize < 0)
+		return bsize;
+
 	hangover = count % bsize;
 	solid = count - hangover;
 
@@ -211,6 +216,9 @@
 	int step;
 	int bsize = sector_size(fd);
 
+	if (bsize < 0)
+		return bsize;
+
 	padbuf = aligned_malloc(&padbuf_base, bsize, bsize);
 	if(padbuf == NULL) return -ENOMEM;
 
@@ -242,6 +250,9 @@
 	int frontHang = offset % bsize;
 	int r;
 
+	if (bsize < 0)
+		return bsize;
+
 	lseek(fd, offset - frontHang, SEEK_SET);
 	if(offset % bsize) {
 		int innerCount = count

Bug#403075: cryptsetup luksOpen can kill unrelated processes (out of memory killer)

2006-12-19 Thread Rob Walker
> Problem is I can't reproduce the bug with your commands either
> (executing them as a regular user):
>
> ([EMAIL PROTECTED]:~)$ dd if=/dev/zero of=/tmp/foo bs=1k count=1024
> 1024+0 records in
> 1024+0 records out
> 1048576 bytes (1.0 MB) copied, 0.0060463 seconds, 173 MB/s
> ([EMAIL PROTECTED]:~)$ /sbin/cryptsetup luksOpen /tmp/foo /dev/mapper/_tmp_foo
> Enter LUKS passphrase:
> /tmp/foo is not a LUKS partition
> Enter LUKS passphrase:
> /tmp/foo is not a LUKS partition
> Enter LUKS passphrase:
> /tmp/foo is not a LUKS partition
> Command failed: No key available with this passphrase.
>
> ([EMAIL PROTECTED]:~)$
>
> Are you able to reproduce the error with the version of cryptsetup that
> is currently in unstable?

I can reproduce the bug using the cryptsetup from unstable.  I've also tried 
it on another machine with the same results.

The unrelated process killing only seems to happen when I try it as root; 
running as a regular user usually only kills cryptsetup.

Regards

Rob


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



Bug#403667: Updated patch for /usr/share/initramfs-tools/scripts/init-top/framebuffer

2006-12-19 Thread Rob Walker

On 12/19/06, maximilian attems <[EMAIL PROTECTED]> wrote:

On Mon, 18 Dec 2006, Rob Walker wrote:

> Ooops, I accidentally used some bash specific syntax in the first patch.  The
> attached patch fixes this and should work now.  It also makes sure the right
> option is passed into parse_video_opts (was $TMP, should be $x)

applied for 0.85e
thanks a lot

> --- framebuffer.orig  2006-11-14 06:54:08.0 +
> +++ framebuffer.fixed_parse_video_opts2006-12-18 20:09:51.0 
+

just nitpicking, such a patch can never apply:


Sorry, I was working directly on the script
/usr/share/initramfs-tools/, then made a safe copy and re-installed
the package to get the diff.  I'll grab the debian source package next
time.

Regards

Rob


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



Bug#403667: Updated patch for /usr/share/initramfs-tools/scripts/init-top/framebuffer

2006-12-18 Thread Rob Walker
Ooops, I accidentally used some bash specific syntax in the first patch.  The 
attached patch fixes this and should work now.  It also makes sure the right 
option is passed into parse_video_opts (was $TMP, should be $x)
--- framebuffer.orig	2006-11-14 06:54:08.0 +
+++ framebuffer.fixed_parse_video_opts	2006-12-18 20:09:51.0 +
@@ -43,8 +43,11 @@
 		# Already in the "=" form
 		if [ "$opt" != "${opt#*=}" ]; then
 			echo -n "$opt "
+		# In the ":" form
+		elif [ "$opt" != "${opt#*:}" ]; then
+			echo -n "${opt%:*}=${opt#*:} "
 		# Presumably a modevalue without the "mode=" prefix
-		elif [ "$opt" != "${opt#[[:digit:]]*x[[:digit:]]}"; then
+		elif [ "$opt" != "${opt#[[:digit:]]*x[[:digit:]]}" ]; then
 			echo -n "mode=$opt "
 		# Presumably a boolean
 		else
@@ -72,7 +75,7 @@
 	video=*)
 		FB=${x#*=}
 		FB="${FB%%:*}"
-		OPTS="$(parse_video_opts "$TMP")"
+		OPTS="$(parse_video_opts "$x")"
 	esac
 done
 


Bug#403669: initramfs-tools: framebuffer script assumes module name is same as frame buffer name

2006-12-18 Thread Rob Walker
Package: initramfs-tools
Version: 0.85c
Severity: normal
Tags: patch

The framebuffer script
(/usr/share/initramfs-tools/scripts/init-top/framebuffer) assumes that the
name of the option on the command line is the same as the name of the module
for the framebuffer.  This is not correct for Matrox cards: the command line
option is matroxfb, but the module is matroxfb_base.  

The attached patch adds a map from command line name to module name (only
matroxfb for now).

-- Package-specific info:
-- /proc/cmdline
root=/dev/hda16 video=matroxfb:vesa:0x1BB,fv:75 ro quiet resume=/dev/hda5 

-- /proc/filesystems
cramfs
reiserfs
ext3
vfat

-- lsmod
Module  Size  Used by
ppdev   8964  0 
lp 11300  0 
autofs420164  1 
binfmt_misc11272  1 
mga58624  2 
drm61844  3 mga
button  6928  0 
ac  5508  0 
battery 9924  0 
xt_pkttype  2304  0 
iptable_raw 2432  0 
xt_CLASSIFY 2304  0 
xt_CONNMARK 2752  0 
xt_MARK 2752  0 
ipt_REJECT  5568  0 
xt_length   2368  0 
xt_connmark 2432  0 
ipt_owner   2368  0 
ipt_recent  8784  0 
ipt_iprange 2176  0 
xt_physdev  3344  0 
bridge 49692  1 xt_physdev
xt_policy   3904  0 
xt_multiport3712  0 
xt_conntrack2944  0 
iptable_mangle  3200  0 
ip_nat_irc  3008  0 
ip_nat_tftp 2240  0 
ip_nat_ftp  3648  0 
iptable_nat 7428  0 
ip_nat 17260  4 ip_nat_irc,ip_nat_tftp,ip_nat_ftp,iptable_nat
ip_conntrack_irc7088  1 ip_nat_irc
ip_conntrack_tftp   4664  1 ip_nat_tftp
ip_conntrack_ftp8112  1 ip_nat_ftp
ip_conntrack   49504  11 
xt_CONNMARK,xt_connmark,xt_conntrack,ip_nat_irc,ip_nat_tftp,ip_nat_ftp,iptable_nat,ip_nat,ip_conntrack_irc,ip_conntrack_tftp,ip_conntrack_ftp
nfnetlink   7128  2 ip_nat,ip_conntrack
iptable_filter  3392  0 
ip_tables  13412  4 
iptable_raw,iptable_mangle,iptable_nat,iptable_filter
x_tables   13636  16 
xt_pkttype,xt_CLASSIFY,xt_CONNMARK,xt_MARK,ipt_REJECT,xt_length,xt_connmark,ipt_owner,ipt_recent,ipt_iprange,xt_physdev,xt_policy,xt_multiport,xt_conntrack,iptable_nat,ip_tables
ipv6  228064  14 
nls_iso8859_1   4544  2 
nls_cp850   5376  2 
vfat   12416  2 
fat47260  1 vfat
dm_snapshot15840  0 
dm_mirror  19600  0 
dm_mod 50776  2 dm_snapshot,dm_mirror
it87   19236  0 
hwmon_vid   3072  1 it87
lm90   12452  0 
i2c_isa 5440  1 it87
i2c_viapro  8532  0 
ppp_generic26324  0 
slhc7104  1 ppp_generic
loop   15496  0 
tsdev   7808  0 
snd_bt87x  14500  0 
snd_seq_dummy   4164  0 
snd_seq_oss29120  0 
analog 11104  0 
snd_seq_midi8544  0 
snd_via82xx26328  0 
psmouse35336  0 
snd_mpu401  7848  0 
snd_seq_midi_event  7488  2 snd_seq_oss,snd_seq_midi
snd_ac97_codec 83360  1 snd_via82xx
snd_seq46224  6 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
serio_raw   6980  0 
ide_floppy 16512  0 
rtc12788  0 
snd_pcm_oss39200  0 
snd_mixer_oss  15552  1 snd_pcm_oss
parport_pc 32612  1 
parport33672  3 ppdev,lp,parport_pc
evdev   9408  1 
snd_pcm68996  4 snd_bt87x,snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer  21316  2 snd_seq,snd_pcm
snd_mpu401_uart 8384  2 snd_via82xx,snd_mpu401
snd_rawmidi23200  2 snd_seq_midi,snd_mpu401_uart
snd_seq_device  8140  5 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd47524  13 
snd_bt87x,snd_seq_oss,snd_via82xx,snd_mpu401,snd_ac97_codec,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore   9568  1 snd
pcspkr  3392  0 
ext3  120392  10 
jbd52968  1 ext3
mbcache 8644  1 ext3
8139cp 22336  0 
8139too25600  0 
mii 5696  2 8139cp,8139too
bt878  10680  0 
ide_cd 36576  1 
cdrom  33056  1 ide_cd
gameport   14920  2 analog,snd_via82xx
snd_ac97_bus2688  1 snd_ac97_codec
snd_page_alloc  9928  3 snd_bt87x,snd_via82xx,snd_pcm
ehci_hcd   28488  0 
via_ircc   23956  0 
irda   

Bug#403667: invalid syntax in /usr/share/initramfs-tools/scripts/init-top/framebuffer

2006-12-18 Thread Rob Walker
Package: initramfs-tools
Version: 0.85c
Severity: important
Tags: patch

The file /usr/share/initramfs-tools/scripts/init-top/framebuffer has invalid 
syntax in parse_video_opts at line 47:

elif [ "$opt" != "${opt#[[:digit:]]*x[[:digit:]]}"; then

is lacking a closing ']'

Also this function does not handle options of the form key:value.

The attached patch fixes these issues.

-- Package-specific info:
-- /proc/cmdline
root=/dev/hda16 video=matroxfb:vesa:0x1BB,fv:75 ro quiet resume=/dev/hda5 
splash 

-- /proc/filesystems
cramfs
reiserfs
ext3
vfat

-- lsmod
Module  Size  Used by
nfs   203980  0 
lockd  55240  1 nfs
nfs_acl 3904  1 nfs
sunrpc139772  3 nfs,lockd,nfs_acl
ppdev   8964  0 
lp 11300  0 
autofs420164  1 
binfmt_misc11272  1 
mga58624  2 
drm61844  3 mga
button  6928  0 
ac  5508  0 
battery 9924  0 
xt_pkttype  2304  0 
iptable_raw 2432  0 
xt_CLASSIFY 2304  0 
xt_CONNMARK 2752  0 
xt_MARK 2752  0 
ipt_REJECT  5568  0 
xt_length   2368  0 
xt_connmark 2432  0 
ipt_owner   2368  0 
ipt_recent  8784  0 
ipt_iprange 2176  0 
xt_physdev  3344  0 
bridge 49692  1 xt_physdev
xt_policy   3904  0 
xt_multiport3712  0 
xt_conntrack2944  0 
iptable_mangle  3200  0 
ip_nat_irc  3008  0 
ip_nat_tftp 2240  0 
ip_nat_ftp  3648  0 
iptable_nat 7428  0 
ip_nat 17260  4 ip_nat_irc,ip_nat_tftp,ip_nat_ftp,iptable_nat
ip_conntrack_irc7088  1 ip_nat_irc
ip_conntrack_tftp   4664  1 ip_nat_tftp
ip_conntrack_ftp8112  1 ip_nat_ftp
ip_conntrack   49504  11 
xt_CONNMARK,xt_connmark,xt_conntrack,ip_nat_irc,ip_nat_tftp,ip_nat_ftp,iptable_nat,ip_nat,ip_conntrack_irc,ip_conntrack_tftp,ip_conntrack_ftp
nfnetlink   7128  2 ip_nat,ip_conntrack
iptable_filter  3392  0 
ip_tables  13412  4 
iptable_raw,iptable_mangle,iptable_nat,iptable_filter
x_tables   13636  16 
xt_pkttype,xt_CLASSIFY,xt_CONNMARK,xt_MARK,ipt_REJECT,xt_length,xt_connmark,ipt_owner,ipt_recent,ipt_iprange,xt_physdev,xt_policy,xt_multiport,xt_conntrack,iptable_nat,ip_tables
ipv6  228064  14 
nls_iso8859_1   4544  2 
nls_cp850   5376  2 
vfat   12416  2 
fat47260  1 vfat
dm_snapshot15840  0 
dm_mirror  19600  0 
dm_mod 50776  2 dm_snapshot,dm_mirror
it87   19236  0 
hwmon_vid   3072  1 it87
lm90   12452  0 
i2c_isa 5440  1 it87
i2c_viapro  8532  0 
ppp_generic26324  0 
slhc7104  1 ppp_generic
loop   15496  0 
tsdev   7808  0 
snd_via82xx26328  0 
snd_ac97_codec 83360  1 snd_via82xx
snd_seq_dummy   4164  0 
snd_bt87x  14500  0 
snd_seq_oss29120  0 
psmouse35336  0 
snd_pcm_oss39200  0 
snd_mixer_oss  15552  1 snd_pcm_oss
snd_seq_midi8544  0 
rtc12788  0 
serio_raw   6980  0 
parport_pc 32612  1 
parport33672  3 ppdev,lp,parport_pc
snd_pcm68996  4 snd_via82xx,snd_ac97_codec,snd_bt87x,snd_pcm_oss
snd_seq_midi_event  7488  2 snd_seq_oss,snd_seq_midi
snd_seq46224  6 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer  21316  2 snd_pcm,snd_seq
snd_mpu401  7848  0 
snd_mpu401_uart 8384  2 snd_via82xx,snd_mpu401
snd_rawmidi23200  2 snd_seq_midi,snd_mpu401_uart
snd_seq_device  8140  5 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
analog 11104  0 
snd47524  13 
snd_via82xx,snd_ac97_codec,snd_bt87x,snd_seq_oss,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq,snd_timer,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device
pcspkr  3392  0 
soundcore   9568  1 snd
ide_floppy 16512  0 
evdev   9408  1 
ext3  120392  10 
jbd52968  1 ext3
mbcache 8644  1 ext3
8139cp 22336  0 
bt878  10680  0 
ehci_hcd   28488  0 
ide_cd 36576  0 
cdrom  33056  1 ide_cd
8139too25600  0 
mii 5696  2 8139cp,8139too
gameport   14920  2 snd_via82xx,analog
snd_ac97_bus2688  1 snd_ac97_codec
snd_page_allo

Bug#403075: [Pkg-cryptsetup-devel] Bug#403075: cryptsetup luksOpen can kill unrelated processes (out of memory killer)

2006-12-14 Thread Rob Walker

>A normal user can do this, so this could be used for some kind of
>denial of service attack: system performance will be impaired and processes of
>other users may be killed.  Hence the grave serverity.

Ehh..any user can run a process which uses any amount of memory
unless you use ulimit.

I agree this would be a bug in crypsetup, but calling it a user security
hole is not correct.


Fair enough



>To reproduce
>
>  # produce a dummy file
>  dd if=/dev/zero of=/tmp/foo bs=1k count=1024
>
>  # try to run cryptsetup
>  /sbin/cryptsetup luksOpen /tmp/foo /dev/mapper/_tmp_foo

The first argument after luksOpen should be a device, the second should
be a mapping name.

/tmp/foo is no device, it's a file.

/dev/mapper/_tmp_foo is no mapping name, it's a complete path.

The correct syntax would be something like:
/sbin/cryptsetup luksOpen /dev/something tmpfoo


I know the syntax to the cryptsetup command I gave is incorrect, but
crypt setup should catch such errors and print a useful warning
message rather than lock up the system



Furthermore, I can't reproduce this (using the version currently in unstable):

# dd if=/dev/zero of=/tmp/foo bs=1k count=1024
# losetup -f /tmp/foo
# crypsetup luksOpen /dev/loop0 tmpfoo
# Enter LUKS passphrase:
# /dev/loop0 is not a LUKS partition
# cryptsetup luksFormat /dev/loop0

WARNING!

This will overwrite data on /dev/loop0 irrevocably.

Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
Command successful.
# cryptsetup luksOpen /dev/loop0 footmp
Enter LUKS passphrase:
key slot 0 unlocked.
Command successful.
# ls -al /dev/mapper/footmp
brw-rw 1 root disk 254, 3 2006-12-14 19:14 /dev/mapper/footmp
# cryptsetup remove footmp
# losetup -d /dev/loop0



Yes, these commands work OK.  I only discovered the bug when I made a
mistake in experimenting with cryptsetup

Regards

Rob


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



Bug#403075: cryptsetup luksOpen can kill unrelated processes (out of memory killer)

2006-12-14 Thread Rob Walker
Package: cryptsetup
Version: 2:1.0.4-8
Severity: grave
Tags: security
Justification: user security hole

If I run cryptsetup luksOpen, giving it a file instead of a device, it tries
to allocate lots of memory, eventually triggering the oomkiller to kill
processes.  

A normal user can do this, so this could be used for some kind of
denial of service attack: system performance will be impaired and processes of
other users may be killed.  Hence the grave serverity.

To reproduce

  # produce a dummy file
  dd if=/dev/zero of=/tmp/foo bs=1k count=1024

  # try to run cryptsetup
  /sbin/cryptsetup luksOpen /tmp/foo /dev/mapper/_tmp_foo

The user will be prompted for a password.  After entering it, the system
freezes until the oomkiller kills cryptsetup.

Regards

Rob


-- 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.18-3-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages cryptsetup depends on:
ii  dmsetup  2:1.02.08-1 The Linux Kernel Device Mapper use
ii  libc62.3.6.ds1-8 GNU C Library: Shared libraries
ii  libdevma 2:1.02.08-1 The Linux Kernel Device Mapper use
ii  libgcryp 1.2.3-2 LGPL Crypto library - runtime libr
ii  libgpg-e 1.4-1   library for common error values an
ii  libpopt0 1.10-3  lib for parsing cmdline parameters
ii  libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-1 universally unique id library

cryptsetup recommends no packages.

-- no debconf information


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



Bug#402760: python-pynjb should depend on python-sip4

2006-12-12 Thread Rob Walker
Package: python-pynjb
Version: 0.1.0-1
Severity: grave
Justification: renders package unusable

python-pynjb uses sip to generate the python bindings, but does not depend on
python-sip4 which provides the necessary sip modules.  Manually installing
python-sip4 makes python-pynjb usable.

-- 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_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages python-pynjb depends on:
ii  libc62.3.6.ds1-7 GNU C Library: Shared libraries
ii  libgcc1  1:4.1.1-19  GCC support library
ii  libnjb5  2.2.5-4.1   Creative Labs Nomad Jukebox librar
ii  libstdc++6   4.1.1-19The GNU Standard C++ Library v3
ii  python   2.4.3-11An interactive high-level object-o

python-pynjb recommends no packages.

-- no debconf information


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



Bug#399239: dpkg-preconfigure fails on quake2-data version 13-0.1

2006-11-18 Thread Rob Walker
Package: quake2-data
Version: 13-0.1
Severity: important

Following the recent NMU, the configure script quake2-data.config breaks when
checking the previous version.  The script checks the previous version at line
74 with:

  if [ "$OLDVERSION" -lt "6" -o "$VALID" = "false" ]; then

If the NMU is installed, then oldversion is now 13-0.1 which is not valid
input for the -lt operator and the script fails.

Regards

Rob Walker

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.24
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages quake2-data depends on:
ii  debconf [debconf-2.0] 1.5.8  Debian configuration management sy
ii  unzip 5.52-9 De-archiver for .zip files
ii  wget  1.10.2-2   retrieves files from the web

quake2-data recommends no packages.

-- debconf information:
  quake2-data/copyfiles: true
* quake2-data/mirror: ftp://ftp.idsoftware.com/idstuff/quake2/
* quake2-data/storage: /extra/download/all/quake
  quake2-data/cdromdir: /cdrom
* quake2-data/shareinst:
  quake2-data/fullinst:
  quake2-data/pointrelease: true
* quake2-data/instmethod: download shareware data


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



Bug#398734: kcontrol is empty on fresh install

2006-11-15 Thread Rob Walker
Package: kcontrol
Version: 4:3.5.5a.dfsg.1-1
Severity: important

I've just done a fresh install of an etch system, using KDE as the desktop.

When I log in as a new user (newly created, so no old config) and open
kcontrol, no icons are shown - all I get is the kcontrol front screen with no
icons in the list at the left.

I've tried running kbuildsysoca to regenerate the cache, but it has no effect.
It does however, give the following error message which I have not seen on any
other system:

kio (KSycoca): ERROR: No database available!

Running the kcontrol applications manually (e.g. kcmshell fonts) works OK.

-- 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_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages kcontrol depends on:
ii  kdebase-data   4:3.5.5a.dfsg.1-1 shared data files for the KDE base
ii  kdelibs4c2a4:3.5.5a.dfsg.1-3 core libraries and binaries for al
ii  kicker 4:3.5.5a.dfsg.1-1 desktop panel for KDE
ii  libacl12.2.41-1  Access control list shared library
ii  libart-2.0-2   2.3.17-1  Library of functions for 2D graphi
ii  libattr1   2.4.32-1  Extended attribute shared library
ii  libaudio2  1.8-2 The Network Audio System (NAS). (s
ii  libc6  2.3.6.ds1-7   GNU C Library: Shared libraries
ii  libfam02.7.0-11  Client library to control the FAM
ii  libfontconfig1 2.4.1-2   generic font configuration library
ii  libfontenc11:1.0.2-2 X11 font encoding library
ii  libfreetype6   2.2.1-5   FreeType 2 font engine, shared lib
ii  libgcc11:4.1.1-19GCC support library
ii  libgl1-mesa-glx [libgl 6.5.1-0.2 A free implementation of the OpenG
ii  libglu1-mesa [libglu1] 6.5.1-0.2 The OpenGL utility library (GLU)
ii  libice61:1.0.1-2 X11 Inter-Client Exchange library
ii  libidn11   0.6.5-1   GNU libidn library, implementation
ii  libjpeg62  6b-13 The Independent JPEG Group's JPEG
ii  libpng12-0 1.2.8rel-7PNG library - runtime
ii  libqt3-mt  3:3.3.7-1 Qt GUI Library (Threaded runtime v
ii  libraw1394-8   1.2.1-2   library for direct access to IEEE
ii  libsm6 1:1.0.1-3 X11 Session Management library
ii  libssl0.9.80.9.8c-3  SSL shared libraries
ii  libstdc++6 4.1.1-19  The GNU Standard C++ Library v3
ii  libusb-0.1-4   2:0.1.12-2userspace USB programming library
ii  libx11-6   2:1.0.3-2 X11 client-side library
ii  libxcursor11.1.7-4   X cursor management library
ii  libxext6   1:1.0.1-2 X11 miscellaneous extension librar
ii  libxft22.1.8.2-8 FreeType-based font drawing librar
ii  libxi6 1:1.0.1-3 X11 Input extension library
ii  libxinerama1   1:1.0.1-4.1   X11 Xinerama extension library
ii  libxrandr2 2:1.1.0.2-4   X11 RandR extension library
ii  libxrender11:0.9.1-3 X Rendering Extension client libra
ii  libxt6 1:1.0.2-2 X11 toolkit intrinsics library
ii  libxtst6   1:1.0.1-5 X11 Testing -- Resource extension
ii  usbutils   0.72-7USB console utilities
ii  zlib1g 1:1.2.3-13compression library - runtime

Versions of packages kcontrol recommends:
ii  udev  0.100-2.2  /dev/ and hotplug management daemo

-- no debconf information


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



Bug#372719: Also affects xfs with truetype fonts

2006-08-18 Thread Rob Walker
This bug also causes xfs to crash if I use truetype fonts from X applications 
that don't do anti-aliasing (e.g. emacs, xfontsel).

Downgrading to libfreetype6 2.1.7-2.4 fixes the problem.

Rob


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



Bug#342156: ladspa-sdk: valgrind errors with sine plugin

2006-01-08 Thread Rob Walker
On Sunday 08 January 2006 02:50, Junichi Uekawa wrote:
> Hi,
>
> > Running valgrind on a program that uses the sine.so plugin in this
> > package produces the following errors:
>
> Thanks for the patch.
>
> > This is due to the plugin allocating strings with strdup, but freeing
> > them with delete[]. The attached patch fixes this, using free() to free
> > the strings.
>
> Is there a real point in applying this change or is this just to appease
> valgrind ?
>
> regards,
>   junichi

It's mainly to keep valgrind quiet, but I guess there could be some platforms 
where using delete[] on malloced memory could crash.

Regards

Rob

-- 
Rob Walker <[EMAIL PROTECTED]>
http://www.tenfoot.org.uk


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



Bug#342156: ladspa-sdk: valgrind errors with sine plugin

2005-12-05 Thread Rob Walker
Package: ladspa-sdk
Version: 1.1-2
Severity: normal
Tags: patch


Running valgrind on a program that uses the sine.so plugin in this package
produces the following errors:

$ valgrind analyseplugin /usr/lib/ladspa/sine.so




==10056== Mismatched free() / delete / delete []
==10056==at 0x1B906E4C: operator delete[](void*) (vg_replace_malloc.c:161)
==10056==by 0x1B90C097: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B974425: __cxa_finalize (in /lib/tls/libc-2.3.2.so)
==10056==by 0x1B90BC94: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B90C94B: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1BA5268F: _dl_close (in /lib/tls/libc-2.3.2.so)
==10056==by 0x1B9230AB: (within /lib/tls/libdl-2.3.2.so)
==10056==by 0x1B8F0015: _dl_catch_error (in /lib/ld-2.3.2.so)
==10056==by 0x1B9234A5: (within /lib/tls/libdl-2.3.2.so)
==10056==by 0x1B923071: dlclose (in /lib/tls/libdl-2.3.2.so)
==10056==by 0x804954E: (within /usr/bin/analyseplugin)
==10056==by 0x80492A3: (within /usr/bin/analyseplugin)
==10056==  Address 0x1BA91FF8 is 0 bytes inside a block of size 10 alloc'd
==10056==at 0x1B90659D: malloc (vg_replace_malloc.c:130)
==10056==by 0x1B9C108F: strdup (in /lib/tls/libc-2.3.2.so)
==10056==by 0x1B90C31E: StartupShutdownHandler::StartupShutdownHandler() 
(in /usr/lib/ladspa/sine.so)
==10056==by 0x1B90BD0F: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B90C0B1: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B90C928: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B90BB2C: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B8F01CD: (within /lib/ld-2.3.2.so)
==10056==by 0x1B8F02B9: _dl_init (in /lib/ld-2.3.2.so)
==10056==by 0x1BA512B1: (within /lib/tls/libc-2.3.2.so)
==10056==by 0x1B8F0015: _dl_catch_error (in /lib/ld-2.3.2.so)
==10056==by 0x1BA50ED5: _dl_open (in /lib/tls/libc-2.3.2.so)

(repeated 10 times)

==10056== Mismatched free() / delete / delete []
==10056==at 0x1B906E4C: operator delete[](void*) (vg_replace_malloc.c:161)
==10056==by 0x1B90C8F6: 
StartupShutdownHandler::deleteDescriptor(_LADSPA_Descriptor*) (in 
/usr/lib/ladspa/sine.so)
==10056==by 0x1B90BF3E: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B974425: __cxa_finalize (in /lib/tls/libc-2.3.2.so)
==10056==by 0x1B90BC94: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B90C94B: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1BA5268F: _dl_close (in /lib/tls/libc-2.3.2.so)
==10056==by 0x1B9230AB: (within /lib/tls/libdl-2.3.2.so)
==10056==by 0x1B8F0015: _dl_catch_error (in /lib/ld-2.3.2.so)
==10056==by 0x1B9234A5: (within /lib/tls/libdl-2.3.2.so)
==10056==by 0x1B923071: dlclose (in /lib/tls/libdl-2.3.2.so)
==10056==by 0x804954E: (within /usr/bin/analyseplugin)
==10056==  Address 0x1BA92670 is 0 bytes inside a block of size 10 alloc'd
==10056==at 0x1B90659D: malloc (vg_replace_malloc.c:130)
==10056==by 0x1B9C108F: strdup (in /lib/tls/libc-2.3.2.so)
==10056==by 0x1B90C2C8: StartupShutdownHandler::StartupShutdownHandler() 
(in /usr/lib/ladspa/sine.so)
==10056==by 0x1B90BD0F: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B90C0B1: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B90C928: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B90BB2C: (within /usr/lib/ladspa/sine.so)
==10056==by 0x1B8F01CD: (within /lib/ld-2.3.2.so)
==10056==by 0x1B8F02B9: _dl_init (in /lib/ld-2.3.2.so)
==10056==by 0x1BA512B1: (within /lib/tls/libc-2.3.2.so)
==10056==by 0x1B8F0015: _dl_catch_error (in /lib/ld-2.3.2.so)
==10056==by 0x1BA50ED5: _dl_open (in /lib/tls/libc-2.3.2.so)

(repeated 10 times)

==10056==
==10056== ERROR SUMMARY: 28 errors from 20 contexts (suppressed: 27 from 1)
==10056== malloc/free: in use at exit: 0 bytes in 0 blocks.
==10056== malloc/free: 60 allocs, 60 frees, 69163 bytes allocated.
==10056== For counts of detected errors, rerun with: -v
==10056== No malloc'd blocks -- no leaks are possible.


This is due to the plugin allocating strings with strdup, but freeing them
with delete[]. The attached patch fixes this, using free() to free the strings.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11.12
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages ladspa-sdk depends on:
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1 1:3.4.3-13   GCC support library
ii  libstdc++5  1:3.3.5-13   The GNU Standard C++ Library v3

-- no debconf information
--- ladspa_sdk/src/plugins/sine.cpp 2002-07-06 18:23:17.0 +0100
+++ ladspa_sdk-fix/src/plugins/sine.cpp 2005-12-05 21:14:22.0 +
@@ -333,13 +333,13 @@
   void deleteDescriptor(LADSPA_Descriptor * psDescriptor) {
 unsigned long lIndex;
 if (psDescriptor) {
-  delete [] psDescriptor->Label;
-  delete [] psDescriptor->Name;
-  delete [] psDescriptor

Bug#338269: knights: change of dependency?

2005-11-25 Thread Rob Walker

At Wed, 23 Nov 2005 19:17:34 +0100,
Tommaso Moroni wrote:
> 
> On Wed, Nov 23, 2005 at 02:46:57AM +0000, Rob Walker wrote:
> > Now that #336114 is closed, do you think we should file a bug against
> > the proper kde packages, and then link this bug to that one?
> 
> I think the right way should be to simply reassign the bug to the appropriate 
> package, but sincerely I don't know which one should be! :)
> Moreover the bug actually should be closed when a build of knights with 
> working libs is uploaded, so I think it should be considered as a knights
> bug. (I think I'm the first maintainer who tries to keep a RC-bug instead
> of reassigning it to another package or closing it :)
> 
> By the way a recompiled/renamed version of libarts has been uploaded so it
> should be a matter of days before everything will work again.

Thanks for the update, and thanks for not re-assigning the bug to get it out 
of your queue.  :-)

I can get the new arts, but that will force me to get rid of all of the other
k* packages which depend on it.  I don't know how to force all of those k*
packages to to re-builds, do you?

rob


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



Bug#338269: knights: change of dependency?

2005-11-22 Thread Rob Walker
Package: knights
Version: 0.6-5
Followup-For: Bug #338269


Tommaso,

Now that #336114 is closed, do you think we should file a bug against
the proper kde packages, and then link this bug to that one?

rob


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages knights depends on:
ii  kdelibs4c2   4:3.4.2-4   core libraries for all KDE applica
ii  libart-2.0-2 2.3.17-1Library of functions for 2D graphi
ii  libarts1c2   1.4.2-5 aRts sound system core components
ii  libasound2   1.0.9-3 ALSA library
ii  libaudio21.7-3   The Network Audio System (NAS). (s
ii  libaudiofile00.2.6-6 Open-source version of SGI's audio
ii  libc62.3.5-8 GNU C Library: Shared libraries an
ii  libesd0  0.2.36-1Enlightened Sound Daemon - Shared 
ii  libfam0  2.7.0-8 client library to control the FAM 
ii  libfontconfig1   2.3.2-1.1   generic font configuration library
ii  libfreetype6 2.1.10-1FreeType 2 font engine, shared lib
ii  libgcc1  1:4.0.2-4   GCC support library
ii  libglib2.0-0 2.8.4-2 The GLib library of C routines
ii  libice6  6.8.2.dfsg.1-10 Inter-Client Exchange library
ii  libidn11 0.5.18-1GNU libidn library, implementation
ii  libjack0.100.0-0 0.100.0-4   JACK Audio Connection Kit (librari
ii  libjpeg626b-10   The Independent JPEG Group's JPEG 
ii  libmad0  0.15.1b-2.1 MPEG audio decoder library
ii  libogg0  1.1.2-1 Ogg Bitstream Library
ii  libpng12-0   1.2.8rel-5  PNG library - runtime
ii  libqt3-mt3:3.3.5-1   Qt GUI Library (Threaded runtime v
ii  libsm6   6.8.2.dfsg.1-10 X Window System Session Management
ii  libstdc++6   4.0.2-4 The GNU Standard C++ Library v3
ii  libvorbis0a  1.1.0-1 The Vorbis General Audio Compressi
ii  libvorbisenc21.1.0-1 The Vorbis General Audio Compressi
ii  libvorbisfile3   1.1.0-1 The Vorbis General Audio Compressi
ii  libx11-6 6.8.2.dfsg.1-10 X Window System protocol client li
ii  libxcursor1  1.1.3-1 X cursor management library
ii  libxext6 6.8.2.dfsg.1-10 X Window System miscellaneous exte
ii  libxft2  2.1.7-1 FreeType-based font drawing librar
ii  libxi6   6.8.2.dfsg.1-10 X Window System Input extension li
ii  libxinerama1 6.8.2.dfsg.1-10 X Window System multi-head display
ii  libxrandr2   6.8.2.dfsg.1-10 X Window System Resize, Rotate and
ii  libxrender1  1:0.9.0-2   X Rendering Extension client libra
ii  libxt6   6.8.2.dfsg.1-10 X Toolkit Intrinsics
ii  xlibs6.8.2.dfsg.1-10 X Window System client libraries m
ii  zlib1g   1:1.2.3-8   compression library - runtime

knights recommends no packages.

-- no debconf information


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



Bug#216766: boot-icons: more info on 216766

2005-11-21 Thread Rob Walker
Package: boot-icons
Version: 0.5
Followup-For: Bug #216766


I was able to get boot-icons to work on my machine.

However, the earlier email was correct, the problem is that the penguin
logo is not turned on by default with debian kernels.

I turned on the logo, but it didn't show up until I removed the module
setting from FRAMEBUFFER_CONSOLE.

Here is the output of a diff:

t41p:/usr/src/linux-source-2.6.14# diff .config /boot/config-2.6.14-1-686
3,4c3,4
< # Linux kernel version: 2.6.14rob-1
< # Tue Nov 22 00:52:27 2005
---
> # Linux kernel version: 2.6.14-1-686
> # Tue Nov  1 15:33:16 2005
2462c2462
< CONFIG_FRAMEBUFFER_CONSOLE=y
---
> CONFIG_FRAMEBUFFER_CONSOLE=m
2470,2473c2470
< CONFIG_LOGO=y
< # CONFIG_LOGO_LINUX_MONO is not set
< # CONFIG_LOGO_LINUX_VGA16 is not set
< CONFIG_LOGO_LINUX_CLUT224=y
---
> # CONFIG_LOGO is not set

With this, I get the penguin logo, and then the other boot-icons show up
as well.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14rob-1
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages boot-icons depends on:
ii  libc6 2.3.5-8GNU C Library: Shared libraries an

boot-icons recommends no packages.

-- no debconf information


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



Bug#338269: knights: fails to start

2005-11-08 Thread Rob Walker
Package: knights
Version: 0.6-5
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.emp8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages knights depends on:
ii  kdelibs4c2   4:3.4.2-4   core libraries for all KDE applica
hi  libart-2.0-2 2.3.17-1Library of functions for 2D graphi
ii  libarts1c2   1.4.2-5 aRts sound system core components
ii  libasound2   1.0.9-3 ALSA library
ii  libaudio21.7-3   The Network Audio System (NAS). (s
ii  libaudiofile00.2.6-6 Open-source version of SGI's audio
ii  libc62.3.5-6 GNU C Library: Shared libraries an
ii  libesd0  0.2.36-1Enlightened Sound Daemon - Shared 
ii  libfam0c102 [libfam0]2.7.0-7 client library to control the FAM 
hi  libfontconfig1   2.3.2-1 generic font configuration library
ii  libfreetype6 2.1.7-2.4   FreeType 2 font engine, shared lib
hi  libgcc1  1:4.0.2-2   GCC support library
ii  libglib2.0-0 2.8.3-1 The GLib library of C routines
ii  libice6  6.8.2.dfsg.1-7  Inter-Client Exchange library
ii  libidn11 0.5.18-1GNU libidn library, implementation
ii  libjack0.100.0-0 0.100.0-4   JACK Audio Connection Kit (librari
hi  libjpeg626b-10   The Independent JPEG Group's JPEG 
ii  libmad0  0.15.1b-2.1 MPEG audio decoder library
ii  libogg0  1.1.2-1 Ogg Bitstream Library
hi  libpng12-0   1.2.8rel-5  PNG library - runtime
ii  libqt3-mt3:3.3.5-1   Qt GUI Library (Threaded runtime v
ii  libsm6   6.8.2.dfsg.1-7  X Window System Session Management
ii  libstdc++6   4.0.2-2 The GNU Standard C++ Library v3
ii  libvorbis0a  1.1.0-1 The Vorbis General Audio Compressi
ii  libvorbisenc21.1.0-1 The Vorbis General Audio Compressi
ii  libvorbisfile3   1.1.0-1 The Vorbis General Audio Compressi
ii  libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxcursor1  1.1.3-1 X cursor management library
ii  libxext6 6.8.2.dfsg.1-7  X Window System miscellaneous exte
hi  libxft2  2.1.7-1 FreeType-based font drawing librar
ii  libxi6   6.8.2.dfsg.1-7  X Window System Input extension li
ii  libxinerama1 6.8.2.dfsg.1-7  X Window System multi-head display
ii  libxrandr2   6.8.2.dfsg.1-7  X Window System Resize, Rotate and
ii  libxrender1  1:0.9.0-2   X Rendering Extension client libra
ii  libxt6   6.8.2.dfsg.1-7  X Toolkit Intrinsics
hi  xlibs6.8.2.dfsg.1-7  X Window System client libraries m
hi  zlib1g   1:1.2.2-4   compression library - runtime

-- no debconf information



When I start knights, I get the following error immediately on the
konsole that I started it from:

[EMAIL PROTECTED]:~$ knights
KCrash: Application 'knights' crashing...

I have run it four different times, once "knights", once "artsdsp
knights", and once for each of those two ways, but with the variable
export MALLOC_CHECK_=1 set.  

I then saved the error message that kde gave me with each of those
four times.  Here they are:

1. plain "knights"

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols foun

Bug#335221: wl-summary-reply-with-citation (A) is broken

2005-10-24 Thread Rob Walker

At Mon, 24 Oct 2005 22:00:33 +0900 (JST),
Tatsuya Kinoshita wrote:
> 
> [1  ]
> On October 23, 2005 at 4:53PM -0700,
> rob (at ladle.net) wrote:
> 
> > With twm, select-convert-out does not get called at all.
> >
> > I am writing this email to you under twm, started via "startx -- :1"
> > on my VT8.
> >
> > Here are the things which I can think of that are different between
> > the two environments.
> >
> > KDE is my normal environment.
> > I start KDE with kdm, this one was started with startx.
> > KDE is run under ssh-agent, this twm is not.
> > My ctrl and capslock are swapped within KDE.
> 
> Could you please ask the wl-en mailing list about this issue?
> 
> I don't have enough time to construct the testing environments.
> If you send a question to wl-en, another person may answer.

Yes.

rob


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



Bug#335221: wl-summary-reply-with-citation (A) is broken

2005-10-24 Thread Rob Walker

At Sun, 23 Oct 2005 18:46:17 -0700,
Rob Walker wrote:

> I think now that it is probably KDE, even though I want to rule out
> the ssh-agent and the control/capslock stuff.

I ran KDE without ssh-agent, and it still is broken.

I got rid of the capslock changed, and it still is broken.

I believe it is KDE vs. twm at this point.

rob


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



Bug#335221: wl-summary-reply-with-citation (A) is broken

2005-10-23 Thread Rob Walker
At Sun, 23 Oct 2005 04:29:19 +0900 (JST),
Tatsuya Kinoshita wrote:
> 
> On October 21, 2005 at 6:16PM -0700,
> rob (at ladle.net) wrote:
> 
> > Package: wl
> > Version: 2.14.0-2
> > Severity: normal
> >
> >
> > If I start up wl, and then hit A to do a reply with citation, I get the 
> > following in my *Backtrace* buffer:
> >
> > Debugger entered--Lisp error: (error "markers must be in the same buffer" 
> > # #)
> >   signal(error ("markers must be in the same buffer" # > +draft/120 0x8ca9b5c> #))
> >   select-convert-to-text(PRIMARY COMPOUND_TEXT (# > +draft/120 0x8ca9b5c> . #))
> >   select-convert-to-compound-text(PRIMARY COMPOUND_TEXT (# > +draft/120 0x8ca9b5c> . #))
> >   apply(select-convert-to-compound-text (PRIMARY COMPOUND_TEXT (# > 443 in +draft/120 0x8ca9b5c> . #)))
> >   select-convert-out(PRIMARY COMPOUND_TEXT (# > 0x8ca9b5c> . #))
> 
> On my Debian sid environment, `select-convert-out' is not called
> and the error doesn't occur.
> 
> Could you please try the following procedure to invoke debugger?
> 
> * `M-x wl RET'
> * `M-: (load "wl-summary.el") RET'
> * `M-: (debug-on-entry 'select-convert-out) RET'
> * go to Summary and type `A'

We do not enter select-convert-out when I don't run a window manager
at all.

I used startx, and that started up KDE, and I still entered
select-convert-out when I hit A.

I used 'xinit -- :1', and tried 'startkde', and I still entered
select-convert-out when I hit A.

I am now trying xemacs without any window manager running at all, and
am not having any problem.

I guess we can rule out XFree86 as the culprit.

I think now that it is probably KDE, even though I want to rule out
the ssh-agent and the control/capslock stuff.

thanks,
rob



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



Bug#335221: wl-summary-reply-with-citation (A) is broken

2005-10-23 Thread Rob Walker
At Sun, 23 Oct 2005 21:14:55 +0900 (JST),
Tatsuya Kinoshita wrote:
> 
> [1  ]
> On October 22, 2005 at 6:03PM -0700,
> rob (at ladle.net) wrote:
> 
> > > On my system, `select-convert-out' is not called and debugger is
> > > not invoked.
> >
> > Hrmm...   which XEmacs are you using?
> 
> Debian package xemacs21-mule_21.4.17-2_i386.deb, with xserver-xorg
> 6.8.2.dfsg.1-8, window manager is twm.
> 
> 
> `emacs-version' is a variable declared in Lisp.
>   -- loaded from 
> "/home/mohura/packages/build-area/xemacs21-21.4.17/lisp/version.el"
> 
> Value: "21.4 (patch 17) \"Jumbo Shrimp\" XEmacs Lucid"
> 
> Documentation:
> Version numbers of this version of XEmacs.
> 

With twm, select-convert-out does not get called at all.

I am writing this email to you under twm, started via "startx -- :1"
on my VT8.

Here are the things which I can think of that are different between
the two environments.

KDE is my normal environment.
I start KDE with kdm, this one was started with startx.
KDE is run under ssh-agent, this twm is not.
My ctrl and capslock are swapped within KDE.

rob


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



Bug#335221: wl-summary-reply-with-citation (A) is broken

2005-10-22 Thread Rob Walker
At Sun, 23 Oct 2005 09:00:51 +0900 (JST),
Tatsuya Kinoshita wrote:
> 
> [1  ]
> On October 22, 2005 at 3:05PM -0700,
> rob (at ladle.net) wrote:
> 
> > Debugger entered--entering a function:
> > * select-convert-out(PRIMARY TARGETS (# > 0x8337abc> . #))
> 
> > It seems to keep running.  Every time I do a C-SPC, or try to mark the
> > area for cutting, it makes another couple of lines.
> >
> > It is like it is on a timer, which keeps firing, and re-doing the
> > error message.  If I C-SPC anywhere, in any buffer, we go back into
> > the *Backtrace* buffer.
> 
> I don't know why `select-convert-out' is called frequently on your
> XEmacs...
> 
> Could you please try the following?
> 
> * Run `xemacs21-mule -q -no-site-file -nw'
> * Type `M-: (debug-on-entry 'select-convert-out) RET'
> * Type C-SPC or so

This really hit upon something.  I am running xemacs with '-nw', and
with the wl-auto-save-drafts-interval set to the default, with a save
after one second.

I don't get the errors any more, so it is certainly a problem with the
way that it is working under X, and not under "-nw".

I am going to try now with wl-auto-save-drafts-interval set to nil,
under X, and see what happens.

Same problem, I thought it would.

There is something with select-convert-out and X, I fear.  Is it time
to ask the XEmacs people about it?

rob


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



Bug#335221: wl-summary-reply-with-citation (A) is broken

2005-10-22 Thread Rob Walker
At Sun, 23 Oct 2005 09:00:51 +0900 (JST),
Tatsuya Kinoshita wrote:
> 
> [1  ]
> On October 22, 2005 at 3:05PM -0700,
> rob (at ladle.net) wrote:
> 
> > Debugger entered--entering a function:
> > * select-convert-out(PRIMARY TARGETS (# > 0x8337abc> . #))
> 
> > It seems to keep running.  Every time I do a C-SPC, or try to mark the
> > area for cutting, it makes another couple of lines.
> >
> > It is like it is on a timer, which keeps firing, and re-doing the
> > error message.  If I C-SPC anywhere, in any buffer, we go back into
> > the *Backtrace* buffer.
> 
> I don't know why `select-convert-out' is called frequently on your
> XEmacs...

I figured one part of it out.  If I have 

(setq wl-auto-save-drafts-interval nil)

in my .wl file, I no longer get the continuing errors.  It must be
doing every time that the auto-save auto-saves.

> Could you please try the following?

I will do that, but I have to have a separate xemacs running for those
tests, since turning on that debug makes xemacs completely unusable.

> * Run `xemacs21-mule -q -no-site-file -nw'
> * Type `M-: (debug-on-entry 'select-convert-out) RET'
> * Type C-SPC or so

nothing happens.  I opened up a file, used dired a little bit, and it
never called that one.


> * Run `xemacs21-mule -q -no-site-file'
> * Type `M-: (debug-on-entry 'select-convert-out) RET'
> * Type C-SPC or so

Debugger entered--entering a function:
* select-convert-out(PRIMARY TIMESTAMP (# 
. #))

> * Run `xemacs21-mule -q'
> * Type `M-: (debug-on-entry 'select-convert-out) RET'
> * Type C-SPC or so

Debugger entered--entering a function:
* select-convert-out(PRIMARY TARGETS (# . 
#))
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart 
debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs 
debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit 
standard-output] 3)
  debug(debug)
* select-convert-out(PRIMARY TIMESTAMP (# 
. #))

> * Run `xemacs21-mule'
> * Type `M-: (debug-on-entry 'select-convert-out) RET'
> * Type C-SPC or so

Debugger entered--entering a function:
* select-convert-out(PRIMARY TARGETS (# . 
#))
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart 
debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs 
debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit 
standard-output] 3)
  debug(debug)
* select-convert-out(PRIMARY TIMESTAMP (# 
. #))


> On my system, `select-convert-out' is not called and debugger is
> not invoked.

Hrmm...   which XEmacs are you using?  I have 

`emacs-version' is a variable declared in Lisp.
  -- loaded from 
"/home/mohura/packages/build-area/xemacs21-21.4.17/lisp/version.el"

Value: "21.4 (patch 17) \"Jumbo Shrimp\" XEmacs Lucid"

Documentation:
Version numbers of this version of XEmacs.

and 21.4.17 is the current version, according to
http://ftp.us.xemacs.org/ftp/pub/xemacs/


I also don't like how I my second test is different from my third and
fourth ones.  I am going to re-run it.

> * Run `xemacs21-mule -q -no-site-file'
> * Type `M-: (debug-on-entry 'select-convert-out) RET'
> * Type C-SPC or so

ok, now it is the same as those other two:

Debugger entered--entering a function:
* select-convert-out(PRIMARY TARGETS (# . 
#))
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart 
debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs 
debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit 
standard-output] 3)
  debug(debug)
* select-convert-out(PRIMARY TIMESTAMP (# 
. #))


rob


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



Bug#335221: wl-summary-reply-with-citation (A) is broken

2005-10-22 Thread Rob Walker
At Sat, 22 Oct 2005 15:31:49 -0700,
Rob Walker wrote:
> 
> At Sun, 23 Oct 2005 04:29:19 +0900 (JST),
> Tatsuya Kinoshita wrote:
> > 
> > [1  ]
> > On October 21, 2005 at 6:16PM -0700,
> > rob (at ladle.net) wrote:
> > 
> > > Package: wl
> > > Version: 2.14.0-2
> > > Severity: normal
> > >
> > >
> > > If I start up wl, and then hit A to do a reply with citation, I get the 
> > > following in my *Backtrace* buffer:
> > >
> > > Debugger entered--Lisp error: (error "markers must be in the same buffer" 
> > > # #)
> > >   signal(error ("markers must be in the same buffer" # > > +draft/120 0x8ca9b5c> #))
> > >   select-convert-to-text(PRIMARY COMPOUND_TEXT (# > > +draft/120 0x8ca9b5c> . #))
> > >   select-convert-to-compound-text(PRIMARY COMPOUND_TEXT (# > > in +draft/120 0x8ca9b5c> . #))
> > >   apply(select-convert-to-compound-text (PRIMARY COMPOUND_TEXT (# > > at 443 in +draft/120 0x8ca9b5c> . #)))
> > >   select-convert-out(PRIMARY COMPOUND_TEXT (# > > 0x8ca9b5c> . #))
> > 
> > On my Debian sid environment, `select-convert-out' is not called
> > and the error doesn't occur.
> > 
> > Could you please try the following procedure to invoke debugger?
> > 
> > * `M-x wl RET'
> > * `M-: (load "wl-summary.el") RET'
> > * `M-: (debug-on-entry 'select-convert-out) RET'
> > * go to Summary and type `A'
> 
> I have started a "grep -rni select-convert-out *" in my /usr/share/
> directory, to see what might be causing this.

xemacs-21.4.17/lisp/ChangeLog:3349: * select.el (select-convert-out): New.
Binary file xemacs-21.4.17/lisp/select.elc matches

rob


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



Bug#335221: wl-summary-reply-with-citation (A) is broken

2005-10-22 Thread Rob Walker

At Sat, 22 Oct 2005 15:31:49 -0700,
Rob Walker wrote:
> 
> At Sun, 23 Oct 2005 04:29:19 +0900 (JST),
> Tatsuya Kinoshita wrote:
> > 
> > [1  ]
> > On October 21, 2005 at 6:16PM -0700,
> > rob (at ladle.net) wrote:
> > 
> > > Package: wl
> > > Version: 2.14.0-2
> > > Severity: normal
> > >
> > >
> > > If I start up wl, and then hit A to do a reply with citation, I get the 
> > > following in my *Backtrace* buffer:
> > >
> > > Debugger entered--Lisp error: (error "markers must be in the same buffer" 
> > > # #)
> > >   signal(error ("markers must be in the same buffer" # > > +draft/120 0x8ca9b5c> #))
> > >   select-convert-to-text(PRIMARY COMPOUND_TEXT (# > > +draft/120 0x8ca9b5c> . #))
> > >   select-convert-to-compound-text(PRIMARY COMPOUND_TEXT (# > > in +draft/120 0x8ca9b5c> . #))
> > >   apply(select-convert-to-compound-text (PRIMARY COMPOUND_TEXT (# > > at 443 in +draft/120 0x8ca9b5c> . #)))
> > >   select-convert-out(PRIMARY COMPOUND_TEXT (# > > 0x8ca9b5c> . #))
> > 
> > On my Debian sid environment, `select-convert-out' is not called
> > and the error doesn't occur.
> > 
> > Could you please try the following procedure to invoke debugger?
> > 
> > * `M-x wl RET'
> > * `M-: (load "wl-summary.el") RET'
> > * `M-: (debug-on-entry 'select-convert-out) RET'
> > * go to Summary and type `A'
> 
> I have started a "grep -rni select-convert-out *" in my /usr/share/
> directory, to see what might be causing this.

> I am also having a hard time copying anything from the backtrace
> buffer, as it is continualy throwing an error every couple of seconds,
> even when I am in the *Backtrace* buffer.

I am not able to get a copy of the backtrace buffer.  If I go into it
and try to save the buffer to a file, it keeps throwing errors left
and right.  I have tried to save it to a file, but that file ends up
being empty.

Maybe a screenshot from an external application would help.  Would you
like me to do that?

rob



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



Bug#335221: wl-summary-reply-with-citation (A) is broken

2005-10-22 Thread Rob Walker
At Sun, 23 Oct 2005 04:29:19 +0900 (JST),
Tatsuya Kinoshita wrote:
> 
> [1  ]
> On October 21, 2005 at 6:16PM -0700,
> rob (at ladle.net) wrote:
> 
> > Package: wl
> > Version: 2.14.0-2
> > Severity: normal
> >
> >
> > If I start up wl, and then hit A to do a reply with citation, I get the 
> > following in my *Backtrace* buffer:
> >
> > Debugger entered--Lisp error: (error "markers must be in the same buffer" 
> > # #)
> >   signal(error ("markers must be in the same buffer" # > +draft/120 0x8ca9b5c> #))
> >   select-convert-to-text(PRIMARY COMPOUND_TEXT (# > +draft/120 0x8ca9b5c> . #))
> >   select-convert-to-compound-text(PRIMARY COMPOUND_TEXT (# > +draft/120 0x8ca9b5c> . #))
> >   apply(select-convert-to-compound-text (PRIMARY COMPOUND_TEXT (# > 443 in +draft/120 0x8ca9b5c> . #)))
> >   select-convert-out(PRIMARY COMPOUND_TEXT (# > 0x8ca9b5c> . #))
> 
> On my Debian sid environment, `select-convert-out' is not called
> and the error doesn't occur.
> 
> Could you please try the following procedure to invoke debugger?
> 
> * `M-x wl RET'
> * `M-: (load "wl-summary.el") RET'
> * `M-: (debug-on-entry 'select-convert-out) RET'
> * go to Summary and type `A'

I have started a "grep -rni select-convert-out *" in my /usr/share/
directory, to see what might be causing this.

I am also having a hard time copying anything from the backtrace
buffer, as it is continualy throwing an error every couple of seconds,
even when I am in the *Backtrace* buffer.

I notice that my draft buffer keeps saving every few seconds, as
well.  A message of "Saving..." appears in the minibuffer, and it
saves my draft, and then returns control back to me in the buffer.

Does that have anything to do with the error?

rob





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



Bug#335221: wl-summary-reply-with-citation (A) is broken

2005-10-22 Thread Rob Walker
At Sun, 23 Oct 2005 04:29:19 +0900 (JST),
Tatsuya Kinoshita wrote:

> > Debugger entered--Lisp error: (error "markers must be in the same buffer" 
> > # #)
> >   signal(error ("markers must be in the same buffer" # > +draft/120 0x8ca9b5c> #))
> >   select-convert-to-text(PRIMARY COMPOUND_TEXT (# > +draft/120 0x8ca9b5c> . #))
> >   select-convert-to-compound-text(PRIMARY COMPOUND_TEXT (# > +draft/120 0x8ca9b5c> . #))
> >   apply(select-convert-to-compound-text (PRIMARY COMPOUND_TEXT (# > 443 in +draft/120 0x8ca9b5c> . #)))
> >   select-convert-out(PRIMARY COMPOUND_TEXT (# > 0x8ca9b5c> . #))
> 
> On my Debian sid environment, `select-convert-out' is not called
> and the error doesn't occur.
> 
> Could you please try the following procedure to invoke debugger?
> 
> * `M-x wl RET'
> * `M-: (load "wl-summary.el") RET'
> * `M-: (debug-on-entry 'select-convert-out) RET'
> * go to Summary and type `A'

I did that, here is what I got:

Debugger entered--entering a function:
* select-convert-out(PRIMARY TARGETS (# 
. #))
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart 
debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs 
debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit 
standard-output] 3)
  debug(debug)
* select-convert-out(PRIMARY TIMESTAMP (# . #))
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart 
debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs 
debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit 
standard-output] 3)
  debug(debug)
* select-convert-out(PRIMARY TARGETS (# . #))
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart 
debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs 
debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit 
standard-output] 3)
  debug(debug)
* select-convert-out(PRIMARY TIMESTAMP (# . #))
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart 
debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs 
debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit 
standard-output] 3)
  debug(debug)
* select-convert-out(PRIMARY TARGETS (# . 
#))
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart 
debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs 
debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit 
standard-output] 3)
  debug(debug)
* select-convert-out(PRIMARY COMPOUND_TEXT (# . 
#))
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart 
debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs 
debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit 
standard-output] 3)
  debug(debug)
* select-convert-out(PRIMARY TARGETS (# . 
#))
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart 
debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs 
debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit 
standard-output] 3)
  debug(debug)
* select-convert-out(PRIMARY TIMESTAMP (# . 
#))
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart 
debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs 
debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit 
standard-output] 3)
  debug(debug)
* select-convert-out(CLIPBOARD TIMESTAMP "current")


It seems to keep running.  Every time I do a C-SPC, or try to mark the
area for cutting, it makes another couple of lines.

It is like it is on a timer, which keeps firing, and re-doing the
error message.  If I C-SPC anywhere, in any buffer, we go back into
the *Backtrace* buffer.

I am going to try the test again, and see if I can get just one set of
debug output.

rob


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



Bug#335221: wl-summary-reply-with-citation (A) is broken

2005-10-22 Thread Rob Walker
Package: wl
Version: 2.14.0-2
Severity: normal


If I start up wl, and then hit A to do a reply with citation, I get the 
following in my *Backtrace* buffer:

Debugger entered--Lisp error: (error "markers must be in the same buffer" 
# #)
  signal(error ("markers must be in the same buffer" # #))
  select-convert-to-text(PRIMARY COMPOUND_TEXT (# . #))
  select-convert-to-compound-text(PRIMARY COMPOUND_TEXT (# . #))
  apply(select-convert-to-compound-text (PRIMARY COMPOUND_TEXT (# . #)))
  select-convert-out(PRIMARY COMPOUND_TEXT (# . #))

I have removed as many things from /etc/emacs/site-start.d/ as possible, using 
dpkg --purge .

Right now I have the following in /etc/emacs/site-start.d/

ls /etc/emacs/site-start.d/
00debian-vars.el  20apel.el  50autoconf.el  50dictionaries-common.el  50flim.el 
 51semi.el  65wl.el

I --purged emacs21 and mailcrypt, and I still get the same error

I am next going to purge wl and the supporting packages, and see if I
can make it work with XEmacs and the wl source.


Is there a way to put emacs/wl into a debugger, and single-step through each 
elisp statement?

thanks,
rob








-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.1020050221
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages wl depends on:
pi  apel   10.6+0.20050606-1 portable library for emacsen
pi  flim   1:1.14.7+0.20041120-1 library about internet message for
ii  make   3.80-11   The GNU version of the "make" util
pi  semi   1.14.6+0.20050510-1   library to provide MIME feature fo
ii  xemacs21-mule [ema 21.4.17-2 highly customizable text editor --

-- no debconf information


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



Bug#312732: apt-cacher-import.pl does not support udebs

2005-06-09 Thread Rob Walker
Package: apt-cacher
Version: 0.9.4
Severity: minor
Tags: patch


apt-cacher-import.pl does not handle udebs.  Adding <*.udeb> to the
appropriate line in the script allows udebs to be imported to the cache.

--- /usr/share/apt-cacher/apt-cacher-import.pl  2005-05-27 19:07:36.0 
+0100
+++ /home/rob/tmp/apt-cacher-import.pl  2005-06-09 22:00:49.0 +0100
@@ -69,7 +69,7 @@
 chdir("$import_dir") || die "apt-cacher-import.pl: can't open the import 
directory ($import_dir)";

 ### Loop through all the .debs in the import dir
-foreach $packagefile ( <*.deb>, <*.gz>, <*.bz2> ) {
+foreach $packagefile ( <*.deb>, <*.udeb>, <*.gz>, <*.bz2> ) {


# Get some things we need to insert into the header


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11.9
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages apt-cacher depends on:
ii  curl 7.13.2-2Get a file from an HTTP, HTTPS, FT
ii  perl 5.8.4-8 Larry Wall's Practical Extraction 
ii  thttpd [httpd-cgi]   2.23beta1-3 tiny/turbo/throttling HTTP server

-- no debconf information


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



Bug#312724: apt-cacher: tries to open all deb files read/write

2005-06-09 Thread Rob Walker
Package: apt-cacher
Version: 0.9.4
Severity: normal
Tags: patch


I have apt-cacher set up to serve previously downloaded debs.  Some of these
are symlinks to directories I have archived to CD and made read only.
apt-cacher opens all files read/write when it's checking that the file is
complete and so fails on some debs.  This is only really necessary when the
file is not downloaded at all or only partially downloaded.  The attached patch
fixes this.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11.9
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages apt-cacher depends on:
ii  curl 7.13.2-2Get a file from an HTTP, HTTPS, FT
ii  perl 5.8.4-8 Larry Wall's Practical Extraction 
ii  thttpd [httpd-cgi]   2.23beta1-3 tiny/turbo/throttling HTTP server

-- no debconf information


--- /usr/share/apt-cacher/apt-cacher.pl 2005-05-27 19:07:36.0 +0100
+++ /extra/cgi-bin/apt-cacher   2005-06-09 21:26:41.0 +0100
@@ -517,23 +517,15 @@ if (!-f $cached_file) {
barf("Tried to create $cached_file, but failed");
 }
 
-# Ok, the file exists. Open it if we didn't already.
-if (!$is_open) {
-   #print STDERR "--- Open $cached_file\n";
-   debug_message("open $cached_file");
-   
-   if (!sysopen(CF, $cached_file, O_RDWR)) {
-   writeerrorlog("unable to open incomplete $cached_file: $!");
-   barf("Unable to open incomplete $cached_file: $!");
-   }
-   $is_open = 1;
-}
-
 # Is it incomplete?
 if (!-f "$private_dir/$new_filename.complete") {
$is_incomplete = 1;
#print STDERR "--- File is not complete\n";
debug_message("file is not complete");
+   if (!sysopen(CF, $cached_file, O_RDWR)) {
+   writeerrorlog("unable to open incomplete $cached_file: $!");
+   barf("Unable to open incomplete $cached_file: $!");
+   }
if (flock(CF, LOCK_EX|LOCK_NB)) {
   # file locked, nobody's touching it ...
   # Have to truncate it, because we can't rely on "resume"
@@ -562,7 +554,7 @@ my $header_printed=0;
 
 # reopen the file to not share the lock with the fetcher
 my $fromfile;
-if (!sysopen($fromfile, $cached_file, O_RDWR)) {
+if (!sysopen($fromfile, $cached_file, O_RDONLY)) {
# don't barf. If there are network problems, they are signaled via errorfile
# below, but not here
 #   writeerrorlog("weird, unable to open incomplete $cached_file: $!");


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



Bug#302810: ktrack: not able to install, linked against hamlib2

2005-04-02 Thread Rob Walker
Package: ktrack
Version: 0.3.0-alpha1-6
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.1020050221
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)



[EMAIL PROTECTED]:~# apt-get install hamlib2
Reading Package Lists... Done
Building Dependency Tree... Done
Package hamlib2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package hamlib2 has no installation candidate
[EMAIL PROTECTED]:~#


and ktrack requires hamlib2


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