- Newest
- Most votes
- Most comments
I found for 32 bit arm
{
"reset": [],
"merge": {
"OS_DIST_INFO": "raspberrypi"
}
}
And for 64 bit arm
{
"reset": [],
"merge": {
"OS_DIST_INFO": "ubuntu"
}
}
Worked nicely here
I have this same problem, with Raspberry Pi. I have changed my hostname to be raspberrypi, but that does not solve the problem. I have the latest version of Raspberry Pi 64-bit. This is my uname -a output:
Linux raspberrypi 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
Hi there,
Happy to help with this. Can you show me the output of uname -a
?
Linux <pc-name-redacted> 4.9.253-tegra #1 SMP PREEMPT Sat Feb 19 08:58:27 PST 2022 aarch64 aarch64 aarch64 GNU/Linux
Hi, any update on this issue ? Any reason why the gg component may be unable to check the OS ?
Hi,
Sorry for the delay! I was verifying some things before I replied.
As you can see from the log output there the component checks to see if you are using one of the compatible OS distributions:
com.aws.greengrass.component.securetunneling.exceptions.SecureTunnelingTaskException: Unable to determine compatible OS distribution information! Supported OS distributions: [amzn2,ubuntu,raspberrypi].
It uses the uname output to do this. Unfortunately, the uname output on your ubuntu machine doesn't contain the string "ubuntu". I can bring this issue up with my team to explore options for handling this issue in the future. However, there isn't anything we can do to resolve this issue for you quickly. If you can get your uname output to include "ubuntu" and then attempt to install again that should resolve the issue. But I cannot offer any specific advice on how to accomplish that.
I hope this helps. Please let me know if there is anything else I can do here.
Thanks,
Shane
Would the following solution work ? Does it use the actual call to the cli 'uname' to check for ubuntu ?
https://askubuntu.com/questions/651163/can-i-change-uname
Is there no other workaround for this issue ? Is there a way to disable the os-check, or to force it to read as ubuntu ?
Additional question:
Would setting the following configuration on a deployment allow it to skip / override the OS check, and thus to work normally ? As we know that the OS is ubuntu, it's just that uname doesn't contain 'ubuntu'.
{ "reset": [], "merge": { "OS_DIST_INFO": "ubuntu" } }
The spoofing of uname does work as specified here: https://askubuntu.com/questions/651163/can-i-change-uname I don't recommend this, but I have tried it. You can:
- rename uname to uname.spoof
- create a shell script in /usr/bin called uname
- chmod 755 uname The script should look like this:
echo -n "raspberrypi "
uname.spoof "${@}"
The accepted answer does not work with the current 64bit version of Raspberry Pi OS. The uname hack works (with ubuntu) if you have access to the device, but for previously deployed devices this is not an option. It's been 5 months since there was any discussion on this issue, when might we expect a fix from AWS? I'd rather have the component fail on a device due to lack of OS support, than to have it fail over an arbitrary string search.
If your are trying to setup up IoT Secure Tunnel in an RPI put arm_64bit=0 in /boot/config.txt and reboot before deploy the Secure tunnel component.
Relevant content
- asked 4 months ago
- asked a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
I have the same issue with raspberryPi. The result of uname -a is: Linux workvisgw-220620-1 5.15.32-v7+ #1538 SMP Thu Mar 31 19:38:48 BST 2022 armv7l GNU/Linux
Same issue here on raspberry Pi
Same issue here on raspberry Pi
Same issue here on raspberry Pi