[lxc-devel] missing shebang or wrong permissions in lxc-patch.py
Dwight Engen
dwight.engen at oracle.com
Tue May 6 20:22:22 UTC 2014
On Mon, 05 May 2014 12:01:54 +0200
Johannes Kastl <mail at ojkastl.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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?
The file doesn't need a shebang, its run by yum as a plugin, never by
hand. Its perms probably only need to be 644, but they're 755 now
because its in an _SCRIPTS autoconf variable. I'll see about changing
that, thanks.
> If it needs a shebang, where does fedora store its python?
> /usr/bin/python?
>
> Regards,
> Johannes
> - --
> Why is it that New Jersey got all the toxic waste dumps and California
> got all the lawyers?
> New Jersey had first choice.
> (unknown)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
> Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/
>
> iEYEARECAAYFAlNnYZIACgkQzi3gQ/xETbLSoQCbBKz4Sl7IKPt7UCJBMKSPMWZJ
> 0B0AoIhoNkOQckdBhIMB6KLo/03/3l/T
> =4FUh
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list