Bug#652946: live-installer does not install /var/spool and breaks crontab
after building a live image with live-build using the "daily" wheezy/sid
installer and installed the image to disk crontab and postfix failed to
start (this is a debian wheezy/testing image). The problem was a missing
/var/spool directory in the installed system, that live-installer did
not "copy" to disk.
While the installer "copies" the files in /live/filesystem.squashfs I've
opened tty2 and confirmed that /var/spool is in the image
and is polulated. But after copying the files to disk, still in the
installer, /var/spool does not exist.
After install /var/spool does not exist. This breaks crontab and
probably all other packages that expect a /var/spool directory.
To fix (only) the crontab error, recreate the /var/spool directory in
the installed system after 1st boot:
sudo mkdir /var/spool
I also had postfix in the image, but this one requires one to recreate
its directory in /var/spool, not just /var/spool:
sudo mkdir -p /var/spool/postfix
Samba is another package that might break (not confirmed).
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.1.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash