Live data from Hacker News

Ubuntu Core 22 is now available – optimised for IoT and embedded devices

ubuntu.com

71–80 of 110 posts

Re: Ubuntu Core 22 is now available – optimised for IoT and embedded devices

#72

Earlier quoted context omitted.

Not OP, but Pop OS is a great Ubuntu derivative.

Is that not for desktops? What is the alternative for servers?

We switched our base server build OS to Debian. Has been great so far and runs with very low resources / extra fluff.

Re: Ubuntu Core 22 is now available – optimised for IoT and embedded devices

#73
post #28

Earlier quoted context omitted.

What’s your new distro of choice?

Linux Mint for everyday use. It made my 10 year old hot running laptop into a cold mean machine.

Linux Mint Debian Edition, or the regular version based on Ubuntu?

Re: Ubuntu Core 22 is now available – optimised for IoT and embedded devices

#74

Earlier quoted context omitted.

Not OP, but Pop OS is a great Ubuntu derivative.

Is that not for desktops? What is the alternative for servers?

If you want to set it up and forget about it, just use any RHEL clone (AlmaLinux is by far the fastest with updates: it took them like a week to ship RHEL 9 after the official release). You set up the system, install & enable `dnf-automatic`, and forget that it exists for the next 10 years.

If AlmaLinux (or any other clone) dies for some reason, you can always move to another clone without re-installation (using their tool `elevate`).

Re: Ubuntu Core 22 is now available – optimised for IoT and embedded devices

#75
post #69

Earlier quoted context omitted.

it's reviled because nobody wants to learn yet another deployment tool. apt has been reliable enough for installing packages and good enough UX that people can't be bothered

Nope, it's reviled because of its hostile user experience. Try finding an official, working way to stop automatic snap updates!

Was going to say the same thing. IMO the snap concept would make it worth learning something new for some use cases - but forced automatic snap updates, high memory usage, long startup times and permission issues are not selling it. Moreover, Canonical is well aware of how snap is perceived, and has done diddly squat to fix it.

Re: Ubuntu Core 22 is now available – optimised for IoT and embedded devices

#76
post #41

I highly discourage anyone to use Ubuntu Core as part of their solution. It is a secure environment, yes, but it is a nightmare to configure (snaps) and for everything, expect for the most basic stuff, you will need what is called a "brand store", which costs about $20k/year, regardless if you have 1 or 100 devices. (We could not even make one snap talk to another snap, checking another snap status etc). We had comme…

I like Ubuntu, and looked into using Ubuntu Core for an IoT architecture a few years ago - but the "brand store", which IIRC is mandatory for private deployments, are complete madness. Plus, while the concept behind Snaps is interesting, in practice they seem to be nearly universally reviled.

> Plus, while the concept behind Snaps is interesting, in practice they seem to be nearly universally reviled.

It might be worth mentioning that a more open, community driven and decentralized option offering mostly the same concepts exists in the way of Flatpak and Flathub.

Re: Ubuntu Core 22 is now available – optimised for IoT and embedded devices

#77
post #22

Earlier quoted context omitted.

Can you run Linux on a Cortex-M, which is basically a microcontroller, instead of a Cortex-A that has a MMU? I don't think it's possible.

Yes, you can actually. I haven't done this myself, but there are defconfigs for mmu less devices (stm32f4 series for instance). You need some more RAM though, but most evaluation kits don't provide this. Have a look here: https://elinux.org/STM32 I'm planning to give this a spin on an EVK that I got from work if I find the time.

Linux? yes. Popular distro? not really. Lack of MMU means that all the processes (and shared objects) use the same memory space, so unless you have some way of randomizing where things go (like SELinux), two processes will step on each other's data (MPU will not trigger segfault, as both are allowed to r/w same addr - IIUC). But even when using randomizing, you're playing russian rulette.

Re: Ubuntu Core 22 is now available – optimised for IoT and embedded devices

#78
post #28

Earlier quoted context omitted.

What’s your new distro of choice?

Not the one you're replying to, but started my Linux experience with Ubuntu 6.10, was using it all the way up to ~17, and started using Arch Linux after that since during my time of using Ubuntu, I learnt enough Linux that I could setup my own system (and of course, with the help of the awesome Arch Wiki).

Worth noting that Arch has had something resembling the OpenBSD installer for some time. Trying it out doesn't require reading 20 wiki articles as it did back in my day™. You answer a few questions, wait a few minutes, and it's done.

https://wiki.archlinux.org/title/Archinstall

Re: Ubuntu Core 22 is now available – optimised for IoT and embedded devices

#79
post #77

Earlier quoted context omitted.

Yes, you can actually. I haven't done this myself, but there are defconfigs for mmu less devices (stm32f4 series for instance). You need some more RAM though, but most evaluation kits don't provide this. Have a look here: https://elinux.org/STM32 I'm planning to give this a spin on an EVK that I got from work if I find the time.

Linux? yes. Popular distro? not really. Lack of MMU means that all the processes (and shared objects) use the same memory space, so unless you have some way of randomizing where things go (like SELinux), two processes will step on each other's data (MPU will not trigger segfault, as both are allowed to r/w same addr - IIUC). But even when using randomizing, you're playing russian rulette.

Do you think there is any practical use to it instead of running just an embedded OS? Driver support maybe?

Re: Ubuntu Core 22 is now available – optimised for IoT and embedded devices

#80

ubuntu desktop is free for all. canonical needs to go public and do IPO. ubuntu core is one approach to make some money out of the (free) ubuntu brand. Personally I don't use Ubuntu Core, but I understand why it is there.

> canonical needs to go public and do IPO. why?

it's their long term goal, to answer your question: everyone needs more money, after all it's not a charity, canonical is a legit business.
Post reply on HN