FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-04-2010, 03:39 PM
Michael Cronenworth
 
Default Red Hat employees listed in manpage have blocked addresses? Unreal.

Gene Heskett on 08/04/2010 10:35 AM wrote:
> So how does one go about asking for logrotate help for a non-redhat
> distribution?

File a bug with your distribution's bug tracker against logrotate and
let them contact upstream.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-04-2010, 04:34 PM
Stephen Gallagher
 
Default Red Hat employees listed in manpage have blocked addresses? Unreal.

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

On 08/04/2010 11:35 AM, Gene Heskett wrote:
> Greetings list;
>
> 2 redhat employees are list as the authors of logrotate in the manpage, so
> I just sent them a question because it isn't working as expected.
>

Obvious question: are you sure that the issue is logrotate and not the
application whose logs you are trying to rotate?

For most daemons, logrotate works by doing the following:

1) Move the logfile to a new name (e.g. daemon.log.1). This maintains
the current file descriptors, so the daemon continues to log to the file
at its new name.
2) Send a signal (SIGHUP) to the daemon. The daemon needs to be
configured to properly receive this signal. The responsibility of the
daemon is to close its current file descriptors for the log and open new
ones at the original location (creating a new file) and then start
logging to that one.
3) Optionally compress the old log file and/or remove any log file
backups older than a configured number of revisions.


So my question to you is: are you sure that step 2 isn't where it's
failing? Because in general, logrotate is pretty simple code and there
aren't a lot of opportunities for it to misbehave.

- --
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxZlq4ACgkQeiVVYja6o6M71wCZAfOpDmA1H6 x3KNYZxKHcCKgW
qrwAnA8bgByGAtVUWNvclh9iqsfGhqDD
=R/Ks
-----END PGP SIGNATURE-----
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 06:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org