[systemd-devel] systemd equivalent of chkconfig --list | grep '3:on'

Michal Schmidt mschmidt at redhat.com
Thu Sep 29 03:19:40 PDT 2011


On 09/29/2011 09:30 AM, Nick Urbanik wrote:
> How do I do the equivalent of chkconfig --list | grep '3:on'?

There's a convenient command "systemctl list-unit-files", but it is not 
available in the version of systemd in Fedora 15.

You can explore the /etc/systemd/system/*.target.wants/ directories.

> It would be less effort
> to re-install, but I want to understand this systemd, and would
> appreciate any pointers to how I can better diagnose these serious
> problems.

Since ssh login works, you can get some debug information. Boot with 
"log_buf_len=1M systemd.log_level=debug systemd.log_target=kmsg", login 
via ssh and save the output of the 'dmesg' command.
The output of 'systemctl dump' may also be helpful.
Paste them somewhere online where we can take a look.

Michal


More information about the systemd-devel mailing list