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

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Wed Feb 28 16:31:51 EST 2007


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.



More information about the SM-Grimoire-Bugs mailing list