This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[error] panel error, operating system icon
#1
[error] panel error, operating system icon
panel error, operating system icon is not available.
Possible error in the code.


Attached Files Thumbnail(s)
       
Reply
Thanks given by:
#2
RE: [error] panel error, operating system icon
I think this was fixed in a recent patch. To fix now, try opening /etc/zpanel/configs/apache/httpd.conf and change:
Code:
ServerTokens Prod
to
Code:
ServerTokens OS
and then restart apache Wink
Before posting, update your profile with your OS, Sentora version and server type!

Reply
Thanks given by:
#3
RE: [error] panel error, operating system icon
Jacob detecting the os that way is not good..... we should use prod setting.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#4
RE: [error] panel error, operating system icon
We need to look at altering the PHP code to find the installed version another way. Until then it is entirely up to the users if they want to change this setting back. However as @Me.B has said it is NOT advisable to show the world your apache version for security reasons.
Reply
Thanks given by:
#5
RE: [error] panel error, operating system icon
It could be even a variable in config file setup post install... this won't be a mess and we could get back os to prod!

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#6
RE: [error] panel error, operating system icon
httpd -V or apache2 -V can be ran by any user without root privileges so we could use a hard coded command to fetch this safely (would require security testing).
Reply
Thanks given by:
#7
RE: [error] panel error, operating system icon
it could be run in install process and output dumped in a file. Why we need to run it each time?

Only during upgrade > update. extract the infos and drop 2 vars in config file: OS + webserver that would do the trick.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#8
RE: [error] panel error, operating system icon
Server admins could run yum update / apt-get upgrade at any point... Adding yum / apt post install hooks would be playing with people's system far too much. As long as the command running this is completely hard coded and escaped it will be fine, however I'll get you to review the change to make sure we are happy using this method first.
Reply
Thanks given by:
#9
RE: [error] panel error, operating system icon
Kevin,

I meant only during zpanel install process not after each yum... Notice apache won't change for a long while on ubuntu / centos and we had to change the whole release to get new apache/php and don't think that next php will be shipped to ubuntu 14/centos 7.

Easy and efficient hack to lower privilege we need to run the panel. That's important for security focus.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#10
RE: [error] panel error, operating system icon
The major version doesn't change however the patch number and minor version numbers do change between yum / apt updates.

You can't do any serious damage if we don't use zsudo to run this command, just use system without privileges:

Code:
<?php
echo system('httpd -V');
?>

This way we can get the version and there is no way of changing this code via injection as there is no user input.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Repo update error hostingms 3 6 ,808 02-14-2024, 09:20 AM
Last Post: TGates
apt-get install mod_ssl ERROR CMs222 9 28 ,285 11-11-2022, 09:14 PM
Last Post: zustudios
Sentora debug and error files johnnyp 0 1 ,588 10-27-2022, 06:16 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 1 Guest(s)