Package: procps 
Version: 2:3.3.9-9
Severity: normal

Dear Maintainer,

When trying kill a process with insufficient privileges (see blow), pkill 
displays the error message “... failed: Operation not permitted”, but returns 
0. Surely it should return 3?

$ pkill syslogd ; echo $?
pkill: killing pid 373 failed: Operation not permitted
0

-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie
Architecture: armv7l

Kernel: Linux 4.4.38-v7+ (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages procps depends on:
ii  initscripts   2.88dsf-59
ii  libc6         2.19-18+deb8u6
ii  libncurses5   5.9+20140913-1
ii  libncursesw5  5.9+20140913-1
ii  libprocps3    2:3.3.9-9
ii  libtinfo5     5.9+20140913-1
ii  lsb-base      4.1+Debian13+rpi1+nmu1

Versions of packages procps recommends:
ii  psmisc  22.21-2

procps suggests no packages.

-- no debconf information

Reply via email to