How to properly set file-mode for /var/log/cloud-init.log
In using the vendor-STIGs for RHEl7, the
rsyslog_files_permissions$umask 0277/etc/rsyslog.conf/var/log0600/var/log/cloud-init.logWhen I run the oscap report, it looks like, because rsyslog knows about this file (via
/etc/rsyslog.d/21-cloudinit.confIn digging around, it looks like the starting mode for
/var/log/cloud-init.logrsyslog/etc/cloud/cloud.cfg.d/05_logging.cfg/var/log/cloud-init.log0600Am I missing something obvious, or am I in a "can't get there from here" situation? I really don't want to have to resort to an
rc.localchmodAny way, opened a BugZilla to see if this is a known issue and/or if there's a documented way around this scenario, but figured I'd post here in case someone could get me there more quickly.
Responses