[Bug 1578160] Re: /etc/cron.daily/sysstat: xargs: xz: No such file or directory

TheSeal 1578160 at bugs.launchpad.net
Tue May 10 07:44:05 UTC 2016


I think I have done what you asked for by updating the description(with
SRU) and replacing the patch with a new one.

Anything else that needs to be done by me? :)

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1578160

Title:
  /etc/cron.daily/sysstat: xargs: xz: No such file or directory

Status in sysstat package in Ubuntu:
  Fix Released
Status in sysstat source package in Xenial:
  Triaged
Status in sysstat package in Debian:
  Fix Released

Bug description:
  Sysstat has changed the default compression from bzip2 to xz but the packages is lack of depend of the xz-utils.
  This causes the daily cronjob to fail with:

  /etc/cron.daily/sysstat:
  xargs: xz: No such file or directory

  This has been fixed in the Debian package by depending on the correct compression package.
  https://anonscm.debian.org/cgit/users/robert/sysstat.git/commit/?id=a3cb350b63d3fd819d86e1f865589e5b2b73d393

  Attaching a patch which will do the same for Ubuntu.

  # lsb_release -rd
  Description:    Ubuntu 16.04 LTS
  Release:        16.04

  # apt-cache policy sysstat
  sysstat:
    Installed: 11.2.0-1
    Candidate: 11.2.0-1
    Version table:
   *** 11.2.0-1 500
          500 http://linux-sua.it.su.se/xenial/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

  [Test Case]
  * Install the sysstat package
  * Enable that sadc collect system activity informations.
  * Wait until /etc/cron.daily/sysstat has run.
  * Expect mail to you root account with "xargs: xz: No such file or directory"

  [Regression Potential]
  I don't think there is any risks with this fix. 
  Since bzip2 is more widely used then xz I think bzip2 still will installed on the machine. So if someone have changed the default compression from xz to bzip2 the daily job still should succeed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysstat/+bug/1578160/+subscriptions



More information about the Ubuntu-sponsors mailing list