Keep OSNews alive by becoming a Patreon, by donating through Ko-Fi, or by buying merch!

Linux Archive

DTrace for Linux 2016

With the final major capability for BPF tracing (timed sampling) merging in Linux 4.9-rc1, the Linux kernel now has raw capabilities similar to those provided by DTrace, the advanced tracer from Solaris. As a long time DTrace user and expert, this is an exciting milestone! On Linux, you can now analyze the performance of applications and the kernel using production-safe low-overhead custom tracing, with latency histograms, frequency counts, and more.

‘Microsoft isn’t forcing Lenovo to block free operating systems’

There's a story going round that Lenovo have signed an agreement with Microsoft that prevents installing free operating systems. This is sensationalist, untrue and distracts from a genuine problem.

With that solved, let's get to the real root cause of the problems here:

The real problem here is that Intel do very little to ensure that free operating systems work well on their consumer hardware - we still have no information from Intel on how to configure systems to ensure good power management, we have no support for storage devices in "RAID" mode and we have no indication that this is going to get better in future. If Intel had provided that support, this issue would never have occurred. Rather than be angry at Lenovo, let's put pressure on Intel to provide support for their hardware.

As someone who tried to move his retina MacBook Pro to Linux only a few weeks ago - I can attest to Intel's absolutely terrible Linux drivers and power management. My retina MacBook Pro has an Intel Iris 6100 graphics chip, and the driver for it is so incredibly bad that even playing a simple video will cause the laptop to become so hot I was too scared to leave it running. Playing that same video in OS X or Windows doesn't even spin up the fans, with the laptop entirely cool. Battery life in Linux measured in a 2-3 hours, whereas on OS X or Windows I easily get 8-10 hours.

Elementary OS Loki released

Loki is the newest version of elementary OS, a design-oriented and open source Linux-based operating system for desktops and laptops. It succeeds Freya which was released in April of 2015.

ts and implemented over 20 blueprints. Altogether, these represent stability and security improvements, better internationalization, new features and options, and much more.

A great team doing great work. Elementary OS isn't exactly a good fit for the "I compile my own kernel every morning"-type Linux users, but for the more turnkey people among us, it's certainly worth a try.

Toyota throws weight behind Linux patent protection group

You probably don't think of car companies as Linux and open-source supporters. You'd be wrong. Toyota, the world's largest car manufacturer, just joined the Open Invention Network (OIN), the largest patent non-aggression community in history.

OIN was formed by IBM, Sony, Phillips, Red Hat, and Novell in 1995 to defend Linux against intellectual property attacks. OIN's plan, then and now, is to acquire Linux-related patents. It then shares them royalty-free to any organization that agrees not to assert its patents against Linux or its applications.

It's worked.

OIN now has more than 2,000 members. In the last 18 months, with the rise of open source and Linux in all technology businesses, OIN has doubled in size.

The more companies join, the better. I had no idea OIN had been growing this quickly.

Linux 4.6 released

Linux 4.6 has been released. This release adds support for USB 3.1 SuperSpeedPlus (10 Gbps), the new distributed file system OrangeFS, a more reliable out-of-memory handling, support for Intel memory protection keys, a facility to make easier and faster implementations of application layer protocols, support for 802.1AE MAC-level encryption (MACsec), support for the version V of the BATMAN protocol, a OCFS2 online inode checker, support for cgroup namespaces, and support for the pNFS SCSI layout, and many other improvements and new drivers. Here is the full list of changes.

Network namespaces in the Linux kernel

Namespaces and cgroups are two of the main kernel technologies most of the new trend on software containerization (think Docker) rides on. To put it simple, cgroups are a metering and limiting mechanism, they control how much of a system resource (CPU, memory) you can use. On the other hand, namespaces limit what you can see. Thanks to namespaces processes have their own view of the system's resources.

The Linux kernel provides 6 types of namespaces: pid, net, mnt, uts, ipc and user. For instance, a process inside a pid namespace only sees processes in the same namespace. Thanks to the mnt namespace, it's possible to attach a process to its own filesystem (like chroot). In this article I focus only in network namespaces.

If you have grasped the concept of namespaces you may have at this point an intuitive idea of what a network namespace might offer. Network namespaces provide a brand-new network stack for all the processes within the namespace. That includes network interfaces, routing tables and iptables rules.

Linux 4.5 released

Linux 4.5 has been released. This release adds a new copy_file_range() system call that allows to make copies of files without transferring data through userspace; experimental Powerplay power management for modern Radeon GPUs; scalability improvements in the Btrfs free space handling; support GCC's Undefined Behavior Sanitizer (-fsanitize=undefined); Forwarded Error Correction support in the device-mapper's verity target; support for the MADV_FREE flag in madvise(); the new cgroup unified hierarchy is considered stable; scalability improvements for SO_REUSEPORT UDP sockets; scalability improvements for epoll, and better memory accounting of sockets in the memory controller. There are also new drivers and many other small improvements.

There are also new drivers and many other small improvements. Here is the full list of changes.

Linux Mint “generally very bad when it comes to security”

Over the weekend, news broke that Linux Mint's servers were compromised, and ISO images were replaced by compromised versions with a backdoor. Everything was made public, and int responded in the only way they could: disclosure, site taken down.

Sadly, it turns out that Linux Mint has somewhat of a bad name when it comes to security.

