Re: Problem with scripts in python-postfix-policyd-spf

Scott Kitterman <[email protected]> Fri, 15 Aug 2008 13:07:46 -0400
Newsgroups gmane.mail.spam.spf.devel
Organization Kitterman Technical Services
Message-ID <[email protected]>
On Friday 15 August 2008 12:30, Boyd Lynn Gerber wrote:
> Hi,
>
> With the latest openSUSE 11.0 and newer they use rpmlint and require that
> all script have a shabang in them.  That is
>
> #! /usr/bin/python
>
> python-policyd-spf.noarch: W: script-without-shebang
> /usr/lib/policyd-spf/policydspfsupp.py
> python-policyd-spf.noarch: W: script-without-shebang
> /etc/cron.d/policyd-spf
>
> This text file has executable bits set or is located in a path dedicated
> for executables, but lacks a shebang and cannot thus be executed. If the
> file is meant to be an executable script, add the shebang, otherwise
> remove the executable bits or move the file elsewhere.
>
/etc/cron.d/policyd-spf should be removed.  It does not appear in the upstream 
tarballs any more.

policydspfsupp.py is a Python module and should not be executed directly.  I'm 
not sure where opensuse's policy suggests such things should go, but it does 
not need to be executed directly.

Scott K