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
Mantis 0001645: Removed output of mkpatidx from APT::Update conf #10
Conversation
Because of mkaptidx the /etc/cron.daily/apt script has standard output that cause a daily mail notification.
I left stderr so that error can be reported via mail instead |
The cron-apt job is executed daily, so you should always get an email notification, regardless if omv-mkaptidx prints output or not. |
Yes but this mail is not generated by cron-apt but from /etc/cron.daily/apt |
With your patch no output is done in any case, e.g. when you do a 'apt-get update' in the console. This is not wanted, omv-mkaptidx should tell the user what he is doing. |
Due the fact that there is no other option to prevent this output i have accepted this PR. But i think this is a bug in apt-get because it should take care that, if option -q is set, the output of all child processes (e.g. Post-Invoke scripts) is suppressed. |
Maybe we could read the verbosity and set accordingly the redirection like in the /etc/cron.d/apt script itself but not sure whether it's worth...
|
Too much hassle for such a simple issue. And APT::Periodic::Verbose does not have anything to do with omv-mkaptidx. |
Because of mkaptidx the /etc/cron.daily/apt script has standard output
that cause a daily mail notification.
Related issues:
http://bugtracker.openmediavault.org/view.php?id=1645
http://bugtracker.openmediavault.org/view.php?id=1334