open-iscsi systemd services broken
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 692
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
iscsid.service fails load with the following error:
/usr/lib/systemd/system/iscsid.service:13: Neither a valid executable name nor an absolute path: SBINDIR@/iscsid
It seems that https://github.com/open-iscsi/open-iscsi/pull/279 changed it to use @SBINDIR@, however for whatever reason the sed replace is not working during install.
Also, iscsid now depends on iscsi-init however this unit file is not being installed.
Reproduction steps
- tdnf install open-iscsi
- systemctl enable iscsid
- systemctl start iscsid
...
Expected behavior
The service should run
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the listed tdnf and systemctl commands, then inspect the installed iscsid.service under /usr/lib/systemd/system and the open-iscsi packaging rules. Trace why @SBINDIR@ is not replaced and whether iscsi-init is packaged. Done means the units install correctly and iscsid enables and starts successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100