Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
i'm receiving this spam from SHE host:
/etc/cron.daily/logrotate:
logrotate_script: line 4: cd: /var/run/openvswitch: No such file or directory
[root@slot-2 ~]# grep openvswitch /etc/logrotate.d/*
/etc/logrotate.d/openvswitch:/var/log/openvswitch/*.log {
/etc/logrotate.d/openvswitch: for pidfile in `cd /var/run/openvswitch && echo *.pid`; do
[root@slot-2 ~]# cat /etc/logrotate.d/openvswitch
# Copyright (C) 2009, 2010, 2011, 2012 Nicira, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without warranty of any kind.
/var/log/openvswitch/*.log {
daily
compress
sharedscripts
missingok
postrotate
# Tell Open vSwitch daemons to reopen their log files
for pidfile in `cd /var/run/openvswitch && echo *.pid`; do
ovs-appctl -t "${pidfile%%.pid}" vlog/reopen
done
endscript
}
of course the is no /var/run/openvswitch dir
Version-Release number of selected component (if applicable):
openvswitch-2.6.1-10.git20161206.el7fdb.x86_64
vdsm-4.19.10.1-1.el7ev.x86_64
4.1.1-9
How reproducible:
just happens
Steps to Reproduce:
1. usual rhv setup, legacy mode for bridge
2.
3.
Actual results:
i'm receiving spam daily from logrotate script
Expected results:
Additional info:
Description of problem: i'm receiving this spam from SHE host: /etc/cron.daily/logrotate: logrotate_script: line 4: cd: /var/run/openvswitch: No such file or directory [root@slot-2 ~]# grep openvswitch /etc/logrotate.d/* /etc/logrotate.d/openvswitch:/var/log/openvswitch/*.log { /etc/logrotate.d/openvswitch: for pidfile in `cd /var/run/openvswitch && echo *.pid`; do [root@slot-2 ~]# cat /etc/logrotate.d/openvswitch # Copyright (C) 2009, 2010, 2011, 2012 Nicira, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are preserved. This file is offered as-is, # without warranty of any kind. /var/log/openvswitch/*.log { daily compress sharedscripts missingok postrotate # Tell Open vSwitch daemons to reopen their log files for pidfile in `cd /var/run/openvswitch && echo *.pid`; do ovs-appctl -t "${pidfile%%.pid}" vlog/reopen done endscript } of course the is no /var/run/openvswitch dir Version-Release number of selected component (if applicable): openvswitch-2.6.1-10.git20161206.el7fdb.x86_64 vdsm-4.19.10.1-1.el7ev.x86_64 4.1.1-9 How reproducible: just happens Steps to Reproduce: 1. usual rhv setup, legacy mode for bridge 2. 3. Actual results: i'm receiving spam daily from logrotate script Expected results: Additional info: