Git Product home page Git Product logo

rsyslog-pkg-rhel-centos's Introduction

rsyslog-pkg-rhel-centos

Package build sources for building RHEL/CentOS packages

rsyslog-pkg-rhel-centos's People

Contributors

alorbach avatar ampersize avatar aturetta avatar friedl avatar portante avatar rgerhards avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rsyslog-pkg-rhel-centos's Issues

rsyslog-8.33.1 does not properly force update of librelp package as dependency

causing the following error on startup:

2018-03-12T14:17:35.159745+00:00 czdcd-syslog01.lx.ifortuna.cz rsyslogd: could not load module '/usr/lib64/rsyslog/imrelp.so', dlopen: /usr/lib64/rsyslog/imrelp.so: undefined symbol: relpSrvSetMaxDataSize [v8.33.1 try http://www.rsyslog.com/e/2066 ]

This happens because there are dependencies on librelp >= 1.2.12 and librelp-devel >= 1.2.12, while it actually should depend on >=1.2.14 because of relpSrvSetMaxDataSize has been added in librelp-1.2.14. Please see below except from librelp release notes.

Brgds,

Eduard

==============
2017/05/29
librelp 1.2.14
librelp 1.2.14 [download]
This new release of librelp provides an API extension: add relpSrvSetMaxDataSize().
For more details, please take a look at the changelog below.
Version 1.2.14 - 2017-05-29

  • API extension: add relpSrvSetMaxDataSize()
    Thanks to Nathan Brown for the patch.
    ===============

Include omrabbitmq by default for el7?

Would it be possible to have the rabbitmq output module included in the default RPM builds for el7/CentOS7 and published in the adiscon repo?

We have been building our own RPMs up until now but it's awkward to manage and we need to re-build every time there is a new version or we get conflicts with the standard CentOS repos.

Thanks

Fix source reference in libgt.spec

The source tar ball reference in the libgt file seems to say it can be found at: http://libgt.adiscon.com/files/download/libgt-0.3.11.tar.gz

However, the name libgt.adiscon.com does not appear to resolve.

rsyslog-8.39.0-2.el7 requires libestr >= 0.1.11

Revealed during the attempt at updating from rsyslog 8.38.0-1.el7 via yum-rsyslog repo in Centos 7:

rsyslog-8.39.0-2.el7.x86_64 requires libestr >= 0.1.11

It appears that the most recent libestr available to Centos 7 is 0.1.9-2.el7 in the Base. Epel does not appear to carry it.

Timeout using systemctl stop rsyslog

By default on redhat (and maybe centos), the service time-out is set to 90 seconds.

The rsyslog service (from the rpm) doesn't specify explicitly any time-out value. The default 90 seconds are not enough when the DA queues needs to be filled (when rsyslog need to transfer the the memory queues to the disk queues).
I guess it can be done with the argument "TimeoutStopSec=180" in rsyslog.service

Is it safe to integrate that in the RPM ? Or is it better to handle that by myself?

Thanks,

Ludovic

Upgrade RedHat Packages

We have been using standard Redhat packages for RHEL 6 and 7 that come with the distribution, but would like to use the latest stable version on a few of our production systems that need more recent features.

Using the guidance here: https://www.rsyslog.com/rhelcentos-rpms/ it seems pretty straight forward. How does this work with the standard Redhat repos that rsyslog is normally updated with? Does it just update against the new adiscon.com repos going forward? Or do you need to do something on the OS to stop it from trying to update against Redhat? Just don't want to fight conflicts when we try to update the package in the future.

repo doesn't work on Amazon Linux out of the box

I wanted to submit a PR but I'm not sure what's the best option here. But first, the problem:

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.

Now for the options:

  • add priority=9, for example, to rsyslog.repo. Not sure how to make a PR that does this. Anyway, if we go this route, apparently it will only work if yum-plugin-priorities is installed: http://wiki.centos.org/PackageManagement/Yum/Priorities I'm not sure it is by default for RHEL/CentOS 6 and 7
  • 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). Again, I don't see where I could do a PR on this (I assume it's not possible for now on the website project)

