[lxc-devel] missing shebang or wrong permissions in lxc-patch.py

Michael H. Warfield mhw at WittsEnd.com
Tue May 6 20:14:29 UTC 2014


On Mon, 2014-05-05 at 12:01 +0200, Johannes Kastl wrote:
> Hi,

> another rpmlint-warning when trying to build 1.0.3 on openSUSE

> > [   43s] lxc.x86_64: W: script-without-shebang
> > /usr/share/lxc/lxc-patch.py [   43s] This text file has executable
> > bits set or is located in a path dedicated for [   43s]
> > executables, but lacks a shebang and cannot thus be executed.  If
> > the file is [   43s] meant to be an executable script, add the
> > shebang, otherwise remove the [   43s] executable bits or move the
> > file elsewhere.

> Does this file need a shebang, or are the permissions just wrong?

> If it needs a shebang, where does fedora store its python?
> /usr/bin/python?

Ah what?  First you're talking about openSUSE then you're asking about
Fedora?  I'm confused.  The answer is, yes, Fedora has python
in /usr/bin/python.

> Regards,
> Johannes

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140506/eeb88294/attachment.sig>


More information about the lxc-devel mailing list