Debian Bug report logs - #44523
sysklogd: sysklogd doesn't use logrotate

version graph

Package: sysklogd; Maintainer for sysklogd is (unknown);

Reported by: bazsi@balabit.hu

Date: Tue, 7 Sep 1999 14:03:32 UTC

Severity: wishlist

Tags: wontfix

Found in versions 1.3-32, 1.4.1-10

Fixed in version 1.5-6.2+rm

Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#44523; Package sysklogd. (full text, mbox, link).


Acknowledgement sent to bazsi@balabit.hu:
New bug report received and forwarded. Copy sent to Martin Schulze <joey@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: bazsi@balabit.hu
To: submit@bugs.debian.org
Subject: sysklogd: sysklogd doesn't use logrotate
Date: Tue, 7 Sep 1999 13:10:08 +0200
Package: sysklogd
Version: 1.3-32
Severity: normal

Debian policy recommends using logrotate instead of savelog, and sysklogd 
still uses savelog.

-- System Information
Debian Release: potato
Kernel Version: Linux balabit 2.2.9 #1 Sat Jun 5 16:12:01 CEST 1999 i686 unknown

Versions of the packages sysklogd depends on:
ii  libc6           2.1.2-0pre12   GNU C Library: Shared libraries and timezone

--- Begin /etc/syslog.conf (modified conffile)
#
#
#
auth,authpriv.*			/var/log/auth.log
*.*;auth,authpriv.none		-/var/log/syslog
daemon.*			-/var/log/daemon.log
kern.*				-/var/log/kern.log
lpr.*				-/var/log/lpr.log
mail.*				/var/log/mail.log
user.*				-/var/log/user.log
uucp.*				-/var/log/uucp.log
#
#
mail.info			-/var/log/mail.info
mail.warn			-/var/log/mail.warn
mail.err			/var/log/mail.err
#
news.crit			/var/log/news/news.crit
news.err			/var/log/news/news.err
news.notice			-/var/log/news/news.notice
#
#
*.=debug;\
	auth,authpriv.none;\
	news.none;mail.none	-/var/log/debug
*.=info;*.=notice;*.=warn;\
	auth,authpriv.none;\
	cron,daemon.none;\
	mail,news.none		-/var/log/messages
#
#
*.emerg				*
#
#
#
#
daemon.*,mail.*;\
	news.crit;news.err;news.notice;\
	*.=debug;*.=info;\
	*.=notice;*.=warn	|/dev/xconsole
local2.*		-/var/log/ppp.log
*.*						/dev/tty11

--- End /etc/syslog.conf

--- Begin /etc/init.d/sysklogd (modified conffile)
Config file not present or no permissions for access

--- End /etc/init.d/sysklogd


Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#44523; Package sysklogd. (full text, mbox, link).


Acknowledgement sent to Arthur Korn <arthur@korn.ch>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>. (full text, mbox, link).


Message #10 received at 44523@bugs.debian.org (full text, mbox, reply):

From: Arthur Korn <arthur@korn.ch>
To: 44523@bugs.debian.org
Subject: You can take it from msyslog
Date: Tue, 4 Jul 2000 17:51:43 +0200
Hello.

You could look at my msyslog packages to see how it can be done.
Of corse I'd be happy to hear of any suggestions to improve it.

The msyslog packages can be downloaded from
http://www.korn.ch/msyslog-deb/, note that msyslog is still
alpha and I am new to packaging. They work really well for me
however.

ciao, 2ri
-- 
"I'm not going to ride on a magic carpet! I'm afraid of grounds!"
"You mean heights, and stop being silly!"
"I know what I mean! It's the grounds that kill you!"
                --Terry Pratchet, "Sourcery"