To conclude, I do not think that the Mint developers deliver professional work. Their distribution is more a crude hack of existing Debian-based distributions. They make fundamental mistakes and put their users at risk, both in the sense of data security as well as licensing issues.

I would therefore highly discourage anyone using Linux Mint until Mint developers have changed their fundamental philosophy and resolved these issues.

Let's hope this issue raises a number of red flags for the Mint team so they can start to take steps to better the situation.

Nayu OS: introducing Chromebooks without Google

NayuOS is an ongoing project at Nexedi: We are mainly using Chromebooks for our daily development work and wanted to have more customizable, secure and privacy-compliant devices - not running any proprietary software, because we love Free Software. A few experiments later NayuOS - our free alternative to Chrome OS - was born. NayuOS is currently on a good enough way to meeting most of our needs, so we decided to spread the word and share what we have done so far.

Linux 4.4 released

Linux 4.4 has been released This release adds support for 3D support in virtual GPU driver, which allows 3D hardware-accelerated graphics in virtualization guests; loop device support for Direct I/O and Asynchronous I/O, which saves memory and increases performance; support for Open-channel SSDs, which are devices that share the responsibility of the Flash Translation Layer with the operating system; the TCP listener handling is completely lockless and allows for faster and more scalable TCP servers; journalled RAID5 in the MD layer which fixes the RAID write hole; eBPF programs can now be run by unprivileged users, and perf has added support for eBPF programs aswell; a new mlock2() syscall that allows users to request memory to be locked on page fault; and block polling support.

There are also new drivers and many other small improvements. Here is the full list of changes.

Review: Mint 17.3 may be the best Linux desktop distro yet

Linux Mint 17.3 is the final Mint 17 release and should put to rest any worries about Mint's plan to stick with Ubuntu LTS releases for its base. Mint has done what it set up to do, namely improve the Cinnamon desktop to the point that it not only matches, but in many places far exceeds the user experience found in other options like GNOME, and especially, Unity.

Indeed, it's hard to look at Mint 17.3 without comparing it to its upstream base. While Mint has been continually working hard on the desktop and cranking out release after release, Ubuntu has stagnated. If Ubuntu wants to leapfrog past some of its pain points, its developers would do well to look downstream. Mint's package management tools are simpler, more comprehensive, and easier to use than anything Ubuntu offers. Mint also manages to do all this without anything even remotely close to the resources Ubuntu enjoys.

Running a mainline kernel on a cellphone

One of the biggest freedoms associated with free software is the ability to replace a program with an updated or modified version. Even so, of the many millions of people using Linux-powered phones, few are able to run a mainline kernel on those phones, even if they have the technical skills to do the replacement. The sad fact is that no mainstream phone available runs mainline kernels. A session at the 2015 Kernel Summit, led by Rob Herring, explored this problem and what might be done to address it.

This indeed a big problem, and I'm glad it's finally being picked up.

Microsoft has built a Linux distribution – sort of

Late last week, hell had apparently frozen over with the news that Microsoft had developed a Linux distribution of its own. The work was done as part of the company's Azure cloud platform, which uses Linux-based network switches as part of its software-defined networking infrastructure.

While the software is real, Microsoft isn't characterizing it as a Linux distribution, telling us that it's an internal project. That's an important distinction, and we suspect that we're not going to see a Microsoft Linux any time soon.

Microsoft BeOS, and the world will be just.

bcachefs: a general purpose COW filesystem

For those who haven't kept up with bcache, the bcache codebase has been evolving/metastasizing into a full blown, general purpose posix filesystem - a modern COW filesystem with checksumming, compression, multiple devices, caching, and eventually snapshots and all kinds of other nifty features.

I'll admit I had to do a bit of reading to educate myself on what bcache actually is. Fascinating to see that it has evolved into a full-blown file system.

How To Install VirtualBox 5.0 In Ubuntu/Linux Mint Or Other Derivatives

Most of us know what virtual machines are but for those don't know, virtual machines are the kind of software that allow users to run other operating system within current operating system. It's the favorite for everyone to taste other operating systems without going away from main operating system. In this article I'll show you how to installPicture VM VirtualBox 5.0 in Ubuntu 15.04/14.10/Linux mint Rafaela or other derivatives. Read more

Five Best Linux Desktop Environments

As with many things Linux-related, the variety of desktop environments is both a strength and a weakness. For new users, the decision of which DE to use can be a hard one. To help, the folks at Linux and Ubuntu have compiled a list of their top five. In typical fashion, partisans for the DEs that were left out were quick to advocate for their favorites in the comments. (I post this mostly to give OSNews readers the opportunity to opine on how wrong they are).

Linux kernel 4.0 released

Feature-wise, 4.0 doesn't have all that much special. Much have been made of the new kernel patching infrastructure, but realistically, that not only wasn't the reason for the version number change, we've had much bigger changes in other versions. So this is very much a "solid code progress" release.

Despite the version number, not a big deal.

An introduction of library operating system for Linux

Our objective is to build the kernel network stack as a shared library that can be linked to by userspace programs to provide network stack personalization and testing facilities, and allow researchers to more easily simulate complex network topologies of linux routers/hosts.

Although the architecture itself can virtualize various things, the current design only focuses on the network stack. You can benefit network stack feature such as TCP, UDP, SCTP, DCCP (IPv4 and IPv6), Mobie IPv6, Multipath TCP (IPv4/IPv6, out-of-tree at the present moment), and netlink with various userspace applications (quagga, iproute2, iperf, wget, and thttpd).