Home Blog Page 1358

Qubes: The Open Source OS Built for Security

joanna rutkowskaNo matter how good the code review process is, or how high the standards for acceptance, applications will always have bugs, says Joanna Rutkowska, founder and CEO of Invisible Things Lab. So will drivers. And filesystems.

“Nobody, not even Google Security Team, can find and patch all those bugs in all the desktop apps we all use,” Rutkowska says in the Q&A interview, below.

This is why she and her team built Qubes OS, a security-focused open source operating system based on Fedora that, in essence, assumes that bugs are everywhere. Instead of running one kernel, Qubes isolates all functions into separate virtual machines using the Xen hypervisor. Each function may only access what it needs to run, thus limiting an exploit’s potential damage.

Rutkowska will give a keynote talk about Linux security and Qubes OS at LinuxCon and CloudOpen Europe, Oct. 13-15 in Dusseldorf, Germany. Here she gives an overview of the project, how it uses Xen, and how it addresses common security issues.

Linux.com: What is Qubes OS?

Joanna Rutkowska: Qubes OS is an open-source operating system designed to provide strong security for desktop computing. Qubes OS implements security by a compartmentalization approach. It’s based on Xen and Linux, but also has support for Windows-based AppVMs.

How does it use the Xen hypervisor and Linux?

Qubes uses Xen as a “compartmentalization provider.” We believe Xen is very powerful for this role. The Xen hypervisor is (still) relatively bloatware-free and had a decent architecture that allows us to keep it reasonably secure (e.g. it allows to keep qemu outside the TCB). It also offers support for so-called driver domains, which Qubes utilizes to sandbox networking and USB stacks.

Having said that, it is important to remember that Qubes is largely independent of the underlying hypervisor. In the next release (R3) we’re even introducing a Hypervisor Abstraction Layer to allow for (relatively) easy swapping of Xen for other VMMs. So, in the future we might see e.g. a KVM-based variant of Qubes OS, for better hardware compatibility.

Qubes uses Linux (here I mean both the kernel and the platform) mostly as an… “API provider” for apps and drivers. We don’t utilize the security mechanisms Linux provides, and instead we rely on Xen isolation for that.

This statement might sound like downplaying the importance of Linux, which, however is not my intention. There would be no Qubes OS without the flexibility of Linux. Even though we now also have support for Windows-based AppVMs, Linux is still unbeatable when it comes to making lightweight user AppVMs and sophisticated service VMs, or fueling Dom0 — the admin domain of Qubes OS.

What are the main security issues that you’re trying to address?

That desktop applications do have, and always will have, bugs and we need to accept the fact that nobody, not even Google Security Team, can find and patch all those bugs in all the desktop apps we all use.

That desktop drivers for various devices (WiFi, USB, etc) do have, and always will have bugs. That various more or less exotic filesystem implementations do, and always will have bugs. Etc.

How does Qubes address those issues?

Unlike other approaches which try to add security mechanisms to the already bloated kernels or systems, Qubes takes a different approach: it starts with a bunch of well-isolated compartments (Xen VMs), which represent various user security domains and system service VMs, and then, very carefully, builds bridges across those isolated compartments.

These “bridges” are essential to make Qubes actually usable as a desktop system, and include things such as seamless desktop GUI virtualization, secure copy-and-paste and file copy between different domains, and many other services. Clever use of these inter-VM bridges allows, in some cases, to actually achieve better overall security than in case one used multiple physically separated computers — you can read more on this surprising effect in this recent paper:

http://www.invisiblethingslab.com/resources/2014/Software_compartmentalization_vs_physical_separation.pdf

Can you tell us more about what you plan to talk about at LinuxCon and CloudOpen Europe?

I will have a short keynote about why we do Qubes OS and what does our upcoming roadmap looks like, and then we plan to have a more in-depth two-hour session on Qubes for more power users and developers.

Is It Time to Cleave Linux in Two?

Fires may be easy to start, but putting them out is a different matter. Case in point: the Systemd inferno. What started a few weeks ago as a relatively straightforward controversy over an oft-debated technology Visit the VMware Tech Center has now virtually blown up in Linux fans’ faces. The latest flareup? None other than the suggestion that Linux be split in two. “I’d argue that to some degree it has already happened,” began Google+ blogger Kevin O’Brien. “RHEL is very big in data centers, but who runs it as a desktop?”

Read more at LinuxInsider

How to Use Git

Git is a version control system (VCS) — a tool to help you keep track of changes. This is great for identifying What Went Wrongâ„¢ and figuring out how to fix it.

Git works equally well for teams and individuals. Open source people love it because it is very effective when you have herds of cats making lots of changes to the same stuff. (Also because it was created by Linus Torvalds, who created Linux.) It helps to think of Git as a tracking system that stores every revision of a document.

Read more at PuppetLabs blog.

Intel’s Edison Brings Yocto Linux to Wearables

Intel Edison is almost the size of a stamp

The smartwatch market is hardly a surefire bet, despite hopes that the Apple Watch will spur the market. However, the larger market for wearables, which includes smartwatches, eyewear, and smart clothing and accessories seem destined for greatness.

Linux-based platforms for wearables include Android Wear, Samsung’s Tizen SDK for Wearables, and now Intel’s Edison computing module, built on Yocto-based Linux and the Intel Atom processor. The Edison was released last week in conjunction with the Intel Developer Forum. Prior to the formal launch, some 70 Intel Edison beta units have been seeded, forming the basis for about 40 Edison-based projects, says Intel.

In the Intel view, the smartwatch is only the highest profile member of a booming ecosystem of wearables and other Internet of Things devices that can run on the common, Arduino-compatible Edison platform. Intel is definitely interested in watches, however. Earlier this year, the chipmaker acquired a watch company called Basic, and at IDF, former Apple exec Mike Bell, now VP of Intel’s New Devices Group, teased a new Basic Peak model due to ship by year’s end that appears to run on the Edison. Intel is also collaborating with watchmaker Fossil on another project, and with Barney’s and Opening Ceremony on a luxury Mica fitness watch.

At IDF, many more Edison-based projects were demonstrated. Chris Anderson, CEO of 3D Robotics, showed an Edison-based quad-copter drone, and Meridian Audio announced wireless speaker endpoints. There was also a Trossen Robotics robot, a Braille printer, and a fitness shirt. Intel even showed a Connected Wheelchair Project announced with physicist Stephen Hawking.

Atom and Quark share space on Tangiers SoC

The $50 Edison module has changed from the original plan. Back in April, Intel announced that instead of using a new dual-core version of its Pentium-compatible, low-power Quark, it would first ship a dual-core Atom version, and would follow up later with a Quark model. As it turns out, both the Atom and Quark are integrated on the same Atom Z34xx (“Merrifield”) based system-on-chip called the Tangiers.

The Tangiers SoC clocks down its Atom cores to a 500MHz, and strips out the some advanced smartphone focused features. In the first generation, the Quark will be inactive, but when it is eventually switched on, it will be clocked down to 100MHz and act primarily like a microcontroller companion chip. The Quark will not run Linux, as it does on Intel’s Galileo hacker boards, but rather a new “ViperOS” real-time operating system derived from the VxWorks RTOS platform provided by Intel subsidiary Wind River.

Like Wind River Linux, the stack running on the Atom part of the Tangiers is based on Yocto-based Linux 1.6. Among other development tools, Intel is launching an Analytics for Wearables (A-Wear) developer program with Cloudera to offer Hadoop-based cloud services to Edison projects.

Two maker-focused development boards are provided for the board: a simple Edison Breakout Board and a more extensive Arduino-enabled version. SparkFun, which resells the boards along with Mouser and Maker Shed, offers over a dozen of its own SparkFun Blocks add-ons, which can stack on the module to add displays, batteries, industrial interfaces, and motor control.

It remains to be seen whether the Edison is picked up by big-name consumer electronics companies, which have largely adopted Android Wear or are selling “dumber” smartwatches without formal OSes. Yet, with the open source Yocto Project community behind it, we should see plenty of innovation in wearables and other IoT devices from smaller companies.

https://www.youtube.com/watch?v=GY8kaaFzbTE” frameborder=”0

Samsung Open Source Group’s Linux Kernel Updates and More from LinuxCon

LCNA 2014 kernel panel

Editor’s Note: This is a guest blog contributed by the Samsung Open Source Group.

This year’s LinuxCon & Kernel Summit North America were notable for several reasons, not the least of which included being able to see the scenic views of downtown Chicago through the hotel lobby windows!

Below, the Samsung Open Source Group will share our top highlights of the conferences, as well as look forward to what we can expect from LinuxCon Europe next month in Germany.

Linux Kernel Topics (of course)

There were a lot of kernel topics discussed (to be expected). One that came to the forefront in both the kernel summit as well as the LinuxCon Kernel Panel discussion was the kselftest effort that Shuah Khan, Senior Kernel Developer with Samsung’s Open Source Group, has put forth and is now leading as the maintainer.

Samsung LCNA 2014 booth

The goal of the kselftest effort is to improve initial Kernel bring-up testing. To do this, the community believes tests need to run quickly, to serve as a basic sanity check, instead of a full-scale stress test.

Media was also a big kernel topic, including a presentation by Mauro Chehab, multimedia maintainer and kernel developer from Samsung’s Open Source Group. He talked about the Kernel and userspace challenges related to build Linux support for wordwide digital TV support, showing the differences between the several standards.

The Kernel tinification project also generated a lot of discussion. The goal is to reduce the Kernel footprint, in order to allow it to run on really small devices. One of the issues was a question of what was actually driving this, because there is no clear hardware actually demanding it (yet).

Morten Rasmussen from ARM presented a report from the Energy-Aware Scheduling session and highlighted next steps. This work has been in progress for two years and is addressing concerns from the Linux kernel community. At the 2013 kernel summit, the need for a set of metrics and benchmarks to evaluate the energy-aware scheduler was identified. This year, two tools developed by Linaro are used to measure and evaluate the scheduler work. These tools are a good start and community feedback will determine how useful they are.

Certification

The Linux Foundation introduced certification for System Administrators and Engineers. The certification tests are available online for anyone to take anywhere, and are designed to evaluate the ability to solve real problems as opposed to testing an individual’s theoretical knowledge of the subject matter. Beware, there are no multiple choice questions on these to allow for guess work. Staying true to the Linux ecosystem’s choice and flexibility, these certifications provide choice of CentOS, openSUSE, or Ubuntu. This new certification program will enable employers to assess Linux talent when hiring or promoting their own engineers.

Gaming & Graphics

A talk by Keith Packard detailed the ways in which Valve had managed to utilize the Xorg display server for commercialization on their SteamOS gaming platform. The points that he showed proved that there are still companies interested in both leveraging and giving back to FOSS, and that gaming on Linux has never been in a better state than it is today as a direct result of the existing software stack.

A presentation co-delivered by Lars Bergstrom from Mozilla and Mike Blumenkrantz from Samsung’s Open Source Group described the Servo parallel browser engine and its underlying programming language, Rust. The engine has been developed from scratch over the past several years with a focus on memory usage and adherence to existing web specifications. It’s even more unique due to the project’s decision to reuse an existing and much-used API for Guy-Martin-OSS-panelapplication embedding instead of attempting to create a new one.

Open Source Ethos

Even in a highly technical conference environment, sessions on how to utilize the Open Source Way, ethos and development processes attracted a good audience. Guy Martin, Senior Strategist from the Samsung Open Source Group moderated a successful & well-attended panel with open source community luminaries Jono Bacon, Karl Fogel, Leslie Hawthorn and Karsten Wade. The panel (Empowering Corporate Open Source Developers) proved entertaining for the variety of opinions presented, and had a large amount of audience participation as well.

Guy also presented a shortened version of his ‘Developing OSS Leadership’ training course, which he also gave at LinuxCon Japan. This was in the last time slot of the conference, and though he expected to be talking to himself and a few diehard Samsung team members, the talk was well attended, with an engaged audience that asked good questions and kept him after his presentation for almost 30 minutes to ask more detailed questions.

The Networking (Human, not Computer)

As always, some of the most useful interactions happened as part of the ‘Hallway Track’ – colleagues and friends finding a quiet corner to catch up, discuss the latest things they were working on, or just hang out.

Also, the event at the Museum of Science & Industry was a great time for everyone who attended. The exhibits were fun and educational, the food was delicious, and the indoor quadcopter flying around didn’t result in any injuries or damages. 🙂

Looking Forward to Germany…

