Uploaded image for project: 'OpenDNSSEC'
  1. OpenDNSSEC
  2. OPENDNSSEC-189

Auditor library files installed wrongly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.3.4
    • Fix Version/s: None
    • Component/s: Auditor
    • Labels:
      None

      Description

      Paul Wouters reported that Fedora package tool said the ruby library files had no shebang (see further down).

      Files should also be installed in /usr/share/<package name>/ instead of /usr/lib and also have 0644 instead of 0755 because they are ruby library files.

      Sniplets from mail discussion:

      opendnssec.x86_64: E: script-without-shebang /usr/lib64/opendnssec/kasp_checker.rb
      opendnssec.x86_64: E: script-without-shebang /usr/lib64/opendnssec/kasp_auditor/auditor.rb
      opendnssec.x86_64: E: script-without-shebang /usr/lib64/opendnssec/kasp_auditor/preparser.rb
      opendnssec.x86_64: E: script-without-shebang /usr/lib64/opendnssec/kasp_auditor/commands.rb
      opendnssec.x86_64: E: script-without-shebang /usr/lib64/opendnssec/kasp_auditor/partial_auditor.rb
      opendnssec.x86_64: E: script-without-shebang /usr/lib64/opendnssec/kasp_auditor.rb
      opendnssec.x86_64: E: script-without-shebang /usr/lib64/opendnssec/kasp_auditor/config.rb
      opendnssec.x86_64: E: script-without-shebang /usr/lib64/opendnssec/time_shift.rb
      opendnssec.x86_64: E: script-without-shebang /usr/lib64/opendnssec/kasp_auditor/changed_config.rb
      opendnssec.x86_64: E: script-without-shebang /usr/lib64/opendnssec/kasp_auditor/parse.rb
      opendnssec.x86_64: E: script-without-shebang /usr/lib64/opendnssec/kasp_auditor/key_tracker.rb

      If I leave them 644 I encountered the issue of "non-binary-in-usrlib" error with packaging it up.

      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

        Attachments

          Activity

            People

            Assignee:
            alexd Alex Dalitz
            Reporter:
            jerry Jerry Lundström
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: