Bug#443362: logrotate: should check if /var/log/$FILE exists
reassign 443362 ipw3945d
thanks
Hello Paul!
On Fri, 21 Sep 2007 00:45:50 +0200, Paul Martin wrote:
> On Thu, Sep 20, 2007 at 10:05:20PM +0200, Luca Capello wrote:
>
>> I experienced the following error:
>> =====
>> /etc/cron.daily/logrotate:
>> error: stat of /var/log/ipw3945d/ipw3945d.log failed: No such file or directory
>> run-parts: /etc/cron.daily/logrotate exited with return code 1
>> =====
>>
>> This because even if I installed ipw3945d, I never used it, because
>> I prefer the daemon-free iwl3945 driver instead [1].
>>
>> Logrotate should check if /var/log/$FILE exists before acting on
>> it.
>
> That's what the "missingok" directive is for.
>
> missingok
> If the log file is missing, go on to the next one
> without issuing an error message. See also
> nomissingok.
Sorry for the noise, searching on the logrotate bug reports I
understood that the "missingok" directive was for folders, my fault.
Reassigning the bug to ipw3945d, where I should have reported in the
first place.
Thx, bye,
Gismo / Luca
Reply to: