[dev.icinga.com #1850] executable xml files and sheebang issues in 1.5.1 #472

Closed
icinga-migration opened this Issue Aug 27, 2011 · 11 comments

Projects

None yet

1 participant

@icinga-migration
Member

This issue has been migrated from Redmine: https://dev.icinga.com/issues/1850

Created by theh on 2011-08-27 16:32:36 +00:00

Assignee: jmosshammer
Status: Closed (closed on 2012-05-02 14:37:50 +00:00)
Target Version: 1.7
Last Update: 2012-05-02 14:37:50 +00:00 (in Redmine)


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.

Member

Updated by jmosshammer on 2011-09-12 10:14:46 +00:00

  • Status changed from New to Feedback

I resolved several of those issues in ac29b5f

Member

Updated by theh on 2011-09-16 10:24:03 +00:00

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.

Member

Updated by jmosshammer on 2011-09-26 16:10:49 +00:00

  • Category set to Quality
  • Target Version set to 1.6
Member

Updated by mhein on 2011-09-27 12:04:27 +00:00

  • Estimated Hours set to 1
Member

Updated by mhein on 2011-10-12 13:14:50 +00:00

  • Done % changed from 0 to 100

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

Member

Updated by mhein on 2011-10-19 12:00:35 +00:00

  • Status changed from Feedback to Resolved

I think its fixed

Member

Updated by theh on 2011-11-25 19:35:47 +00:00

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.

Member

Updated by theh on 2012-03-02 13:33:28 +00:00

  • Status changed from Resolved to Assigned

Still an issue in 1.6.2.

Member

Updated by mfriedrich on 2012-03-02 15:40:00 +00:00

  • Assigned to set to theh
  • Target Version changed from 1.6 to 1.7
Member

Updated by jmosshammer on 2012-05-02 07:51:48 +00:00

  • Assigned to changed from theh to jmosshammer
Member

Updated by jmosshammer on 2012-05-02 14:37:50 +00:00

  • 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)

@icinga-migration icinga-migration added this to the 1.7 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment