Re: [PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-25 Thread Jilles Tjoelker
On Sun, Apr 24, 2005 at 07:02:42PM -0700, Rob wrote: My conclusion is: sshd does simply not call random at all, although I have added it in the # REQUIRE: line. Is this a general bug in 5-Stable? Or am I testing this in the wrong way? RCNG doesn't work that way. rc.d scripts do not call one

Re: [PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-24 Thread Rob
Daniel O'Connor wrote: On Tue, 19 Apr 2005 17:06, Daniel O'Connor wrote: On Tue, 19 Apr 2005 16:43, Rob wrote: Should I submit a patch here? Following patch works fine for me (be aware some lines are wrapped :[ ) I think a more correct solution would be to make a 'random' rc.d script which

Re: [PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-24 Thread Daniel O'Connor
On Sun, 24 Apr 2005 16:16, Rob wrote: Either I don't understand this, or it is not working properly. I am using 5-Stable, not Current, so the 'cleanvar' is not there. So in /etc/rc.d/sshd I have this line: # REQUIRE: LOGIN random I then do: /etc/rc.d/random stop /etc/rc.d/sshd

Re: [PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-24 Thread Rob
--- Daniel O'Connor [EMAIL PROTECTED] wrote: On Sun, 24 Apr 2005 16:16, Rob wrote: Either I don't understand this, or it is not working properly. I am using 5-Stable, not Current, so the 'cleanvar' is not there. So in /etc/rc.d/sshd I have this line: # REQUIRE: LOGIN random

Re: [PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-24 Thread Daniel O'Connor
On Sun, 24 Apr 2005 17:39, Rob wrote: That gets it called here (although I already had random.ko loaded so I'm not 100% sure it worked) Oh? There's no such 'random_enable' entry in /etc/defaults/rc.conf on my 5.4-Stable system. Is this a Current only thing? Moreover, on my system,

Re: [PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-24 Thread Daniel O'Connor
On Sun, 24 Apr 2005 17:39, Rob wrote: Nevertheless, I have tried your advice, but to no avail. Hmm, try this diff it kldload's random if it's not present. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that

Re: [PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-24 Thread Rob
--- Daniel O'Connor [EMAIL PROTECTED] wrote: On Sun, 24 Apr 2005 17:39, Rob wrote: Nevertheless, I have tried your advice, but to no avail. Hmm, try this diff it kldload's random if it's not present. It's not present on 5.4-Stable, so I have patched it. In /etc/rc.d/sshd I also have

[PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-19 Thread Rob
--- Kris Kennaway [EMAIL PROTECTED] wrote: On Sun, Apr 17, 2005 at 08:48:37PM -0700, Rob wrote: Hi, I noticed that 'random.ko' module is required by ssh, especially when running the server sshd. However, the sshd script in /etc/rc.d does not verify the pressence of the random.ko

Re: [PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-19 Thread Daniel O'Connor
On Tue, 19 Apr 2005 16:43, Rob wrote: Should I submit a patch here? Following patch works fine for me (be aware some lines are wrapped :[ ) I think a more correct solution would be to make a 'random' rc.d script which sshd depends on (and others if they're found to need it) -- Daniel

Re: [PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-19 Thread Daniel O'Connor
On Tue, 19 Apr 2005 17:06, Daniel O'Connor wrote: On Tue, 19 Apr 2005 16:43, Rob wrote: Should I submit a patch here? Following patch works fine for me (be aware some lines are wrapped :[ ) I think a more correct solution would be to make a 'random' rc.d script which sshd depends on

Re: [PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-19 Thread Rob
--- Daniel O'Connor [EMAIL PROTECTED] wrote: On Tue, 19 Apr 2005 17:06, Daniel O'Connor wrote: On Tue, 19 Apr 2005 16:43, Rob wrote: Should I submit a patch here? Following patch works fine for me (be aware some lines are wrapped :[ ) I think a more correct solution would be to

Re: [PATCH] Re: /etc/rc.d/sshd : kldload random missing?

2005-04-19 Thread Daniel O'Connor
On Tue, 19 Apr 2005 17:48, Rob wrote: My earlier patch to the rc.d/sshd script was for loading the 'random.ko' module, if needed. But the random script does not do that. Should then the random script be extended by also checking whether loading 'random.ko' needs to be done? I think so. Try