-
Notifications
You must be signed in to change notification settings - Fork 68
Installation issues on Red Hat #13
Comments
Update 1: |
Update 2: |
Update 3: Maybe first step should be to detect if lsb_release exists, then search it for distro flavors, if it is not there then look for /etc/*-release if [ -f "/usr/bin/lsb_release" ]; then ubuntuVersion= case $ubuntuVersion in elif [ -f "/etc/system-release" ]; then case "$(readlink /etc/system-release)" in
"redhat-release")
"*") else |
Update 4: Although my server is registered, and I can install packages and updates using yum, when I run |
Update 5: This made things work for me on red hat: if [ -f "/usr/bin/lsb_release" ]; then ubuntuVersion=lsb_release -s -d case $ubuntuVersion in case "$(readlink /etc/system-release)" in |
Hi Jamf,
Just running the installer script alone does not result in an installation on a basic red hat instance.. After a whole night of testing I found that the issue lays right at the beginning of the script.
Your "if and elif" statements to set ubuntuVersion based on lsb_release is faulty, as redhat also has a lsb_release (at least 6.4 and later do which I am using), therefore anything after that potentially fails as the process is assuming that I am installing on ubuntu and not red hat.
Hope this can be fixed in 3.1 and soon, as I have some new macs coming in next week with 10.9 and need a working SUS to be able to point them too.
My workaround was to rename lsb_release to lsb_release.orig then install, installation was ok, except for some reason it doesn't use https but defaults to http (not a prblem) the other issue is that the index.php and webadmin were saved under /var/www instead of /var/www/html which is the default, so i had to copy index.php and webadmin to /var/www/html.
After installation, I renamed lsb_release back and changed the line in adminHelper.sh in the if statement to look for lsb_releaseXXX just to get it to skip that part and move on to the next part which tells it this is a redhat/centos OS.
Other issues I am seeing it not adding an alias in httpd.conf for /srv/SUS is this normal? there is an alias for /srv/NETBOOT though.
Hope this helps.
Kamal
The text was updated successfully, but these errors were encountered: