Hide Forgot
Description of problem: 'exit 0' in rc.local breaks any script who attempts to append to it. What is the rationale behind the change? This change is incompatible with previous releases and should be treated with due care. Version-Release number of selected component (if applicable): systemd-207-8.el7.x86_64 Actual results: rc.local skips appended sections Expected results: rc.local should run everything there is
(In reply to Marian Csontos from comment #0) > What is the rationale behind the change? > > This change is incompatible with previous releases and should be treated > with due care. rc.local behaves quite differently from rhel6, so my intent was that administrator should read the warning in comments in this file. But the proposal make sense, just please note that you still need to run chmod +x.
After some thinking, we have this file for backward compatibility, so it would maybe make sense to use "touch /var/lock/subsys/local" again.
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.