Package: bootcd Version: 3.23 Severity: normal Tags: patch It seems that since Debian Squeeze, LXDE depends on writing to ~/.cache directory to completely populate the LXDE menu.
debian-squeeze:~# ls -al .cache/menus/ total 16 drwxr-xr-x 2 root root 4096 2011-02-25 15:39 . drwxr-xr-x 3 root root 4096 2011-02-11 14:23 .. -rw------- 1 root root 2705 2011-02-25 16:22 3df80abee392997597f2fcb4e42696df -rwxr-xr-x 1 root root 2396 2011-02-14 14:17 733773b31cfad39c82ddca9f6bff4758 The .cache directory was not present in Debian Lenny and hence this proplem did not occur on it. Solution is to exclude .cache directory in $NOT_TO_RAM variable in bootcdwrite.conf file. I am attaching the following patch to fix this: --- bootcd-3.23/bootcdwrite.conf 2011-02-28 13:29:12.000000000 -0800 +++ bootcd-3.23-dev/bootcdwrite.conf 2011-02-28 13:31:58.000000000 -0800 @@ -52,7 +52,7 @@ # exclude some files or directories from loading to ram # Because most people's home and root dir are to large to include # in RAM, subdirectories can be excluded: -NOT_TO_RAM="$(find $SRCDISK/home $SRCDISK/root -maxdepth 1 -mindepth 1 -type d)" +NOT_TO_RAM="$(find $SRCDISK/home $SRCDISK/root -maxdepth 1 -mindepth 1 -type d | grep -v ".cache")" # If you are using ssh it is helpful to have a unique ssh hostkey for # each CD. -- System Information: Debian Release: 6.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages bootcd depends on: ii bootcd-i386 3.23 bootcd extension to create images ii cpio 2.11-4 GNU cpio -- a program to manage ar ii dosfstools 3.0.9-1 utilities for making and checking ii fdutils 5.5-20060227-4 Linux floppy utilities ii file 5.04-5 Determines file type using "magic" ii genisoimage 9:1.1.11-1 Creates ISO-9660 CD-ROM filesystem ii realpath 1.15 Return the canonicalized absolute Versions of packages bootcd recommends: ii wodim 9:1.1.11-1 command line CD/DVD writing tool Versions of packages bootcd suggests: ii bootcd-mkinitramfs 3.23 initramfs extension for bootcd pn ssh <none> (no description available) -- no debconf information
--- bootcd-3.23/bootcdwrite.conf 2011-02-28 13:29:12.000000000 -0800 +++ bootcd-3.23-dev/bootcdwrite.conf 2011-02-28 13:31:58.000000000 -0800 @@ -52,7 +52,7 @@ # exclude some files or directories from loading to ram # Because most people's home and root dir are to large to include # in RAM, subdirectories can be excluded: -NOT_TO_RAM="$(find $SRCDISK/home $SRCDISK/root -maxdepth 1 -mindepth 1 -type d)" +NOT_TO_RAM="$(find $SRCDISK/home $SRCDISK/root -maxdepth 1 -mindepth 1 -type d | grep -v ".cache")" # If you are using ssh it is helpful to have a unique ssh hostkey for # each CD.

