Re: symlink in /etc/init.d directory
Richard Braakman wrote:
> Peter S Galbraith wrote:
> > $ lintian powstatd_1.1-1_i386.deb
> > E: powstatd: unregistered-script-in-etc-init.d /etc/init.d/powerfail
> > E: powstatd: unregistered-script-in-etc-init.d /etc/init.d/ups-monitor
> > E: powstatd: non-standard-file-permissions-for-etc-init.d-script etc/init.d
> /ups-monitor 0777 != 0755
>
> You know, I remember seeing this exact problem before.
> >From the Lintian override file:
>
> # Maintainer says this is ok (ups-monitor is a symlink)
> apcd: unregistered-script-in-etc-init.d /etc/init.d/ups-monitor
>
> (Which version of Lintian are you using? I thought the problem with the
> permissions check was fixed).
It is, sorry. I was using the slink version of lintian (my main
machine is slink based; My home machine is slink + potato's libc
and compilers).
Here's what I get with lintian_1.7:
E: powstatd: unregistered-script-in-etc-init.d /etc/init.d/powerfail
E: powstatd: unregistered-script-in-etc-init.d /etc/init.d/ups-monitor
W: powstatd: FSSTND-dir-in-usr usr/doc/
W: powstatd: FSSTND-dir-in-usr usr/man/
I haven't changed the doc and man directories to `share'. I'm
waiting for the dust to settle on that issue (or should we be
moving man anyway? seems strange if doc doesn't move).
> > Do I simply ignore the errors?
>
> We can add another override for powstatd, or teach Lintian about the
> specialness of ups-monitor. In fact, it could then also check that
> the package Provides and Conflicts with "ups-monitor".
You're the boss. I'll assume my package is okay then. Many,
many thanks for lintian.
Peter
Reply to: