sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
[SM-Discuss] [bugzilla-daemon AT bugs.sourcemage.org: [Bug 13114] simpleinit doesn't show output of stopping services on recent kernels]
- From: seth AT swoolley.homeip.net
- To: sm-discuss AT lists.ibiblio.org
- Subject: [SM-Discuss] [bugzilla-daemon AT bugs.sourcemage.org: [Bug 13114] simpleinit doesn't show output of stopping services on recent kernels]
- Date: Wed, 28 Feb 2007 14:17:25 -0800
I thought I might forward this onto the discussion. The major issue
with simpleinit-msb on newer kernels has now been isolated (not that
there aren't still minor issues). :)
A lot of people helped contribute to fixing this bug. I'd like to thank
them all, including David Kowis, Jeremy Blosser, Andrew Stitt, Juuso
Alasuutari, David Brown, George Sherwood, and Arwed v. Merkatz.
Excellent example of teamwork.
Seth
----- Forwarded message from bugzilla-daemon AT bugs.sourcemage.org -----
Date: 28 Feb 2007 21:31:51 -0000
From: bugzilla-daemon AT bugs.sourcemage.org
To: seth AT swoolley.homeip.net
Subject: [Bug 13114] simpleinit doesn't show output of stopping services on
recent kernels
X-Bugzilla-Reason: CC
http://bugs.sourcemage.org/show_bug.cgi?id=13114
v.merkatz AT gmx.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|simpleinit doesn't stop |simpleinit doesn't show
|services during shutdown on |output of stopping services
|recent kernels |on recent kernels
Flag| |integrate, to, stable,
| |grimoire?, fixed, in,
| |lesser, branch+
------- Additional Comments From v.merkatz AT gmx.net 2007-02-28 15:31 -------
So ... I took the next step :)
The fact that initctl -r -f reproduced the problem indicated the code area
where
it's happening. The whole thing is actually quite simple, though I'm not sure
what changed in the kernel and/or glibc that made it fail now when it worked
earlier.
Basically, the code opened /dev/console for stdin, stdout and stderr. The
problem is, that it didn't actually close the existing stdin, stdout and
stderr
first. So the messages got to whatever stdout was at that time. This
apparently
changed in some (not so) recent kernel or glibc upgrade, which caused the
breakage.
git commit 5ed4665d40b9da21e4e1291329022fd0f3899141.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
----- End forwarded message -----
-
[SM-Discuss] [bugzilla-daemon AT bugs.sourcemage.org: [Bug 13114] simpleinit doesn't show output of stopping services on recent kernels],
seth, 02/28/2007
-
Re: [SM-Discuss] [bugzilla-daemon AT bugs.sourcemage.org: [Bug 13114] simpleinit doesn't show output of stopping services on recent kernels],
Jeremy Blosser, 02/28/2007
- Re: [SM-Discuss] [bugzilla-daemon AT bugs.sourcemage.org: [Bug 13114] simpleinit doesn't show output of stopping services on recent kernels], seth, 02/28/2007
-
Re: [SM-Discuss] [bugzilla-daemon AT bugs.sourcemage.org: [Bug 13114] simpleinit doesn't show output of stopping services on recent kernels],
Jeremy Blosser, 02/28/2007
Archive powered by MHonArc 2.6.24.