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

[BUG] Debian packages show "chown: warning: '.' should be ':': 'opensearch.opensearch'" during install #4612

Closed
mrosenstihl opened this issue Apr 3, 2024 · 2 comments · Fixed by #4641
Assignees
Labels

Comments

@mrosenstihl
Copy link

Describe the bug

The Debian package shows a warning during installation:

Running OpenSearch Post-Installation Script
chown: warning: '.' should be ':': 'opensearch.opensearch'
chown: warning: '.' should be ':': 'opensearch.adm'
chown: warning: '.' should be ':': 'opensearch.opensearch'
chown: warning: '.' should be ':': 'opensearch.opensearch'

Related component

Build

To Reproduce

  1. Enable OpenSearch repository (https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt stable main)
  2. Install Debian package: apt-get install opensearch
  3. Warning message is shown, but the rights of the folders are OK

Expected behavior

There should be no warning messages, the chown command should use chown -R opensearch:openserach instead.

Additional Details

Plugins
None

Host/Environment (please complete the following information):

  • OS: Debian Bookworm
  • opensearch version 2.13.0
@mrosenstihl mrosenstihl added bug Something isn't working untriaged Issues that have not yet been triaged labels Apr 3, 2024
@dblock dblock transferred this issue from opensearch-project/OpenSearch Apr 8, 2024
@gaiksaya
Copy link
Member

gaiksaya commented Apr 9, 2024

Hi @peterzhuamazon ,

Can you please take a look at this when you get time?

Thanks!

@gaiksaya gaiksaya removed the untriaged Issues that have not yet been triaged label Apr 9, 2024
@peterzhuamazon
Copy link
Member

peterzhuamazon commented Apr 9, 2024

It is just a warning but we can definitely change "." to ":".

Will take look.

Thanks.


PRs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging a pull request may close this issue.

3 participants