[Bug 1155877] [NEW] Unneeded delay of 60 seconds

Sworddragon 1155877 at bugs.launchpad.net
Sat Mar 16 04:49:15 UTC 2013


Public bug reported:

I'm using Ubuntu 13.04 dev with initscripts 2.88dsf-13.10ubuntu15. I'm
noticing that /etc/init.d/ondemand is delaying the setting of the
governor to 60 seconds with this line: "sleep 60 # probably enough time
for desktop login".

I'm wondering about the comment since the desktop login has nothing to
do with setting the governor. Also the delay of 60 seconds is not needed
because /sys is already available if the script is starting. For a test
I have commented this line and as expected all was working fine. So I'm
thinking this line should be removed if there is no special reason to
keep it.

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

** Description changed:

- I'm using Ubuntu 13.04 dev with intiscripts 2.88dsf-13.10ubuntu15. I'm
+ I'm using Ubuntu 13.04 dev with initscripts 2.88dsf-13.10ubuntu15. I'm
  noticing that /etc/init.d/ondemand is delaying the setting of the
  governor to 60 seconds with this line: "sleep 60 # probably enough time
  for desktop login".
  
  I'm wondering about the comment since the desktop login has nothing to
  do with setting the governor. Also the delay of 60 seconds is not needed
  because /sys is already available if the script is starting. For a test
  I have commented this line and as expected all was working fine. So I'm
  thinking this line should be removed if there is no special reason to
  keep it.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/1155877

Title:
  Unneeded delay of 60 seconds

Status in “sysvinit” package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 13.04 dev with initscripts 2.88dsf-13.10ubuntu15. I'm
  noticing that /etc/init.d/ondemand is delaying the setting of the
  governor to 60 seconds with this line: "sleep 60 # probably enough
  time for desktop login".

  I'm wondering about the comment since the desktop login has nothing to
  do with setting the governor. Also the delay of 60 seconds is not
  needed because /sys is already available if the script is starting.
  For a test I have commented this line and as expected all was working
  fine. So I'm thinking this line should be removed if there is no
  special reason to keep it.

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




More information about the foundations-bugs mailing list