Severity set to `wishlist'. Request was from Martin Schulze <joey@infodrom.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>, sysklogd@packages.qa.debian.org:
Bug#44523; Package sysklogd. (full text, mbox, link).


Acknowledgement sent to Peter Buxton <peter@killdevil.org>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>, sysklogd@packages.qa.debian.org. (full text, mbox, link).


Message #17 received at 44523@bugs.debian.org (full text, mbox, reply):

From: Peter Buxton <peter@killdevil.org>
To: members@kalamazoolinux.org
Cc: 44523@bugs.debian.org
Subject: Re: [KLUG Members] sysklogd
Date: Wed, 28 Aug 2002 17:50:41 -0400
On Wed, Aug 28, 2002 at 02:10:15PM -0400, Adam Williams wrote:

> Nope, logroate does it here.  To me it sounds like savelog(8) is an
> attempt to rotate open files,  something logrotate does, but they solved
> the problem without reading the man page.

#! /bin/sh
# savelog - save a log file
#    Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
#    Copyright (C) 1992  Ronald S. Karr
# Slight modifications by Ian A. Murdock <imurdock@gnu.ai.mit.edu>:
#	* uses `gzip' rather than `compress'
#	* doesn't use $savedir; keeps saved log files in the same directory
#	* reports successful rotation of log files
#	* for the sake of consistency, files are rotated even if they are
#	  empty

No, sounds older than Debian... offhand, I'd say it's Red Hat that's
being "non-standard" -- but in this case, that's a good thing. Obviously
savelog is an otherwise obsoleted facility that Debian hasn't replaced:
      
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=44523&repeatmerged=yes

http://www.debian.org/doc/debian-policy/ch-files.html#s11.8

And here you can see that logrotate is nearly Debian policy, but the
syslogd maintainer hasn't gotten around to changing this. Maybe he
dislikes logrotate...? Hmmm.... The best thing you can say about using
savelog is that, by using syslog-listfiles, it is utterly dynamic.
Without the syslog maintainer having to push files and coordinate
releases with the logrotate person, syslog rotates all files in
syslog.conf.

That is one thing about .conf/*rc file versus shell scripts: you get to
play all sorts of dynamic havoc in a script that .conf files usually
don't match.

Still, though, there are a lot of ways around that kind of problem:

#!/bin/sh
# /etc/logrotate.conf

if [ -x /usr/sbin/syslogd-listfiles ] ; then
   # rebuild syslog's logrotate.d/ file here, about 2 seconds

test -x /usr/sbin/logrotate || exit 0
/usr/sbin/logrotate /etc/logrotate.conf


Now the logrotate guy need not even worry if syslog is installed or not.


The funny thing about Debian is how rock-solid it is in spite of some
very poor policy decisions. Software in the Public Interest, which is
Debian's umbrella organization, is a registered non-profit *without* a
PayPal account! Now, whatever else you might say about PayPal, it does
actually work. I've used it for a number of things. God only knows how
much dough they'd get with a PayPal account:

http://www.spi-inc.org/donations

but as you can see, they don't have one yet... maybe soon... maybe not.
:-(

-- 
http://www.killdevil.org/~peter
[The Basement Tapes were] like the Watergate tapes... Bob
would say, 'We should destroy this.' -- Robbie Robertson



Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#44523; Package sysklogd. (full text, mbox, link).


Acknowledgement sent to Stephan Niemz <st.n@gmx.net>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>. (full text, mbox, link).


Message #22 received at 44523@bugs.debian.org (full text, mbox, reply):

From: Stephan Niemz <st.n@gmx.net>
To: Debian Bug Tracking System <44523@bugs.debian.org>, 104278@bugs.debian.org
Subject: sysklogd: Maybe merge bugs #44523 and #104278?
Date: Thu, 26 Jun 2003 14:29:15 +0200
[Message part 1 (text/plain, inline)]
I'd suggest to merge bugs #44523 and #104278 since they are very related.

By the way, are there any plans to actually move to logrotate one day?

Thanks,

    - Stephan.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#44523; Package sysklogd. (full text, mbox, link).


Acknowledgement sent to Andrea Borgia <andrea@borgia.bo.it>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>. (full text, mbox, link).


Message #27 received at 44523@bugs.debian.org (full text, mbox, reply):

From: Andrea Borgia <andrea@borgia.bo.it>
To: Debian Bug Tracking System <44523@bugs.debian.org>
Subject: sysklogd: sample helper script for logrotate
Date: Sun, 11 Jul 2004 20:45:29 +0200
[Message part 1 (text/plain, inline)]
Package: sysklogd
Version: 1.4.1-10
Followup-For: Bug #44523

I am using the following quick hack to generate logrotate configurations
for all active logs found in syslog.conf. There is room for improvement
(such as better handling of logcheck configs), but it is a starting point at least. Share and Enjoy.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7clarisse
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro (ignored: LC_ALL set to en_IE@euro)

Versions of packages sysklogd depends on:
ii  klogd [linux-kernel-log-dae 1.4.1-10     Kernel Logging Daemon
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an

-- no debconf information
[update-syslogd-rotateconf (application/x-shellscript, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#44523; Package sysklogd. (full text, mbox, link).


Acknowledgement sent to Joost van Baal <j.e.vanbaal@uvt.nl>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>. (full text, mbox, link).


Message #32 received at 44523@bugs.debian.org (full text, mbox, reply):

From: Joost van Baal <j.e.vanbaal@uvt.nl>
To: Debian Bug Tracking System <44523@bugs.debian.org>
Subject: sysklogd: fixed package (binary and source) available
Date: Tue, 23 Aug 2005 13:13:19 +0200
[Message part 1 (text/plain, inline)]
Hi,

FWIW: Guus Sliepen has built a sysklogd package with a fix for the
reported bug, based upon the script by Andrea Borgia.  Packages
available from

 deb[-src] http://non-gnu.uvt.nl/debian sarge sysklogd

.

Bye,

Joost

-- 
Joost van Baal                            http://abramowitz.uvt.nl/
                                                 Tilburg University
j.e.vanbaal@uvt.nl                                  The Netherlands
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#44523; Package sysklogd. (full text, mbox, link).


Acknowledgement sent to Guus Sliepen <guus@uvt.nl>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>. (full text, mbox, link).


Message #37 received at 44523@bugs.debian.org (full text, mbox, reply):

From: Guus Sliepen <guus@uvt.nl>
To: Joost van Baal <j.e.vanbaal@uvt.nl>
Cc: Debian Bug Tracking System <44523@bugs.debian.org>
Subject: Re: sysklogd: fixed package (binary and source) available
Date: Tue, 23 Aug 2005 14:42:25 +0200
[Message part 1 (text/plain, inline)]
On Tue, Aug 23, 2005 at 01:13:19PM +0200, Joost van Baal wrote:

> FWIW: Guus Sliepen has built a sysklogd package with a fix for the
> reported bug, based upon the script by Andrea Borgia.  Packages
> available from
> 
>  deb[-src] http://non-gnu.uvt.nl/debian sarge sysklogd

Actually I just realised that it automatically generates and updates
/etc/logrotate.d/sysklogd, which goes against Debian policy. It is
better if the update-sysklogd-logrotate script writes its output in
/var/lib/sysklogd/logrotate, and that /etc/logrotate.d/sysklogd just
includes "include /var/lib/sysklogd/logrotate".

-- 
Guus Sliepen <guus@uvt.nl> – UNIX system administration

Universiteit van Tilburg • IT Services • Postbus 90153, 5000 LE
Bezoekadres: Warandelaan 2 • Telefoon 013 466 3691 • www.uvt.nl
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#44523; Package sysklogd. (full text, mbox, link).


Acknowledgement sent to Guus Sliepen <guus@uvt.nl>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>. (full text, mbox, link).


Message #42 received at 44523@bugs.debian.org (full text, mbox, reply):

From: Guus Sliepen <guus@uvt.nl>
To: Joost van Baal <j.e.vanbaal@uvt.nl>
Cc: Debian Bug Tracking System <44523@bugs.debian.org>
Subject: Re: sysklogd: fixed package (binary and source) available
Date: Tue, 23 Aug 2005 15:48:20 +0200
[Message part 1 (text/plain, inline)]
On Tue, Aug 23, 2005 at 02:42:25PM +0200, Guus Sliepen wrote:

> Actually I just realised that it automatically generates and updates
> /etc/logrotate.d/sysklogd, which goes against Debian policy. It is
> better if the update-sysklogd-logrotate script writes its output in
> /var/lib/sysklogd/logrotate, and that /etc/logrotate.d/sysklogd just
> includes "include /var/lib/sysklogd/logrotate".

I changed my version of sysklogd so that it creates missing
/etc/logrotate.d/sysklogd-<logfile.name> files for each log file managed
by syslogd. It does not overwrite them if they already exist. It copies
the defaults from /etc/default/sysklogd-logrotate. If you want you can
change settings for individual logfiles and they will be preserved. If
you purge the package it will remove /etc/logrotate.d/sysklogd-*.

-- 
Guus Sliepen <guus@uvt.nl> – UNIX system administration

Universiteit van Tilburg • IT Services • Postbus 90153, 5000 LE
Bezoekadres: Warandelaan 2 • Telefoon 013 466 3691 • www.uvt.nl
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#44523; Package sysklogd. (full text, mbox, link).


Acknowledgement sent to "Ernesto Baschny [cron IT]" <ernst@cron-it.de>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>. (full text, mbox, link).


Message #47 received at 44523@bugs.debian.org (full text, mbox, reply):

From: "Ernesto Baschny [cron IT]" <ernst@cron-it.de>
To: 44523@bugs.debian.org
Subject: Static logrotate.d/sysklog
Date: Wed, 23 Nov 2005 20:33:07 +0100
Hi!

The sysklogd package provides a static /etc/syslog.conf, so why not
provide a static and fitting /etc/logrotate.d/sysklogd file? This is
what and other packages and even other distributions for sysklogd do. If
some admin wants to change entries in the /etc/syslog.conf file, he has
to change the /etc/logrotate.d/sysklogd file acordingly, just as he has
to do if he changes any other configuration item that refers to log
files. There doesn't need to be any automation on that, as far as I can see.

And I wonder why this bug is open for so long? My first action on a
Debian machine was to configure logrotate, and I had to search hard
until I found that sysklogd is one of the few (if not only?) package
that still doesn't use it.

Cheers,
Ernesto




Tags added: wontfix Request was from Martin Schulze <joey@infodrom.org> to control@bugs.debian.org. (Tue, 29 May 2007 06:24:49 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#44523; Package sysklogd. (full text, mbox, link).


Acknowledgement sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>. (full text, mbox, link).


Message #54 received at 44523@bugs.debian.org (full text, mbox, reply):

From: Marc Haber <mh+debian-bugs@zugschlus.de>
To: Martin Schulze <joey@infodrom.org>, 44523@bugs.debian.org, 44523-submitter@bugs.debian.org
Cc: Marc Haber <mh+debian-bugs@zugschlus.de>
Subject: unexplained wontfix, seven years after the bug was filed (: Reorganisation)
Date: Sun, 25 Nov 2007 12:12:28 +0100
Hi Martin,

On Tue, May 29, 2007 at 08:11:17AM +0200, Martin Schulze wrote:
> tags 44523 wontfix

this is the first maintainer reaction in this bug report, seven years
after the bug was filed. Additionally, no reason was given for this
bug not being fixed.

Excuse me, but I find this absolutely unacceptable.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




Message sent on to bazsi@balabit.hu:
Bug#44523. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#44523; Package sysklogd. (Sat, 09 Oct 2010 14:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to Sebastian Schwardt <debianbugs@never.b0rk.de>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>. (Sat, 09 Oct 2010 14:27:06 GMT) (full text, mbox, link).


Message #62 received at 44523@bugs.debian.org (full text, mbox, reply):

From: Sebastian Schwardt <debianbugs@never.b0rk.de>
To: Martin Schulze <joey@infodrom.org>, 44523@bugs.debian.org
Subject: unexplained wontfix, seven years after the bug was filed, still open and valid after 11 years
Date: Sat, 9 Oct 2010 15:59:09 +0200
Hi,

mind giving a reason why you tagged this bug as wontfix?

regards,

Sebastian Schwardt





Reply sent to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility. (Sat, 11 May 2013 10:50:52 GMT) (full text, mbox, link).


Notification sent to bazsi@balabit.hu:
Bug acknowledged by developer. (Sat, 11 May 2013 10:50:52 GMT) (full text, mbox, link).


Message #67 received at 44523-done@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 24326-done@bugs.debian.org,35325-done@bugs.debian.org,38781-done@bugs.debian.org,44523-done@bugs.debian.org,48326-done@bugs.debian.org,59662-done@bugs.debian.org,70429-done@bugs.debian.org,89677-done@bugs.debian.org,91804-done@bugs.debian.org,94285-done@bugs.debian.org,100043-done@bugs.debian.org,104278-done@bugs.debian.org,108653-done@bugs.debian.org,144790-done@bugs.debian.org,147471-done@bugs.debian.org,156232-done@bugs.debian.org,174038-done@bugs.debian.org,199989-done@bugs.debian.org,205239-done@bugs.debian.org,206947-done@bugs.debian.org,222120-done@bugs.debian.org,222245-done@bugs.debian.org,223554-done@bugs.debian.org,226036-done@bugs.debian.org,241657-done@bugs.debian.org,247680-done@bugs.debian.org,253213-done@bugs.debian.org,273269-done@bugs.debian.org,278892-done@bugs.debian.org,279120-done@bugs.debian.org,281448-done@bugs.debian.org,285087-done@bugs.debian.org,308580-done@bugs.debian.org,334295-done@bugs.debian.org,337389-done@bugs.debian.org,353744-done@bugs.debian.org,365265-done@bugs.debian.org,365339-done@bugs.debian.org,370339-done@bugs.debian.org,385292-done@bugs.debian.org,386122-done@bugs.debian.org,419496-done@bugs.debian.org,427415-done@bugs.debian.org,439833-done@bugs.debian.org,449581-done@bugs.debian.org,452559-done@bugs.debian.org,472948-done@bugs.debian.org,487173-done@bugs.debian.org,498777-done@bugs.debian.org,500776-done@bugs.debian.org,513217-done@bugs.debian.org,513218-done@bugs.debian.org,514051-done@bugs.debian.org,515696-done@bugs.debian.org,525959-done@bugs.debian.org,527874-done@bugs.debian.org,532300-done@bugs.debian.org,535498-done@bugs.debian.org,547968-done@bugs.debian.org,557119-done@bugs.debian.org,626244-done@bugs.debian.org,626247-done@bugs.debian.org,627404-done@bugs.debian.org,639872-done@bugs.debian.org,647023-done@bugs.debian.org,648166-done@bugs.debian.org,650428-done@bugs.debian.org,652086-done@bugs.debian.org,680099-done@bugs.debian.org,680170-done@bugs.debian.org,689578-done@bugs.debian.org,689686-done@bugs.debian.org,691700-done@bugs.debian.org,
Cc: sysklogd@packages.debian.org, sysklogd@packages.qa.debian.org
Subject: Bug#707655: Removed package(s) from unstable
Date: Sat, 11 May 2013 10:05:52 +0000
Version: 1.5-6.2+rm

Dear submitter,

as the package sysklogd has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/707655

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@debian.org.

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 09 Jun 2013 07:31:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jun 4 22:27:31 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.