Created attachment 376109
add utmp_clean_id and call it from post-stop stanza
another helper suggestion:
call umtp_clean_id in post-stop stanza, eg for /etc/event.d/tty2:
post-stop exec /sbin/utmp_clean_id 2
utmp_clean_id is simple utility which cleans (sets type to DEAD_PROCESS and nulls other rows) lines with given id and type LOGIN_PROCESS or USER_PROCESS.
these patch is related to initscripts that provides /etc/event.d/tty*
Created attachment 376109
add utmp_clean_id and call it from post-stop stanza
another helper suggestion:
call umtp_clean_id in post-stop stanza, eg for /etc/event.d/tty2:
post-stop exec /sbin/utmp_clean_id 2
utmp_clean_id is simple utility which cleans (sets type to DEAD_PROCESS and nulls other rows) lines with given id and type LOGIN_PROCESS or USER_PROCESS.
these patch is related to initscripts that provides /etc/event.d/tty*