Dustin Kirkland <dustin.kirkl...@gmail.com> writes:

> Assigning the bug to Jos, and leaving a few pointers behind...

>  1) Grab the source to Lintian in Lucid (apt-get source lintian, or dget
>     the source .dsc file)
>  2) Look at checks/init.d*;  Basically, these are getting applied to all
>     scripts installed in /etc/init.d.  We're dropping a symlink to
>     /lib/init/upstart-job in /etc/init.d  When examining a file, if it's
>     really a symlink to /lib/init/upstart-job, skip over it.

> The two tags you're trying to silence are:
>  * init.d-script-missing-lsb-section
>  * script-in-etc-init.d-not-registered-via-update-rc.d
> when the file under scrutiny is a symlink to /lib/init/upstart-job.

> Looks like check/init.d, lines 184 and 254.

> Something like this might help:

>     # Skip init scripts which are symlinks to /lib/init/upstart-job
>     if ($filename =~ m,etc/init\.d/, && -l $filename) {
>         my $link = readlink($filename);
>         next if ($link =~ m,lib/init/upstart-job$,);
>     }

Please do submit this as a Debian bug as well, since we'll be happy to
take this upstream in Debian.  (Hopefully Debian will also eventually
switch to upstart.)

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>

-- 
lintian should not complain about upstart jobs not looking like init scripts
https://bugs.launchpad.net/bugs/496798
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to