On 12.04.2016 22:47, Matt Parlane wrote: > On Tue, Apr 12, 2016 at 9:51 PM, Lasse Collin <lasse.col...@tukaani.org> > wrote: >> If something like SELinux blocks reading such files, then the core >> count detection won't work. Compare the strace output in the two >> situations: >> >> strace -o /home/foo/strace.txt xz -T0 < /dev/null > /dev/null > > I've attached the two outputs. Let me know if I can provide anything else.
Note how the first lines of your attached strace outputs are different; one time, you execute /usr/bin/xz, and one time /usr/local/bin/xz is run. You should be able to solve your problem by either directly invoking /usr/local/bin/xz explicitly or adding something like PATH=/usr/local/bin:/bin:/usr/bin at the top of your crontab.