When shell is set to the dash shell, memcached does not start properly. I will be attaching a patch to fix this. Reproducible: Always Steps to Reproduce: 1. emerge dash && emerge eselect-sh 2. eselect sh set 2 3. /etc/init.d/memcached start Actual Results: /etc/init.d/memcached start /lib64/rc/sh/runscript.sh: 7: [: memcached: unexpected operator * The configuration file /etc/conf.d/memcached.memcached was not found! * Starting memcached (memcached) ... [ ok ] Expected Results: /etc/init.d/memcached start * Caching service dependencies ... [ ok ] * Starting memcached ... [ ok ]
Created attachment 386670 [details, diff] memcached.init.patch
can you test changing that equal sign to -eq instead. = is an assignment == (and -eq) are checks
(In reply to Matthew Thode ( prometheanfire ) from comment #2) > can you test changing that equal sign to -eq instead. > > = is an assignment > == (and -eq) are checks = is most certainly a string comparison in that context: http://stackoverflow.com/questions/1089813/bash-dash-and-string-comparison
fixed in 1.4.20-r1