Would it be better to open an issue?
We've confirmed that changing the priority lower than 10 fixes the issue
Radu described.

Otis
--
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/


On Thu, Aug 13, 2015 at 2:53 AM, Radu Gheorghe <[email protected]>
wrote:

> Hello,
>
> I've meant to write this some time ago but somehow forgot :(
>
> The thing is, Amazon Linux is RPM-based, so most YUM repos out there work.
> Not the one for rsyslog, for two reasons:
> 1) Amazon Linux reports "latest" for $releasever, but that is fixed by
> following step 4 here: http://www.rsyslog.com/rhelcentos-rpms/
> 2) Amazon Linux has "priority=10" to its own repos, which include an
> rsyslog package (version 5, of course :p). Because the rsyslog repo file
> has no "priority" set, the v5 package takes precedence. So YUM doesn't
> "see" v8, and even if you want to install a package that isn't in the
> Amazon repos (like rsyslog-elasticsearch) YUM will fail to find the needed
> dependency (rsyslog v8)
>
> This can be fixed by setting a "priority" value lower than 10 on the
> rsyslog.repo file. So I guess we have two options to solve this:
> - add priority=9, for example, to rsyslog.repo
> - add a note at step 4 on the RPM page that for Amazon Linux one needs to
> add it manually (along with replacing $releaseserver with 7)
>
> Not sure which is best, I don't have a preference right now. Either way,
> once this is fixed, it can also be added that Amazon Linux is supported,
> not only RHEL/CentOS
>
> What do you think?
>
> Best regards,
> Radu
> --
> Performance Monitoring * Log Analytics * Search Analytics
> Solr & Elasticsearch Support * http://sematext.com/
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to