On 2013-03-06 01:00, Craig Small wrote:
Or you are getting process names and command lines mixed up.
Which is what you are doing.

I agree that the bug submitter didn't know there can be a difference between the process name and file name (and hadn't read the pkill man page). I think I know the difference myself.

Since the man page and other sources say that valid process name on Linux will always be maximum 15 characters, it's not clear to me why it wouldn't be possible to warn (or truncate) if a longer process name argument is given -- though I can certainly see an argument against a Debian-specific change in behaviour.

You cannot give an error, go look at what the kernel gives you to see
that.

I am happy to trust your judgement as the package maintainer. I reassigned because the user's issue is certainly one about the behaviour of pkill rather than from any bug in matchbox-keyboard as originally claimed.

The pkill man page says, "The process name used for matching is limited to the 15 characters present in the output of /proc/pid/stat." While I think the submitter's confusion was more basic, users might reasonably read this as meaning that only the first 15 characters of a longer string given as an argument to pgrep/pkill will be used in any comparison, so perhaps the man page text could be clarified at least.

--
Moray


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to