summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-February/022764.html
blob: af04c01a249d2c4abb44b300f81c4af03836f976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [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%20%5BRFC%5D%20rsyslog%20vs%20journalctl&In-Reply-To=%3C51193FA2.6090507%40gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="022646.html">
   <LINK REL="Next"  HREF="022777.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [RFC] rsyslog vs journalctl</H1>
    <B>Guillaume Rousse</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20rsyslog%20vs%20journalctl&In-Reply-To=%3C51193FA2.6090507%40gmail.com%3E"
       TITLE="[Mageia-dev] [RFC] rsyslog vs journalctl">guillomovitch at gmail.com
       </A><BR>
    <I>Mon Feb 11 19:59:46 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="022646.html">[Mageia-dev] [RFC] rsyslog vs journalctl
</A></li>
        <LI>Next message: <A HREF="022777.html">[Mageia-dev] [RFC] rsyslog vs journalctl
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#22764">[ date ]</a>
              <a href="thread.html#22764">[ thread ]</a>
              <a href="subject.html#22764">[ subject ]</a>
              <a href="author.html#22764">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le 08/02/2013 11:15, Colin Guthrie a &#233;crit :
&gt;<i> 'Twas brillig, and Guillaume Rousse at 08/02/13 10:06 did gyre and gimble:
</I>&gt;&gt;<i> Le 07/02/2013 19:40, AL13N a &#233;crit :
</I>&gt;&gt;&gt;<i> Op donderdag 7 februari 2013 13:34:06 schreef Colin Guthrie:
</I>&gt;&gt;&gt;&gt;<i> 'Twas brillig, and AL13N at 07/02/13 11:40 did gyre and gimble:
</I>&gt;&gt;&gt;<i> [...]
</I>&gt;&gt;&gt;&gt;&gt;<i> what about the tty12 bug? can this be fixed with journald? it seems
</I>&gt;&gt;&gt;&gt;&gt;<i> to be
</I>&gt;&gt;&gt;&gt;&gt;<i> a feature that people don't want to lose?
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Not sure. I'll find out. It should be trivial really... i.e. all it
</I>&gt;&gt;&gt;&gt;<i> really needs is a journalctl -f command run on tty12. You could craft an
</I>&gt;&gt;&gt;&gt;<i> agetty command that worked like that easily enough, although there may
</I>&gt;&gt;&gt;&gt;<i> be something more elegant that is more efficient and cleaner.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> since the tty12 &quot;feature&quot; is present now, it would be nice if it could
</I>&gt;&gt;&gt;<i> still
</I>&gt;&gt;&gt;<i> be there and started as soon as possible, just like before.
</I>&gt;<i>
</I>&gt;&gt;<i> I'd like tough than journald be reloaded if the host name change. That's
</I>&gt;&gt;<i> a bit painful to get logs for 'localhost' just because the name was set
</I>&gt;&gt;<i> after starting log system.
</I>&gt;<i>
</I>&gt;<i> Restarting journald is not a great idea if you can avoid it. At present
</I>&gt;<i> it doesn't yet support a full reexec mode which preserves file
</I>&gt;<i> descriptors which are connected to it thus some apps may lose their
</I>&gt;<i> logging depending on how they are connected to it.
</I>&gt;<i>
</I>&gt;<i> Also I'm not sure what you mean... if I change my hostname, it's
</I>&gt;<i> reflected properly in the journal.
</I>&gt;<i>
</I>&gt;<i> Does this not happen on your system? Perhaps some configuration probme
</I>&gt;<i> with nss-myhostname (tho' not 100% that matters)?
</I>Just the fact than /var/log/message contains lines as:
Feb 11 19:51:52 localhost acpid: client connected from 2074[0:0]
Feb 11 19:51:52 localhost acpid: 1 client rule loaded

etc...

Whereas my host name, set from HOSTNAME variable in 
/etc/sysconfig/network, is beria.inria.fr. I have to restart my syslog 
daemon to get it correct. So I guess just ensuring the hostname is 
either set prior the start of the logging process, or refreshing this 
last one thereafter, would avoid the issue.

I was probably wrong in seeing journald as a potential responsable here, 
tough, as it also happens on a mageia 2 system.
-- 
BOFH excuse #451:

astropneumatic oscillations in the water-cooling
</PRE>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="022646.html">[Mageia-dev] [RFC] rsyslog vs journalctl
</A></li>
	<LI>Next message: <A HREF="022777.html">[Mageia-dev] [RFC] rsyslog vs journalctl
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#22764">[ date ]</a>
              <a href="thread.html#22764">[ thread ]</a>
              <a href="subject.html#22764">[ subject ]</a>
              <a href="author.html#22764">[ 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>