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.
+++ This bug was initially created as a clone of Bug #1152188 +++
Description of problem:
If irqbalance doesn't have right to change irq smp affinity it will silliently continue without any warning in logs what so ever.
How reproducible:
Run irqbalance with
Steps to Reproduce:
1. log yourself as regular user
2. set IRQBALANCE_BANNED_CPUS
3. run irqbalancer
4. check /proc/irq/*/smp_affinity if was changed by irqbalance to value coresponding with IRQBALANCE_BANNED_CPUS (if you've done everything right value should stay unchanged due lack of privileges)
5. check irqbalance log (you'll see nothing about failing to set SMP affinity)
Expected results:
I belive I should be able to at least see some warning in logs about failing to set SMP affinity
Additional info:
In attachment I'm sending output from my run of `strace -e trace=file irqbalance --debug --oneshot`
--- Additional comment from RHEL Product and Program Management on 2014-10-15 05:40:35 EDT ---
Since this bug report was entered in bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Hi Andrej,
What is use case of using irqbalance as regular user? I would rather make irqbalance writing warning at the startup if it wasn't executed under root account.
(In reply to Petr Holasek from comment #2)
> Hi Andrej,
>
> What is use case of using irqbalance as regular user? I would rather make
> irqbalance writing warning at the startup if it wasn't executed under root
> account.
I mentioned run as a regular user only to way to reproduce this. When I reported this I had in mind maybe some security module in kernel or whatever what sysadmin can get easilly miss when he will not see warning in log.
Or in some irq you don't have right to change smp affinity by nature of the interrupt.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-2207.html