[Pkg-ganeti-devel] Fwd: Initial debian/ directory

Iustin Pop iusty at k1024.org
Thu Oct 4 17:46:46 UTC 2007


On Thu, Oct 04, 2007 at 07:40:18PM +0200, Guido Trotter wrote:
> On Thu, Oct 04, 2007 at 06:38:27PM +0200, Iustin Pop wrote:
> 
> Hi,
> 
> > > If we don't mark it as executable, lintian will produce the following report:
> > > http://lintian.debian.org/reports/Tscript-not-executable.html
> > 
> > Wait, are we talking about /usr/s?bin stuff or /usr/lib/...?
> > 
> > The modules should not be executable, for sure.
> > 
> 
> How about overriding it? There is really no reason to execute them...

So the reason why lintian complains is because the scripts start with a
valid shebang (#!/usr/bin/python) so it assumes they should be
executable.

On the other hand, a random example (python-apt) also has this warning.

I'm not sure, but we could replace the #!/usr/bin/python with a simple #
in the libraries. I didn't manage to (quickly) find on the net a policy
regarding this (debian python policy doesn't say).

OTOH, there is a very very small advantage with #!/usr/bin/python - for
example, file can tell you it's a python script.

iustin



More information about the Pkg-ganeti-devel mailing list