utmp handing (Was: [RFC][PATCH] Add support for oom_score_adj)

Scott James Remnant scott at netsplit.com
Fri Mar 18 22:09:44 UTC 2011


Cc'ing Petr

On Thu, Mar 17, 2011 at 3:27 PM, Marc - A. Dahlhaus <mad at wol.de> wrote:
> Am 17.03.2011 21:45, schrieb Scott James Remnant:
>
>> On Thu, Mar 17, 2011 at 11:58 AM, Marc - A. Dahlhaus <mad at wol.de> wrote:
>>
>>> BTW is the override file stuff upstreamed into the 1.X branch already?
>>>
>> No. I wanted to release a stable 1.0 with no new features, James
>> needed to get features in for Ubuntu natty - so for now Ubuntu is
>> running a fork of Upstart (whichout all the bug fixes of 1.0 + 1.1,
>> but with new features).
>
> while we are at it, i had some problems regarding utmp handling in 1.0 and
> while running a gdb session and talking with plauterbach on irc he suggested
> adding this patch: http://plautrba.fedorapeople.org/upstart-utmp.patch
>
> The patch fixed the utmp handling on my box which is running an LFS based
> system with unpatched upstream versions of glibc-2.13, util-linux-2.19
> (agetty) and shadow-4.1.4.3 (login).
>
> The problem was that upstart couldn't find the first opened utmp record on
> logout from local ttys for each tty after a clean boot. The behavior was the
> same even on a empty utmp file after a boot. SSH ttys where handled correctly
> so a buggy glibc was ruled out in our tests.
>
> I didn't debugged it further after i found out that the patch mentioned above
> fixed the bug for me.
>
Yeah, after reviewing some merges I think I managed not to get the
entirety of those patches.

Petr - what am I missing?

Scott



More information about the upstart-devel mailing list