Skip to content
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

Bash completion scripts search in wrong directory in packages #1561

Closed
ghost opened this issue Jul 3, 2020 · 2 comments
Closed

Bash completion scripts search in wrong directory in packages #1561

ghost opened this issue Jul 3, 2020 · 2 comments
Labels
bug Indicates an unexpected problem or unintended behavior packaging
Milestone

Comments

@ghost
Copy link

ghost commented Jul 3, 2020

For LSB-path installations, the bash completion-scripts use /opt/intelmq/etc and /opt/intelmq/var/log instead /etc/intelmq und /var/log/intelmq

Idea: Instead of using the fixed path, use same logic as in __init__.py and check if the directories exist. If this is ambiguous, use intelmqctl debug to get the path (but that needs more time)

@ghost ghost added bug Indicates an unexpected problem or unintended behavior packaging labels Jul 3, 2020
@ghost ghost added this to the 2.2.1 milestone Jul 3, 2020
@ghost
Copy link
Author

ghost commented Jul 23, 2020

(but that needs more time)

I meant execution time

@ghost ghost modified the milestones: 2.2.1, 2.2.2 Jul 30, 2020
@aaronkaplan
Copy link
Member

Or just use /etc/default/intelmq ... and define some very common , basic configs there (such as where intelmq resides)

@ghost ghost self-assigned this Oct 22, 2020
ghost pushed a commit that referenced this issue Oct 22, 2020
This fixes bash completion for LSB setups for now. Anything more
sophisticated might be better when there is a long term plan for
configuration file handling

Closes #1561
@ghost ghost closed this as completed in d05e563 Oct 22, 2020
@ghost ghost mentioned this issue Sep 3, 2021
9 tasks
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior packaging
Projects
None yet
Development

No branches or pull requests

1 participant