Date: Wed, 06 Mar 2002 12:09:50 +0000 From: Brian Somers <brian@freebsd-services.com> To: Maxim Konovalov <maxim@macomnet.ru> Cc: Brian Somers <brian@freebsd-services.com>, Maxim Konovalov <maxim@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@freebsd-services.com Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.c Message-ID: <200203061209.g26C9oH6025862@hak.lan.Awfulhak.org> In-Reply-To: Message from Maxim Konovalov <maxim@macomnet.ru> of "Wed, 06 Mar 2002 12:20:33 %2B0300." <20020306120232.O6091-100000@news1.macomnet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Ah, ok. Thanks for the explaination. > Hello Brian, > = > On 19:05-0000, Mar 5, 2002, Brian Somers wrote: > = > > > maxim 2002/02/27 00:42:07 PST > > > > > > Modified files: (Branch: RELENG_4) > > > usr.sbin/syslogd syslogd.c > > > Log: > > > MFC rev. 1.96: unlink all log sockets at startup. > > > > > > Revision Changes Path > > > 1.59.2.15 +1 -0 src/usr.sbin/syslogd/syslogd.c > > > > So if syslogd is run a second time, it'll blow away /var/run/log and > > then (probably) fail trying to open it's udp socket ? > > > > This doesn't sound wise. > = > The old syslogd(8) does the same: > = > # ident /usr/sbin/syslogd | grep syslogd.c > $FreeBSD: src/usr.sbin/syslogd/syslogd.c,v 1.59.2.13 2002/01/08 > 04:45:52 archie Exp $ > # > # killall syslogd > # /usr/sbin/syslogd > # ls -l /var/run/log > srw-rw-rw- 1 root wheel 0 6 =CD=C1=D2 12:01 /var/run/log > # /usr/sbin/syslogd > syslogd: child pid 14485 exited with return code 1 > # ls -l /var/run/log > ls: /var/run/log: No such file or directory > # > = > As you see the second syslogd fails, calls die() and die() unlinks > /var/run/log, so I changed nothing WRT this behaviour. > = > - -maxim > = -- = Brian <brian@freebsd-services.com> <brian@Awfulhak.org> http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org> Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203061209.g26C9oH6025862>