light icon indicating copy to clipboard operation
light copied to clipboard

Namespace udev rules file to avoid conflicts

Open max-baz opened this issue 4 years ago • 2 comments

Hello 👋

It seems like other projects also create 90-backlight.rules file, which causes unnecessary conflicts, which has been reported here.

I noticed that at least on my system, many other rules files in /usr/lib/udev/rules.d/ are namespaced with the application name that owns them.

What do you think if we simply do the same?

max-baz avatar Mar 01 '21 17:03 max-baz

Sounds reasonable to namespace the file, however they may still conflict with each other functionally for the program that reads them (udev or whatever). Which I think may risk making the issue worse?

Anyone more read up on the issue is very welcome to comment with more info!

perkele1989 avatar Mar 01 '21 17:03 perkele1989

Good point 👍 If the functionality conflicts, we mark such packages with conflicts flag, so both of them could not be installed at the same time. In this particular case the apps can coexists, I just want to solve the naming conflict. In the end it's the responsibility of the packagers (or users) to not install conflicting packages, a generic name does not solve this anyway 🙂

max-baz avatar Mar 01 '21 17:03 max-baz