Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 13114] simpleinit doesn't show output of stopping services on recent kernels

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 13114] simpleinit doesn't show output of stopping services on recent kernels
  • Date: 28 Feb 2007 21:31:51 -0000

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 the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page