Debian Bug report logs - #537833
Please add a logrotate config for /var/log/ConsoleKit/history

version graph

Package: consolekit; Maintainer for consolekit is Mark Hindley <leepen@debian.org>; Source for consolekit is src:consolekit2 (PTS, buildd, popcon).

Reported by: James Westby <james.westby@ubuntu.com>

Date: Tue, 21 Jul 2009 10:03:08 UTC

Severity: normal

Tags: patch

Found in version consolekit/0.3.0-3

Fixed in version consolekit/0.3.0-4

Done: Michael Biebl <biebl@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, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#537833; Package consolekit. (Tue, 21 Jul 2009 10:03:11 GMT) (full text, mbox, link).


Acknowledgement sent to James Westby <james.westby@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Tue, 21 Jul 2009 10:03:12 GMT) (full text, mbox, link).


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

From: James Westby <james.westby@ubuntu.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Please add a logrotate config for /var/log/ConsoleKit/history
Date: Tue, 21 Jul 2009 10:28:10 +0100
[Message part 1 (text/plain, inline)]
Package: consolekit
Version: 0.3.0-2ubuntu4
Severity: normal
Tags: patch

Hi,

/var/log/Consolekit/history can become very long, and so it should be
rotated.

Attached is a configuration file for doing this, placing it at
debian/consolekit.logrotate in the package source should be enough.

Thanks,

James
[consolekit.logrotate (text/plain, attachment)]

Bug no longer marked as found in version 0.3.02ubuntu4. Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Tue, 21 Jul 2009 13:51:06 GMT) (full text, mbox, link).


Bug no longer marked as found in version 0.3.0-2ubuntu4. Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Tue, 21 Jul 2009 13:51:08 GMT) (full text, mbox, link).


Bug marked as found in version 0.3.0-3. Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Tue, 21 Jul 2009 13:51:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#537833; Package consolekit. (Wed, 02 Sep 2009 02:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Wed, 02 Sep 2009 02:45:03 GMT) (full text, mbox, link).


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

From: Michael Biebl <biebl@debian.org>
To: James Westby <james.westby@ubuntu.com>, 537833@bugs.debian.org
Subject: Re: [Pkg-utopia-maintainers] Bug#537833: Please add a logrotate config for /var/log/ConsoleKit/history
Date: Wed, 02 Sep 2009 04:33:44 +0200
[Message part 1 (text/plain, inline)]
James Westby wrote:
> Package: consolekit
> Version: 0.3.0-2ubuntu4
> Severity: normal
> Tags: patch
> 
> Hi,

Hi James!

> /var/log/Consolekit/history can become very long, and so it should be
> rotated.

Is size really an issue? I've been running CK for quite a time and the history
file has *only* grown to 5 Mb.
Do you have any numbers/experiences where the history file has grown large?

It seems to me, that rotating the history file on a weekly basis somehow defeats
the purpose of e.g. ck-history --frequent.

If at all, I'd at least rotate the file on a monthly basis.

What do you say?

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#537833; Package consolekit. (Wed, 02 Sep 2009 08:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to James Westby <james.westby@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Wed, 02 Sep 2009 08:48:04 GMT) (full text, mbox, link).


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

From: James Westby <james.westby@ubuntu.com>
To: Michael Biebl <biebl@debian.org>
Cc: 537833 <537833@bugs.debian.org>
Subject: Re: [Pkg-utopia-maintainers] Bug#537833: Please add a logrotate config for /var/log/ConsoleKit/history
Date: Wed, 02 Sep 2009 09:45:32 +0100
On Wed Sep 02 03:33:44 +0100 2009 Michael Biebl wrote:
> Is size really an issue? I've been running CK for quite a time and the history
> file has *only* grown to 5 Mb.
> Do you have any numbers/experiences where the history file has grown large?

Until Steve's recent additions to the PAM stack installing pam-ck-connector
would add an entry every time cron ran. This would make the file grow very
large indeed.

> It seems to me, that rotating the history file on a weekly basis somehow defeats
> the purpose of e.g. ck-history --frequent.

ck-history --frequent reads all rotated files, so it includes information for
(rotation period * number of files kept).

> If at all, I'd at least rotate the file on a monthly basis.

That would also work for me. Having some bound is better than no bound,
and with Steve's fixes it doesn't make a big difference what that bound
is.

Thanks,

James




Reply sent to Michael Biebl <biebl@debian.org>:
You have taken responsibility. (Wed, 02 Sep 2009 18:19:37 GMT) (full text, mbox, link).


Notification sent to James Westby <james.westby@ubuntu.com>:
Bug acknowledged by developer. (Wed, 02 Sep 2009 18:19:37 GMT) (full text, mbox, link).


Message #26 received at 537833-close@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: 537833-close@bugs.debian.org
Subject: Bug#537833: fixed in consolekit 0.3.0-4
Date: Wed, 02 Sep 2009 17:32:23 +0000
Source: consolekit
Source-Version: 0.3.0-4

We believe that the bug you reported is fixed in the latest version of
consolekit, which is due to be installed in the Debian FTP archive:

consolekit_0.3.0-4.diff.gz
  to pool/main/c/consolekit/consolekit_0.3.0-4.diff.gz
consolekit_0.3.0-4.dsc
  to pool/main/c/consolekit/consolekit_0.3.0-4.dsc
consolekit_0.3.0-4_i386.deb
  to pool/main/c/consolekit/consolekit_0.3.0-4_i386.deb
libck-connector-dev_0.3.0-4_i386.deb
  to pool/main/c/consolekit/libck-connector-dev_0.3.0-4_i386.deb
libck-connector0_0.3.0-4_i386.deb
  to pool/main/c/consolekit/libck-connector0_0.3.0-4_i386.deb
