[moving from misc@ to tech@]
On Fri, Aug 15, 2014 at 02:15:08PM +0200, Paul de Weerd wrote:
| Yes, it is. Twice, in fact:
|
| Aug 15 14:13:39 tuna tftpd[14711]: 192.168.34.110: read request for
'/etc/random.seed'
| Aug 15 14:13:40 tuna tftpd[14711]: 192.168.34.110: read request for
'/etc/random.seed'
This behavior of loading the seed twice does not happen on other
hardware. I'm blaming this on the ALIX I was using to test it.
Still leaves the fact that, although read, it's not used. Anybody
else with an opinion on either of the two diffs I sent yesterday? My
preference is for changing the permissions of the file transferred
from tftp. Note that this change *ONLY* affects the pxeboot
bootloader. Here it is again for completeness:
Index: tftp.c
===================================================================
RCS file: /cvs/src/sys/lib/libsa/tftp.c,v
retrieving revision 1.6
diff -u -p -u -r1.6 tftp.c
--- tftp.c 13 Jul 2014 15:31:20 -0000 1.6
+++ tftp.c 15 Aug 2014 22:03:27 -0000
@@ -386,7 +386,7 @@ tftp_stat(struct open_file *f, struct st
struct tftp_handle *tftpfile;
tftpfile = (struct tftp_handle *) f->f_fsdata;
- sb->st_mode = 0444;
+ sb->st_mode = 0440;
sb->st_nlink = 1;
sb->st_uid = 0;
sb->st_gid = 0;
Paul 'WEiRD' de Weerd
--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/