Public bug reported:

Running the command

$ echo | xargs kill -15

kills everything in the current window session. If run from tty1:

$ echo | xargs kill -15
Terminated

And the window session is also killed.

Same command tested on CentOS 7, running procps 3.3.10, shows kill
command help.

Same command tested on Arch Linux, running procps 3.3.11, shows "kill:
not enough arguments".

ProblemType: Bug
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Sun May  1 21:37:15 2016
Dependencies:
 adduser 3.113+nmu3ubuntu4
 apt 1.2.10ubuntu1
 apt-utils 1.2.10ubuntu1
 coreutils 8.25-2ubuntu2
 debconf 1.5.58ubuntu1
 debconf-i18n 1.5.58ubuntu1
 debianutils 4.7
 dpkg 1.18.4ubuntu1
 e2fslibs 1.42.13-1ubuntu1
 e2fsprogs 1.42.13-1ubuntu1
 gcc-5-base 5.3.1-14ubuntu2
 gcc-6-base 6.0.1-0ubuntu1
 gnupg 1.4.20-1ubuntu3
 gpgv 1.4.20-1ubuntu3
 init-system-helpers 1.29ubuntu1
 initscripts 2.88dsf-59.3ubuntu2
 insserv 1.14.0-5ubuntu3
 libacl1 2.2.52-3
 libapt-inst2.0 1.2.10ubuntu1
 libapt-pkg5.0 1.2.10ubuntu1
 libattr1 1:2.4.47-2
 libaudit-common 1:2.4.5-1ubuntu2
 libaudit1 1:2.4.5-1ubuntu2
 libblkid1 2.27.1-6ubuntu3
 libbz2-1.0 1.0.6-8
 libc6 2.23-0ubuntu3
 libcomerr2 1.42.13-1ubuntu1
 libdb5.3 5.3.28-11
 libfdisk1 2.27.1-6ubuntu3
 libgcc1 1:6.0.1-0ubuntu1
 libgcrypt20 1.6.5-2
 libgpg-error0 1.21-2ubuntu1
 libgpm2 1.20.4-6.1
 liblocale-gettext-perl 1.07-1build1
 liblz4-1 0.0~r131-2ubuntu2
 liblzma5 5.1.1alpha+20120614-2ubuntu2
 libmount1 2.27.1-6ubuntu3
 libncurses5 6.0+20160213-1ubuntu1
 libncursesw5 6.0+20160213-1ubuntu1
 libpam-modules 1.1.8-3.2ubuntu2
 libpam-modules-bin 1.1.8-3.2ubuntu2
 libpam0g 1.1.8-3.2ubuntu2
 libpcre3 2:8.38-3.1
 libprocps4 2:3.3.10-4ubuntu2
 libreadline6 6.3-8ubuntu2
 libselinux1 2.4-3build2
 libsemanage-common 2.3-1build3
 libsemanage1 2.3-1build3
 libsepol1 2.4-2
 libsmartcols1 2.27.1-6ubuntu3
 libss2 1.42.13-1ubuntu1
 libstdc++6 5.3.1-14ubuntu2
 libsystemd0 229-4ubuntu4
 libtext-charwidth-perl 0.04-7build5
 libtext-iconv-perl 1.7-5build4
 libtext-wrapi18n-perl 0.06-7.1
 libtinfo5 6.0+20160213-1ubuntu1
 libudev1 229-4ubuntu4
 libusb-0.1-4 2:0.1.12-28
 libustr-1.0-1 1.0.4-5
 libuuid1 2.27.1-6ubuntu3
 lsb-base 9.20160110
 mount 2.27.1-6ubuntu3
 multiarch-support 2.23-0ubuntu3
 passwd 1:4.2-3.1ubuntu5
 perl-base 5.22.1-9
 psmisc 22.21-2.1build1
 readline-common 6.3-8ubuntu2
 sensible-utils 0.0.9
 sysv-rc 2.88dsf-59.3ubuntu2
 sysvinit-utils 2.88dsf-59.3ubuntu2
 tar 1.28-2.1
 ubuntu-keyring 2012.05.19
 util-linux 2.27.1-6ubuntu3
 uuid-runtime 2.27.1-6ubuntu3
 zlib1g 1:1.2.8.dfsg-2ubuntu4
DistroRelease: Ubuntu 16.04
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-05-29 (338 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 Package: procps 
2:3.3.10-4ubuntu2
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=
 LC_TIME=nb_NO.UTF-8
 LC_MONETARY=nb_NO.UTF-8
 TERM=xterm
 LC_COLLATE=nb_NO.UTF-8
 PATH=(custom, no user)
 LC_ADDRESS=nb_NO.UTF-8
 XDG_RUNTIME_DIR=<set>
 LC_TELEPHONE=nb_NO.UTF-8
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
 LC_NAME=nb_NO.UTF-8
 LC_MEASUREMENT=nb_NO.UTF-8
 LC_IDENTIFICATION=nb_NO.UTF-8
 LC_NUMERIC=nb_NO.UTF-8
 LC_PAPER=nb_NO.UTF-8
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
SourcePackage: procps
Tags:  xenial
Uname: Linux 4.4.0-21-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-04-22 (9 days ago)
_MarkForUpload: True

** Affects: procps (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1577297

Title:
  echo | xargs kill -15 kills running window session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1577297/+subscriptions

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

Reply via email to