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$,);
}
Make your code changes, increment the change log mentioning this bug number (using dch -i), grab the build dependencies (sudo apt-get build-dep lintian), and test your build (debuild). Install (dpkg -i ../*deb). And rerun your lintian test.
When you've got something working, build a source package (debuild -S), and generate a patch (debdiff), and attach to this bug for review.
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) upstart- job in /etc/init.d When examining a file, if it's really a symlink to /lib/init/ upstart- job, skip over it.
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/
The two tags you're trying to silence are: script- missing- lsb-section in-etc- init.d- not-registered- via-update- rc.d upstart- job.
* init.d-
* script-
when the file under scrutiny is a symlink to /lib/init/
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 $filename) ; upstart- job$,);
if ($filename =~ m,etc/init\.d/, && -l $filename) {
my $link = readlink(
next if ($link =~ m,lib/init/
}
Test linitan against a deb file exhibiting the problem. /edge.launchpad .net/ubuntu/ +archive/ primary/ +files/ eucalyptus- cc_1.6. 1~bzr1085- 0ubuntu4_ amd64.deb
wget https:/
lintian eucalyptus-cc*.deb
Make your code changes, increment the change log mentioning this bug number (using dch -i), grab the build dependencies (sudo apt-get build-dep lintian), and test your build (debuild). Install (dpkg -i ../*deb). And rerun your lintian test.
When you've got something working, build a source package (debuild -S), and generate a patch (debdiff), and attach to this bug for review.
Thanks!
:-Dustin