問題文
An administrator runs the command that enables a service unit and reports that the service is now configured to come up at boot. A colleague checks and finds that the service is not running at the moment. Which explanation is correct?
選択肢
- Enabling a unit always starts it as well, so the colleague must be looking at a different unit whose name only differs in the suffix, and the actual unit that was enabled is running normally in the background right now.
- Enabling a unit arranges for it to be activated at boot but does not also start it in the current session, so a separate start is needed now.
- The unit needs a reboot before it can ever run, so the enable step takes effect the next time the machine comes up from cold.
- The service was started but immediately stopped because enabling a unit resets its state, and the unit will stay down until the next boot brings it up again.