From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux) Description of problem: [root@morph-01 root]# lock_gulmd -s morph-foo,morph-03,morph-05 Segmentation fault Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: see above Additional info:
fixed. ifelseifelseifelse doesn't work when you leave out the elses.
Lock_gulm asserts now: [root@morph-02 root]# lock_gulmd -s morph-foo,morph-03,morph-05 I cannot find the name for ip "morph-foo". gf->node_cnt = 0 In src/config_main.c:332 (DEVEL.1093621899) death by: ASSERTION FAILED: gf->node_cnt > 0 && gf->node_cnt < 5 && gf->node_cnt != 2 I cannot find the name for ip "morph-foo". gf->node_cnt = 0 In src/config_main.c:332 (DEVEL.1093621899) death by: ASSERTION FAILED: gf->node_cnt > 0 && gf->node_cnt < 5 && gf->node_cnt != 2 [root@morph-02 root]# I cannot find the name for ip "morph-foo". gf->node_cnt = 0 In src/config_main.c:332 (DEVEL.1093621899) death by: ASSERTION FAILED: gf->node_cnt > 0 && gf->node_cnt < 5 && gf->node_cnt != 2
which is technically correct, but I prettied it up anyways. cvs up && make, better?
better. However... :) It could be even better if the cmdline parsing also happened before the forking of core, LT, and LTPX in main_main.c and if parse_cmdline_servers returned an error (for invalid node, null server list...). That way it could be checked and could exit right away before daemonizing and then the user would have the exit code and error right away instead of getting it at random times from the three existing daemons.
should have this now. give'er'a'go.
I like it. :)