There are already some great sessions lined up for LinuxCon Europe in Germany, and the Samsung Open Source Group is excited to be a part of this, with Mike Blumenkrantz and Guy Martin reprising their sessions at this edition of the event.

Additionally, Dr. Ibrahim Haddad, Head of the Samsung Open Source Group, is planning an entertaining talk on open source compliance (yes, it can be entertaining!) and the Enlightenment for Linux (EFL) team will be well represented with numerous technical presentations, as well as their developer day co-located with the event.
Of course, it’s Germany, so we hope our friends at the Linux Foundation are planning a special beer-themed social event… 🙂

Bodhi Linux Lead Steps Down

I am sure anyone who has been following the Bodhi project has taken note that the 3.0.0 release timeline has not happened as expected. Due to a variety of reasons I would like to announce today that I will no longer be actively developing Bodhi Linux.

Bodhi has been a labor of love for me that was started nearly four years ago. In that time all of the other original team members fell away. In fact I have worked with dozens of different people over the course of the last few years. I have made friends and learned more than I could have ever imagined.

Read more at Jeff Hoogland’s Blog.

Torvalds Says He Has No Strong Opinions on Systemd

Linux creator Linus Torvalds is well-known for his strong opinions on many technical things. But when it comes to systemd, the init system that has caused a fair degree of angst in the Linux world, Torvalds is neutral.

“When it comes to systemd, you may expect me to have lots of colourful opinions, and I just don’t,” Torvalds told iTWire in an interview. “I don’t personally mind systemd, and in fact my main desktop and laptop both run it.

Read more at IT Wire.

The True Measure of a Successful Open Source Project

Linus Torvalds meets Zachary DupontA question I get a lot is, “What makes an open source software project successful?” This isn’t a simple question, as every project is really different. But certainly there are some common characteristics: a vibrant and open community and ecosystem of contributors, an innovative goal or technology and investments from a diverse set of stakeholders are just a few.

Business benchmarks and market share help measure the success of a project over time. A blockbuster like Linux can tout nine code changes per hour, $10.8 billion in shared R&D investment and millions of developers. It runs 65 percent of smart mobile devices, 95 percent of high performance computing market, 55 percent of the embedded systems market, and most of world’s stock exchanges.

But there is another measure of success that is extremely powerful: inspiring someone to think, to question, to imagine. When we do this we help build a new generation of inquisitive, smart technologists who will surprise us with their innovation and invention in the years to come. The next great technological innovation won’t be built by a single company but seeded by an inspired, passionate individual. People, not companies, make the difference.

I met a young man a few weeks ago that embodies this ideal. Seventh-grader Zachary DuPont joined us at LinuxCon in Chicago after writing a letter to his hero, Linux creator Linus Torvalds, that arrived in the Linux Foundation mailbox. The letter (handwritten, not by email) was part of a school project and the assignment was to reach out to someone who inspired you. When we received the letter we invited Zach to meet his hero in Chicago, which he did on opening morning of the event. That night when I was talking to Zach and his parents he told me that day was the “best day of my life.”

This is the sign of a truly successful project. Inspiring people and engaging them so they can build with us. We’re excited to follow Zach as he gets to know the community and determines how he will make a difference, too.

At LinuxCon we welcomed famous people like the CEO of Local Motors and the founders of Docker and the Open Prosthetics Project, among others, but the highlight of our event was welcoming Zach. You can meet him and hear his story in this short video:

https://www.youtube.com/watch?v=_dmDKS_MKAw?rel=0″ allowfullscreen=”true” frameborder=”0″ width=”425″ height=”350

 

Kernel Prepatch 3.17-rc5

The fifth 3.17 prepatch is out. “So I should probably have delayed this until Wednesday for sentimental reasons: that will be 23 years since I uploaded the 0.01 source tree. But I’m not an overly sentimental person, so screw that. I’m doing my normal Sunday release.” Linus noted that this is a relatively large set of changes, so any thoughts of doing an early 3.17 release (to avoid conflicts between the merge window and his travel plans) have to be put aside.

Read more at LWN

HP-Eucalyptus: Buying an Edge in a Busy, Complex Market

In its move to acquire the AWS-compatible cloud stack provider, HP wants to present itself as being the “most compatible” of systems suppliers.