libpam-ck-connector_0.3.0-4_i386.deb
  to pool/main/c/consolekit/libpam-ck-connector_0.3.0-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 537833@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <biebl@debian.org> (supplier of updated consolekit package)

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 02 Sep 2009 18:04:01 +0200
Source: consolekit
Binary: consolekit libck-connector0 libck-connector-dev libpam-ck-connector
Architecture: source i386
Version: 0.3.0-4
Distribution: unstable
Urgency: low
Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
Changed-By: Michael Biebl <biebl@debian.org>
Description: 
 consolekit - framework for defining and tracking users, sessions and seats
 libck-connector-dev - ConsoleKit development files
 libck-connector0 - ConsoleKit libraries
 libpam-ck-connector - ConsoleKit PAM module
Closes: 537833 543306
Changes: 
 consolekit (0.3.0-4) unstable; urgency=low
 .
   * debian/consolekit.logrotate: Install a logrotate configuration file for
     /var/log/ConsoleKit/history so that it doesn't get huge and cause
     ck-history to take a long while to run on login. ck-history already
     handles reading from rotated logs. (Closes: #537833)
     Thanks to James Westby for the patch.
   * debian/libpam-ck-connector.pam-auth-update: Mark this module as applying
     only to interactive sessions. (Closes: #543306)
     Thanks to Steve Langasek for the patch.
   * Add README.source which refers to the quilt documentation.
   * Bump Standards-Version to 3.8.3.
Checksums-Sha1: 
 644c0defad7e1fd4227ae56cac2bfb15f5d6027b 1503 consolekit_0.3.0-4.dsc
 24bfb5a91b3a99df40b1db7e9daa7b6812be2bcf 14274 consolekit_0.3.0-4.diff.gz
 bc93448b3c4a0ce350b8da4fae53c974d6ffbe92 132020 consolekit_0.3.0-4_i386.deb
 1713198bfe0b20272b7f9fd9b36d4850c28e5775 47316 libck-connector0_0.3.0-4_i386.deb
 66dacd0589ce4763eae6ad35b690fd91870a6300 56858 libck-connector-dev_0.3.0-4_i386.deb
 ca77c3ae8093bfdb368bcfc7307722149022ae87 47968 libpam-ck-connector_0.3.0-4_i386.deb
Checksums-Sha256: 
 e45e0038ab543f29cf15ae41a54a9e2cf320a414c5294277addb8c20afbc8c93 1503 consolekit_0.3.0-4.dsc
 e025cd5d0bd30290bd1152ad68fcea768984606f55521f206f784071d83e497a 14274 consolekit_0.3.0-4.diff.gz
 a4e21f9fb878217ee2bd7eb09b6fc9fff37deda3401b89cdc344a4146a6f0262 132020 consolekit_0.3.0-4_i386.deb
 d3e7630b0f55e23b439544bbbfcb50b623942eb854568b5f272536075e03a075 47316 libck-connector0_0.3.0-4_i386.deb
 dd1a093ffc85963b0902eeb1f8fe862693b371dde4ed9af9c8e38728b168ae43 56858 libck-connector-dev_0.3.0-4_i386.deb
 2f5261b4ac72af0ea50bbd7658d7073009852a7d943bd7c7e1be091c09bb7382 47968 libpam-ck-connector_0.3.0-4_i386.deb
Files: 
 9556edb649df7bcd7e362f2892b4c55b 1503 admin optional consolekit_0.3.0-4.dsc
 e69e1a5fc5a9f6fec11b0151fdc58bcb 14274 admin optional consolekit_0.3.0-4.diff.gz
 0a78306e50e4a7a842bc044611811799 132020 admin optional consolekit_0.3.0-4_i386.deb
 bac897b40c2633d883f2624227aa8767 47316 libs optional libck-connector0_0.3.0-4_i386.deb
 ff3c1934971ac3e4a5448468cbef8362 56858 libdevel optional libck-connector-dev_0.3.0-4_i386.deb
 29b6526d57b3e0297eb48fd8a76baf30 47968 admin optional libpam-ck-connector_0.3.0-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqeplgACgkQh7PER70FhVS7xACcDVpOd6tq3OyLaYLnJlDskCKA
KWYAnigZxvxuOgAAqWRbLJ5Ww6JRyOvt
=Ia7y
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#537833; Package consolekit. (Mon, 21 Sep 2009 11:06:06 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Bäß <ab@it-sls.de>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Mon, 21 Sep 2009 11:06:06 GMT) (full text, mbox, link).


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

From: Andreas Bäß <ab@it-sls.de>
To: 537833@bugs.debian.org
Subject: Size of /var/log/ConsoleKit/history
Date: Mon, 21 Sep 2009 12:25:27 +0200
[Message part 1 (text/plain, inline)]
Hi!

I can second this request of putting a logrotate entry into the package. 
On our testsystem it has grown to 113MB since 2009-07-27 until today.

I have created /etc/logrotate.d/console-kit with:

/var/log/ConsoleKit/history {
        weekly
        missingok
        rotate 12
        compress
        delaycompress
        notifempty
        create 644 root root
        sharedscripts
}

Regards
Andreas Bäß
-- 
Andreas Bäß Service Level Solutions    E-Mail : ab@it-sls.de
Hermann-Steinhäuser-Straße 43-47       Telefon: +49 69 979 474 43
63065 Offenbach am Main                Fax    : +49 69 979 474 45
USt-Id-Nr.: DE 258560003               Mobil  : +49 170 7644541

[smime.p7s (application/x-pkcs7-signature, attachment)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 20 Oct 2009 07:34:23 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: Mon Jul 15 12:21:20 2024; Machine Name: bembo

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.