[Pkg-scicomp-devel] Bug#734715: cpushare: fails to start due to change in nobody's shell
Colin Watson
cjwatson at debian.org
Thu Jan 9 11:43:07 UTC 2014
Package: cpushare
Version: 0.48-4
Severity: grave
Tags: patch
User: base-passwd at packages.debian.org
Usertags: shell-fallout
In base-passwd 3.5.30, I changed nobody's shell to /usr/sbin/nologin (a
change that I really should have made about ten years ago). This has
unfortunately had a bit of collateral damage:
Setting up cpushare (0.48-4) ...
[FAIL] Starting CPUShare daemon...[....] kernel was not built with CONFIG_SECCOMP=y failed!
My apologies for this. It's fortunately easily fixable:
* Pass "-s /bin/sh" to "su nobody" to cope with the change of nobody's
shell in base-passwd 3.5.30.
diff -u cpushare-0.48/debian/cpushare.init cpushare-0.48/debian/cpushare.init
--- cpushare-0.48/debian/cpushare.init
+++ cpushare-0.48/debian/cpushare.init
@@ -39,7 +39,7 @@
case "$1" in
start)
log_begin_msg "Starting CPUShare daemon..."
- if ! su nobody -c /usr/lib/cpushare/seccomp-test >/dev/null 2>&1; then
+ if ! su nobody -s /bin/sh -c /usr/lib/cpushare/seccomp-test >/dev/null 2>&1; then
log_begin_msg " kernel was not built with CONFIG_SECCOMP=y"
log_end_msg 1
exit 0
Sorry,
--
Colin Watson [cjwatson at debian.org]
More information about the Pkg-scicomp-devel
mailing list