Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 525864

Summary: app-admin/slay - kill all processes belonging to a user
Product: Gentoo Linux Reporter: Henning Schild <henning>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED OBSOLETE    
Severity: enhancement Keywords: EBUILD
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://packages.qa.debian.org/s/slay.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: slay-2.7.0.ebuild
app-admin/slay/slay-2.7.0.ebuild
files/slay-no-write.patch

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.