4.2.1.2 Ensure rsyslog Service is enabled

Information

Once the rsyslog package is installed it needs to be activated.

Rationale:

If the rsyslog service is not activated the system may default to the syslogd service or lack
logging instead.

Solution

Run one of the following commands to enable rsyslog :

# chkconfig rsyslog on

# systemctl enable rsyslog

# update-rc.d rsyslog enable

Notes:

Additional methods of enabling a service exist. Consult your distribution documentation for
appropriate methods.

Some distributions may configure syslog daemon selection via a setting in a configuration
file such as /etc/sysconfig/syslog and a centralized init script.

See Also

https://workbench.cisecurity.org/files/2420