<div dir="ltr"><br><div class="gmail_quote">On Mon, Aug 6, 2012 at 9:15 PM, Oleg Goldshmidt <span dir="ltr">&lt;<a href="mailto:pub@goldshmidt.org" target="_blank">pub@goldshmidt.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Now, while the problem is fixed I am not satisfied yet:<br>
<br>
1) I have never had to add -q before: zip/unzip have always worked<br>
   fine. Why now? The man page does not say anything really<br>
<br>
2) It is my script that calls zip - it is not called by logrotate or<br>
   anything: why piping from cat or gunzip (used by logrtate) works<br>
   fine but piping from logrotate somehow causes the problem? Note<br>
   also that the script does not zip stdin directly - it zips a file.<br>
<br></blockquote><div><br>Ideas (at no particular order...) :<br><br>* Environment variables with default settings for various commands in the mess<br>* Aliases existing on some user and not on the other<br>* Running from shell vs. not from shell (related to above two)<br>

* being attached to a pty / not being (where does output go?)<br>* a default of a tool may have changed, did you upgrade your system lately?<br>* stdout / stderr redirections on various invocations<br><br>Finally, strace is your friend, you can see how a process was called if you log strace output.<br>

<br>Also, this could be nonsense, but, I note that your logrotate is with -v - I&#39;m too tired to think, but maybe the logrotate verbosity goes into the mix...<br><br>-- Shimi<br></div></div></div>