[Bug 383745] [NEW] irqbalance fails to stop

Frode Haugsgjerd frode.haugsgjerd at gmail.com
Thu Jun 4 20:46:01 UTC 2009


Public bug reported:

Binary package hint: irqbalance

Ubuntu 9.04 on a Hp Compaq nc8430 laptop
irqbalance:
  Installed: 0.55-2.4
  Candidate: 0.55-2.4
  Version table:
 *** 0.55-2.4 0
        500 http://no.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status


start-stop-daemon fails to create /var/run/irqbalance.pid, so when i try to stop the daemon, the init script can't find the pid to kill.


froh at palw3012:~$ cat /etc/default/irqbalance 
#Configuration for the irqbalance daemon

#Should irqbalance be enabled?
ENABLED=1
#Balance the IRQs only once?
ONESHOT="0"

froh at palw3012:~$ sudo bash -x /etc/init.d/irqbalance start 2>&1|tee /tmp/log
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/usr/sbin/irqbalance
+ NAME=irqbalance
+ SNAME=irqbalance
+ DESC='SMP IRQ Balancer'
+ PIDFILE=/var/run/irqbalance.pid
+ PNAME=irqbalance
+ DOPTIONS=
+ ENABLED=0
+ OPTIONS=
+ ONESHOT=0
+ test -x /usr/sbin/irqbalance
+ test -f /etc/default/irqbalance
+ . /etc/default/irqbalance
++ ENABLED=1
++ ONESHOT=0
+ test 1 '!=' 0
+ test 0 '!=' 0
+ case "$1" in
+ echo -n 'Starting SMP IRQ Balancer: '
Starting SMP IRQ Balancer: + start-stop-daemon --start --pidfile /var/run/irqbalance.pid --name irqbalance --oknodo --startas /usr/sbin/irqbalance --
+ echo irqbalance.
irqbalance.
+ exit 0
froh at palw3012:~$ cat /tmp/log 
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/usr/sbin/irqbalance
+ NAME=irqbalance
+ SNAME=irqbalance
+ DESC='SMP IRQ Balancer'
+ PIDFILE=/var/run/irqbalance.pid
+ PNAME=irqbalance
+ DOPTIONS=
+ ENABLED=0
+ OPTIONS=
+ ONESHOT=0
+ test -x /usr/sbin/irqbalance
+ test -f /etc/default/irqbalance
+ . /etc/default/irqbalance
++ ENABLED=1
++ ONESHOT=0
+ test 1 '!=' 0
+ test 0 '!=' 0
+ case "$1" in
+ echo -n 'Starting SMP IRQ Balancer: '
Starting SMP IRQ Balancer: + start-stop-daemon --start --pidfile /var/run/irqbalance.pid --name irqbalance --oknodo --startas /usr/sbin/irqbalance --
+ echo irqbalance.
irqbalance.
+ exit 0

froh at palw3012:~$ cat /var/run/irqbalance.pid
cat: /var/run/irqbalance.pid: No such file or directory

froh at palw3012:~$ sudo bash -x /etc/init.d/irqbalance stop 2>&1|tee /tmp/log
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/usr/sbin/irqbalance
+ NAME=irqbalance
+ SNAME=irqbalance
+ DESC='SMP IRQ Balancer'
+ PIDFILE=/var/run/irqbalance.pid
+ PNAME=irqbalance
+ DOPTIONS=
+ ENABLED=0
+ OPTIONS=
+ ONESHOT=0
+ test -x /usr/sbin/irqbalance
+ test -f /etc/default/irqbalance
+ . /etc/default/irqbalance
++ ENABLED=1
++ ONESHOT=0
+ test 1 '!=' 0
+ test 0 '!=' 0
+ case "$1" in
+ echo -n 'Stopping SMP IRQ Balancer: '
Stopping SMP IRQ Balancer: + start-stop-daemon --stop --pidfile /var/run/irqbalance.pid --name irqbalance --oknodo
No irqbalance found running; none killed.
+ echo irqbalance.
irqbalance.
+ exit 0

** Affects: irqbalance (Ubuntu)
     Importance: Undecided
         Status: New

-- 
irqbalance fails to stop
https://bugs.launchpad.net/bugs/383745
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list