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

Bug#558229: Policy violation §12.3: postinst requires files in /usr/share/doc.



severity 558229 serious
thanks

Quoting Trent W. Buck (trentbuck@gmail.com):
> Package: console-setup
> Version: 1.49
> Severity: normal
> 
> When installing the emdebian "gripped" version of 1.49:
> 
> > Setting up console-setup (1.49em1) ...
> > cat: /usr/share/doc/console-setup/examples/console-setup: No such file or directory
> 
> Relying on the existence of files in /usr/share/doc being installed
> appears to be a policy violation:


You seem to be right. In such case, this bug should be RC.

The file in /usr/share/doc is apparently meant to be a kind of
template.

Either it should be installed in something like
/usr/share/console-setup or the postinst script should handle the
absence of the file in a clean way:

- test if the file is here
- if it isn't, use a small config file created on the file by "cat <<EOF"



Attachment: signature.asc
Description: Digital signature


Reply to: