[sentinix-list] logrotate issue

Michel Blomgren <[email protected]> Mon, 24 May 2004 16:40:26 +0200
Newsgroups gmane.linux.sentinix
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I just discovered that the state directory /var/lib/logrotate doesn't exist in 
Sentinix 0.70.5, so log rotation doesn't work. The following takes care of 
this issue:

$ mkdir -p /var/lib/logrotate
$ chmod 0750 /var/lib/logrotate
$ logrotate /etc/logrotate.conf
$ chmod 0640 /var/lib/logrotate/status

You could also change the state file with logrotate's -s option.

- -- 
Michel Blomgren
Cycom AB
http://www.cycom.se
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAsglco/EpQxAcGPoRAobDAJ4xvpffHiz766tNmDzJ48CqeGUZRACgmJkc
y3enJpZKM7dr8jStdIGNncw=
=pkVK
-----END PGP SIGNATURE-----