systemctl get-default reports graphical.target.
Which statement about default.target is correct?
default.target normally resolves to the selected target, such as multi-user.target or graphical.target, via an alias or symbolic link.
Detailed explanation
Incorrect. default.target is a systemd unit alias, not a kernel driver format.
Correct. It resolves to the configured default target, often through a symbolic link.
Incorrect. graphical.target is not always started independently of the default setting.
Incorrect. get-default reads the setting without requiring a reboot.
Try it yourself
An example you can run in a temporary verification environment.
systemctl get-default 2>/dev/null; readlink -f /etc/systemd/system/default.target 2>/dev/null || trueExpected result
default target名と、存在すればsymbolic linkの解決先Key points
- default.target
- Alias
- set-default
Notes
- Environment: systemd設定の読み取り
- Use read-only commands or a disposable Linux instance when checking boot metadata.
- Exact unit names and command output can vary slightly by distribution.
Foundation review
Place the operation
default.target normally resolves to a target such as multi-user.target or graphical.target.
Check the side effect
Use get-default or readlink for inspection; set-default is the supported way to change the reference.