[Bug 573657] Re: irqbalance enabled unconditionally, can't be disabled via debconf

Jürgen Kreileder jk at blackdown.de
Sun May 2 14:16:37 BST 2010


** Patch added: "irqbalance.patch"
   http://launchpadlibrarian.net/47256629/irqbalance.patch

** Description changed:

  Binary package hint: irqbalance
  
  [using 0.55+20091017-3ubuntu2 on lucid]
  
  irqbalance gets enabled unconditionally upon installation.  The user's
  answer to the question whether it should be enabled (upon installation
  or dpkg-reconfigure) gets ignored:
  
  ,---
- | $ cat /etc/default/irqbalance 
+ | $ cat /etc/default/irqbalance
  | #Configuration for the irqbalance daemon
- | 
+ |
  | #Should irqbalance be enabled?
  | ENABLED=1
  | #Balance the IRQs only once?
  | ONESHOT="0"
  | $ sudo dpkg-reconfigure -ftext irqbalance
- | stop: Unknown instance: 
+ | stop: Unknown instance:
  | Configuring irqbalance
  | ----------------------
- | 
- | Enable the irqbalance daemon to balance IRQs on SMP systems and systems with 
+ |
+ | Enable the irqbalance daemon to balance IRQs on SMP systems and systems with
  | hyperthreading.
- | 
+ |
  | Would you like to enable irqbalance? n
- | 
- | 
+ |
+ |
  | irqbalance can run in one shot mode, where the IRQs are balanced only once. This
  | is advantageous on hyperthreading systems such as the Pentium 4, which appear to
  | be SMP systems, but are really one physical CPU.
- | 
+ |
  | Would you like to balance the IRQs once? y
- | 
- | 
+ |
+ |
  | irqbalance start/running, process 1496
- | $ cat /etc/default/irqbalance 
+ | $ cat /etc/default/irqbalance
  | #Configuration for the irqbalance daemon
- | 
+ |
  | #Should irqbalance be enabled?
  | ENABLED=1
  | #Balance the IRQs only once?
  | ONESHOT="1"
  `---
  
- => dpkg-reconfigure managed to changed the ONESHOT setting but not the
+ => dpkg-reconfigure managed to change the ONESHOT setting but not the
  ENABLED setting.
  
  The problem is caused by a confusion over where to use "ENABLED" and
  where "ENABLE".  I'm attaching a trivial patch which fixes the problem.

-- 
irqbalance enabled unconditionally, can't be disabled via debconf
https://bugs.launchpad.net/bugs/573657
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to irqbalance in ubuntu.



More information about the Ubuntu-server-bugs mailing list