[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#368043: initramfs-tools: postinstall script can require /usr/share/doc/

Package: initramfs-tools
Version: 0.60
Severity: important
Justification: Packages must not require the existance of any files in
 /usr/share/doc in order to function.

The postinstall script does:

|if [ ! -e /etc/mkinitramfs/modules ]; then
|        cp /usr/share/doc/initramfs-tools/examples/modules /etc/mkinitramfs/

This code gets called on a dpkg-reconfigure, and can fail if the admin
has removed /etc/mkinitramfs/modules:

|$ sudo dpkg-reconfigure initramfs-tools
|cp: cannot stat `/usr/share/doc/initramfs-tools/examples/modules': No such file or directory

Reply to: