rsyslog: set default file mode to 0640 and fix a warning.
This commit is contained in:
parent
4b21d89944
commit
8eb9061a6e
2 changed files with 5 additions and 2 deletions
|
@ -12,6 +12,9 @@ $ModLoad imklog # kernel logging (formerly provided by rklogd)
|
||||||
# Include config file snippets.
|
# Include config file snippets.
|
||||||
$IncludeConfig /etc/rsyslog.d/
|
$IncludeConfig /etc/rsyslog.d/
|
||||||
|
|
||||||
|
# Set default permissions.
|
||||||
|
$FileCreateMode 0640
|
||||||
|
|
||||||
# Log all kernel messages to the console.
|
# Log all kernel messages to the console.
|
||||||
# Logging much else clutters up the screen.
|
# Logging much else clutters up the screen.
|
||||||
#kern.* /dev/console
|
#kern.* /dev/console
|
||||||
|
@ -31,7 +34,7 @@ mail.* -/var/log/maillog
|
||||||
cron.* -/var/log/cron
|
cron.* -/var/log/cron
|
||||||
|
|
||||||
# Everybody gets emergency messages
|
# Everybody gets emergency messages
|
||||||
*.emerg *
|
*.emerg .*
|
||||||
|
|
||||||
# Save news errors of level crit and higher in a special file.
|
# Save news errors of level crit and higher in a special file.
|
||||||
#uucp,news.crit -/var/log/spooler
|
#uucp,news.crit -/var/log/spooler
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rsyslog'
|
# Template file for 'rsyslog'
|
||||||
pkgname=rsyslog
|
pkgname=rsyslog
|
||||||
version=6.2.2
|
version=6.2.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-gnutls --enable-mysql --enable-pgsql
|
configure_args="--enable-gnutls --enable-mysql --enable-pgsql
|
||||||
--enable-imdiag --enable-imfile --enable-mail --enable-gssapi-krb5
|
--enable-imdiag --enable-imfile --enable-mail --enable-gssapi-krb5
|
||||||
|
|
Loading…
Reference in a new issue