-
Notifications
You must be signed in to change notification settings - Fork 24.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update lintian overrides #41561
Merged
Merged
Update lintian overrides #41561
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9398420
Update lintian overrides
rjernst 6898dff
additional ubuntu complaints
rjernst 120b2eb
remove nocommit
rjernst 22cbc7f
Merge branch 'master' into lintian2
rjernst a4a528a
more jdk overrides
rjernst 3f557af
Merge branch 'master' into lintian2
rjernst 9b12390
Merge branch 'master' into lintian2
rjernst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,48 @@ | ||
# Ignore arch dependent warnings, we chose the right libs on start | ||
elasticsearch binary: arch-independent-package-contains-binary-or-object | ||
# Not stripping external libraries | ||
elasticsearch binary: unstripped-binary-or-object | ||
# Ignore arch dependent warnings, we chose the right libs on start | ||
elasticsearch binary: arch-dependent-file-in-usr-share | ||
# Please check our changelog at http://www.elastic.co/downloads/elasticsearch | ||
elasticsearch binary: changelog-file-missing-in-native-package | ||
# we don't have a changelog, but we put our copyright file | ||
# under /usr/share/doc/elasticsearch, which triggers this warning | ||
changelog-file-missing-in-native-package | ||
|
||
# we intentionally copy our copyright file for all deb packages | ||
copyright-file-contains-full-apache-2-license | ||
copyright-should-refer-to-common-license-file-for-apache-2 | ||
copyright-without-copyright-notice | ||
|
||
# we still put all our files under /usr/share/elasticsearch even after transition to platform dependent packages | ||
arch-dependent-file-in-usr-share | ||
|
||
# we have a bundled jdk, so don't use jarwrapper | ||
missing-dep-on-jarwrapper | ||
|
||
# we prefer to not make our config and log files world readable | ||
non-standard-file-perm etc/default/elasticsearch 0660 != 0644 | ||
non-standard-dir-perm etc/elasticsearch/ 2750 != 0755 | ||
non-standard-file-perm etc/elasticsearch/* | ||
non-standard-dir-perm var/lib/elasticsearch/ 2750 != 0755 | ||
non-standard-dir-perm var/log/elasticsearch/ 2750 != 0755 | ||
executable-is-not-world-readable etc/init.d/elasticsearch 0750 | ||
non-standard-file-permissions-for-etc-init.d-script etc/init.d/elasticsearch 0750 != 0755 | ||
|
||
# this lintian tag is simply wrong; contrary to the explanation, debian systemd | ||
# does actually look at /usr/lib/systemd/system | ||
systemd-service-file-outside-lib usr/lib/systemd/system/elasticsearch.service | ||
|
||
# we do not automatically enable the service in init.d or systemd | ||
script-in-etc-init.d-not-registered-via-update-rc.d etc/init.d/elasticsearch | ||
|
||
# the package scripts handle init.d/systemd directly and don't need to use deb helpers | ||
maintainer-script-calls-systemctl | ||
prerm-calls-updaterc.d elasticsearch | ||
|
||
# bundled JDK | ||
embedded-library | ||
arch-dependent-file-in-usr-share usr/share/elasticsearch/jdk/* | ||
unstripped-binary-or-object usr/share/elasticsearch/jdk/* | ||
extra-license-file usr/share/elasticsearch/jdk/legal/* | ||
hardening-no-pie usr/share/elasticsearch/jdk/bin/* | ||
hardening-no-pie usr/share/elasticsearch/jdk/lib/* | ||
|
||
# the system java version that lintian assumes is far behind what elasticsearch uses | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's cute. |
||
unknown-java-class-version | ||
|
||
# elastic licensed modules contain elastic license | ||
extra-license-file usr/share/elasticsearch/modules/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do want to consider moving these at some point to a more proper location?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do think we should, but I was worried about the broad impact, although I guess we could keep plugins there? I will open a follow-up for discussion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah a discussion is good. The modules directory presents an interesting dilemma too.