On Sat, 22 Apr 2006 01:35:55 +0200 Bill Allombert wrote: > On Sun, Jan 29, 2006 at 03:34:58PM +0000, Stephen Gran wrote: > > Package: lessdisks-terminal > > Severity: serious > > Justification: Policy 10.7.4 > > > > debian/lessdisks-terminal.postinst: > > if ! egrep "postinst_hook|postrm_hook" /etc/kernel-img.conf; > > then echo "postinst_hook = /usr/sbin/update-lessdisks-kernels" > > >> /etc/kernel-img.conf echo "postrm_hook > > >> = /usr/sbin/update-lessdisks-kernels" >> /etc/kernel-img.conf > > fi
> Note that debian/lessdisks-xterminal.postinst has a similar bug: > > debian/lessdisks-xterminal.postinst: > echo "$inittab_line" >> /etc/inittab Hi Bill and Stephen, What exactly is the policy violation here? Policy 10.7.4 forbids packaging scripts to mess with conffiles of other packages. But /etc/kernel-img.conf and /etc/inittab is not conffiles. Policy 10.7.4 also mandates shared configuration files to be owned by only one package. But it is not clear to me which single package that should be (that I should then file bugs against about an interface for messing with its configuration files). The packages sysvinit and a bunch of kernel packages seem to be kandidates, but looking at their packaging scripts they too seem to treat the configuration files as alien. - Jonas -- * Jonas Smedegaard - idealist og Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ - Enden er n_r: http://www.shibumi.org/eoti.htm
pgp7NciKvMwQt.pgp
Description: PGP signature