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

fix(nvmf): set executable bit on nvmf-autoconnect.sh #1777

Merged
merged 1 commit into from
Apr 9, 2022
Merged

fix(nvmf): set executable bit on nvmf-autoconnect.sh #1777

merged 1 commit into from
Apr 9, 2022

Conversation

bgilbert
Copy link
Contributor

@bgilbert bgilbert commented Apr 7, 2022

Changes

nvmf-autoconnect.sh is installed in /sbin, and run via initqueue in the special case of FC transport without a discovery.conf and without kernel arguments. If the executable bit is not set, initqueue fails with Invalid command.

Caught by CI checking for non-executable files in binary directories: coreos/fedora-coreos-tracker#1155

Checklist

  • I have tested it locally - no access to FC-transport NVMe
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

It's installed in /sbin, and run via initqueue in the special case of FC
transport without a discovery.conf and without kernel arguments.  If the
executable bit is not set, initqueue fails with "Invalid command".

Caught by CI checking for non-executable files in binary directories.
@github-actions github-actions bot added modules Issue tracker for all modules nvmf Issues related to the nvmf module labels Apr 7, 2022
Copy link
Collaborator

@johannbg johannbg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johannbg johannbg enabled auto-merge (rebase) April 7, 2022 22:56
@johannbg johannbg disabled auto-merge April 9, 2022 07:35
@johannbg johannbg merged commit 25a9288 into dracutdevs:master Apr 9, 2022
@bgilbert bgilbert deleted the nvmf branch April 12, 2022 03:08
dustymabe added a commit to dustymabe/fedora-coreos-config that referenced this pull request May 25, 2023
Mostly a revert of e49baba. This was fixed in dracut some time ago [1]
and this is now dead code since we are on F38.

[1] dracutdevs/dracut#1777
dustymabe added a commit to dustymabe/fedora-coreos-config that referenced this pull request May 26, 2023
Mostly a revert of e49baba. This was fixed in dracut some time ago [1]
and this is now dead code since we are on F38.

[1] dracutdevs/dracut#1777
dustymabe added a commit to dustymabe/fedora-coreos-config that referenced this pull request May 31, 2023
Mostly a revert of e49baba. This was fixed in dracut some time ago [1]
and this is now dead code since we are on F38.

[1] dracutdevs/dracut#1777
dustymabe added a commit to coreos/fedora-coreos-config that referenced this pull request May 31, 2023
Mostly a revert of e49baba. This was fixed in dracut some time ago [1]
and this is now dead code since we are on F38.

[1] dracutdevs/dracut#1777
HuijingHei pushed a commit to HuijingHei/fedora-coreos-config that referenced this pull request Oct 10, 2023
Mostly a revert of e49baba. This was fixed in dracut some time ago [1]
and this is now dead code since we are on F38.

[1] dracutdevs/dracut#1777
HuijingHei pushed a commit to HuijingHei/fedora-coreos-config that referenced this pull request Oct 10, 2023
Mostly a revert of e49baba. This was fixed in dracut some time ago [1]
and this is now dead code since we are on F38.

[1] dracutdevs/dracut#1777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modules Issue tracker for all modules nvmf Issues related to the nvmf module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants