2 2

[alpine-devel] [PATCH] main/rsyslog: update init.d script

Cameron Banta
Details
Message ID
<1343322148-31405-1-git-send-email-cbanta@gmail.com>
Sender timestamp
1343322148
DKIM signature
missing
Download raw message
Patch: +3 -2
fix issue where rsyslog starts before
hostname is set up, and remote logs
are missing hostname
---
 main/rsyslog/APKBUILD      | 4 ++--
 main/rsyslog/rsyslog.initd | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/main/rsyslog/APKBUILD b/main/rsyslog/APKBUILD
index cdd4be2..4b7241b 100644
--- a/main/rsyslog/APKBUILD
+++ b/main/rsyslog/APKBUILD
@@ -2,7 +2,7 @@
 # Contributor: cbanta@gmail.com
 pkgname=rsyslog
 pkgver=6.2.2
-pkgrel=0
+pkgrel=1
 pkgdesc="Enhanced multi-threaded syslogd with database support and more."
 url="http://www.rsyslog.com/"
 arch="all"
@@ -86,7 +86,7 @@ snmp() {
 }
 
 md5sums="b797b8222d6ea4d5dfa007efe8aafa7f  rsyslog-6.2.2.tar.gz
-b3fcedb16f9de2d9434ce4c89004a73b  rsyslog.initd
+e2566e40938c054b61f873dd239d4856  rsyslog.initd
 0a0aef98f677364e6178c34274df7723  rsyslog.confd
 bc43debc9ffdf66bc1409025fd3d1176  rsyslog.logrotate
 65fbf5a7a81a53a70974e3085e96cb41  rsyslog.conf"
diff --git a/main/rsyslog/rsyslog.initd b/main/rsyslog/rsyslog.initd
index 9187fa5..459832e 100644
--- a/main/rsyslog/rsyslog.initd
+++ b/main/rsyslog/rsyslog.initd
@@ -6,6 +6,7 @@
 extra_started_commands="reload"
 
 depend() {
+	need clock hostname localmount
 	provide logger
 }
 
-- 
1.7.11.3



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Leonardo
Details
Message ID
<1343375357.1892.11.camel@df1844j>
In-Reply-To
<1343322148-31405-1-git-send-email-cbanta@gmail.com> (view parent)
Sender timestamp
1343375357
DKIM signature
missing
Download raw message
On Thu, 2012-07-26 at 17:02 +0000, Cameron Banta wrote:
> fix issue where rsyslog starts before
> hostname is set up, and remote logs
> are missing hostname

Applied and backported to 2.4 too.

Thanks!

- leo
V.Krishn
Details
Message ID
<201411272322.52183.vkrishn4@gmail.com>
In-Reply-To
<1343375357.1892.11.camel@df1844j> (view parent)
Sender timestamp
1417110772
DKIM signature
missing
Download raw message
I see 2 nice options/features that could be enabled.
a. libdbi - currently in testing
b. zeromq - already in main

Also note we have now hiredis/redis too.

-- 
Regards.
V.Krishn

> On Thu, 2012-07-26 at 17:02 +0000, Cameron Banta wrote:
> > fix issue where rsyslog starts before
> > hostname is set up, and remote logs
> > are missing hostname
> 
> Applied and backported to 2.4 too.
> 
> Thanks!
> 
> - leo



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---