Bug #1850

executable xml files and sheebang issues in 1.5.1

Added by theh over 2 years ago. Updated almost 2 years ago.

Status:ClosedStart date:08/27/2011
Priority:LowDue date:
Assignee:jmosshammer% Done:

100%

Category:QualityEstimated time:1.00 hour
Target version:Icinga 1.x - 1.7
Icinga Version: DB Type:
Icinga Web Version: DB Version:
IDO Version: Browser Version:
OS Version:

Description

Here are some issues about which rpmlint complains:

icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/jsgettext/bin/po2json 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/agavi/bin/agavi 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/agavi/bin/agavi-dist 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/phing/bin/phing 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/agavi/src/build/agavi/script/agavi.php 0644
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed. If
the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere.

icinga-web.noarch: W: script-without-shebang /usr/share/icinga-web/app/config/settings.site.xml
icinga-web.noarch: W: script-without-shebang /usr/share/icinga-web/etc/conf.d/access.xml
icinga-web.noarch: W: script-without-shebang /usr/share/icinga-web/etc/conf.d/auth.xml
icinga-web.noarch: W: script-without-shebang /usr/share/icinga-web/etc/conf.d/cronks.xml
icinga-web.noarch: W: script-without-shebang /usr/share/icinga-web/etc/conf.d/databases.xml
icinga-web.noarch: W: script-without-shebang /usr/share/icinga-web/app/config/icinga.site.xml
icinga-web.noarch: W: script-without-shebang /usr/share/icinga-web/etc/conf.d/translation.xml
icinga-web.noarch: W: script-without-shebang /usr/share/icinga-web/etc/conf.d/reporting.xml
icinga-web.noarch: W: script-without-shebang /usr/share/icinga-web/pub/styles/icinga.site.css
icinga-web.noarch: W: script-without-shebang /usr/share/icinga-web/app/config/factories.site.xml
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.

History

#1 Updated by jmosshammer over 2 years ago

  • Status changed from New to Feedback

I resolved several of those issues in ac29b5fd2e62faa1a7ca77051479dd0d62bcbda6

#2 Updated by theh over 2 years ago

Thanks, most of them are fixed except of:
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/jsgettext/bin/po2json 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/agavi/bin/agavi 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/agavi/bin/agavi-dist 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/phing/bin/phing 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/agavi/src/build/agavi/script/agavi.php 0644
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed. If
the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere.

#3 Updated by jmosshammer over 2 years ago

  • Category set to Quality
  • Target version set to 1.6

#4 Updated by mhein over 2 years ago

  • Estimated time set to 1.00

#5 Updated by mhein over 2 years ago

  • % Done changed from 0 to 100

Should be resolved. Please can you test again with rpmlint (Resolved in #1266)

#6 Updated by mhein over 2 years ago

  • Status changed from Feedback to Resolved

I think its fixed

#7 Updated by theh over 2 years ago

I have tested 1.6.0Beta and got this result:

icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/jsgettext/bin/po2json 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/agavi/bin/agavi 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/app/modules/Api/lib/database/models/replace.sh 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/phing/bin/phing 0644
icinga-web.noarch: W: non-executable-script /usr/share/icinga-web/lib/agavi/src/build/agavi/script/agavi.php 0644
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed. If
the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere.

#8 Updated by theh about 2 years ago

  • Status changed from Resolved to Assigned

Still an issue in 1.6.2.

#9 Updated by dnsmichi about 2 years ago

  • Assignee set to theh
  • Target version changed from 1.6 to 1.7

#10 Updated by jmosshammer almost 2 years ago

  • Assignee changed from theh to jmosshammer

#11 Updated by jmosshammer almost 2 years ago

  • Status changed from Assigned to Closed

I've now created makefiles for each lib that is required for running icinga-web and removed all unnecessary files from the installation, this should be therefore fixed (as all of those fiels are just required for development)

Also available in: Atom PDF