mirror of
https://github.com/telephone/LookingGlass.git
synced 2026-04-25 07:56:01 +03:00
[GH-ISSUE #16] OS Compatibility Code Needed #15
Labels
No labels
enhancement
enhancement
enhancement
pull-request
v1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LookingGlass#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kylegato on GitHub (Jan 31, 2014).
Original GitHub issue: https://github.com/telephone/LookingGlass/issues/16
There needs to be a method for detecting the operating system, as some program tools have different flags or are missing flags that others may have.
For example LookingGlass does not work out of the box with FreeBSD, you have to change some of the command syntaxes.
@bpvarsity commented on GitHub (Sep 23, 2014):
@kylegato Can you let me know what command syntaxes you changed?
Thanks
@Ezerbeth commented on GitHub (Jun 14, 2016):
First, ps needs to be changed. I used:
ps -o ppid $ppid | tail -1
But there's probably a better set of options.
Second, there's no "shred" command on FreeBSD.The coreutils package provides the "gshred" port, which is the gnu shred. This needs to be manually installed.
The ping ping, traceoute, etc commands are located elsewhere. The config checks should also check /sbin/, not only /bin:
/sbin/ping
/usr/sbin/traceroute
/usr/local/sbin/mtr
/usr/local/bin/gshred
However now when I run "ping" it does nothing and the button becomes clickable right away. Nothing in the Apache logs regarding this. So I assume it's statically looking for the locations defined in configure.sh.
And lastly, the test files all give blank pages on FreeBSD. Again, no errors in Apache.
Hope this helps.
@fsgmhoward commented on GitHub (Aug 7, 2016):
OMG... This issue is still not fixed now. Ping/Mtr do not work on CentOS 6 with Apache.
@fsgmhoward commented on GitHub (Aug 7, 2016):
@Ezerbeth Actually I found the way to solve the blank page in CentOS. It may be caused by the SELinux module. This module, when it is enabled, prevents user
apachefrom sending icmp packet. Therefore the program goes wrong.I just simply disabled SELinux and it works now.