/etc/init.d/gdrcopy fails to start on SLES
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- linux, shell
- Domain
- devops, operating-systems
Research direction
Inspect the RPM-installed /etc/init.d/gdrcopy script, especially lines 17 and 95, and compare its init functions with SLES 15 SP1 conventions. Reproduce the boot or systemctl failure; done means the gdrcopy service starts without missing-function errors or a failed systemd state.
Written by the indexing model from the issue text.
Description
Greetings,
on a SLES 15 SP1 system with gdrcopy installed via RPM, one observes the following during boot:
Oct 15 19:34:26 localhost systemd[1]: Starting LSB: Startup/shutdown script for GDRcopy kernel-mode driver...
Oct 15 19:34:26 localhost gdrcopy[6233]: /etc/init.d/gdrcopy: line 17: /etc/rc.d/init.d/functions: No such file or directory
Oct 15 19:34:26 localhost gdrcopy[6233]: Checking required modules: /etc/init.d/gdrcopy: line 95: success: command not found
Oct 15 19:34:26 localhost gdrcopy[6233]: /etc/init.d/gdrcopy: line 95: failure: command not found
Oct 15 19:34:26 localhost systemd[1]: gdrcopy.service: Control process exited, code=exited status=127
Oct 15 19:34:26 localhost systemd[1]: Failed to start LSB: Startup/shutdown script for GDRcopy kernel-mode driver.
Oct 15 19:34:26 localhost systemd[1]: gdrcopy.service: Unit entered failed state.
Oct 15 19:34:26 localhost systemd[1]: gdrcopy.service: Failed with result 'exit-code'.
which leads to this entry in systemctl --failed:
localhost:~ # systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● gdrcopy.service loaded failed failed LSB: Startup/shutdown script for GDRcopy kernel-mode driver
The problem is that the gdrcopy service is trying to read /etc/rc.d/init.d/functions, which I believe is part of RHEL but not SLES.
This error appears to be functionally harmless, and can be worked around (one can simply delete the /etc/init.d/gdrcopy file), but I wonder if it might be possible to adjust the gdrcopy init.d configuration to work on SLES, or at least to avoid this constantly failed process.
Thanks very much.
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from NVIDIA/gdrcopy
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Proposal: honor `TMPDIR` in gdrcopy package build scriptsPossibly taken @efegokdemir claimed this 53 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Similar issues
-
SPIDevice selects an active-high device as soon as it is createdPossibly taken @mikeysklar claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
adafruit/circuitpython#11869 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
gnif/LookingGlass#1352 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
bazel-contrib/rules_go#4784 · 1 comment ·
Maintainers usually reply within 1 day