vmware / vmware/photon

open-iscsi systemd services broken

Open
#1,491 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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
  1. tdnf install open-iscsi
  2. systemctl enable iscsid
  3. systemctl start iscsid
    ...
Expected behavior

The service should run

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.