Anonymous | Login | 2024-12-22 00:33 MST |
Main | My View | View Issues | Change Log | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013851 | ClearOS | app-network - Network Settings | public | 2017-03-20 20:29 | 2017-05-10 09:23 | ||||
Reporter | bchambers | ||||||||
Assigned To | user2 | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 7.3.1 | ||||||||
Target Version | 7.3.1 Updates | Fixed in Version | 7.3.1 | ||||||
Summary | 0013851: Webconfig API can't read upstream_proxy.conf | ||||||||
Description | Permissions are root.root 600 and the API requires change (2 instances) from: $file = new File(self::FILE_CONFIG); to $file = new File(self::FILE_CONFIG, TRUE); To allow Webconfig to read/write to the file. Taken from forum: https://www.clearos.com/clearfoundation/social/community/undefined-error-in-system-log [^] | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |||||||||||
|
Notes | |
(0005161) user2 2017-03-20 21:09 |
That flag shouldn't be necessary these days. Most of the methods in the File API auto-detect when sudo is necessary. |
(0005171) user2 2017-03-20 21:14 |
Oh... I know the issue. It's probably related to a dirty last minute workaround to avoid changes in the Shell class. It could also be a circular dependency issue that we wanted to avoid. I'll investigate. This last minute upstream proxy feature has been a (comment deleted). |
(0005191) user2 2017-03-21 10:00 |
Certain network API calls need to be fast and/or are called a *lot* (e.g. Ajax live pages, console displaying current IP, etc.). We need to avoid sudoers overhead, hence some workarounds. For now, I will set the upstream_proxy.conf file to less strict file permissions and address the Network API performance in tracker 0013951 Note: "Upstream Proxy" is beta and not even usable at the moment, so I'm not concerned about the temporary file permissions. I also noticed that the feature is not only not flagged as beta, but also missing from the ClearOS documentation. |
Issue History | |||
Date Modified | Username | Field | Change |
2017-03-20 20:29 | bchambers | New Issue | |
2017-03-20 20:29 | bchambers | Status | new => assigned |
2017-03-20 20:29 | bchambers | Assigned To | => bchambers |
2017-03-20 21:09 | user2 | Note Added: 0005161 | |
2017-03-20 21:14 | user2 | Note Added: 0005171 | |
2017-03-20 21:14 | user2 | Assigned To | bchambers => user2 |
2017-03-21 09:46 | user2 | Category | app-network - Network Settings => app-base - Base System |
2017-03-21 10:00 | user2 | Note Added: 0005191 | |
2017-03-21 10:03 | user2 | Category | app-base - Base System => app-network - Network Settings |
2017-03-21 10:04 | user2 | Issue cloned: 0013961 | |
2017-03-21 10:04 | user2 | Relationship added | related to 0013961 |
2017-05-01 09:49 | user2 | Relationship added | related to 0014451 |
2017-05-01 09:58 | user2 | Status | assigned => resolved |
2017-05-01 09:58 | user2 | Fixed in Version | => 7.3.1 |
2017-05-01 09:58 | user2 | Resolution | open => fixed |
2017-05-10 09:23 | user2 | Status | resolved => closed |