Description of problem:
amtu initscript doesn't work with correct configuration file /etc/sysconfig/amtu. The bug is in these two tests (they always fail):
test x"$AMTU_HALT_ON_FAILURE" = "x" || exit 6
test x"$HALT_COMMAND" = "x" || exit 6
The correct code should be:
test 'x"$AMTU_HALT_ON_FAILURE" = "x"' || exit 6
test 'x"$HALT_COMMAND" = "x"' || exit 6
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. service amtu start
Doesn't start and returns 6 (not configured correctly)
Hmm...wonder how that got in there. The correct code should be:
test x"$AMTU_HALT_ON_FAILURE" != "x" || exit 6
test x"$HALT_COMMAND" != "x" || exit 6
I built amtu-1.0.8-5 in rawhide to solve this problem. Please give it a test. Thanks.
I tested the newest package and problem seems to be fixed. Although the there is no result after the run (I mean [ OK ] or [ FAILED ]). It would be nice if this would be displayed.
Yes, it would be nice to have pass or fail on the screen. But, there is no way to do this without patching amtu itself as best as I can tell. The basic problem is that amtu has no quiet mode and will scribble all over the screen. I will close this bug since the basic requirements have been met. Thanks for reporting the bug.