Package: awesome
Version: 3.5.6-1
Severity: important

Hi,

to reproduce my problem, I prepared the following script which sets up a
minimal virtual machine image:

rm -f testimg
fallocate -l 10G testimg

sudo mkfs.ext4 testimg

ROOT=`mktemp -d`
sudo mount testimg "$ROOT"
sudo debootstrap --variant=minbase unstable "$ROOT" 
http://127.0.0.1:3142/httpredir.debian.org/debian
echo 'APT::Install-Recommends "0";' | sudo tee 
"$ROOT/etc/apt/apt.conf.d/99no-install-recommends" > /dev/null
cat << END | sudo tee "$ROOT/etc/kernel-img.conf" > /dev/null
link_in_boot = yes
do_symlinks = yes
relative_links = yes
END
cat << END | sudo tee "$ROOT/usr/sbin/policy-rc.d" > /dev/null
#!/bin/sh
echo "sysvinit: All runlevel operations denied by policy" >&2
exit 101
END
sudo chmod +x "$ROOT/usr/sbin/policy-rc.d"
cat << END | sudo tee "$ROOT/etc/fstab" > /dev/null
root / auto errors=remount-ro 0 1
END
sudo chroot "$ROOT" apt-get update
sudo chroot "$ROOT" apt-get -y install xserver-xorg xinit udev 
linux-image-amd64 sudo awesome xterm
sudo rm "$ROOT/usr/sbin/policy-rc.d"
sudo chroot "$ROOT" useradd --groups 
lp,dialout,cdrom,floppy,sudo,audio,video,plugdev --create-home --shell 
/bin/bash --uid 1000 --user-group josch
echo "josch:secret" | sudo chroot "$ROOT" chpasswd
cp -L "$ROOT"/boot/initrd.img .
cp -L "$ROOT"/boot/vmlinuz .
sudo umount "$ROOT" rm -r "$ROOT"


you can boot into the system by doing:




after logging in as user josch, password secret, you can run xinit to
get an X server together with an xterm. If you then start awesome from
within that xterm you will see the following error message:

error while running function
stack traceback:
        [C]: in function 'load_image'
        /usr/share/awesome/lib/gears/surface.lua:39: in function 
</usr/share/awesome/lib/gears/surface.lua:24>
        (tail call): ?
        (tail call): ?
        /usr/share/awesome/lib/gears/wallpaper.lua:128: in function 'maximized'
        /etc/xdg/awesome/rc.lua:79: in main chunk
error: /usr/share/awesome/lib/gears/surface.lua:39: Couldn't recognize the 
image file format for file '/usr/share/awesome/themes/default/background.png'
E: awesome: main:535: couldn't find any rc file


as you can convince yourself, the system has libpng12-0:amd64 (=
1.2.50-2+b2) installed.

cheers, josch

Reply via email to