summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysklogd/files
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2012-01-31 16:49:47 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-02 18:28:27 +0000
commit5c3323b7e7b71ef83d19f67b8c9c4277cf873cdf (patch)
tree2fa80b01da889af72135325f59115d50106a4ba2 /meta/recipes-extended/sysklogd/files
parentf408dd164ee4aee7ae0e46392fb088c5263ea81c (diff)
downloadpoky-5c3323b7e7b71ef83d19f67b8c9c4277cf873cdf.tar.gz
sysklogd: various fixes so it starts/stops cleanly
This patch fixes several issues with the sysklogd recipe: o Errors at start due to non-existent /var/log/news/ - every other log file is created in /var/log, not a sub-directory. Do the same for news logs. o klogd would not be stopped due to pidfile recycling, give klogd its own pidfile o preinstalls failed at rootfs creation time by trying to access the host root filesystem rather than a path relative to $D. Update the preinst to test for $D and do the right thing. (From OE-Core rev: 111d1b8bb2b89e06091335fff6a917bbd9a1f66e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sysklogd/files')
-rwxr-xr-xmeta/recipes-extended/sysklogd/files/sysklogd2
-rw-r--r--meta/recipes-extended/sysklogd/files/syslog.conf6
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-extended/sysklogd/files/sysklogd b/meta/recipes-extended/sysklogd/files/sysklogd
index e0fa7a8e1e..dcbc81e5a5 100755
--- a/meta/recipes-extended/sysklogd/files/sysklogd
+++ b/meta/recipes-extended/sysklogd/files/sysklogd
@@ -15,7 +15,7 @@
15PATH=/bin:/usr/bin:/sbin:/usr/sbin 15PATH=/bin:/usr/bin:/sbin:/usr/sbin
16 16
17pidfile_syslogd=/var/run/syslogd.pid 17pidfile_syslogd=/var/run/syslogd.pid
18pidfile_klogd=/var/run/syslogd.pid 18pidfile_klogd=/var/run/klogd.pid
19binpath_syslogd=/sbin/syslogd 19binpath_syslogd=/sbin/syslogd
20binpath_klogd=/sbin/klogd 20binpath_klogd=/sbin/klogd
21 21
diff --git a/meta/recipes-extended/sysklogd/files/syslog.conf b/meta/recipes-extended/sysklogd/files/syslog.conf
index 795d73545a..7d1858ca5b 100644
--- a/meta/recipes-extended/sysklogd/files/syslog.conf
+++ b/meta/recipes-extended/sysklogd/files/syslog.conf
@@ -26,9 +26,9 @@ mail.err /var/log/mail.err
26 26
27# Logging for INN news system 27# Logging for INN news system
28# 28#
29news.crit /var/log/news/news.crit 29news.crit /var/log/news.crit
30news.err /var/log/news/news.err 30news.err /var/log/news.err
31news.notice -/var/log/news/news.notice 31news.notice -/var/log/news.notice
32 32
33# 33#
34# Some `catch-all' logfiles. 34# Some `catch-all' logfiles.