Hi David and Otis,

I've created an issue:
https://github.com/rsyslog/rsyslog-pkg-rhel-centos/issues/13

As I'm describing there, I couldn't create a PR because I don't know what's
the best option. Some opinions are welcome :) And even if I pick one, I
don't know how to do it:
- repo files are not static and I can't find how to add the priority option
by using the scripts
- I can't seem to be able to submit a change to that repos page from GitHub
(in order to add a warning note)
so I'd also need some guidance in how to apply either of these solutions.

Best regards,
Radu

--
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/

On Mon, Aug 17, 2015 at 2:43 AM, David Lang <[email protected]> wrote:

> Yes, opening an issue would be better than just the mailing list post.
>
> If you can create a patch/pull request againt the rsyslog-dist-redhat
> repo, that would be the best way to make sure this doesn't get missed.
>
> David Lang
>
>
> On Sun, 16 Aug 2015, Otis Gospodnetić wrote:
>
> 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.
>>
>
> _______________________________________________
> 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