Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488556 - net-fs/nfs-utils should start after entropy daemons
Summary: net-fs/nfs-utils should start after entropy daemons
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-19 09:08 UTC by Toralf Förster
Modified: 2014-03-23 10:25 UTC (History)
0 users

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 Toralf Förster gentoo-dev 2013-10-19 09:08:33 UTC
IMO DHCPCD should be started after the entropyd services. Currently I do observe at a 32 bit Gentoo user mode linux :


INIT: Entering runlevel: 3
 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...	[ ok ]
 * Starting syslog-ng ...					[ ok ]
 * Starting DHCP Client Daemon ...				[ ok ]
 * Starting haveged ...						[ ok ]
 * Starting rngd ...						[ ok ]
 * Starting sshd ...						[ ok ]
Comment 1 Toralf Förster gentoo-dev 2013-10-19 12:20:17 UTC
Well, IRC says :

[10:57] *** This channel was created on 26.11.2006 07:42.
[10:58] <toralf> shouldn't /etc/init.d/dhcpcd use entropy daemons like rngd and havegd before it start itself ?
[11:17] <bonsaikitten> what would that fix?
[11:45] <mingdao> Reading http://www.gentoo.org/doc/en/altinstall.xml#doc_chap5 seems like I'm back in the twilight zone.  ;)
[11:46] <toralf> bonsaikitten: the TCP sequence numbers should benefit from that - or ß
[12:08] *** ChanServ gives channel operator privileges to NeddySeagoon.
[12:36] <aarontc> toralf: Isn't DHCP entirely UDP?
[13:46] <dwfreed> toralf: the tcp sequence numbers should have sufficient entropy by that point, since nothing else should need it before then; however, as aarontc points out, DHCP is UDP, not TCP
[14:09] *** ChanServ gives channel operator privileges to NeddySeagoon.
Comment 2 Toralf Förster gentoo-dev 2013-10-23 17:21:16 UTC
Well, and NFS is TCP, or ? And it is started before rngd at a 32 bit x86 user mode linux image:

 * Starting DHCP Client Daemon ...                                                                                    [ ok ]
 * Starting haveged ...                                                                                               [ ok ]
 * Starting rpcbind ...                                                                                               [ ok ]
 * Starting NFS statd ...                                                                                             [ ok ]
 * Setting up RPC pipefs ...                                                                                          [ ok ]
 * Starting idmapd ...                                                                                                [ ok ]
 * Mounting nfsd filesystem in /proc ...                                                                              [ ok ]
 * Exporting NFS directories ...                                                                                      [ ok ]
 * Starting NFS mountd ...                                                                                            [ ok ]
 * Starting NFS daemon ...                                                                                            [ ok ]
 * Starting NFS smnotify ...                                                                                          [ ok ]
 * Starting rngd ...                                                                                                  [ ok ]
Comment 3 Toralf Förster gentoo-dev 2013-11-07 16:49:38 UTC
This made it for me :

n22 ~ # d diff
/etc/init.d/nfs.old       /etc/init.d/nfs
34c34
<       after quota
---
>       after quota entropy
Comment 4 SpanKY gentoo-dev 2014-03-22 23:31:00 UTC
i don't think it makes much sense to go through every single network service and have it run after entropy.  if you want something like this early on, then add it to the boot runlevel instead of the default.
Comment 5 Toralf Förster gentoo-dev 2014-03-23 10:25:49 UTC
(In reply to SpanKY from comment #4)
> i don't think it makes much sense to go through every single network service
+1

IMO network services should start after those services which "provide entropy" if possible.