sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 6377] New: telinit can't disable service after it is casted
- From: bugzilla-daemon AT metalab.unc.edu
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 6377] New: telinit can't disable service after it is casted
- Date: Tue, 16 Mar 2004 17:26:02 -0500
http://bugs.sourcemage.org/show_bug.cgi?id=6377
Summary: telinit can't disable service after it is casted
Product: Sorcery
Version: Devel
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Cast
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: marek AT printsoft.cz
CC: rycee AT home.se
When you enable: "Invoke 'service' at boot via init? [y]"
later in ./var/lib/sorcery/modules/libinitd, the file is (around line 229):
install -m 754 $script_path $runlevel_dir:
ie. installed with te 'x' bit set.
and you will get this message:
"script service installed and enabled. Disable with 'telinit disable
service'."
However if you run 'telinit disable service', you will get error:
rc: an error occurred disabling service qmail
rc: failure
The problem is that the service is not yet known to simpleinit, so that in
/etc/init.d/smgl_telinit around line 59:
run_script "$i" "$i" stop && initctl -c "$i" || exit 1
the initctl -c part fails
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Sorcery-Bugs] [Bug 6377] New: telinit can't disable service after it is casted, bugzilla-daemon, 03/16/2004
Archive powered by MHonArc 2.6.24.