Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 7578] Sorcery doesn't seem to like xinetd scripts

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 7578] Sorcery doesn't seem to like xinetd scripts
  • Date: Tue, 26 Oct 2004 18:00:11 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=7578





------- Additional Comments From acedit AT armory.com 2004-10-26 18:00 -------
Theres two problems
for SERVICE in $SERVICES; do
for FILE in `ls $SCRIPT_DIRECTORY/xinetd.d/*`; do

if grep -q "service $SERVICE" $FILE &&
grep -q "stunnel" $FILE; then
add_depends "$SPELL" "stunnel" "on" "optional"
fi

done
done

and

if [ -n "$SERVICES" ]
then add_depends "$SPELL" "xinetd" "on" "optional"
else add_depends "$SPELL" "xinetd" "off" "optional"
fi

In the first thing, the ls is wrong, since it gives just the filename, and
not a path to the files, but that loop is useless anyways.

The second block is wrong because add_depends takes another argument,
the current spells uncommited depends file. In this particular case
rsync is the first argument so it thinks that is the depends file.

Maybe I ought to just fix the existing bug on that stuff the right way
rather than do this the wrong way? If we came up with came to consensus
on it today I could be done by the end of the week.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page