Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* syslog() after chroot() doesn't log?
@ 1995-06-07  4:00 Richard D. Yentis
  1995-06-09  4:00 ` John Kohl
  0 siblings, 1 reply; 2+ messages in thread
From: Richard D. Yentis @ 1995-06-07  4:00 UTC (permalink / raw)



I am trying to use wu-ftpd on an a DEC Alpha running OSF/1 ver. 2.
When an anonymous user logs in the program does a chroot() to ~ftp.
This works, but all of the syslog()s after that do not produce entries
in the syslog file, although the syslog() function does return a 0
indicating that it was able to log the information.

Any ideas of what could be causing this, or what I might do to fix
this?  (Other OSs that I have tried do not have this problem.)

Thanks,

Rich
-- 
Richard Yentis, Jr.			ryentis@seas.gwu.edu
Apt. 114				202-342-0952
510 21st St. North West
Washington DC 20006



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: syslog() after chroot() doesn't log?
  1995-06-07  4:00 syslog() after chroot() doesn't log? Richard D. Yentis
@ 1995-06-09  4:00 ` John Kohl
  0 siblings, 0 replies; 2+ messages in thread
From: John Kohl @ 1995-06-09  4:00 UTC (permalink / raw)


>>>>> "Richard" == Richard D Yentis <ryentis@seas.gwu.edu> writes:
In article <3r4u9r$psu@felix.seas.gwu.edu> ryentis@seas.gwu.edu (Richard D. Yentis) writes:

Richard> I am trying to use wu-ftpd on an a DEC Alpha running OSF/1 ver. 2.
Richard> When an anonymous user logs in the program does a chroot() to ~ftp.
Richard> This works, but all of the syslog()s after that do not produce entries
Richard> in the syslog file, although the syslog() function does return a 0
Richard> indicating that it was able to log the information.

syslog(3) does its stuff by sending messages to /dev/log, which of
course is not available after a chroot(2) call.  The OSF/1 sources I
have access to don't seem to have an option to force a connect(2) of the
syslog socket before chroot.  However, you can probably just pull the
relevant syslog.c files from your favorite 4.4BSD-Lite distribution and
use them instead.
--
John Kohl <jtk@atria.com> or <jtkohl@mit.edu>
working for but not representing:	Atria Software
sometimes hacking on:			NetBSD/i386



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-06-09  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-07  4:00 syslog() after chroot() doesn't log? Richard D. Yentis
1995-06-09  4:00 ` John Kohl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox