Bugzilla – Bug 14247
severe lack of "kill" on a system with util-linux > 2.12r
Last modified: 2008-06-16 12:38:41 UTC
This means on an upgrade, dispelling util linux 2.12r removes /bin/kill and it's replacement 2.13.1 doesn't install it. This is bad.
http://userweb.kernel.org/~kzak/util-linux-ng/ That's the gaze url for util-linux the real util-linux exists: http://freshmeat.net/projects/util-linux/ Yeah, it's stale, but we should seperate the spells. And they should conflict. And there should be a provider. Unless other things have been discussed about this. The issue with /bin/kill vanishing still exists...
coreutils-6.9 does not provide any kill either
bash-3.2# mv /bin/kill /bin/killold bash-3.2# kill kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] bash-3.2# killold usage: killold [ -s signal | -p ] [ -a ] pid ... killold -l [ signal ] kill is built into bash and ash, but not necessarily other shells. Just a note, but doesn't really solve the issue.
like it was mentioned on the ml, procps installs it, but we disabled it due to it being a conflict. Let's just fix that. Then there's skill, pkill, killall ... unix likes badass toys :)
(In reply to comment #1) > http://userweb.kernel.org/~kzak/util-linux-ng/ > http://freshmeat.net/projects/util-linux/ > we should seperate the spells. And they should conflict. > And there should be a provider. I don't think so. util-linux is very old and there were also some security problems. Also according to DistroWatch util-linux is in version 2.13.1 what in reality is util-linux-ng. Of course I noticed this and mentioned it in my commit: http://scmweb.sourcemage.org/gitweb.cgi?p=smgl/grimoire.git;a=commit;h=2f3c4faab05126323515eb880ad2d63cfcff1849 There were removed also /bin/arch, /usr/bin/write, ... Of course I tested new utils-linux (several times rebooted my box). Our init scripts contains only "kill" without path so builtin kill from bash is used. I am sorry I forgot about users who use shells which don't provide builtin kill (which one?). So we just have to fix procps.
util-linux-ng still contains "deprecated" kill, we can just add --enable-kill to configure coreutils can also provide kill, is is just removed by our hostname.diff patch procps, just remove one line from BUILD Which one is the best? Seems it is quite difficult to choose, for example I can read on Internet: "Ubuntu ships /bin/kill from the procps package whilst other distributions ( such as redhat and opensuse ) use /bin/kill from coreutils."
just trying new coreutils 6.10, no needs to patch it and we can use kill from it there is another problem, new coreutils doesn't contain "su" :-) there is a option --enable-install-program=su we can add to BUILD but it fails on my box which next package provides su?
we should probably go upstream and remove su.patch from shadow shadow provides su
updated coreutils to 6.10, updated shadow kill is provided by coreutils (upstream) su is provided by shadow (upstream) $ gaze from kill coreutils-6.10:/bin/kill $ gaze from su shadow-4.0.18.1:/bin/su shadow-4.0.18.1:/etc/pam.d/su
ok, kill is all fixed, but what about the pam users's su problem?
Marking the kill bug as fixed. Jaka, what problem with su and PAM? $ gaze version linux-pam Grimoire Section Spell Grimoire Version Installed Version -------- ------- ----- ---------------- ----------------- test security-libs linux-pam 0.99.10.0 0.99.10.0 sandalle@webex-d630:shadow$ su - Password: root@webex-d630:~# logout sandalle@webex-d630:shadow$ su Password: root@webex-d630:/home/sandalle/scm/git/smgl/grimoire/security/shadow#