rsyslog

How to use the Ubuntu repository

The Adiscon Ubuntu Repository has been setup to provide support for the latest rsyslog versions on Ubuntu 12 including support for necessary third party packages. Please note that the Ubuntu Repository is open for testing at the moment, and contains only the latest version for v7-devel. The new packages are based in the original and latest Ubuntu 12 rsyslog packages, so in most cases an simple sudo apt-get update && sudo apt-get upgrade will be enough to update rsyslog. Please note that these packages are currently experimental. Use at your own risk.

To use our repository, follow these steps:

  1. Install our PGP Key into your apt system

    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com AEF0CF8E
  2. Edit your /etc/apt/sources.list and add these lines to the end

    # Adiscon repository
    deb http://ubuntu.adiscon.com/v7-devel precise/
    deb-src http://ubuntu.adiscon.com/v7-devel precise/
  3. Once done perform these commands to update your apt cache and install the latest rsyslog version

    sudo apt-get update && sudo apt-get upgrade
  4. If you receive a message like this while upgrading follow these steps below:

    The following packages have been kept back:
    rsyslog
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

    sudo apt-get install rsyslog

We highly appriciate any feedback or bug reports.

The newest information will be available on the Ubuntu Repository project page.

Changelog for 7.2.5 (v7-stable)

Version 7.2.5  [v7-stable] 2013-01-08

  • build system cleanup (thanks to Michael Biebl for this!)
  • bugfix: omelasticsearch did not properly compile on some platforms due to missing libmath. Thanks to Michael Biebl for the fix
  • bugfix: invalid DST handling under Solaris
    Thanks to Scott Severtson for the patch.
  • bugfix: on termination, actions were incorrectly called
    The problem was that incomplete fiter evaluation was done *during the shutdown phase*. This affected only the LAST batches being processed. No problem existed during the regular run. Could usually only happen on very busy systems, which were still busy during shutdown.
  • bugfix: very large memory consumption (and probably out of memory) when FromPos was specified in template, but ToPos not.
    Thanks to Radu Gheorghe for alerting us of this bug.
  • bugfix: timeval2syslogTime cause problems on some platforms due to invalid assumption on structure data types.
    closes: http://bugzilla.adiscon.com/show_bug.cgi?id=394
    Thanks to David Hill for the patch [under ASL2.0 as per email conversation 2013-01-03].
  • bugfix: compile errors in im3195
    Thanks to Martin Körper for the patch
  • bugfix: doGetFileCreateMode() had invalid validity check ;)
    Thanks to Chandler Latour for the patch.
  • bugfix: mmjsonparse errornously returned action error when no CEE cookie was present.

Changelog for 7.3.5 (v7-devel)

Version 7.3.5 [devel] 2012-12-19

  • ommysql: addded batching/transaction support
  • enhanced script optimizer to optimize common PRI-based comparisons
    These constructs are especially used in SUSE default config files,
    but also by many users (as they are more readable than the equivalent
    PRI-based filter).
  • omudpspoof: add support for new config system
  • omudpspoof: add support for packets larger than 1472 bytes
    On Ethernet, they need to be transmitted in multiple fragments. While
    it is known that fragmentation can cause issues, it is the best choice
    to be made in that case. Also improved debug output.
  • bugfix: omudpspoof failed depending on the execution environment
    The v7 engine closes fds, and closed some of libnet’s fds as well, what
    lead to problems (unfortunately, at least some libnet versions do not
    report a proper error state but still “success”…). The order of libnet
    calls has been adjusted to by in sync with what the core engine does.
  • bugfix: segfault on imuxsock startup if system log socket is used
    and no ratelimiting supported. Happens only during initial config
    read phase, once this is over, everything works stable.
  • bugfix: mmnormalize build problems
  • bugfix: mmnormalize could abort rsyslog if config parameter was in error
  • bugfix: no error message for invalid string template parameters
    rather a malformed template was generated, and error information emitted
    at runtime. However, this could be quite confusing. Note that with this
    “bugfix” user experience changes: formerly, rsyslog and the affected
    actions properly started up, but the actions did not produce proper
    data. Now, there are startup error messages and the actions are NOT
    executed (due to missing template due to template error).
  • bugfix[minor]: invalid error code when mmnormalize could not access rulebase
  • bugfix(kind of): script optimizer did not work for complex boolean expressions
  • doc bugfix: corrections and improvements in mmnormalize html doc page
  • bugfix: some message properties could be garbled due to race condition
    This happened only on very high volume systems, if the same message was
    being processed by two different actions. This was a regression caused
    by the new config processor, which did no longer properly enable msg
    locking in multithreaded cases. The bugfix is actually a refactoring of
    the msg locking code – we no longer do unlocked operations, as the use
    case for it has mostly gone away. It is potentially possible only at
    very low-end systems, and there the small additional overhead of doing
    the locking does not really hurt. Instead, the removal of that
    capability can actually slightly improve performance in common cases,
    as the code path is smaller and requires slightly less memory writes.
    That probably outperforms the extra locking overhead (which in the
    low-end case always happens in user space, without need for kernel
    support as we can always directly aquire the lock – there is no
    contention at all).
  • build system cleanup (thanks to Michael Biebl for this!)
  • bugfix: omelasticsearch did not properly compile on some platforms
    due to missing libmath. Thanks to Michael Biebl for the fix.

rsyslog 7.3.5 (v7-devel) released

Version 7.3.5 is an update to the development branch. It contains new features: now, ommysql supports batching, which results in overall better system performance. Also, omudpspoof has been enhanced to support fragmentation for large messages. Omudpspoof now also supports the native v7 config format. Lastly, the script optimizer has been enhanced and detects and considerably optimizes some frequently-used constructs (like if $syslogfacility-text == “kernel” and such). Of course, there are also a couple of bug fixes, the most important one addresses a potential segfault that can happen in imuxock.

All users of the 7.3 branch are advised to update to this version.

ChangeLog:

http://www.rsyslog.com/changelog-for-7-3-5-v7-devel/

Download:

http://www.rsyslog.com/rsyslog-7-3-5-v7-devel/

As always, feedback is appreciated.

Best regards,
Tim Eifler

Version support policy change

We will be changing our policy so that only the latest stable build will be officially supported. This is done in an effort to concentrate resouces on building new and great things, instead of wasting a lot of time merging from old versions. A lot of -competing- projects have this policy and thus can move faster. We don’t want to carry that disadvantage any further with us.

For folks with support contracts, of course nothing changes: we always supported all versions – no matter how old – under these contracts (as long as technically possible). Please also note that we always consider older, but frequently used versions when it comes to important bug fixes (for example, I lately added a couple of fixes to v5.10, which is no longer officially supported for quite a while).

I would like to point out that rsyslog has a very considerate version management, with keeping major versions in different branches and (via professional support) taking care of each old version. This enterprise release scheme is under no discussion.

As a side-note: the discussion was started when I thought about non-critical fixes that I did for v7 and we thought about if it really makes sense to spend time to backport them to v6. There are also some enhancement-like “bugfixes” (like better config error messages), which will stay with the devel branch and mature into the next stable (if for nothing else, than for their regression potential).

Best regards,
Rainer Gerhards

Scroll to top