----- Original Message -----
> I stumbled across a problem of "trafficserver start" exiting at line
> 217.
>
> Turns out the culprit was an empty DISTRIB_ID.  Looking at the top
> of the script I see that's set in an idiosyncratic-looking way:
>
> if [ -e /etc/SuSE-release ]; then
>   DISTRIB_ID="suse"
> elif [ -e /etc/fedora-release ]; then
>   DISTRIB_ID="fedora"
> elif [ -e /etc/redhat-release ]; then
>
> ... [more of same]
>
> So for an amazon-hosted node I was able to work around it with
> a symlink from /etc/system-release to /etc/redhat-release.
>
> Is there a reason for this test, or is it just a historic legacy?

In theory, it's so we know how to start ATS on that OS/distro/platform.
In practice, `uname -s` should probably suffice. Maybe.

> --
> Nick Kew

i

--
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

Reply via email to