看板 DFBSD_bugs 關於我們 聯絡資訊
:Hmm, : :> The utility that deals with it is /usr/src/usr.sbin/mailwrapper. : :Maybe I'm wrong, but I thought we were talking about modifying :getservent() and friends...? After all, I don't have problems with :mailer.conf getting overridden by a make upgrade, but /etc/services :being reset to its default state. Anyway, if it's somehow related, :I'll take a look at mailwrapper, too. : :Hm, hm : :--j I was thinking about the whole enchilada but the problem is similar (except getservent() needs to be fixed in libc). getservbyname() and getservbyport() could use a simple 'check /etc/services first then check /etc/defaults/services' scheme. In getservent()'s case it would have to merge the two files together (maybe on the fly if we were to require that the entries be sorted by port) to produce a single coherent result. -Matt Matthew Dillon <dillon@backplane.com>