/bin/kill no longer works with negative PID

Bug #1077796 reported by Michael Selig on 2012-11-12
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
procps (Ubuntu)
Medium
Unassigned

Bug Description

Incorrectly gives a usage message, eg:

/bin/kill -1 -4321
==>
/bin/kill: invalid option -- '4'

A workaround appears to be to use "--" before the PID, but this is unsatisfactory, as existing scripts would have to be modified when they shouldn't have to be.

This problem has only appeared recently in 12.10.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in coreutils (Ubuntu):
status: New → Confirmed
C de-Avillez (hggdh2) wrote :

Thank you for this bug and helping making Ubuntu better.

Please run '/bin/kill --version', and report back the version. Also, next time please use 'ubuntu-bug' to open a bug. For example, in this case, 'ubuntu-bug coreutils'.

Changed in coreutils (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Michael Selig (michael-selig) wrote :

/bin/kill --version
==>
kill from procps-ng 3.3.3

This is from Ubuntu 13.04. When I reported the bug originally it was on 12.10 (which I no longer use). However the bug is still there on 13.04, unfortunately.

PS: Why has it taken over 8 months for this bug to be acknowledged? I thought it must have vanished into the bug black hole.

Riku Voipio (riku-voipio) wrote :

This should be reassigned to procps, /bin/kill is not in coreutils.

In debian this has been fixed procps-ng 3.3.4.

C de-Avillez (hggdh2) wrote :

Indeed, done. Bug marked Triaged.

@Michael Selig: one of the reasons it took that long is that there are very few volunteers to work on the bugs.

affects: coreutils (Ubuntu) → procps (Ubuntu)
Changed in procps (Ubuntu):
status: Incomplete → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers