amazonlinux / amazon-linux-2023

Amazon Linux 2023
https://aws.amazon.com/linux/amazon-linux-2023/
Other
501 stars 38 forks source link

[Bug] - bash_completion doesn't function as-is after install #572

Closed rrehbein closed 6 months ago

rrehbein commented 6 months ago

Describe the bug

When attempting to use a bash-shell intecatively for some development activities, the bash_completion package does not function without modifying a file it installs.

To Reproduce

Steps to reproduce the behavior: 1.Create minimal AL2023 instance

Expected behavior

Expecting to see suggested options after double-tab for supported commands.

ec2-user@ip-.... $ kill -s 

ABRT      CONT      INT       KILL      QUIT ....snip...

Screenshots

N/A

Desktop (please complete the following information):

Additional context

A fix:

sudo chmod +x /etc/profile.d/bash_completion.sh

Possibly the rpm's specs are missing the executable bit for the packaged file.

There appear to be other files in /etc/profile.d that don't have an executable bit too. Possibly a similar issue for those packages too.

rrehbein commented 6 months ago

Closing. It was a misdiagnosis on my part.

ozbenh commented 6 months ago

Working fine in my tests ... you haven't actually closed it... should we ?