slay defaults to "mean" mode where it will kill users own processes as a joke

Bug #306110 reported by sam.watkins
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
slay (Debian)
Fix Released
Unknown
slay (Ubuntu)
Fix Released
Undecided
Axel Beckert

Bug Description

Binary package hint: slay

I have used the "slay" program before and found it useful to clear out unwanted processes. But I discovered a new "feature" today, the so-called "mean" mode, which is that if someone accidentally runs slay without root privileges, slay defaults to killing the user's own processes as a sort of "punishment", "retribution" or basically a joke. This serves no useful purpose, and it's not fitting for a serious utility. It is possible to configure slay not to do that.

But even once having all my processes killed as a punishment or joke from a tool is really annoying, and I'd like to kick someone in the *** for adding that "feature". :o) without wanting to appear ungrateful for an otherwise useful utility. I'm sure all the BOFHs would be laughing, but this feature is not appropriate.

so, here is a (very simple) patch attached

Related branches

Revision history for this message
sam.watkins (swatkins) wrote :
petski (petski)
Changed in slay:
importance: Undecided → Unknown
status: New → Unknown
Changed in slay:
status: Unknown → New
Revision history for this message
sam.watkins (swatkins) wrote :

BUMP! damn this stupid program

Please configure slay NOT to be in mean mode, and not to kill the user's own
processes if they accidentally run it without sudo. It's not funny, please fix
this stupid program.

Since when is it acceptable to kill all the user's processes as a kind of
twisted joke when they use a program incorrectly? a help message would be
more appropriate.

Sam

Revision history for this message
Thorsten Glaser (mirabilos) wrote :

> BUMP! damn this stupid program

Feel free to not use it. pkill is well-known.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in slay (Ubuntu):
status: New → Confirmed
Changed in slay (Debian):
status: New → Fix Committed
Axel Beckert (xtaran)
Changed in slay (Ubuntu):
assignee: nobody → Axel Beckert (xtaran)
status: Confirmed → Fix Committed
Changed in slay (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package slay - 3.0.0

---------------
slay (3.0.0) unstable; urgency=medium

  * Adopt the package. (Closes: #840054)
  * Add Japanese debconf translation by victory. (Closes: #718997)
  * Fix issues with German translation as suggested by Helmut Grohne.
    Thanks! (Closes: #718496)
  * Switch to git and collab-maint; update Vcs-* headers accordingly.
  * Bump debhelper compatibility to 10. Update versioned b-d accordingly.
  * Rewrite debian/rules in minimal dh v7 style.
    + Use files debian/install and debian/manpages instead of overrides.
    + Drop now redundant usr/sbin from debian/dirs.
  * Switch to source format "3.0 (native)"
  * Fix typo in man-page. Thanks lintian!
  * Use "set -e" instead of "#!/bin/sh -e" in maintainer scripts.
  * Declare compliance with Debian Policy 3.9.8. (No further changes.)
  * Apply "wrap-and-sort -a".
  * Convert debian/copyright to machine-readable DEP5 format
    + Add myself.
    + Update Chris Ausbrooks's e-mail address to the most recent one I
      could find in the wayback machine.
    + The original developer only stated "GPL" without a version. I assume
      that the most recent GPL version at the time when he wrote slay
      initially was meant, i.e. in 1997 it was GPLv2.
  * Fix typo in version history in source code.
  * Fix bashism "exit -1", replace it with "exit 127". (Closes: #772367)
    + This is a potentially breaking change, hence bumping major version.
  * Use nice mode by default. (Closes: #510693, LP: #306110)
    + This is a also a breaking change, hence also validates bumping the
      major version.

 -- Axel Beckert <email address hidden> Sat, 08 Oct 2016 11:52:53 +0200

Changed in slay (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.