Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525864 - app-admin/slay - kill all processes belonging to a user
Summary: app-admin/slay - kill all processes belonging to a user
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://packages.qa.debian.org/s/slay...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-10-19 13:13 UTC by Henning Schild
Modified: 2022-02-06 20:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
slay-2.7.0.ebuild (slay-2.7.0.ebuild,571 bytes, text/plain)
2014-10-19 13:13 UTC, Henning Schild
Details
app-admin/slay/slay-2.7.0.ebuild (slay-2.7.0.ebuild,479 bytes, text/plain)
2014-10-19 20:32 UTC, Henning Schild
Details
files/slay-no-write.patch (slay-no-write.patch,597 bytes, patch)
2014-10-19 20:34 UTC, Henning Schild
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henning Schild 2014-10-19 13:13:44 UTC
Created attachment 386940 [details]
slay-2.7.0.ebuild

Slay is a utility to kill all processes of a user. It is very useful in scripts that disable or remove user accounts.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-19 14:20:01 UTC
Entirely unlike killall --user <USER> then.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-19 14:21:15 UTC
http://hg.svartech.com/debian/slay/file/f327bff012be/slay lists a 3.7 version, but that's probably a mistake.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-19 14:24:14 UTC
Comment on attachment 386940 [details]
slay-2.7.0.ebuild

>HOMEPAGE="http://hg.svartech.com/debian/slay/"

The Debian packages's homepage is probably a better one.

>KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"

You're supposed to add unstable architecture keywords, and only for those architectures you have actually tested on.

>IUSE=""

Empty IUSE needn't be set.

>DEPEND=""

Empty DEPEND needn't be set.

>RDEPEND="${DEPEND}"

Empty RDEPEND needn't be set to include empty DEPEND.

>PATCHES=(
>	"${FILESDIR}/${PN}-no-write.patch"

Where is it, and what is it for?
Comment 4 Henning Schild 2014-10-19 20:32:15 UTC
Created attachment 386980 [details]
app-admin/slay/slay-2.7.0.ebuild
Comment 5 Henning Schild 2014-10-19 20:34:28 UTC
Created attachment 386982 [details, diff]
files/slay-no-write.patch

This patch removes the notification of the user whos processes get killed. It uses the command "write" and therefore creates a dependency of the script. I did not even find the gentoo package containing "write".
Comment 6 Henning Schild 2022-02-06 20:51:46 UTC
One does not need slay, "pkill -u" can do the same.