[Bug 1091680] rpmlint: False warnings about systemd-service-without-service_ macros
https://bugzilla.suse.com/show_bug.cgi?id=1091680 https://bugzilla.suse.com/show_bug.cgi?id=1091680#c1 Daniel Wagner <daniel.wagner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.wagner@suse.com --- Comment #1 from Daniel Wagner <daniel.wagner@suse.com> --- FWIW, I am running into the same issue:
nvme-cli.x86_64: E: systemd-service-without-service_del_preun nvmefc-boot-connections.service nvme-cli.x86_64: E: systemd-service-without-service_del_preun nvmf-autoconnect.service nvme-cli.x86_64: E: systemd-service-without-service_del_preun nvmf-connect-nbft.service nvme-cli.x86_64: E: systemd-service-without-service_del_preun nvmf-connect.target
But the spec file contains the necessary systemd hooks:
%define services nvmefc-boot-connections.service nvmf-autoconnect.service nvmf-connect.target nvmf-connect-nbft.service %pre %service_add_pre %{services} nvmf-connect@.service %post %service_add_post %{services} nvmf-connect@.service %preun %service_del_preun %{services} %postun %service_del_postun %{services}
The workaround to add a rpmlint filter is also problematic, because depending for which code stream the package is built, it's either an error or a warning. Adding all combinations is triggering warnings for any non matching filter. Basically, that means there is no clean build possible with rpmlint enabled. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com