diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2013-February/022661.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2013-February/022661.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-February/022661.html | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-February/022661.html b/zarb-ml/mageia-dev/2013-February/022661.html new file mode 100644 index 000000000..7cd4feaed --- /dev/null +++ b/zarb-ml/mageia-dev/2013-February/022661.html @@ -0,0 +1,134 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Logging + Provides/Requires (Re: [RFC] rsyslog vs journalctl) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Logging%20%2B%20Provides/Requires%20%28Re%3A%20%5BRFC%5D%20rsyslog%20vs%0A%20journalctl%29&In-Reply-To=%3C5115203D.4000308%40colin.guthr.ie%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="022658.html"> + <LINK REL="Next" HREF="022588.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Logging + Provides/Requires (Re: [RFC] rsyslog vs journalctl)</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Logging%20%2B%20Provides/Requires%20%28Re%3A%20%5BRFC%5D%20rsyslog%20vs%0A%20journalctl%29&In-Reply-To=%3C5115203D.4000308%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] Logging + Provides/Requires (Re: [RFC] rsyslog vs journalctl)">mageia at colin.guthr.ie + </A><BR> + <I>Fri Feb 8 16:56:45 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="022658.html">[Mageia-dev] Logging + Provides/Requires (Re: [RFC] rsyslog vs journalctl) +</A></li> + <LI>Next message: <A HREF="022588.html">[Mageia-dev] [RFC] rsyslog vs journalctl +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#22661">[ date ]</a> + <a href="thread.html#22661">[ thread ]</a> + <a href="subject.html#22661">[ subject ]</a> + <a href="author.html#22661">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Anne Nicolas at 08/02/13 13:07 did gyre and gimble: +><i> Le 08/02/2013 13:14, Olav Vitters a écrit : +</I>>><i> On Fri, Feb 08, 2013 at 10:31:42AM +0000, Colin Guthrie wrote: +</I>>>><i> Q) Will we make persistent disk-based journals optional? +</I>>>><i> Yes: Makes it harder to ask a consistent question to extract debug. +</I>>>><i> No: Some people will moan. +</I>>><i> +</I>>><i> It is either persistent logging or logging in memory right? I assume +</I>>><i> people won't understand that it'll log anyways, just in memory. So no +</I>>><i> point in giving an option that does not do what people might expect. +</I>>><i> +</I>><i> +</I>><i> Just one point about this. It was said during meeting that having +</I>><i> journalctl by default could break some other software like fail2ban. +</I>><i> This should be checked. +</I> +Yes this is pretty much the issue I'm trying to address really. + +e.g. basesystem package already requires systemd, so there is little +point in it requiring syslog-daemon too as this is always satisified by +systemd at present. + +My proposal was originally to add a new dep "system-logger" and allow +systemd to satify that. In the process I would remove the dep from +various packages that currently have it (cronie, postfix) as systemd is +now a required component anyway and journald will capture their logs +happily. The final part would be identifying packages, like fail2ban, +which parse these logs and therefore do genuinely need something to +satisfy syslog-daemon requires. + +In the future, fail2ban will have direct journal integration (posted the +link earlier) and thus we can drop the dep when the time comes. + +So, I think what I'll do for now, is basically: + +1. Forget about system-logger provide/require. It's not needed. +2. Make systemd not provide syslog-daemon. +3. Drop syslog-daemon require from basesystem* pkgs. +4. Drop syslog-daemon require from cronie and postfix (and others where +it's not strictly needed any more). +5. Ensure fail2ban does have a require. +6. Start writing some docs here and there about it. + +Feel free to chime in on points 4 & 5 (I'm too stupid to know the right +urpm* commands to work out what pkgs currently require syslog-daemon to +evaluate if they really do need it. Also if people can think of any +other log parsers like fail2ban, please let me know so we can make sure +they have the right requires. + +Cheers + +Col + + +-- + +Colin Guthrie +colin(at)mageia.org +<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A> + +Day Job: + Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A> +Open Source: + Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A> + PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A> + Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A> +</PRE> + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="022658.html">[Mageia-dev] Logging + Provides/Requires (Re: [RFC] rsyslog vs journalctl) +</A></li> + <LI>Next message: <A HREF="022588.html">[Mageia-dev] [RFC] rsyslog vs journalctl +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#22661">[ date ]</a> + <a href="thread.html#22661">[ thread ]</a> + <a href="subject.html#22661">[ subject ]</a> + <a href="author.html#22661">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |