lkml.org 
[lkml]   [1996]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Odd root (and suid root) behavior
Date
In article <319A5C5A.2B0A0B92@emba.uvm.edu>,
Steven N. Hirsch <hirsch@uvm-gen.emba.uvm.edu> wrote:
>Marek Michalkiewicz wrote:
>
>A quick followup: I downloaded, built and installed sysklogd-1.3 today. The
>freezeups stopped, but a new buglet appeared which I've heard discussed on this
>list. Unless I put the startup command for syslogd in inittab, _after_
>rc.multi is run, it dies immediately.

I don't know if this is related, but syslogd 1.3 calls gethostbyname() to
get the FQDN of the host machine on line 710 of syslogd.c, and just use
the result without checking for failure. This causes a segfault if the
host name cannot be looked up somehow. You could check this by running
"syslogd -d" and see if you get a segfault.

I already sent the author a email about this.

sl14@cornell.edu
Witty .sig under construction.


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.059 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site