Re: Denyhosts journal reads (Was: F27 System Wide Change: Rsyslog log format change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 01, 2017 at 01:03:43PM -0500, Jason L Tibbitts III wrote:
> ZJ> That should not be a problem, but maybe this is tickling some bug in
> ZJ> the journal code?
> 
> That's what it feels like.  I might be able to hack something up where I
> force a journal rotation.  Rotation of the journal doesn't invalidate a
> cursor, does it?

If the cursor points at a file which is gone, it becomes invalid. So yeah,
rotation of the journal can invalidate the cursor. In that case the code
should continue from the "beginning", i.e. the oldest available entries.

> ZJ> One suggestion would be to attach gdb to the hanging script and look
> ZJ> the sd_journal object.
> 
> I can do that.  Is there any way to get at any useful debugging state
> from within python?

No, all the interesting information is in sd-journal code, even the C
part of the python wrapper is very thin.

Zbyszek
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux