FreeNAS 0.7 live: fix the annoying IPTOS_LOWDELAY error

Categories: BSD

If you are tired of this error in log:

smbd[16703]: [2009/12/13 10:26:43, 0] lib/util_sock.c:set_socket_options(237)
smbd[16703]: Unknown socket option IPTOS_LOWDELAY

you have to do a little trick on /etc/rc.dsamba to remove “IPTOS_LOWDELAY” in socket options, doing this (you can add those lines to a script and make it launched after boot, like explained in this article):

sed 's/IPTOS_LOWDELAY//' /etc/rc.d/samba > /etc/rc.d/samba2
mv /etc/rc.d/samba2 /etc/rc.d/samba
chmod +x /etc/rc.d/samba
/etc/rc.d/samba restart

That’s all.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.