forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Remove relative symbolic links #107
Labels
Comments
This was referenced Jan 8, 2024
The symbolic links seem to be valid: root@pkg-tests-ubuntu2204:~# ls -l /usr/share/wazuh-indexer/{data,logs}
lrwxrwxrwx 1 root root 22 Jan 12 06:52 /usr/share/wazuh-indexer/data -> /var/lib/wazuh-indexer
lrwxrwxrwx 1 root root 22 Jan 12 06:52 /usr/share/wazuh-indexer/logs -> /var/log/wazuh-indexer |
They are getting created with the packages: fede@tyner:~/src/wazuh-indexer (107-remove-relative-symbolic-links)$ grep -RE 'ln -s.*(data|logs)'
artifacts/tmp/rpm/wazuh-indexer.rpm.spec:ln -s %{data_dir} %{buildroot}%{product_dir}/data
artifacts/tmp/rpm/wazuh-indexer.rpm.spec:ln -s %{log_dir} %{buildroot}%{product_dir}/logs
distribution/packages/build/packaging/rpm/wazuh-indexer.rpm.spec:ln -s %{data_dir} %{buildroot}%{product_dir}/data
distribution/packages/build/packaging/rpm/wazuh-indexer.rpm.spec:ln -s %{log_dir} %{buildroot}%{product_dir}/logs
distribution/packages/build/packaging/deb/debmake_install.sh:ln -s ${data_dir} "${buildroot}${product_dir}/data"
distribution/packages/build/packaging/deb/debmake_install.sh:ln -s ${log_dir} "${buildroot}${product_dir}/logs"
distribution/packages/src/rpm/wazuh-indexer.rpm.spec:ln -s %{data_dir} %{buildroot}%{product_dir}/data
distribution/packages/src/rpm/wazuh-indexer.rpm.spec:ln -s %{log_dir} %{buildroot}%{product_dir}/logs
distribution/packages/src/deb/debmake_install.sh:ln -s ${data_dir} "${buildroot}${product_dir}/data"
distribution/packages/src/deb/debmake_install.sh:ln -s ${log_dir} "${buildroot}${product_dir}/logs" |
7 tasks
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Related issue: #99
The wazuh-indexer@4.9.0 distribution packages include 2 symbolic links that didn't exist on previous
wazuh-indexer
packages.Tasks
The text was updated successfully, but these errors were encountered: