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

SysVStartPriority= has been removed and it is ignored #24

Closed
jamesj2 opened this issue Aug 28, 2020 · 2 comments
Closed

SysVStartPriority= has been removed and it is ignored #24

jamesj2 opened this issue Aug 28, 2020 · 2 comments

Comments

@jamesj2
Copy link

jamesj2 commented Aug 28, 2020

Upstream systemd change seems to have broken the rc-local service running on CentOS Linux release 7.8.2003 (Core).

Expected Behavior

rc-local service start without error

Actual Behavior

Error: Systemd start for rc-local failed!
journalctl log for rc-local:
-- Logs begin at Fri 2020-08-28 10:55:18 CDT, end at Fri 2020-08-28 13:49:46 CDT. --
Aug 28 13:49:46 cbizfile2 systemd[1]: [/etc/systemd/system/rc-local.service:11] Support for option SysVStartPriority has been removed and it is ignored
Aug 28 13:49:46 file2 systemd[1]: Starting rc.local Compatibility...
Aug 28 13:49:46 file2 systemd[11961]: Failed at step STDOUT spawning /etc/rc.d/rc.local: Inappropriate ioctl for device
Aug 28 13:49:46 file2 systemd[1]: rc-local.service: control process exited, code=exited status=209
Aug 28 13:49:46 file2 systemd[1]: Failed to start rc.local Compatibility.
Aug 28 13:49:46 file2 systemd[1]: Unit rc-local.service entered failed state.
Aug 28 13:49:46 file2 systemd[1]: rc-local.service failed.

Error: /Stage[main]/Rclocal/Service[rc-local]/ensure: change from 'stopped' to 'running' failed: Systemd start for rc-local failed!
journalctl log for rc-local:
-- Logs begin at Fri 2020-08-28 10:55:18 CDT, end at Fri 2020-08-28 13:49:46 CDT. --
Aug 28 13:49:46 file2 systemd[1]: [/etc/systemd/system/rc-local.service:11] Support for option SysVStartPriority= has been removed and it is ignored
Aug 28 13:49:46 file2 systemd[1]: Starting rc.local Compatibility...
Aug 28 13:49:46 file2 systemd[11961]: Failed at step STDOUT spawning /etc/rc.d/rc.local: Inappropriate ioctl for device
Aug 28 13:49:46 file2 systemd[1]: rc-local.service: control process exited, code=exited status=209
Aug 28 13:49:46 file2 systemd[1]: Failed to start rc.local Compatibility.
Aug 28 13:49:46 file2 systemd[1]: Unit rc-local.service entered failed state.
Aug 28 13:49:46 file2 systemd[1]: rc-local.service failed.
(corrective)

@alvagante
Copy link
Member

It looks like the option SysVStartPriority is simply ignored and shouldn't be the reason of the failure (Failed at step STDOUT spawning /etc/rc.d/rc.local: Inappropriate ioctl for device)
Does the service start if you remove the line with SysVStartPriority ?

@jamesj2
Copy link
Author

jamesj2 commented Sep 3, 2020

So I checked the service by hand and it's was already started and I was able to restart it by hand. It must have been something else. I've rebooted since creating this issue. Maybe systemd needed a restart. Thanks!

@jamesj2 jamesj2 closed this as completed Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants