Hi

This patch is againts lp:upstart/0.3   branch.

It adds "utmp <id>" stanza and writes utmp entries and wtmp log
as described in utmp(5).


How it works:

When child is forked and job->utmp is set, child inserts to first line with 
same id (utmp.ut_id)
new values with his own pid, id, actual time and type set to INIT_PROCESS and 
logs in wtmp.

When jobs die and utmp is set, init sets type DEAD_PROCESS and clears values 
for entry
with dead process pid. Entry is also logged to wtmp log.



** Attachment added: "add utmp stanza to 0.3 branch"
   http://launchpadlibrarian.net/26978286/utmp-0.3.patch

-- 
utmp not cleared on tty logout
https://bugs.launchpad.net/bugs/183729
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to