What do you think we should do? And how? I'd gladly help, but I don't know what the next step would be :(

On CentOS 7, librelp has not updated to 1.5.0-1.el7 after rsyslog has updated to 8.2001.0-1.el7 #95

Original ticket here: rsyslog/rsyslog-pkg-ubuntu#95

After installed, rsyslogd v8.2001.0-1.el7 meet this error:

rsyslogd[18865]: could not load module 'omrelp', errors: trying to load module /usr/lib64/rsyslog/omrelp.so: /usr/lib64/rsyslog/omrelp.so: undefined symbol: relpCltSetTlsConfigCmd [v8.2001.0 try https://www.rsyslog.com/e/2066 ]
rsyslogd[18865]: module name 'omrelp' is unknown [v8.2001.0 try https://www.rsyslog.com/e/2209 ]
rsyslogd[18865]: error during parsing file /etc/rsyslog.d/mail.conf, on or before line 18: errors occured in file '/etc/rsyslog.d/mail.conf' around line 18 [v8.2001.0 try https://www.rsyslog.com/e/2207 ]
The error disappeared after the installation of librelp-1.5.0-1.el7, which is not a requirement for rsyslog-relp-8.2001.0-1.el7

]# rpm -q rsyslog-relp
rsyslog-relp-8.2001.0-1.el7.x86_64
]# rpm -qR rsyslog-relp
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
librelp >= 1.2.17
librelp.so.0()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rsyslog = 8.2001.0-1.el7
rtld(GNU_HASH)
rpmlib(PayloadIsXz) <= 5.2-1
Thank you

Recent packages seem to be missing signature

rpm -qi rsyslog-8.1911.0-1.el8.x86_64.rpm

Name : rsyslog
Version : 8.1911.0
Release : 1.el8
Architecture: x86_64
Install Date: (not installed)
Group : System Environment/Daemons
Size : 2475610
License : (GPLv3+ and ASL 2.0)
Signature : (none)
Source RPM : rsyslog-8.1911.0-1.el8.src.rpm
Build Date : Thu 14 Nov 2019 09:09:33 AM CST
Build Host : 34ddffd3fe38
Relocations : (not relocatable)
URL : http://www.rsyslog.com/
Summary : Enhanced system logging and kernel message trapping daemon
Description :
Rsyslog is an enhanced, multi-threaded syslog daemon. It supports MySQL,
syslog/TCP, RFC 3195, permitted sender lists, filtering on any message part,
and fine grain output format control. It is compatible with stock sysklogd
and can be used as a drop-in replacement. Rsyslog is simple to set up, with
advanced features suitable for enterprise-class, encryption-protected syslog
relay chains.

About ipv6

How to configure IPv6 in rsyslog. conf? Can we judge the success of sending IPv6 information locally by tpdump?

rsyslogd 8.27.0 could not load module '/lib64/rsyslog/mmnormalize.so' because liblognorm5 was not upgraded.

I've updated some servers to rsyslog v8.27.0 today and found following problem:

# rsyslogd -N 1
rsyslogd: version 8.27.0, config validation run (level 1), master config /etc/rsyslog.conf
rsyslogd: could not load module '/lib64/rsyslog/mmnormalize.so', dlopen: /lib64/rsyslog/mmnormalize.so: undefined symbol: ln_loadSamplesFromString  [v8.27.0 try http://www.rsyslog.com/e/2066 ]

It seems liblognorm5-2.0.3 is required now for rsyslog v8.27 but version is not specified in dependencies. So it's not updated along with rsyslog-mmnormalize module.

# rpm -qR rsyslog-mmnormalize
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libfastjson.so.4()(64bit)
liblognorm.so.5()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rsyslog = 8.27.0-1.el7
rtld(GNU_HASH)
rpmlib(PayloadIsXz) <= 5.2-1

missing dependency in systemd unit file

at least the CentOS 7 unit file has missing dependencies to the network target.

can you please add this:

[Unit]
Wants=network.target network-online.target
After=network.target network-online.target

please also check if the same is missing for CentOS 8

rsyslog create ksi package

The ksi signature support has to be moved into it's own package as we are getting into dependency trouble with libksi library updates.

rsyslog 8.15 stops reading journal

rsyslog just plain out stopped reading journalctl.

  • Removed rsyslog
  • Verified journal
  • Cleared /var/lib/rsyslog/
  • Reinstalled rsyslog
  • used logger
  • Proved that it is in journalctl
  • Not in /var/log/messages
  • Listed /etc/rsyslog.d/* (empty)
  • Showed /etc/rsyslog.conf (spoiler alert: it's exactly the same one in the rpm)

I have multiple VMs initially installed with CentOS 7.0, and upgraded throughout time which now experience this issue. This does NOT happen on every VM. This only happens on SOME VMs. Every box is absolutely current with all repos (now CentOS 7.2), I have no rhyme or reason as to why some are failing, and others are fine. I only have VMs, I do not have iron.

Is there ANYTHING I can do to help diagnose this? Is something stuck (statefile?) I'm pulling out my hair here.

[root@centos7 ~]# yum erase rsyslog
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package rsyslog.x86_64 0:8.15.0-1.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================
 Package                            Arch                              Version                                    Repository                           Size
===========================================================================================================================================================
Removing:
 rsyslog                            x86_64                            8.15.0-1.el7                               @rsyslog                            2.2 M

Transaction Summary
===========================================================================================================================================================
Remove  1 Package

Installed size: 2.2 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : rsyslog-8.15.0-1.el7.x86_64                                                                                                             1/1
  Verifying  : rsyslog-8.15.0-1.el7.x86_64                                                                                                             1/1

Removed:
  rsyslog.x86_64 0:8.15.0-1.el7

Complete!
[root@centos7 ~]# journalctl --verify
PASS: /run/log/journal/6276c6d480934f1ba6d49fb191f03d2b/system.journal
[root@centos7 ~]# rm -f /var/lib/rsyslog/*
[root@centos7 ~]# yum install rsyslog
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
 * base: mirror.cogentco.com
 * epel: mirror.symnds.com
 * extras: mirror.symnds.com
 * updates: centos.mirror.nac.net
Resolving Dependencies
--> Running transaction check
---> Package rsyslog.x86_64 0:8.15.0-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================
 Package                             Arch                               Version                                  Repository                           Size
===========================================================================================================================================================
Installing:
 rsyslog                             x86_64                             8.15.0-1.el7                             rsyslog                             615 k

Transaction Summary
===========================================================================================================================================================
Install  1 Package

Total size: 615 k
Installed size: 2.2 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : rsyslog-8.15.0-1.el7.x86_64                                                                                                             1/1
  Verifying  : rsyslog-8.15.0-1.el7.x86_64                                                                                                             1/1

Installed:
  rsyslog.x86_64 0:8.15.0-1.el7

Complete!
[root@centos7 ~]# logger Supercalifragilisticexpialidocious
[root@centos7 ~]# journalctl -f | grep Supercalifragilisticexpialidocious
Jan 29 09:42:06 centos7.domain.local root[4326]: Supercalifragilisticexpialidocious
^C
[root@centos7 ~]# tail /var/log/messages
Jan 29 09:13:48 centos7 kernel: [   22.200863] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
Jan 29 09:13:48 centos7 kernel: [   22.200896] IPVS: Creating netns size=2040 id=0
Jan 29 09:13:48 centos7 kernel: [   22.200936] IPVS: ipvs loaded.
Jan 29 09:18:03 centos7 rsyslogd: [origin software="rsyslogd" swVersion="8.15.0" x-pid="579" x-info="http://www.rsyslog.com"] exiting on signal 15.
Jan 29 09:19:49 centos7 rsyslogd: [origin software="rsyslogd" swVersion="8.15.0" x-pid="2836" x-info="http://www.rsyslog.com"] start
Jan 29 09:28:27 centos7 rsyslogd: [origin software="rsyslogd" swVersion="8.15.0" x-pid="2836" x-info="http://www.rsyslog.com"] exiting on signal 15.
Jan 29 09:28:27 centos7 rsyslogd: [origin software="rsyslogd" swVersion="8.15.0" x-pid="3387" x-info="http://www.rsyslog.com"] start
Jan 29 09:32:20 centos7 rsyslogd: [origin software="rsyslogd" swVersion="8.15.0" x-pid="3387" x-info="http://www.rsyslog.com"] exiting on signal 15.
Jan 29 09:32:20 centos7 rsyslogd: [origin software="rsyslogd" swVersion="8.15.0" x-pid="3649" x-info="http://www.rsyslog.com"] start
Jan 29 09:41:28 centos7 rsyslogd: [origin software="rsyslogd" swVersion="8.15.0" x-pid="3649" x-info="http://www.rsyslog.com"] exiting on signal 15.
[root@centos7 ~]# ls -la /etc/rsyslog.d/
total 12
drwxr-xr-x.  2 root root    6 Dec 18 09:39 .
drwxr-xr-x. 89 root root 8192 Jan 29 09:41 ..
[root@centos7 ~]# cat /etc/rsyslog.conf
# rsyslog configuration file
# note that most of this config file uses old-style format,
# because it is well-known AND quite suitable for simple cases
# like we have with the default config. For more advanced
# things, RainerScript configuration is suggested.

# For more information see /usr/share/doc/rsyslog-*/rsyslog_conf.html
# If you experience problems, see http://www.rsyslog.com/doc/troubleshoot.html

#### MODULES ####

module(load="imuxsock") # provides support for local system logging (e.g. via logger command)
module(load="imklog")   # provides kernel logging support (previously done by rklogd)
#module(load"immark")  # provides --MARK-- message capability

# Provides UDP syslog reception
# for parameters see http://www.rsyslog.com/doc/imudp.html
#module(load="imudp") # needs to be done just once
#input(type="imudp" port="514")

# Provides TCP syslog reception
# for parameters see http://www.rsyslog.com/doc/imtcp.html
#module(load="imtcp") # needs to be done just once
#input(type="imtcp" port="514")


#### GLOBAL DIRECTIVES ####

# Use default timestamp format
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat

# File syncing capability is disabled by default. This feature is usually not required,
# not useful and an extreme performance hit
#$ActionFileEnableSync on

# Include all config files in /etc/rsyslog.d/
$IncludeConfig /etc/rsyslog.d/*.conf


#### RULES ####

# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.*                                                 /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none                /var/log/messages

# The authpriv file has restricted access.
authpriv.*                                              /var/log/secure

# Log all the mail messages in one place.
mail.*                                                  /var/log/maillog


# Log cron stuff
cron.*                                                  /var/log/cron

# Everybody gets emergency messages
*.emerg                                                 :omusrmsg:*

# Save news errors of level crit and higher in a special file.
uucp,news.crit                                          /var/log/spooler

# Save boot messages also to boot.log
local7.*                                                /var/log/boot.log


# ### begin forwarding rule ###
# The statement between the begin ... end define a SINGLE forwarding
# rule. They belong together, do NOT split them. If you create multiple
# forwarding rules, duplicate the whole block!
# Remote Logging (we use TCP for reliable delivery)
#
# An on-disk queue is created for this action. If the remote host is
# down, messages are spooled to disk and sent when it is up again.
#$WorkDirectory /var/lib/rsyslog # where to place spool files
#$ActionQueueFileName fwdRule1 # unique name prefix for spool files
#$ActionQueueMaxDiskSpace 1g   # 1gb space limit (use as much as possible)
#$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
#$ActionQueueType LinkedList   # run asynchronously
#$ActionResumeRetryCount -1    # infinite retries if host is down
# remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional
#*.* @@remote-host:514
# ### end of the forwarding rule ###
[root@centos7 ~]# cat /etc/systemd/journald.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See journald.conf(5) for details.

[Journal]
#Storage=auto
#Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitInterval=30s
#RateLimitBurst=1000
#SystemMaxUse=
#SystemKeepFree=
#SystemMaxFileSize=
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#MaxRetentionSec=
#MaxFileSec=1month
#ForwardToSyslog=no
#ForwardToKMsg=no
#ForwardToConsole=no
#ForwardToWall=yes
#TTYPath=/dev/console
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg

I originally had a red herring with the omelasticsearch module in this issue, which may, at second glance be the same problem. Perhaps the issue started in 8.14?

Centos kernel 6.10 doesn't show rsyslog v8 as available in yum list with custom repo

From following the instructions on https://www.rsyslog.com/rhelcentos-rpms/ -- I add the custom repo, but the rsyslogv8 package doesn't display as available.

Other packages from the repo display as available

[root@ip-10-127-1-182 ~]# yum list available  --disablerepo=* --enablerepo=rsyslog_v8 --showduplicates
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
Available Packages
adisconbuild-librdkafka-debuginfo.x86_64                                                          0.11.5-1                                                                rsyslog_v8
adisconbuild-librdkafka-debuginfo.x86_64                                                          0.11.6-1                                                                rsyslog_v8
adisconbuild-librdkafka-debuginfo.x86_64                                                          0.11.6-2                                                                rsyslog_v8
adisconbuild-librdkafka-devel.x86_64                                                              0.11.5-1                                                                rsyslog_v8
adisconbuild-librdkafka-devel.x86_64                                                              0.11.6-1                                                                rsyslog_v8
adisconbuild-librdkafka-devel.x86_64                                                              0.11.6-2                                                                rsyslog_v8
adisconbuild-librdkafka1.x86_64                                                                   0.11.5-1                                                                rsyslog_v8
adisconbuild-librdkafka1.x86_64                                                                   0.11.6-1                                                                rsyslog_v8
adisconbuild-librdkafka1.x86_64                                                                   0.11.6-2                                                                rsyslog_v8
jemalloc.x86_64                                                                                   3.4.0-1.el6                                                             rsyslog_v8
jemalloc-debuginfo.x86_64                                                                         3.4.0-1.el6                                                             rsyslog_v8
jemalloc-devel.x86_64                                                                             3.4.0-1.el6                                                             rsyslog_v8
json-c.x86_64                                                                                     0.11-3.el6                                                              rsyslog_v8
json-c.x86_64                                                                                     0.11-4.el6                                                              rsyslog_v8
json-c-devel.x86_64                                                                               0.11-3.el6                                                              rsyslog_v8
json-c-devel.x86_64                                                                               0.11-4.el6                                                              rsyslog_v8
json-c-doc.noarch                                                                                 0.11-3.el6                                                              rsyslog_v8
json-c-doc.noarch                                                                                 0.11-4.el6                                                              rsyslog_v8
libee.x86_64                                                                                      0.4.1-1.el6                                                             rsyslog_v8
libee-debuginfo.x86_64                                                                            0.4.1-1.el6                                                             rsyslog_v8
libee-devel.x86_64                                                                                0.4.1-1.el6                                                             rsyslog_v8
libestr.x86_64                                                                                    0.1.9-1.el6                                                             rsyslog_v8
libestr.x86_64                                                                                    0.1.10-1.el6                                                            rsyslog_v8
libestr.x86_64                                                                                    0.1.11-1.el6                                                            rsyslog_v8
libestr-debuginfo.x86_64                                                                          0.1.9-1.el6                                                             rsyslog_v8
libestr-debuginfo.x86_64                                                                          0.1.10-1.el6                                                            rsyslog_v8
libestr-debuginfo.x86_64                                                                          0.1.11-1.el6                                                            rsyslog_v8
libestr-devel.x86_64                                                                              0.1.9-1.el6                                                             rsyslog_v8
libestr-devel.x86_64                                                                              0.1.10-1.el6                                                            rsyslog_v8
libestr-devel.x86_64                                                                              0.1.11-1.el6                                                            rsyslog_v8
libfastjson.x86_64                                                                                0.99.1-1.el6                                                            rsyslog_v8
libfastjson.x86_64                                                                                0.99.2-1.el6                                                            rsyslog_v8
libfastjson-devel.x86_64                                                                          0.99.1-1.el6                                                            rsyslog_v8
libfastjson-devel.x86_64                                                                          0.99.2-1.el6                                                            rsyslog_v8
libfastjson4.x86_64                                                                               0.99.3-2.el6                                                            rsyslog_v8
libfastjson4.x86_64                                                                               0.99.4-1.el6                                                            rsyslog_v8
libfastjson4.x86_64                                                                               0.99.5-1.el6                                                            rsyslog_v8
libfastjson4.x86_64                                                                               0.99.7-1.el6                                                            rsyslog_v8
libfastjson4.x86_64                                                                               0.99.7-2.el6                                                            rsyslog_v8
libfastjson4.x86_64                                                                               0.99.8-1.el6                                                            rsyslog_v8
libfastjson4-devel.x86_64                                                                         0.99.3-2.el6                                                            rsyslog_v8
libfastjson4-devel.x86_64                                                                         0.99.4-1.el6                                                            rsyslog_v8
libfastjson4-devel.x86_64                                                                         0.99.5-1.el6                                                            rsyslog_v8
libfastjson4-devel.x86_64                                                                         0.99.7-1.el6                                                            rsyslog_v8
libfastjson4-devel.x86_64                                                                         0.99.7-2.el6                                                            rsyslog_v8
libfastjson4-devel.x86_64                                                                         0.99.8-1.el6                                                            rsyslog_v8
libgt.x86_64                                                                                      0.3.11-1.el6                                                            rsyslog_v8
libgt-debuginfo.x86_64                                                                            0.3.11-1.el6                                                            rsyslog_v8
libgt-devel.x86_64                                                                                0.3.11-1.el6                                                            rsyslog_v8
liblogging.x86_64                                                                                 1.0.0-1.el6                                                             rsyslog_v8
liblogging.x86_64                                                                                 1.0.1-2.el6                                                             rsyslog_v8
liblogging.x86_64                                                                                 1.0.4-1.el6                                                             rsyslog_v8
liblogging.x86_64                                                                                 1.0.5-1.el6                                                             rsyslog_v8
liblogging.x86_64                                                                                 1.0.6-1.el6                                                             rsyslog_v8
liblogging-debuginfo.x86_64                                                                       1.0.0-1.el6                                                             rsyslog_v8
liblogging-debuginfo.x86_64                                                                       1.0.1-2.el6                                                             rsyslog_v8
liblogging-debuginfo.x86_64                                                                       1.0.4-1.el6                                                             rsyslog_v8
liblogging-debuginfo.x86_64                                                                       1.0.5-1.el6                                                             rsyslog_v8
liblogging-debuginfo.x86_64                                                                       1.0.6-1.el6                                                             rsyslog_v8
liblogging-devel.x86_64                                                                           1.0.0-1.el6                                                             rsyslog_v8
liblogging-devel.x86_64                                                                           1.0.1-2.el6                                                             rsyslog_v8
liblogging-devel.x86_64                                                                           1.0.4-1.el6                                                             rsyslog_v8
liblogging-devel.x86_64                                                                           1.0.5-1.el6                                                             rsyslog_v8
liblogging-devel.x86_64                                                                           1.0.6-1.el6                                                             rsyslog_v8
liblogging1.x86_64                                                                                1.0.1-1.el6                                                             rsyslog_v8
liblogging1.x86_64                                                                                1.0.1-2.el6                                                             rsyslog_v8
liblogging1-debuginfo.x86_64                                                                      1.0.1-1.el6                                                             rsyslog_v8
liblogging1-debuginfo.x86_64                                                                      1.0.1-2.el6                                                             rsyslog_v8
liblogging1-devel.x86_64                                                                          1.0.1-1.el6                                                             rsyslog_v8
liblogging1-devel.x86_64                                                                          1.0.1-2.el6                                                             rsyslog_v8
liblognorm.x86_64                                                                                 0.3.6-1.el6                                                             rsyslog_v8
liblognorm.x86_64                                                                                 0.3.7-1.el6                                                             rsyslog_v8
liblognorm.x86_64                                                                                 0.3.7-2.el6                                                             rsyslog_v8
liblognorm-debuginfo.x86_64                                                                       0.3.6-1.el6                                                             rsyslog_v8
liblognorm-debuginfo.x86_64                                                                       0.3.7-1.el6                                                             rsyslog_v8
liblognorm-debuginfo.x86_64                                                                       0.3.7-2.el6                                                             rsyslog_v8
liblognorm-debuginfo.x86_64                                                                       1.0.0-1.el6                                                             rsyslog_v8
liblognorm-devel.x86_64                                                                           0.3.6-1.el6                                                             rsyslog_v8
liblognorm-devel.x86_64                                                                           0.3.7-1.el6                                                             rsyslog_v8
liblognorm-devel.x86_64                                                                           0.3.7-2.el6                                                             rsyslog_v8
liblognorm-utils.x86_64                                                                           0.3.6-1.el6                                                             rsyslog_v8
liblognorm-utils.x86_64                                                                           0.3.7-1.el6                                                             rsyslog_v8
liblognorm-utils.x86_64                                                                           0.3.7-2.el6                                                             rsyslog_v8
liblognorm1.x86_64                                                                                1.0.0-1.el6                                                             rsyslog_v8
liblognorm1.x86_64                                                                                1.0.1-2.el6                                                             rsyslog_v8
liblognorm1.x86_64                                                                                1.1.0-1.el6                                                             rsyslog_v8
liblognorm1.x86_64                                                                                1.1.1-1.el6                                                             rsyslog_v8
liblognorm1.x86_64                                                                                1.1.2-1.el6                                                             rsyslog_v8
liblognorm1.x86_64                                                                                1.1.3-1.el6                                                             rsyslog_v8
liblognorm1-debuginfo.x86_64                                                                      1.0.0-1.el6                                                             rsyslog_v8
liblognorm1-debuginfo.x86_64                                                                      1.0.1-2.el6                                                             rsyslog_v8
liblognorm1-debuginfo.x86_64                                                                      1.1.0-1.el6                                                             rsyslog_v8
liblognorm1-debuginfo.x86_64                                                                      1.1.1-1.el6                                                             rsyslog_v8
liblognorm1-debuginfo.x86_64                                                                      1.1.2-1.el6                                                             rsyslog_v8
liblognorm1-debuginfo.x86_64                                                                      1.1.3-1.el6                                                             rsyslog_v8
liblognorm1-devel.x86_64                                                                          1.0.0-1.el6                                                             rsyslog_v8
liblognorm1-devel.x86_64                                                                          1.0.1-2.el6                                                             rsyslog_v8
liblognorm1-devel.x86_64                                                                          1.1.0-1.el6                                                             rsyslog_v8
liblognorm1-devel.x86_64                                                                          1.1.1-1.el6                                                             rsyslog_v8
liblognorm1-devel.x86_64                                                                          1.1.2-1.el6                                                             rsyslog_v8
liblognorm1-devel.x86_64                                                                          1.1.3-1.el6                                                             rsyslog_v8
liblognorm1-utils.x86_64                                                                          1.0.0-1.el6                                                             rsyslog_v8
liblognorm1-utils.x86_64                                                                          1.0.1-2.el6                                                             rsyslog_v8
liblognorm1-utils.x86_64                                                                          1.1.0-1.el6                                                             rsyslog_v8
liblognorm1-utils.x86_64                                                                          1.1.1-1.el6                                                             rsyslog_v8
liblognorm1-utils.x86_64                                                                          1.1.2-1.el6                                                             rsyslog_v8
liblognorm1-utils.x86_64                                                                          1.1.3-1.el6                                                             rsyslog_v8
liblognorm2.x86_64                                                                                2.0.0-1.el6                                                             rsyslog_v8
liblognorm2-debuginfo.x86_64                                                                      2.0.0-1.el6                                                             rsyslog_v8
liblognorm2-devel.x86_64                                                                          2.0.0-1.el6                                                             rsyslog_v8
liblognorm2-utils.x86_64                                                                          2.0.0-1.el6                                                             rsyslog_v8
liblognorm5.x86_64                                                                                2.0.1-1.el6                                                             rsyslog_v8
liblognorm5.x86_64                                                                                2.0.2-1.el6                                                             rsyslog_v8
liblognorm5.x86_64                                                                                2.0.3-1.el6                                                             rsyslog_v8
liblognorm5.x86_64                                                                                2.0.4-1.el6                                                             rsyslog_v8
liblognorm5.x86_64                                                                                2.0.4-2.el6                                                             rsyslog_v8
liblognorm5.x86_64                                                                                2.0.4-3.el6                                                             rsyslog_v8
liblognorm5.x86_64                                                                                2.0.6-1.el6                                                             rsyslog_v8
liblognorm5-debuginfo.x86_64                                                                      2.0.1-1.el6                                                             rsyslog_v8
liblognorm5-debuginfo.x86_64                                                                      2.0.2-1.el6                                                             rsyslog_v8
liblognorm5-debuginfo.x86_64                                                                      2.0.3-1.el6                                                             rsyslog_v8
liblognorm5-debuginfo.x86_64                                                                      2.0.4-1.el6                                                             rsyslog_v8
liblognorm5-debuginfo.x86_64                                                                      2.0.4-2.el6                                                             rsyslog_v8
liblognorm5-debuginfo.x86_64                                                                      2.0.4-3.el6                                                             rsyslog_v8
liblognorm5-debuginfo.x86_64                                                                      2.0.6-1.el6                                                             rsyslog_v8
liblognorm5-devel.x86_64                                                                          2.0.1-1.el6                                                             rsyslog_v8
liblognorm5-devel.x86_64                                                                          2.0.2-1.el6                                                             rsyslog_v8
liblognorm5-devel.x86_64                                                                          2.0.3-1.el6                                                             rsyslog_v8
liblognorm5-devel.x86_64                                                                          2.0.4-1.el6                                                             rsyslog_v8
liblognorm5-devel.x86_64                                                                          2.0.4-2.el6                                                             rsyslog_v8
liblognorm5-devel.x86_64                                                                          2.0.4-3.el6                                                             rsyslog_v8
liblognorm5-devel.x86_64                                                                          2.0.6-1.el6                                                             rsyslog_v8
liblognorm5-utils.x86_64                                                                          2.0.1-1.el6                                                             rsyslog_v8
liblognorm5-utils.x86_64                                                                          2.0.2-1.el6                                                             rsyslog_v8
liblognorm5-utils.x86_64                                                                          2.0.3-1.el6                                                             rsyslog_v8
liblognorm5-utils.x86_64                                                                          2.0.4-1.el6                                                             rsyslog_v8
liblognorm5-utils.x86_64                                                                          2.0.4-2.el6                                                             rsyslog_v8
liblognorm5-utils.x86_64                                                                          2.0.4-3.el6                                                             rsyslog_v8
liblognorm5-utils.x86_64                                                                          2.0.6-1.el6                                                             rsyslog_v8
libmongo-client.x86_64                                                                            0.1.6.1-1.el6                                                           rsyslog_v8
libmongo-client-debuginfo.x86_64                                                                  0.1.6.1-1.el6                                                           rsyslog_v8
libmongo-client-devel.x86_64                                                                      0.1.6.1-1.el6                                                           rsyslog_v8
libmongo-client-doc.x86_64                                                                        0.1.6.1-1.el6                                                           rsyslog_v8
librelp.x86_64                                                                                    1.2.0-1.el6                                                             rsyslog_v8
librelp.x86_64                                                                                    1.2.2-1.el6                                                             rsyslog_v8
librelp.x86_64                                                                                    1.2.3-1.el6                                                             rsyslog_v8
librelp.x86_64                                                                                    1.2.3-2.el6                                                             rsyslog_v8
librelp.x86_64                                                                                    1.2.3-3.el6                                                             rsyslog_v8
librelp.x86_64                                                                                    1.2.4-1.el6                                                             rsyslog_v8
librelp.x86_64                                                                                    1.2.5-1.el6                                                             rsyslog_v8
librelp.x86_64                                                                                    1.2.5-2.el6                                                             rsyslog_v8
librelp.x86_64                                                                                    1.2.8-1.el6                                                             rsyslog_v8
librelp.x86_64                                                                                    1.2.9-1.el6                                                             rsyslog_v8
librelp.x86_64                                                                                    1.2.10-1.el6                                                            rsyslog_v8
librelp.x86_64                                                                                    1.2.11-1.el6                                                            rsyslog_v8
librelp.x86_64                                                                                    1.2.12-1.el6                                                            rsyslog_v8
librelp.x86_64                                                                                    1.2.13-1.el6                                                            rsyslog_v8
librelp.x86_64                                                                                    1.2.14-1.el6                                                            rsyslog_v8
librelp.x86_64                                                                                    1.2.15-1.el6                                                            rsyslog_v8
librelp.x86_64                                                                                    1.2.16-1.el6                                                            rsyslog_v8
librelp.x86_64                                                                                    1.2.17-1.el6                                                            rsyslog_v8
librelp.x86_64                                                                                    1.2.18-1.el6                                                            rsyslog_v8
librelp.x86_64                                                                                    1.3.0-1.el6                                                             rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.0-1.el6                                                             rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.2-1.el6                                                             rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.3-1.el6                                                             rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.3-2.el6                                                             rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.3-3.el6                                                             rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.4-1.el6                                                             rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.5-1.el6                                                             rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.5-2.el6                                                             rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.8-1.el6                                                             rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.9-1.el6                                                             rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.10-1.el6                                                            rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.11-1.el6                                                            rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.12-1.el6                                                            rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.13-1.el6                                                            rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.14-1.el6                                                            rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.15-1.el6                                                            rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.16-1.el6                                                            rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.17-1.el6                                                            rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.2.18-1.el6                                                            rsyslog_v8
librelp-debuginfo.x86_64                                                                          1.3.0-1.el6                                                             rsyslog_v8
librelp-devel.x86_64                                                                              1.2.0-1.el6                                                             rsyslog_v8
librelp-devel.x86_64                                                                              1.2.2-1.el6                                                             rsyslog_v8
librelp-devel.x86_64                                                                              1.2.3-1.el6                                                             rsyslog_v8
librelp-devel.x86_64                                                                              1.2.3-2.el6                                                             rsyslog_v8
librelp-devel.x86_64                                                                              1.2.3-3.el6                                                             rsyslog_v8
librelp-devel.x86_64                                                                              1.2.4-1.el6                                                             rsyslog_v8
librelp-devel.x86_64                                                                              1.2.5-1.el6                                                             rsyslog_v8
librelp-devel.x86_64                                                                              1.2.5-2.el6                                                             rsyslog_v8
librelp-devel.x86_64                                                                              1.2.8-1.el6                                                             rsyslog_v8
librelp-devel.x86_64                                                                              1.2.9-1.el6                                                             rsyslog_v8
librelp-devel.x86_64                                                                              1.2.10-1.el6                                                            rsyslog_v8
librelp-devel.x86_64                                                                              1.2.11-1.el6                                                            rsyslog_v8
librelp-devel.x86_64                                                                              1.2.12-1.el6                                                            rsyslog_v8
librelp-devel.x86_64                                                                              1.2.13-1.el6                                                            rsyslog_v8
librelp-devel.x86_64                                                                              1.2.14-1.el6                                                            rsyslog_v8
librelp-devel.x86_64                                                                              1.2.15-1.el6                                                            rsyslog_v8
librelp-devel.x86_64                                                                              1.2.16-1.el6                                                            rsyslog_v8
librelp-devel.x86_64                                                                              1.2.17-1.el6                                                            rsyslog_v8
librelp-devel.x86_64                                                                              1.2.18-1.el6                                                            rsyslog_v8
librelp-devel.x86_64                                                                              1.3.0-1.el6                                                             rsyslog_v8
nettle.x86_64                                                                                     2.7.1-4.el6                                                             rsyslog_v8
nettle-debuginfo.x86_64                                                                           2.7.1-4.el6                                                             rsyslog_v8
nettle-devel.x86_64                                                                               2.7.1-4.el6                                                             rsyslog_v8

rsyslog v5 is currently installed on the instance.
When following the same procedure on kernel 6.8 -- the rsyslogv8 versions display correctly.

Is there a kernel version restriction on these packages?

Manually replacing releasever as described in #13 doesn't work

journald support is not packaged for el7

There is no support for journald in the packages provided for el7.

I can try to provide a patch for the spec file. Tell me if it should be included as default or in a separate package.

Rainer said:
I think it is best to do it as two separate package (one each for input and output).

Installation priority doesn't seem to be set correctly

$sudo yum repolist

Failed to set locale, defaulting to C
Loaded plugins: priorities, update-motd, upgrade-helper
238 packages excluded due to repository priority protections
repo id                                                                  repo name                                                                                         status
amzn-main/2016.09                                                        amzn-main-Base                                                                                       5612
amzn-updates/2016.09                                                     amzn-updates-Base                                                                                    1152
v8-stable/x86_64                                                         Adiscon CentOS-6 - local packages for \x86_64                                                     866+340
repolist: 7630

$ sudo yum install rsyslog

Failed to set locale, defaulting to C
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/2016.09                                                                                                                                          | 2.1 kB     00:00     
amzn-updates/2016.09                                                                                                                                       | 2.3 kB     00:00     
238 packages excluded due to repository priority protections
Package matching **rsyslog-5.8.10-9.26.amzn1.x86_64** already installed. Checking for update.
Nothing to do

#I have to actually disable all other repos to get rsyslog to install.
#Well it used to, until some days ago, the rsyslog package broke, and gives me this
#requires error. Though that's another issue. I should be getting the rsyslog-8 without having to disable all other repos.

$ sudo yum install rsyslog --disablerepo=* --enablerepo=v8-stable -y

Failed to set locale, defaulting to C
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--> Running transaction check
---> Package rsyslog.x86_64 0:8.26.0-1.el6 will be updated
--> Processing Dependency: rsyslog = 8.26.0-1.el6 for package: rsyslog-gnutls-8.26.0-1.el6.x86_64
---> Package rsyslog.x86_64 0:8.26.1-1.el6 will be an update
--> Running transaction check
---> Package rsyslog-gnutls.x86_64 0:8.26.0-1.el6 will be updated
---> Package rsyslog-gnutls.x86_64 0:8.26.1-1.el6 will be an update
--> Processing Dependency: libgnutls.so.26(GNUTLS_2_12)(64bit) for package: rsyslog-gnutls-8.26.1-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: rsyslog-gnutls-8.26.1-1.el6.x86_64 (v8-stable)
           Requires: libgnutls.so.26(GNUTLS_2_12)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

rsyslog 8.33.0: logrotate config still tries to reference PID file, but rsyslog is started with the option to not create a PID file

Short version:

  1. The PID file doesn't exist
  2. rsyslog was told not to create one
  3. The logrotate config file expects to use one

Details:

From the /etc/logrotate.d/syslog file on a CentOS 7 system:

/var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
{
    missingok
    sharedscripts
    postrotate
	/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
    endscript
}

[root@centos7-test init.d]# ls -l /var/run/syslogd.pid

ls: cannot access /var/run/syslogd.pid: No such file or directory

[root@centos7-test init.d]# systemctl status rsyslog

● rsyslog.service - System Logging Service
   Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2018-02-22 12:36:09 CST; 43s ago
     Docs: man:rsyslogd(8)
           http://www.rsyslog.com/doc/
 Main PID: 698 (rsyslogd)
   CGroup: /system.slice/rsyslog.service
           └─698 /usr/sbin/rsyslogd -n -iNONE

Feb 22 12:36:08 centos7-test systemd[1]: Starting System Logging Service...
Feb 22 12:36:09 centos7-test rsyslogd[698]: environment variable TZ is not set, auto correcting this to TZ=/etc/localtime  [v8.33.0 try http://www.rsyslog.com/e/2442 ]
Feb 22 12:36:09 centos7-test rsyslogd[698]:  [origin software="rsyslogd" swVersion="8.33.0" x-pid="698" x-info="http://www.rsyslog.com"] start
Feb 22 12:36:09 centos7-test systemd[1]: Started System Logging Service.

According to rpm, the faulty /etc/logrotate.d/syslog file is owned by the latest 8.33.0 package:

[root@centos7-test init.d]# rpm -qf /etc/logrotate.d/syslog

rsyslog-8.33.0-1.el7.centos.x86_64

See also rsyslog/rsyslog-pkg-ubuntu#74 and rsyslog/rsyslog#2143

RPM Package Signature - Key Verification

I'd like to verify the packages hosted on http://rpms.adiscon.com before installing.

They're signed but the signing key is also hosted on the same domain which is only accessible over HTTP (There is an open issue about this - rsyslog/rsyslog-website#45). I'm struggling to validate the fingerprint presented to me when I enable gpgcheck -

Retrieving key from http://rpms.adiscon.com/RPM-GPG-KEY-Adiscon Importing GPG key 0xE00B8985: Userid : "Andre Lorbach (RPM Signing Key) <[email protected]>" Fingerprint: 712d 4e18 794d c570 e287 0861 e0f2 33b3 e00b 8985 From : http://rpms.adiscon.com/RPM-GPG-KEY-Adiscon Is this ok [y/N]:

Is there another domain accessible via HTTPS where signing key fingerprints are maintained? If not, it would be good to add them to the instructions to setup the yumrepo.

Thanks!

Syslog-ng and rsyslog on the same machine

Is it possible to change the .spec file for v7 and v8 and change /etc/logrotate.d/syslog into /etc/logrotate.d/rsyslog ?

If you want to have both rsyslog and syslog-ng on the same machine, when using yum you will get an error like this one :

Transaction check error:
  file /etc/logrotate.d/syslog from install of rsyslog-7.4.7-12.el7.x86_64 conflicts with file from package syslog-ng-3.5.6-1.el7.x86_64

So far, the only option is to uninstall one of the two, run yum then download the rpm file and rpm -i --replacefiles <rpmfile>.rpm

rsyslog-8.15.0-1.el7.src.rpm corrupted?

Downloading: http://rpms.adiscon.com/v8-stable/epel-7/x86_64/RPMS/rsyslog-8.15.0-1.el7.src.rpm

rpm -ivh ../rsyslog-8.15.0-1.el7.src.rpm
Updating / installing...
   1:rsyslog-8.15.0-1.el7             ################################# [100%]
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: unpacking of archive failed on file /home/c7build/rpmbuild/SOURCE/rsyslog.init.epel6;567ac1ee: cpio: open
error: ../rsyslog-8.15.0-1.el7.src.rpm cannot be installed

md5sum:

md5sum ../rsyslog-8.15.0-1.el7.src.rpm
76e174eb6f0c955250e08965b71d2c35  ../rsyslog-8.15.0-1.el7.src.rpm

I was able to extract the files via rpm2cpio, but I am unsure as to why rpm itself fails to install the source RPM.

libksi: problems due to version incompatibilities

libksi introduced an incompatbile API with its newest version, which is required in order to use the new rsyslog code. While we have built a new package, there are file name conflicts, which lead to install failures if both old and new versions are to be installed. However, we cannot remove the old version, as this would render defective existing rsyslog versions. So this is not easy to settle.

A work-around proposal is to create a new rsyslog-ksi subpackage (and move those component over from the core package). In those cases, there seem to be relaxed check on file name conflicts so that we could work around the issues in a sufficiently reliable way.

error installing rsyslog-mmutf8fix on CentOS 7

 ---> dcbf163d26ee
Removing intermediate container b61cb62f5f26
Step 4/4 : RUN yum -y install rsyslog 	   rsyslog-elasticsearch 	   rsyslog-imptcp 	   rsyslog-imrelp 	   rsyslog-mmjsonparse 	   rsyslog-mmutf8fix 	   rsyslog-omrelp 	   rsyslog-omstdout
 ---> Running in e6532b363e16
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: centos.intergenia.de
 * extras: ftp.plusline.de
 * updates: ftp.plusline.de
No package rsyslog-imptcp available.
No package rsyslog-imrelp available.
No package rsyslog-omrelp available.
No package rsyslog-omstdout available.
Resolving Dependencies
--> Running transaction check
---> Package rsyslog.x86_64 0:8.33.0-1.el7.centos will be installed
--> Processing Dependency: logrotate >= 3.5.2 for package: rsyslog-8.33.0-1.el7.centos.x86_64
--> Processing Dependency: libfastjson4 >= 0.99.8 for package: rsyslog-8.33.0-1.el7.centos.x86_64
--> Processing Dependency: libestr >= 0.1.9 for package: rsyslog-8.33.0-1.el7.centos.x86_64
--> Processing Dependency: libfastjson.so.4()(64bit) for package: rsyslog-8.33.0-1.el7.centos.x86_64
--> Processing Dependency: libestr.so.0()(64bit) for package: rsyslog-8.33.0-1.el7.centos.x86_64
---> Package rsyslog-elasticsearch.x86_64 0:8.33.0-1.el7.centos will be installed
---> Package rsyslog-mmjsonparse.x86_64 0:8.33.0-1.el7.centos will be installed
--> Processing Dependency: liblognorm5 >= 2.0.4 for package: rsyslog-mmjsonparse-8.33.0-1.el7.centos.x86_64
---> Package rsyslog-mmutf8fix.x86_64 0:8.31.0-4.el7.centos will be installed
--> Processing Dependency: rsyslog = 8.31.0-4.el7.centos for package: rsyslog-mmutf8fix-8.31.0-4.el7.centos.x86_64
--> Running transaction check
---> Package libestr.x86_64 0:0.1.10-1.el7 will be installed
---> Package libfastjson4.x86_64 0:0.99.8-1.el7.centos will be installed
---> Package liblognorm5.x86_64 0:2.0.4-3.el7 will be installed
---> Package logrotate.x86_64 0:3.8.6-14.el7 will be installed
---> Package rsyslog-mmutf8fix.x86_64 0:8.31.0-4.el7.centos will be installed
--> Processing Dependency: rsyslog = 8.31.0-4.el7.centos for package: rsyslog-mmutf8fix-8.31.0-4.el7.centos.x86_64
--> Finished Dependency Resolution
Error: Package: rsyslog-mmutf8fix-8.31.0-4.el7.centos.x86_64 (rsyslog_v8)
           Requires: rsyslog = 8.31.0-4.el7.centos
           Available: rsyslog-8.2.2-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.2.2-1.el7
           Available: rsyslog-8.4.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.4.0-1.el7
           Available: rsyslog-8.4.1-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.4.1-1.el7
           Available: rsyslog-8.4.1-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.4.1-2.el7
           Available: rsyslog-8.4.2-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.4.2-1.el7
           Available: rsyslog-8.4.2-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.4.2-2.el7
           Available: rsyslog-8.4.2.ad1-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.4.2.ad1-1.el7
           Available: rsyslog-8.6.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.6.0-1.el7
           Available: rsyslog-8.6.0-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.6.0-2.el7
           Available: rsyslog-8.7.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.7.0-1.el7
           Available: rsyslog-8.8.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.8.0-1.el7
           Available: rsyslog-8.8.0.ad1-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.8.0.ad1-1.el7
           Available: rsyslog-8.8.0.ad1-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.8.0.ad1-2.el7
           Available: rsyslog-8.8.0.ad1-3.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.8.0.ad1-3.el7
           Available: rsyslog-8.9.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.9.0-1.el7
           Available: rsyslog-8.9.0.ad1-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.9.0.ad1-1.el7
           Available: rsyslog-8.10.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.10.0-1.el7
           Available: rsyslog-8.10.0.ad1-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.10.0.ad1-1.el7
           Available: rsyslog-8.10.0.ad1-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.10.0.ad1-2.el7
           Available: rsyslog-8.11.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.11.0-1.el7
           Available: rsyslog-8.11.0-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.11.0-2.el7
           Available: rsyslog-8.12.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.12.0-1.el7
           Available: rsyslog-8.13.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.13.0-1.el7
           Available: rsyslog-8.14.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.14.0-1.el7
           Available: rsyslog-8.14.0-5.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.14.0-5.el7
           Available: rsyslog-8.14.0-6.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.14.0-6.el7
           Available: rsyslog-8.15.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.15.0-1.el7
           Available: rsyslog-8.16.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.16.0-1.el7
           Available: rsyslog-8.16.0-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.16.0-2.el7
           Available: rsyslog-8.16.0-3.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.16.0-3.el7
           Available: rsyslog-8.17.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.17.0-1.el7
           Available: rsyslog-8.18.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.18.0-1.el7
           Available: rsyslog-8.19.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.19.0-1.el7
           Available: rsyslog-8.20.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.20.0-1.el7
           Available: rsyslog-8.21.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.21.0-1.el7
           Available: rsyslog-8.22.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.22.0-1.el7
           Available: rsyslog-8.23.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.23.0-1.el7
           Available: rsyslog-8.24.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.24.0-1.el7
           Available: rsyslog-8.24.0-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.24.0-2.el7
           Available: rsyslog-8.24.0-12.el7.x86_64 (base)
               rsyslog = 8.24.0-12.el7
           Available: rsyslog-8.25.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.25.0-1.el7
           Available: rsyslog-8.25.1-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.25.1-1.el7
           Available: rsyslog-8.26.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.26.0-1.el7
           Available: rsyslog-8.26.1-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.26.1-1.el7
           Available: rsyslog-8.27.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.27.0-1.el7
           Available: rsyslog-8.27.0-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.27.0-2.el7
           Available: rsyslog-8.28.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.28.0-1.el7
           Available: rsyslog-8.29.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.29.0-1.el7
           Available: rsyslog-8.29.0-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.29.0-2.el7
           Available: rsyslog-8.29.0-3.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.29.0-3.el7
           Available: rsyslog-8.30.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.30.0-1.el7
           Available: rsyslog-8.30.0-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.30.0-2.el7
           Available: rsyslog-8.30.0-3.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.30.0-3.el7
           Available: rsyslog-8.30.0-4.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.30.0-4.el7
           Available: rsyslog-8.31.0-1.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.31.0-1.el7
           Available: rsyslog-8.31.0-2.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.31.0-2.el7
           Available: rsyslog-8.31.0-3.el7.x86_64 (rsyslog_v8)
               rsyslog = 8.31.0-3.el7
           Available: rsyslog-8.31.0-4.el7.centos.x86_64 (rsyslog_v8)
               rsyslog = 8.31.0-4.el7.centos
           Available: rsyslog-8.32.0-1.el7.centos.x86_64 (rsyslog_v8)
               rsyslog = 8.32.0-1.el7.centos
           Available: rsyslog-8.32.0-2.el7.centos.x86_64 (rsyslog_v8)
               rsyslog = 8.32.0-2.el7.centos
           Available: rsyslog-8.32.0-3.el7.centos.x86_64 (rsyslog_v8)
               rsyslog = 8.32.0-3.el7.centos
           Installing: rsyslog-8.33.0-1.el7.centos.x86_64 (rsyslog_v8)
               rsyslog = 8.33.0-1.el7.centos
 You could try using --skip-broken to work around the problem

Error on installing/updating rsyslog-8.27.0-3.el7.x86_64.rpm

Hi guys,

Looks like today's release is not working:

    ---> Package rsyslog.x86_64 0:8.27.0-3.el7 will be an update
    --> Processing Dependency: libksi.so.7()(64bit) for package: rsyslog-8.27.0-3.el7.x86_64
    --> Finished Dependency Resolution
    Error: Package: rsyslog-8.27.0-3.el7.x86_64 (rsyslog)
               Requires: libksi.so.7()(64bit)
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest

Version 8.27.0-2 works fine.

I'm using CentOS Linux release 7.2.1511 (Core)

Thanks,

Building rsyslog-mmdblookup package

the mmdblookup looks up IP address and fetches geo-locations from the local database.
The new module is dependent on libmaxminddb. Which is available from the Fedora Yum repo. But should it be built for the rsyslog yum repos as-well?

Rsyslog-relp 8.23.0 needs librelp-1.2.12

After updating rsyslog & rsyslog-relp from 8.18.0 to 8.23.0,
omrelp module was failing to load with below:
module name 'omrelp' is unknown [v8.23.0 try http://www.rsyslog.com/e/2209 ] error during parsing file /etc/rsyslog.d/rsyslog_ruleset_omrelp.conf, on or before line 93: errors occured in file '/etc/rsyslog.d/rsyslog_ruleset_omrelp.conf' around line 93 [v8.23.0 try http://www.rsyslog.com/e/2207 ]

Updating librelp from 1.2.10 to 1.2.12 fixed the issue.

[improvement] reduce base package bloat

The base install includes pgsql, mysql and all sort of random features that rshould be installed as add ons (pretty much like RHEL does with rsyslog-relp).

Packages for EL5 of rsyslog >8.16.0-1 not available

Freshly installing rsyslog for CentOS 5.x (RHEL5) showed that the latest package version in the repository for EL5 is 8.16.0-1 built in 26th Jan 2016. Also other addon packages (e.g. rsyslog-relp, rsyslog-pgsql, ...) are not built for later versions.

See http://rpms.adiscon.com/v8-stable/epel-5/x86_64/RPMS/

  • Latest: rsyslog-8.16.0-1.el5.centos.x86_64.rpm 2016-01-26 14:04 792K

The other RHEL/CentOS repositories for EL6 and EL7 do show builds up to the latest rsyslog-8.18.0-1 (with multiple other package version between 8.16.0-1 and rsyslog-8.18.0-1

  • Latest: rsyslog-8.18.0-1.el7.x86_64.rpm 2016-04-19 09:23 635K

Is there any specific reason this version is used?
Or might the build be failing for some reason?

I do hope that this can be easily fixed. Looking forward to the lastest packages for EL5 ;-)

Odd behaviour on epel7

On epel7 rsyslog is started through systemd. For this, rsyslog needs to be started with the -n command line parameter.

In the package configuration files, this parameter is not given anywhere. Still, rsyslog will be started through systemd just fine.

This needs to be investigated.

2001 release RPM missing signatures

Heyo! New release appears to not have the PGP signature.

$ curl -LO http://rpms.adiscon.com/v8-stable/epel-7/x86_64/RPMS/rsyslog-8.2001.0-1.el7.x86_64.rpm    
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  729k  100  729k    0     0  1316k      0 --:--:-- --:--:-- --:--:-- 1315k
$ rpm -K rsyslog-8.2001.0-1.el7.x86_64.rpm 
rsyslog-8.2001.0-1.el7.x86_64.rpm: sha1 md5 OK

Would expect to see pgp on that return line for a signed result. (also yum installs fail because it's not signed)

Error: Package: rsyslog-8.10.0-1.el7.x86_64 (rsyslog_v8) Requires: libgnutls.so.28()(64bit)

I expected that the rsyslog_v8 repo would contain the required dependencies.

$ cat /etc/yum.repos.d/rsyslog.repo 
[rsyslog_v8]
name=Adiscon CentOS-7 - local packages for $basearch
baseurl=http://rpms.adiscon.com/v8-stable/epel-7/$basearch
enabled=1
gpgcheck=0
gpgkey=http://rpms.adiscon.com/RPM-GPG-KEY-Adiscon
protect=1
/usr/bin/yum install rsyslog --setopt=rsyslog_v8.priority=1 -y
Resolving Dependencies
--> Running transaction check
---> Package rsyslog.x86_64 0:5.8.10-9.26.amzn1 will be updated
---> Package rsyslog.x86_64 0:8.10.0-1.el7 will be an update
--> Processing Dependency: libgt for package: rsyslog-8.10.0-1.el7.x86_64
--> Processing Dependency: liblogging-stdlog.so.0()(64bit) for package: rsyslog-8.10.0-1.el7.x86_64
--> Processing Dependency: libjson-c.so.2()(64bit) for package: rsyslog-8.10.0-1.el7.x86_64
--> Processing Dependency: libgthttp.so.0()(64bit) for package: rsyslog-8.10.0-1.el7.x86_64
--> Processing Dependency: libgtbase.so.0()(64bit) for package: rsyslog-8.10.0-1.el7.x86_64
--> Processing Dependency: libgnutls.so.28()(64bit) for package: rsyslog-8.10.0-1.el7.x86_64
--> Processing Dependency: libestr.so.0()(64bit) for package: rsyslog-8.10.0-1.el7.x86_64
--> Running transaction check
---> Package json-c.x86_64 0:0.11-6.8.amzn1 will be installed
---> Package libestr.x86_64 0:0.1.10-1.el7 will be installed
---> Package libgt.x86_64 0:0.3.11-1.el7 will be installed
---> Package liblogging.x86_64 0:1.0.5-1.el7 will be installed
---> Package rsyslog.x86_64 0:8.10.0-1.el7 will be an update
--> Processing Dependency: libgnutls.so.28()(64bit) for package: rsyslog-8.10.0-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: rsyslog-8.10.0-1.el7.x86_64 (rsyslog_v8)
Requires: libgnutls.so.28()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Error: Package: rsyslog-gnutls-8.26.1-1.el6.x86_64 (v8-stable) Requires: libgnutls.so.26(GNUTLS_2_12)(64bit)

Hi, has something changed recently that broke rsyslog and rsyslog-gnutls dependencies?

$ sudo yum update
Failed to set locale, defaulting to C
Loaded plugins: priorities, update-motd, upgrade-helper
12 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package libfastjson4.x86_64 0:0.99.4-1.el6 will be updated
---> Package libfastjson4.x86_64 0:0.99.5-1.el6 will be an update
---> Package rsyslog.x86_64 0:8.26.0-1.el6 will be updated
---> Package rsyslog.x86_64 0:8.26.1-1.el6 will be an update
---> Package rsyslog-gnutls.x86_64 0:8.26.0-1.el6 will be updated
---> Package rsyslog-gnutls.x86_64 0:8.26.1-1.el6 will be an update
--> Processing Dependency: libgnutls.so.26(GNUTLS_2_12)(64bit) for package: rsyslog-gnutls-8.26.1-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: rsyslog-gnutls-8.26.1-1.el6.x86_64 (v8-stable)
Requires: libgnutls.so.26(GNUTLS_2_12)(64bit)

You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

$ls -alht /usr/lib64/libgnutls.so.26
libgnutls.so.26 libgnutls.so.26.14.12

$ ls -alht /usr/lib64/libgnutls.so.26*
lrwxrwxrwx 1 root root 21 Mar 7 12:48 /usr/lib64/libgnutls.so.26 -> libgnutls.so.26.14.12
-rwxr-xr-x 1 root root 649K Feb 6 2016 /usr/lib64/libgnutls.so.26.14.12

$ cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2016.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2016.09"
PRETTY_NAME="Amazon Linux AMI 2016.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2016.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"

$ cat /etc/yum.repos.d/rsyslog.repo
[v8-stable]
priority=1
name=Adiscon CentOS-6 - local packages for $basearch
baseurl=http://rpms.adiscon.com/v8-stable/epel-6/\$basearch
enabled=1
gpgcheck=0
gpgkey=http://rpms.adiscon.com/RPM-GPG-KEY-Adiscon
protect=1

Bug: CentOS package: logrotate setting

at least the CentOS 7 package delivers a logrotate setting with the file "/etc/logrotate.d/syslog", with the content:

/var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
{
sharedscripts
postrotate
/bin/kill -HUP cat /var/run/syslogd.pid 2> /dev/null 2> /dev/null || true
endscript
}

but kill -HUP will not work, because the pidfile is '/var/run/rsyslogd.pid' not 'cat /var/run/syslogd.pid'

could you please fix this?

systemd Alias / syslog.service symlink missing in RPM

Hello,

I'm trying to reconcile this repo and the associated RPMs with what's in the source code.

In the EL7 specfile, the Alias=syslog.service is commented out: ;Alias=syslog.service

https://github.com/rsyslog/rsyslog-pkg-rhel-centos/blob/master/rpmbuild/SPECS/v8-stable-el7.spec#L484

The original source code is not: https://github.com/rsyslog/rsyslog/blob/master/rsyslog.service.in#L15

There's a long thread at rsyslog/rsyslog#2134 that involves not commenting out this line (therefore creating the symlink). That is also what's described in http://www.rsyslog.com/rsyslog-8-32-0-v8-stable-released/ .

So ... should this line be commented in the most recent RPMs?

no version 8.33.1 of rsyslog-mongodb in the repository

I'm using version 8.33.1 of rsyslog and I get an error when installing the rsyslog-mongodb module with yum on a Centos 6 system. I found no version 8.33.1 of rsyslog-mongodb in the repository. How to deal with this situation?

Wrong pidfile for rsyslog 8.19 on RHEL7

The rsyslogd binary from repo "rsyslog_v7" uses /var/run/rsyslogd.pid instead of /var/run/syslogd.pid as pid file. This small different breaks the logrotate configuration.

# strings /sbin/rsyslogd | fgrep syslogd.pid
/var/run/rsyslogd.pid

I'm a little bit surprised after reading the spec file v8-stable.spec because it uses the right pid file for RHEL7, already.

# Set PIDFILE Variable!
%if 0%{?rhel} >= 6
    %define Pidfile syslogd.pid
    %define rsysloginit rsyslog.init.epel6
    %define rsysloglog rsyslog.log.epel6
%else
    %define Pidfile rsyslogd.pid
    %define rsysloginit rsyslog.init.epel5
    %define rsysloglog rsyslog.log.epel5
%endif
[...]
export CFLAGS="$RPM_OPT_FLAGS -fpie -DSYSLOGD_PIDNAME=\\\"%{Pidfile}\\\" -std=c99"

Maybe there is some trouble in the build process.

My expectation:

Rsyslog for RHEL7 uses the RHEL7 default file for the syslog pid /var/run/syslogd.pid

Current version

# rpm -qi rsyslog
Name        : rsyslog
Version     : 8.19.0
Release     : 1.el7
Architecture: x86_64
Install Date: Mon 06 Jun 2016 01:52:48 PM UTC
Group       : System Environment/Daemons
Size        : 2410850
License     : (GPLv3+ and ASL 2.0)
Signature   : RSA/SHA1, Tue 31 May 2016 10:55:20 AM UTC, Key ID e0f233b3e00b8985
Source RPM  : rsyslog-8.19.0-1.el7.src.rpm
Build Date  : Tue 31 May 2016 10:55:09 AM UTC
Build Host  : localhost
Relocations : (not relocatable)
URL         : http://www.rsyslog.com/
Summary     : Enhanced system logging and kernel message trapping daemon

rpmmaker fails on CentOS 7

I am trying to create CentOS 7 RPMs of rsyslog packages following the discussion in http://lists.adiscon.net/pipermail/rsyslog/2018-April/045352.html. However, at first the build fails with bash: mock-chroot: No such file or directory and after I create mock-chroot folder it fails with execv() failed: No such file or directory with the detailed trace shown below.

Am I missing some bootstrap steps required before running rpmmaker.sh?

[root@rsyslog-pkg-rhel-centos]# ./rpmmaker.sh
-------------------------------------
--- RPMMaker                      ---
-------------------------------------
SPEC Filebasename?
 1) v5-stable	     13) libee		  25) zeromq3
 2) v6-stable	     14) libgt		  26) czmq
 3) v7-stable	     15) librelp	  27) libmongo-client
 4) v7-devel-cust    16) json-c		  28) python-docutils
 5) v8-stable	     17) liblognorm	  29) python-sphinx
 6) v8-stable-el7    18) liblognorm1	  30) jemalloc
 7) v8-devel2	     19) liblognorm2	  31) gnutls
 8) v8-q-debug	     20) liblognorm5	  32) libtasn1
 9) v8-stable-gt     21) liblogging	  33) nettle
10) v8-stable-sb     22) libksi		  34) librdkafka
11) v8-stable-cs     23) libksi1	  35) libfastjson
12) libestr	     24) openpgm	  36) libfastjson4
#? 36
Making RPM for 'libfastjson4.spec'

Which Linux Plattform?:
1) epel-6
2) epel-7
3) All
#? 2
Making RPM for EPEL 'epel-7'

Which Architecture?:
1) i386
2) x86_64
3) All
#? 2
Making RPM for Plattforms 'x86_64'

Which YUM repository?:
1) v5-stable	   4) v8-devel2	     7) v8-stable-cs  10) donotuse
2) v7-stable	   5) v8-q-debug     8) v8-stable-sb  11) All
3) v8-stable	   6) v8-stable-gt   9) testing
#? 3
Making Source RPM for libfastjson4.spec in epel-7-x86_64
INFO: mock.py version 1.4.2 starting (python version = 2.7.5)...
Start: init plugins
INFO: selinux disabled
Finish: init plugins
Start: run
INFO: Start(./rpmbuild/SPECS/libfastjson4.spec)  Config(epel-7-x86_64)
Start: clean chroot
Finish: clean chroot
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled yum cache
Start: cleaning yum metadata
Finish: cleaning yum metadata
INFO: enabled HW Info plugin
Mock Version: 1.4.2
INFO: Mock Version: 1.4.2
Start: yum update
Failed to set locale, defaulting to C
base                                                                                                                                                                               | 3.6 kB  00:00:00
epel                                                                                                                                                                               | 4.7 kB  00:00:00
extras                                                                                                                                                                             | 3.4 kB  00:00:00
updates                                                                                                                                                                            | 3.4 kB  00:00:00
No packages marked for update
Finish: yum update
Finish: chroot init
Start: buildsrpm
Start: rpmbuild -bs
error: File /builddir/build/SOURCES/libfastjson-0.99.8.tar.gz: No such file or directory
Building target platforms: x86_64
Building for target x86_64
Finish: rpmbuild -bs
Finish: buildsrpm
ERROR: Exception(./rpmbuild/SPECS/libfastjson4.spec) Config(epel-7-x86_64) 0 minutes 8 seconds
INFO: Results and/or logs in: /var/lib/mock/epel-7-x86_64/result
ERROR: Command failed:
 # /usr/bin/systemd-nspawn -q -M 7c49fa3e90254624822e4a8799343353 -D /var/lib/mock/epel-7-x86_64/root --setenv=LANG=en_US.UTF-8 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOSTNAME=mock --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=HOME=/builddir --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PS1=<mock-chroot> \s-\v\$  -u mockbuild bash --login -c /usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libfastjson4.spec

ls: cannot access /var/lib/mock/epel-7-x86_64/result/*src.rpm: No such file or directory
basename: missing operand
Try 'basename --help' for more information.
Makeing RPMs from sourcefile ''
mv: missing destination file operand after ‘./rpmbuild/SRPMS/’
Try 'mv --help' for more information.
INFO: mock.py version 1.4.2 starting (python version = 2.7.5)...
Start: init plugins
INFO: selinux disabled
Finish: init plugins
Start: run
ERROR: Cannot find/open srpm: ./rpmbuild/SRPMS/. Error: error reading package header
chown: cannot access ‘/var/lib/mock/epel-7-x86_64/result/*.rpm’: No such file or directory
rpm: /usr/bin/rpmsign: No such file or directory
cp: cannot stat ‘/var/lib/mock/epel-7-x86_64/result/*rpm’: No such file or directory
Copying RPMs to ./yumrepo/v8-stable/epel-7/x86_64
sudo: createrepo: command not found
rm: cannot remove ‘./yumrepo/v8-stable/epel-7/x86_64/repodata/repomd.xml.asc’: No such file or directory
gpg: can't open `passfile.txt': No such file or directory
Cleaning up RPMs
rm: cannot remove ‘/var/lib/mock/epel-7-x86_64/result/*rpm’: No such file or directory

[root@rsyslog-pkg-rhel-centos]# /usr/bin/systemd-nspawn -q -M 7c49fa3e90254624822e4a8799343353 -D /var/lib/mock/epel-7-x86_64/root --setenv=LANG=en_US.UTF-8 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOSTNAME=mock --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=HOME=/builddir --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PS1=<mock-chroot> \s-\v\$  -u mockbuild bash --login -c /usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libfastjson4.spec
execv() failed: No such file or directory

RHEL 7 packages need fix

There are a couple of issues when trying to use them as a drop-in replacement for the Red Hat provided ones. For example, imjournal is used by default by RH, but we yet don't even provide a package for it (see #9).

To fix all of this, we need to install a plain RHEL 7 (or CentOS) and work to see which issues show up when we try to use user packages ... and then fix them ;)

find custom patches

Hello,

It might be a dumb question but I cannot find the files mentioned as patch in centos7 packages such as:
Patch0: rsyslog-8.24.0-sd-service.patch
Patch1: 01-rsyslog-8.32.0-rscript_parse_json.patch
Patch2: 02-rsyslog-8.32.0-jsonmesg-assert.patch
Patch3: 03-8.32.0-external-cmd-parser.patch

I expected to find them in SOURCES directory but cannot find them. What am I missing here?

Thanks,

In the el6 repo the rsyslog 8.2002 package has been pushed but not added to the metadata

Checked with yum on Centos 7 as my Docker refuses to give me a prompt in the Centos 6 image.

Note "Version : 8.2001.0" in the output from the last command. (If i substitute epel-7 for epel-6 in baseurl i get the expected "8.2002.0".)

% docker run --rm -it centos:7
[root@9a591180f848 /]# cat >/etc/yum.repos.d/rsyslog.repo <<'eof'
> [rsyslog]
> name=Rsyslog
> baseurl=http://rpms.adiscon.com/v8-stable/epel-6/x86_64/
> gpgcheck=0
> eof
[root@9a591180f848 /]# yum clean all
Loaded plugins: fastestmirror, ovl
Cleaning repos: base extras rsyslog updates
[root@9a591180f848 /]# yum --assumeno update
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
 * base: mirror.nsc.liu.se
 * extras: mirror.nsc.liu.se
 * updates: mirror.nsc.liu.se
base                                                     | 3.6 kB     00:00     
extras                                                   | 2.9 kB     00:00     
rsyslog                                                  | 2.6 kB     00:00     
updates                                                  | 2.9 kB     00:00     
(1/5): base/7/x86_64/group_gz                              | 165 kB   00:00     
(2/5): extras/7/x86_64/primary_db                          | 159 kB   00:00     
(3/5): updates/7/x86_64/primary_db                         | 6.7 MB   00:00     
(4/5): base/7/x86_64/primary_db                            | 6.0 MB   00:00     
(5/5): rsyslog/primary_db                                  | 559 kB   00:00     
Resolving Dependencies
--> Running transaction check
---> Package binutils.x86_64 0:2.27-41.base.el7 will be updated
---> Package binutils.x86_64 0:2.27-41.base.el7_7.2 will be an update
---> Package ca-certificates.noarch 0:2018.2.22-70.0.el7_5 will be updated
---> Package ca-certificates.noarch 0:2019.2.32-76.el7_7 will be an update
---> Package curl.x86_64 0:7.29.0-54.el7 will be updated
---> Package curl.x86_64 0:7.29.0-54.el7_7.2 will be an update
---> Package device-mapper.x86_64 7:1.02.158-2.el7 will be updated
---> Package device-mapper.x86_64 7:1.02.158-2.el7_7.2 will be an update
---> Package device-mapper-libs.x86_64 7:1.02.158-2.el7 will be updated
---> Package device-mapper-libs.x86_64 7:1.02.158-2.el7_7.2 will be an update
---> Package hostname.x86_64 0:3.13-3.el7 will be updated
---> Package hostname.x86_64 0:3.13-3.el7_7.1 will be an update
---> Package libblkid.x86_64 0:2.23.2-61.el7 will be updated
---> Package libblkid.x86_64 0:2.23.2-61.el7_7.1 will be an update
---> Package libcurl.x86_64 0:7.29.0-54.el7 will be updated
---> Package libcurl.x86_64 0:7.29.0-54.el7_7.2 will be an update
---> Package libmount.x86_64 0:2.23.2-61.el7 will be updated
---> Package libmount.x86_64 0:2.23.2-61.el7_7.1 will be an update
---> Package libsmartcols.x86_64 0:2.23.2-61.el7 will be updated
---> Package libsmartcols.x86_64 0:2.23.2-61.el7_7.1 will be an update
---> Package libuuid.x86_64 0:2.23.2-61.el7 will be updated
---> Package libuuid.x86_64 0:2.23.2-61.el7_7.1 will be an update
---> Package nss.x86_64 0:3.44.0-4.el7 will be updated
---> Package nss.x86_64 0:3.44.0-7.el7_7 will be an update
---> Package nss-softokn.x86_64 0:3.44.0-5.el7 will be updated
---> Package nss-softokn.x86_64 0:3.44.0-8.el7_7 will be an update
---> Package nss-softokn-freebl.x86_64 0:3.44.0-5.el7 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.44.0-8.el7_7 will be an update
---> Package nss-sysinit.x86_64 0:3.44.0-4.el7 will be updated
---> Package nss-sysinit.x86_64 0:3.44.0-7.el7_7 will be an update
---> Package nss-tools.x86_64 0:3.44.0-4.el7 will be updated
---> Package nss-tools.x86_64 0:3.44.0-7.el7_7 will be an update
---> Package nss-util.x86_64 0:3.44.0-3.el7 will be updated
---> Package nss-util.x86_64 0:3.44.0-4.el7_7 will be an update
---> Package procps-ng.x86_64 0:3.3.10-26.el7 will be updated
---> Package procps-ng.x86_64 0:3.3.10-26.el7_7.1 will be an update
---> Package sqlite.x86_64 0:3.7.17-8.el7 will be updated
---> Package sqlite.x86_64 0:3.7.17-8.el7_7.1 will be an update
---> Package systemd.x86_64 0:219-67.el7_7.1 will be updated
---> Package systemd.x86_64 0:219-67.el7_7.3 will be an update
---> Package systemd-libs.x86_64 0:219-67.el7_7.1 will be updated
---> Package systemd-libs.x86_64 0:219-67.el7_7.3 will be an update
---> Package tzdata.noarch 0:2019b-1.el7 will be updated
---> Package tzdata.noarch 0:2019c-1.el7 will be an update
---> Package util-linux.x86_64 0:2.23.2-61.el7 will be updated
---> Package util-linux.x86_64 0:2.23.2-61.el7_7.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch       Version                    Repository   Size
================================================================================
Updating:
 binutils               x86_64     2.27-41.base.el7_7.2       updates     5.9 M
 ca-certificates        noarch     2019.2.32-76.el7_7         updates     399 k
 curl                   x86_64     7.29.0-54.el7_7.2          updates     270 k
 device-mapper          x86_64     7:1.02.158-2.el7_7.2       updates     294 k
 device-mapper-libs     x86_64     7:1.02.158-2.el7_7.2       updates     322 k
 hostname               x86_64     3.13-3.el7_7.1             updates      17 k
 libblkid               x86_64     2.23.2-61.el7_7.1          updates     181 k
 libcurl                x86_64     7.29.0-54.el7_7.2          updates     223 k
 libmount               x86_64     2.23.2-61.el7_7.1          updates     183 k
 libsmartcols           x86_64     2.23.2-61.el7_7.1          updates     141 k
 libuuid                x86_64     2.23.2-61.el7_7.1          updates      83 k
 nss                    x86_64     3.44.0-7.el7_7             updates     854 k
 nss-softokn            x86_64     3.44.0-8.el7_7             updates     330 k
 nss-softokn-freebl     x86_64     3.44.0-8.el7_7             updates     224 k
 nss-sysinit            x86_64     3.44.0-7.el7_7             updates      65 k
 nss-tools              x86_64     3.44.0-7.el7_7             updates     528 k
 nss-util               x86_64     3.44.0-4.el7_7             updates      79 k
 procps-ng              x86_64     3.3.10-26.el7_7.1          updates     291 k
 sqlite                 x86_64     3.7.17-8.el7_7.1           updates     394 k
 systemd                x86_64     219-67.el7_7.3             updates     5.1 M
 systemd-libs           x86_64     219-67.el7_7.3             updates     411 k
 tzdata                 noarch     2019c-1.el7                updates     493 k
 util-linux             x86_64     2.23.2-61.el7_7.1          updates     2.0 M

Transaction Summary
================================================================================
Upgrade  23 Packages

Total download size: 19 M
Exiting on user command
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2020-02-26.10-14.w5RAv9.yumtx
[root@9a591180f848 /]# yum info rsyslog
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirror.nsc.liu.se
 * extras: mirror.nsc.liu.se
 * updates: mirror.nsc.liu.se
Available Packages
Name        : rsyslog
Arch        : x86_64
Version     : 8.2001.0
Release     : 1.el6
Size        : 632 k
Repo        : rsyslog
Summary     : Enhanced system logging and kernel message trapping daemon
URL         : http://www.rsyslog.com/
License     : (GPLv3+ and ASL 2.0)
Description : Rsyslog is an enhanced, multi-threaded syslog daemon. It supports
            : MySQL, syslog/TCP, RFC 3195, permitted sender lists, filtering on
            : any message part, and fine grain output format control. It is
            : compatible with stock sysklogd and can be used as a drop-in
            : replacement. Rsyslog is simple to set up, with advanced features
            : suitable for enterprise-class, encryption-protected syslog relay
            : chains.

[root@9a591180f848 /]# 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.