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

Re: Please unblock kqemu



Daniel Baumann <daniel@debian.org> wrote:

Hi,

> the current kqemu package in testing suffers from having no proper
> creation of the /dev/kqemu device. The -5 revision fixes this and
> slightly updates README.Debian.

Your handling of the udev rules stinks.

Scenario:
 - module package for the 2.6.18 kernel installed
 - installation of a new module package for a 2.6.19 kernel: the udev
   rules file gets erased by the new module package, and the symlink
   is recreated, even if the user removed it previously

 - now remove the ancient module package for the 2.6.18 kernel: the
   postrm happily removes the symlink and the rules file

Worst of all: the udev rules file only gets created if udev is
installed at the time the postinst is run.


Are you trying to set a new record, or what ?


The policy for udev rules is:
 - ship /etc/udev/foo.rules
 - symlink into /etc/udev/rules.d the first time the package is
   installed and only the first time
 - remove the symlink when the package is purged

And /etc/udev/foo.rules must be a conffile, damnit ! There are enough
packages shipping udev rules in the archive that you could have found
a correct example to base your package on.

> Please unblock it, debdiff is attached.

Please don't, this package is buggy as hell.

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <jblache@debian.org> 
 
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



Reply to: