The firstboot / reboot logic sends init a SIGINT once the firstboot
scripts are complete, but because there is no sleep or wait_for_pids the
system tries to continue booting and starting more rc scripts. This
causes services to begin starting and then abruptly get shutdown which
is pointless and potentially harmful.
Details
Details
- Reviewers
imp
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 14897 Build 15009: arc lint + arc unit
Event Timeline
Comment Actions
I can't seem to make this work for me as I expected. I think the problem is that this is run after "run_rc_script" on line 129, so all of the rc scripts have already run before it checks this. I think without a major redesign of the logic in this file we cannot get the behavior I was expecting.