Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61340 - race with hotplug script in parallel start-up
Summary: race with hotplug script in parallel start-up
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-23 02:06 UTC by Prakash Punnoor
Modified: 2005-08-16 11:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Prakash Punnoor 2004-08-23 02:06:59 UTC
In the conf.d/rc you can set RC_PARALLEL_STARTUP="yes" so that certain scripts will start in parallel. I noticed that the hotplug script seems to be vicitm of a race, as most of the times it works, but sometimes on boot-up Iget "Warning hotplug has already been started" and once it even this warning wasn't prevented in a race thus the srcipt ran twice at the same time, giving a delay, but everything worked nonetheless. (If above setting is set to "no", there are no problems."

I don't know what kind of information you need. but I think this would be needed (I am using udev, but I don't know whether it makes a difference).



Reproducible: Sometimes
Steps to Reproduce:
1.
2.
3.





rc-update show
               acpid |
           alsasound | boot
                apmd |
             athcool |
            backload |
            bootmisc | boot
          bootsplash |
             bttrack |
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
         crypto-loop |
               cupsd |      default
                dbus |
             distccd |
          domainname |
              esound |
                 fam |
                famd |      default
            festival |
            gkrellmd |
                 gpm |
                hald |
             hddtemp |
              hdparm |
            hostname | boot
             hotplug | boot
               ivman |
             keymaps | boot
               lircd |
                lisa |
          lm_sensors |
               local |      default nonetwork
          localmount | boot
             modules | boot
               mysql |
         mythbackend |
                 nas |
            net.eth0 |      default
              net.lo | boot
            netmount |      default
                 nfs |      default
            nfsmount |
                nscd |
             numlock |
             nvclock |
                nvtv |
             portmap |
             privoxy |
               q3ded |
             reslisa |
           rmnologin | boot
              rsyncd |
               samba |
              serial | boot
               slapd |
              slurpd |
              smartd |
             speechd |
                sshd |      default
              switch |
           synclient |
           syslog-ng |      default
             urandom | boot
             winbind |
            wolf-ded |
                 xdm |      default
                 xfs |
              xinetd |      default
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-09-20 16:19:09 UTC
What is hotplug racing with?  The network scripts?
Comment 2 Prakash Punnoor 2004-09-20 23:10:28 UTC
Well, I don't know. How to find out?
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-08-16 11:59:43 UTC
Closed due to lack of info.