* Mon Feb 20 2017 Jiri Vymazal <jvymazal@redhat.com> - 8.24.0-6

- fixed typo in chdir location
  resolves: rhbz#1422542
- updated one more directive in default config
  resolves: rhbz#1419625
This commit is contained in:
Jiri Vymazal 2017-02-20 10:27:04 +01:00
parent 4674d1ce99
commit 9a9f6af09f
3 changed files with 9 additions and 3 deletions

View File

@ -6,7 +6,7 @@ index c099705..12b037f 100644
perror("chroot");
exit(1);
}
+ if(chdir("\\") != 0) {
+ if(chdir("/") != 0) {
+ perror("chdir");
+ exit(1);
+ }

View File

@ -27,7 +27,7 @@ module(load="imjournal" # provides access to the systemd journal
#### GLOBAL DIRECTIVES ####
# Where to place auxiliary files
$WorkDirectory /var/lib/rsyslog
global(workDirectory="/var/lib/rsyslog")
# Use default timestamp format
module(load="builtin:omfile" Template="RSYSLOG_TraditionalFileFormat")

View File

@ -16,7 +16,7 @@
Summary: Enhanced system logging and kernel message trapping daemon
Name: rsyslog
Version: 8.24.0
Release: 5%{?dist}
Release: 6%{?dist}
License: (GPLv3+ and ASL 2.0)
Group: System Environment/Daemons
URL: http://www.rsyslog.com/
@ -537,6 +537,12 @@ done
%{_libdir}/rsyslog/omkafka.so
%changelog
* Mon Feb 20 2017 Jiri Vymazal <jvymazal@redhat.com> - 8.24.0-6
- fixed typo in chdir location
resolves: rhbz#1422542
- updated one more directive in default config
resolves: rhbz#1419625
* Fri Feb 17 2017 Jiri Vymazal <jvymazal@redhat.com> - 8.24.0-5
- new default config, using RainerScript wherever possible
resolves: rhbz#1419625