virtnbdbackup icon indicating copy to clipboard operation
virtnbdbackup copied to clipboard

Is there a reason virtnbd-nbdkit-plugin is in /usr/bin?

Open cmadamsgit opened this issue 11 months ago • 1 comments

virtnbd-nbdkit-plugin gets installed in /usr/bin, as a non-executable file. That triggers errors from rpmlint for example. The proper place to me (at least in a packaged install) would be /usr/share.

I'm looking at submitting a package to Fedora, and I expect that would be a blocker. I could use a downstream patch to move it to /usr/share, and change libvirtnbdbackup/map/requirements.py to hard-code the path (which should be fine for an RPM install anyway), but wanted to check before making such a change.

rpmlint also doesn't like the shebang lines at the start of the module files (which aren't needed so will probably also strip out for an RPM).

cmadamsgit avatar Feb 26 '25 00:02 cmadamsgit

no real reason for that, it was just the simplest solution i picked back in the days. Not sure if i want to change that currently, the debian packages install in the same path and the linters are fine with it ..

abbbi avatar Feb 26 '25 06:02 abbbi