Hi,
Since version, lintian returns 4 maintainer-script-calls-service errors
for the libc6 package:
E: libc6: maintainer-script-calls-service "{service" [preinst:201]
E: libc6: maintainer-script-calls-service "{service" [postinst:63]
E: libc6: maintainer-script-calls-service "{service" [postinst:128]
E: libc6: maintainer-script-calls-service "{service" [postinst:137]
That said looking at the corresponding line this seems like false
positive as those line correctly use invoke-rc.d as described in the tag
and in the debian policy:
E: libc6: maintainer-script-calls-service "{service" [preinst:201]
invoke-rc.d ${service} status >/dev/null 2>/dev/null && status=0 || status=$?
E: libc6: maintainer-script-calls-service "{service" [postinst:63]
invoke-rc.d ${service} status >/dev/null 2>/dev/null && status=0 || status=$?
E: libc6: maintainer-script-calls-service "{service" [postinst:128]
if invoke-rc.d ${service} reload > /dev/null 2>&1; then
E: libc6: maintainer-script-calls-service "{service" [postinst:137]
if invoke-rc.d ${service} restart > /dev/null 2>&1; then
In turns that make the salsa pipeline to fail as this is an error [1].
Regards
Aurelien
[1] https://salsa.debian.org/glibc-team/glibc/-/jobs/9441004