fuel-logrotate: pgrep output is not redirected to /dev/null
Bug #1461100 reported by
Bartłomiej Piotrowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Bartłomiej Piotrowski | ||
6.0.x |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Fuel-logrotate uses pgrep to check if another instance of logrotate is already running. When it is, its output (PID) should be redirected to /dev/null, but due to '/bin/sh' shebang, '&>' redirection doesn't work properly.
The problem results in cluttered mail spool for root user.
tags: | added: logging |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/187591
Review: https:/