diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-September/008171.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-September/008171.html | 163 |
1 files changed, 163 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-September/008171.html b/zarb-ml/mageia-dev/2011-September/008171.html new file mode 100644 index 000000000..25401fd30 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-September/008171.html @@ -0,0 +1,163 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] systemd vs dm + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20systemd%20vs%20dm&In-Reply-To=%3C4E747399.6030905%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="008170.html"> + <LINK REL="Next" HREF="008172.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] systemd vs dm</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20systemd%20vs%20dm&In-Reply-To=%3C4E747399.6030905%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] systemd vs dm">mageia at colin.guthr.ie + </A><BR> + <I>Sat Sep 17 12:16:57 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="008170.html">[Mageia-dev] systemd vs dm +</A></li> + <LI>Next message: <A HREF="008172.html">[Mageia-dev] systemd vs dm +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8171">[ date ]</a> + <a href="thread.html#8171">[ thread ]</a> + <a href="subject.html#8171">[ subject ]</a> + <a href="author.html#8171">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Dick Gevers at 17/09/11 10:36 did gyre and gimble: +><i> On Sat, 17 Sep 2011 10:02:03 +0100, Colin Guthrie wrote about Re: +</I>><i> [Mageia-dev] systemd vs dm: +</I>><i> +</I>>><i> So does: +</I>>><i> +</I>>><i> systemctl restart rsyslog.service +</I>>><i> +</I>>><i> work? +</I>><i> +</I>><i> Not really: +</I>><i> +</I>><i> # systemctl restart rsyslog.service +</I>><i> # systemctl status rsyslog.service +</I>><i> rsyslog.service - System Logging Service +</I>><i> Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled) +</I>><i> Active: failed since Sat, 17 Sep 2011 09:30:29 +0000; 8s ago +</I>><i> Process: 23407 ExecStart=/sbin/rsyslogd -n -c5 (code=exited, +</I>><i> status=1/FAILURE) Process: 23404 ExecStartPre=/bin/systemctl stop +</I>><i> systemd-kmsg-syslogd.service (code=exited, status=0/SUCCESS) CGroup: +</I>><i> name=systemd:/system/rsyslog.service +</I>><i> # +</I>><i> +</I>>><i> And finally, can you run: /sbin/rsyslogd -n -c5 manually or does it exit +</I>>><i> out with return code 1 also? +</I>><i> +</I>><i> # /sbin/rsyslogd -n -c5 +</I>><i> Pidfile (and pid) already exist. +</I>><i> +</I>><i> and: +</I>><i> # ps -eLF |grep rsys +</I>><i> root 1104 1 1104 0 4 60184 1512 0 Sep16 ? 00:00:00 +</I>><i> rsyslogd -c 4 +</I>><i> root 1104 1 1130 0 4 60184 1512 4 Sep16 ? 00:00:00 +</I>><i> rsyslogd -c 4 +</I>><i> root 1104 1 1131 0 4 60184 1512 0 Sep16 ? 00:00:00 +</I>><i> rsyslogd -c 4 +</I>><i> root 1104 1 1132 0 4 60184 1512 2 Sep16 ? 00:00:00 +</I>><i> rsyslogd -c 4 +</I>><i> ... +</I>><i> +</I>><i> And lsof shows that all relevant logs are touched by the rsyslog daemon. So +</I>><i> my guess is that only the systemd status message is bad, but the service is +</I>><i> running correctly. +</I> +Well that's slightly disturbing. It seems that rsyslog was started but +not by systemd. + +Can do do some kind of pstree type analysis (perhaps also using cgroups +stuff) to work out what process actually started rsyslog? + + +Col + + + +-- + +Colin Guthrie +mageia(at)colin.guthr.ie +<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="008170.html">[Mageia-dev] systemd vs dm +</A></li> + <LI>Next message: <A HREF="008172.html">[Mageia-dev] systemd vs dm +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8171">[ date ]</a> + <a href="thread.html#8171">[ thread ]</a> + <a href="subject.html#8171">[ subject ]</a> + <a href="author.html#8171">[ 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> |