🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80992

Re: Logging failures

#80992
From: John F. Morse
Date: Tue, 12 May 2009 19:01
54 lines
3222 bytes
Ray Banana wrote:
> Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
>  
>   
>> Ubuntu has the bug report now.
>> https://bugs.launchpad.net/ubuntu/+source/inn2/+bug/374843
>> We'll see what they have to say.
>>     
>
> I can confirm this behaviour of sysklogd on Ubuntu 08.4. Obviously
> sysklogd does not re-open the news.* logfiles when it receives a
> SIGHUP. After stopping and starting sysklogd, INN continues to log to
> news.notice etc., so, as a work-around, you could change the line
>
> | # Restart syslogd
> | #
> | /etc/init.d/sysklogd reload-or-restart > /dev/null
>
> to 
>
> /etc/init.d/sysklogd restart > /dev/null
>
> in /etc/cron.daily/sysklogd.
>   

Hi Ray,

Thanks for digging up this information.

I was wandering around in sysklogd last week. Even did the SIGHUP to
restart it, but that couldn't go on daily! ;-)

The man page for sysklogd is quite "wordy" mentioning sysklogd, syslogd,
klogd, etc. so I shall spend more time to study it.

I couldn't find any reference to why the redirection to /dev/null. Is
this a precaution to eliminate looping so the hard disk doesn't fill up?

I applied your change to Optima2 and I'll see what happens tomorrow morning.

Optima7 (Debian 3.1 with INN 2.4.3) has that same line in its script,
but Optima7 does not fail.

I also checked and found Debian 5.0 doesn't even have the 
/etc/cron.daily/sysklogd file. But it isn't failing, so no problem
there. Perhaps the change to anacron is the reason?


-- 
John 

No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.

The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID: <guch30$aoq$1@optima7.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!goblin1!goblin3!goblin.stu.neva.ru!optima7.xanadu-bbs.net!not-for-mail
References: <gts0rg$v7n$1@optima7.xanadu-bbs.net> <gu4ea9$ath$1@news.trigofacile.com> <gu6ksc$oq7$1@optima7.xanadu-bbs.net> <gu6uqv$1ap$1@news.trigofacile.com> <gu804a$4mb$1@optima7.xanadu-bbs.net> <gu8ggp$gic$1@news.trigofacile.com> <gu90j1$d21$1@optima7.xanadu-bbs.net> <gu9nvk$kse$1@news.trigofacile.com> <guc1rv$6qp$1@optima7.xanadu-bbs.net> <8063g6memf.fsf@banana.shacknet.nu>

Show Full Headers
Complete Article Headers
Message-ID: <guch30$aoq$1@optima7.xanadu-bbs.net>
Subject: Re: Logging failures
Date: Tue, 12 May 2009 14:01:52 -0500
From: "John F. Morse" <xanadu.bbs@example.invalid>
References: <gts0rg$v7n$1@optima7.xanadu-bbs.net> <gu4ea9$ath$1@news.trigofacile.com> <gu6ksc$oq7$1@optima7.xanadu-bbs.net> <gu6uqv$1ap$1@news.trigofacile.com> <gu804a$4mb$1@optima7.xanadu-bbs.net> <gu8ggp$gic$1@news.trigofacile.com> <gu90j1$d21$1@optima7.xanadu-bbs.net> <gu9nvk$kse$1@news.trigofacile.com> <guc1rv$6qp$1@optima7.xanadu-bbs.net> <8063g6memf.fsf@banana.shacknet.nu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!goblin1!goblin3!goblin.stu.neva.ru!optima7.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 54
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: optima7.xanadu-bbs.net 1242154912 11034 192.168.89.210 (12 May 2009
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Tue, 12 May 2009 19:01:52 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.21 (X11/20090318)
In-Reply-To: <8063g6memf.fsf@banana.shacknet.nu>