<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>71264</bug_id>
          
          <creation_ts>2004-11-15 02:22 0000</creation_ts>
          <short_desc>a section on installing hotplug needs to be updated with the coldplug information</short_desc>
          <delta_ts>2005-01-18 09:32:48 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Docs-user</product>
          <component>Handbook</component>
          <version>n/a</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>chris.zapart@yahoo.co.uk</reporter>
          <assigned_to>swift@gentoo.org</assigned_to>
          <cc>docs-team@gentoo.org</cc>
    
    <cc>e.montezinos@hccnet.nl</cc>
    
    <cc>znmeb@cesmail.net</cc>

      

      
          <long_desc isprivate="0">
            <who>chris.zapart@yahoo.co.uk</who>
            <bug_when>2004-11-15 02:22:01 0000</bug_when>
            <thetext>Following the recent changes made to the hotplug scripts (the removal of the init.d hotplug functionality) the section 7d in the installation handbook needs to be updated with information about installing coldplug too. 

For example:

Immediately after configuring and compiling the kernel the manual tells you to 
install hotplug:

------------------------------------------------------------------------------------------------------------------

Now, let&apos;s perform one more step to get our system to be more like the Live CD 
-- let&apos;s emerge hotplug. While the initrd autodetects hardware that is needed 
to boot your system, hotplug autodetects everything else. To emerge and 
enable hotplug, type the following: 

Code Listing 19: Emerging and enabling hotplug

# emerge hotplug
# rc-update add hotplug default 

------------------------------------------------------------------------------------------------------------------

What really needs to be done is the following:

emerge hotplug
emerge coldplug
rc-update add coldplug boot

This will install both hotplug and coldplug packages and then put the coldplug 
package into the init.d script to be run at boot time (before the default run 
level). The new coldplug package takes over the tasks that were previously 
done by the hotplug script when booting. 

I am not sure what are the ebuild dependencies for the coldplug package. Perhaps emerging coldplug would automatically emerge hotplug too. But in any case it is now the coldplug package that needs to be added to the boot runlevel, not hotplug which does nothing at boot after the recent changes.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>swift@gentoo.org</who>
            <bug_when>2004-11-26 14:22:03 0000</bug_when>
            <thetext>I&apos;m going to do a s/hotplug/coldplug/ since that&apos;s what&apos;s most important. I don&apos;t think we really ought to list hotplug as well. Perhaps we should, but the hotplug-&gt;coldplug is a first objective.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>swift@gentoo.org</who>
            <bug_when>2004-11-26 14:24:58 0000</bug_when>
            <thetext>Done in CVS. If hotplug is necessary during installation (I don&apos;t think it is but I hardly use it), please reopen.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>znmeb@cesmail.net</who>
            <bug_when>2005-01-18 06:54:31 0000</bug_when>
            <thetext>This isn&apos;t quite done yet. As of the filing of this message, 

http://www.gentoo.org/doc/en/handbook/2004.3/handbook-x86.xml?full=1#book_part1_chap7

still says

# emerge hotplug
# rc-update add hotplug default

and 

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap7

says

# emerge coldplug
# rc-update add coldplug default

I haven&apos;t look at any of the others. In any event, isn&apos;t the correct code

# emerge coldplug; rc-update add coldplug boot
# emerge hotplug; rc-update add hotplug default</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chris.zapart@yahoo.co.uk</who>
            <bug_when>2005-01-18 07:03:27 0000</bug_when>
            <thetext>Edward,

You&apos;re right. In fact I&apos;ve added hotplug back to the default run-level on my system.
 And in the boot runlevel the new coldplug scripts take care of loading any required kernel modules like e1000 for networking etc. 
I think you only need to emerge coldplug (without emerging hotplug) because as part of its dependencies coldplug will install hotplug anyway. Then you just need to add coldbplug to the boot and hotplug to the default runlevel as per your comments.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>swift@gentoo.org</who>
            <bug_when>2005-01-18 09:32:48 0000</bug_when>
            <thetext>The hotplug-part is optional, but I&apos;ll bite anyway :)

The 2004.3 won&apos;t be changed though, that&apos;s release-specific and at the 2004.3 release there was no coldplug (hotplug did both).

Updated in CVS.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>