Skip to content

udev-related packaging issues #5

@XECDesign

Description

@XECDesign

Running into an issue with uninstalling the package in a chroot environment:

https://github.com/raspberrypi/rpi-keyboard-config/blob/main/debian/prerm#L14C17-L14C47

Failed to send reload request: No such file or directory

This makes it impossible to do anything else with apt until that's resolved. Other packages add a || true to such lines to avoid this problem.

It's also copying the file into /etc/, which is a problem for a few reasons:

  1. That location is intended for system admin configuration, not vendor/distro configuration.
  2. The file is replaced unconditionally on install/upgrade, so users lose their configuration anyway.
  3. It breaks the ability of tools like debsums and cruft from doing their thing.

The files should be placed in /usr/lib/udev/rules.d/ instead, which can be handled by dh_installudev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions