** Description changed: 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 + 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.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578160 Title: /etc/cron.daily/sysstat: xargs: xz: No such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sysstat/+bug/1578160/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs