[Opendnssec-user] scripts without she-bang

Paul Wouters paul at xelerance.com
Thu Nov 17 18:11:39 UTC 2011


On Thu, 17 Nov 2011, Jerry Lundström wrote:

> Subject: Re: [Opendnssec-user] scripts without she-bang
> X-Spam-Flag: NO
> 
> On 2011-11-17 03.57, Paul Wouters <paul at xelerance.com> wrote:
>
>> Is it possible to add she-bang to the ruby scripts installed by
>> opendnssec?
>
> Those scripts are included from ods-auditor and ods-kaspcheck which has a
> correct shebang line, it would be wrong to add a line to all the scripts
> since they should not be executed.
>
> Maybe there is another extension to specify ruby include files or make the
> packager not interpret them as executable scripts?

It seems that the usage of opendnssec, eg:

require '/usr/lib/packagename/foo.rb'

Should use file mode 0644 and a location of /usr/share/packagename/

At least, according to Fedora guidelines, which may or may not be the same as
the FSB/LSB

Paul



More information about the Opendnssec-user mailing list