[Bug 1328556] Re: init/irqbalance should support $OPTIONS

Chris J Arges 1328556 at bugs.launchpad.net
Tue Aug 26 19:39:01 UTC 2014


Louis, 
Can you make the vesrion 1.0.6-2ubuntu0.14.04.1 instead of ubuntu1.14.04.1, the version string you introduced is > the utopic version. Please re-upload with that fix.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1328556

Title:
  init/irqbalance should support $OPTIONS

Status in “irqbalance” package in Ubuntu:
  Fix Released
Status in “irqbalance” source package in Trusty:
  In Progress

Bug description:
  [SRU justification]
  Without this modification, adding an $OPTIONS variable in /etc/default/irqbalance is useless.

  [Impact]
  Impossibility to add startup options using $OPTIONS

  [Fix]
  Add $OPTIONS to the upstart script similar to what is used in the SysV script

  [Test Case]
  Run the following script :

  #!/bin/bash

  
  apt-get update && apt-get -y install irqbalance

  cat << EOF >> /etc/default/irqbalance
  OPTIONS="--hintpolicy=ignore"
  EOF

  restart irqbalance

  Return=$(ps aux | grep irqbalance | grep -v grep | grep hintpolicy)

  if [[ -z $Return ]];then
     # Test fails : $OPTIONS not taken into account
     echo "Test Failed"
     exit -1
  else
     echo "Test Succeeded"
     exit 0
  fi

  [Regression]
  Risk of irqbalance not starting if invalid option were present in /etc/default/irqbalance previously

  [Original description of the problem]

  /etc/init.d/irqbalance supports setting an $OPTIONS variable to pass
  parameters to the irqbalance daemon

  /etc/init/irqbalance should also support an $OPTIONS variable.

  Usage example to workaround #1321425
  /etc/default/irqbalance
  OPTIONS="--hintpolicy=ignore"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1328556/+subscriptions



More information about the Ubuntu-sponsors mailing list