Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: Ambari trying to scp SLES repo on RHAT machine

$
0
0

We figured this out. In our /etc/issue file, we havethe following…

All activities on this system are subject to monitoring. Intentional misuse of
this system may result in disciplinary action including termination and/or
criminal prosecution.

In the bootstrap python file (/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py), the following check is done…

    if os.path.isfile("/etc/issue"):
      if "suse" in open("/etc/issue").read().lower():
        return True
    return False

It only check for an instring on suse, which we have in our /etc/issue file. This seems like the check could be enhanced to include more. I will give this some thought and perhaps propose a fix.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>