[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771449: Killer is killing logged in users



[Alexander Alemayhu]
> Dear Maintainer,
>
> While logged in on a tjener I was logged out multiple times and was
> told by Petter that killer killed me. He also mentioned the bug might
> be related to a change in ps.

I investigated, and discovered that when the username was 'skolelinux',
ps showed 'skolelin+' as the username, causing killer to fail to
understand the processes in question belonged to a logged in user.
Apparently procps changed the last few months to not print the uid for
usernames not fitting in the reserved space for usernames, and instead
truncate the username and adding a plus at the end.

I found a fix with the help from #debian-devel, where I tell ps to
always return uids by add 'n' to the command line.

The fix is commited to git and uploaded to unstable.  We need to ask the
release managers to allow this fix into Jessie to avoid breaking Debian
Edu completely.  With this bug in place, no user with a "long" username
can be logged in more than an hour.

-- 
Happy hacking
Petter Reinholdtsen


Reply to: