Package: lirc-modules-source
Version: 0.7.1pre2-10
Severity: serious
Justification: Policy 10.7.3

Hi,

lirc-modules-source modifies its /etc/lirc/lirc-modules-source.conf 
conffile in postinst. This is a violation of policy 10.7.3. 
("[Conffiles] must not be modified by the maintainer scripts during 
installation (or at any other time).")

A possible way to solve this would be to ship the template for the 
configuration file in /usr/share/lirc-modules-source.conf (or somewhere 
else), generate the corresponding configuration according to answers to 
debconf templates in /tmp, and the merge this generated file with the 
actual configuration file with ucf.

(I might write the corresponding patch if you wish.)


Cheers,

Nicolas

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500, 'stable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4-irma
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lirc-modules-source depends on:
ii  debconf [debconf-2.0]         1.4.58     Debian configuration management sy
ii  debhelper                     4.9.12     helper programs for debian/rules
ii  debianutils                   2.14.3     Miscellaneous utilities specific t

Versions of packages lirc-modules-source recommends:
ii  dpkg                          1.13.11    package maintenance system for Deb
ii  dpkg-dev                      1.13.11    package building tools for Debian
ii  gcc [c-compiler]              4:4.0.1-3  The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.5-13 The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.2-2    The GNU C compiler
ii  kernel-package                9.008      A utility for building Linux kerne
ii  make                          3.80-11    The GNU version of the "make" util

-- debconf information:
  lirc-modules-source/use_lirc_hints: true
  lirc-modules-source/parallel_irq: 7
* lirc-modules-source/do-build: false
  lirc-modules-source/parallel_timer: 65536
  lirc-modules-source/sir_type: Other
  lirc-modules-source/serial_softcarrier: false
  lirc-modules-source/kernel-source-not-found:
  lirc-modules-source/serial_transmitter: true
  lirc-modules-source/not_needed:
  lirc-modules-source/serial_port: 0x2f8
* lirc-modules-source/drivers: i2c, gpio
  lirc-modules-source/serial_irq: 3
  lirc-modules-source/serial_type: Other
  lirc-modules-source/kernel-source: /usr/src/linux/
  lirc-modules-source/sir_irq: 3
  lirc-modules-source/sir_port: 0x2f8
  lirc-modules-source/parallel_port: 0x378
* lirc-modules-source/what_next:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to