/etc/cron.daily/sysstat: xargs: xz: No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysstat (Debian) |
Fix Released
|
Unknown
|
|||
sysstat (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned |
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.
xargs: xz: No such file or directory
This has been fixed in the Debian package by depending on the correct compression package.
https:/
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://
100 /var/lib/
[Test Case]
* Install the sysstat package
* Enable that sadc collect system activity informations.
* Wait until /etc/cron.
* 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.
tags: | added: xenial |
Changed in sysstat (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: packaging |
Changed in sysstat (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in sysstat (Debian): | |
status: | Unknown → Fix Released |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.