Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysstat: /opt/lib/sysstat/sa2 is not compatible with Asuswrt-Merlin #496

Closed
ColinTaylorUK opened this issue Jun 24, 2020 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@ColinTaylorUK
Copy link

/opt/lib/sysstat/sa2 will crash and therefore not create the daily reports.

/opt/lib/sysstat/sa2 requires the following packages to be installed and the script modified accordingly:

findutils: to support find's "-type f"
coreutils-date: to support date's "--date=yesterday"
xz: Not present in Asuswrt-Merlin but script can be changed to use gzip.

diff.txt

Side note: /opt/etc/sysstat/sysstat is not included in the package, but it's not actually needed.

@ryzhovau ryzhovau added the bug Something isn't working label Aug 4, 2020
@ryzhovau
Copy link
Member

ryzhovau commented Aug 30, 2020

AFAIK $PATH on asuswrt-merlin contains /usr/bin before /opt/bin for some reason, to preserve some firmware specific behavior.

Also, thanks for forgotten /opt/etc/sysstat/sysstat.

@ColinTaylorUK
Copy link
Author

Thanks you.

Sorry if this is a stupid question but in your commit you have added a dependency for coreutils-find. My Entware installation doesn't have this package it has findutils instead.

https://github.com/Entware/entware-packages/blob/e11d4e9ab25878dcfa482a1f8a12df1a7ca67920/utils/sysstat/Makefile#L34

ryzhovau added a commit to Entware/entware-packages that referenced this issue Aug 30, 2020
@ryzhovau
Copy link
Member

My bad. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants