On 4/18/12 2:45 AM, Jan-Frode Myklebust wrote:
On Wed, Apr 18, 2012 at 09:22:44AM +0100, Nick Kew wrote:
I recollect that happening on Amazon.
If you grep the script, you'll see it comes from a bunch of tests which set
DISTRIB_ID, starting about line 44. I used the easy workaround of
ln -s /etc/system-release /etc/redhat-release
to satisfy the test (amazon linux is essentially redhat).
Just tested that this works on AMI:
ln -s /etc/system-release /etc/redhat-release
yum --enablerepo=epel install trafficserver
service trafficserver start
Maybe if I should change the the EPEL package to work better on AMI..
I know I fixed this on trunk a while ago ... It's definitely in 3.1.3.
If someone wants to write a better RC script, I'm all +1 for it :). Seeing
how the popular Linux distros are diverging on startup management anyways,
maybe it's reasonable to have one script for each Linux distro?
-- Leif