Language Selection

English French German Italian Portuguese Spanish

LXer

Syndicate content
Linux and Open Source news headlines
Updated: 2 hours 26 min ago

First i.MX8M Mini SBC has PCIe and optional PoE

Tuesday 12th of February 2019 02:38:31 PM
Boundary Devices is prepping a “Nitrogen8M-Mini” SBC that runs Linux on an up to 2GHz, quad -A53 i.MX8M Mini, and offers 2GB RAM, up to 128GB eMMC, PCIe, MIPI CSI/DSI, GbE, and optional WiFi/BT and PoE. The Nitrogen8M-Mini is the first SBC we’ve seen that[he]#8217[/he]s based on NXP[he]#8217[/he]s new i.MX8M Mini SoC, and the second [[he]#8230[/he]]

Container Bug Allows Attackers to Gain Root Access on Host Machine

Tuesday 12th of February 2019 12:09:51 PM
The container bug, difficult to exploit because it requires a malicious container to be installed on the system, affects nearly everyone using containers.

Episode 15: Learning Python

Tuesday 12th of February 2019 10:55:30 AM
Katherine Druckman and Doc Searls talk to Linux Journal Senior Columnist, Reuven Lerner, about learning new languages such as Python.

Gain Valuable Kubernetes Skills and Certification with Linux Foundation Training

Tuesday 12th of February 2019 09:41:10 AM
The demand for Kubernetes skills is so high that companies of all sizes are reporting skills gaps and citing difficulty finding people who have the required Kubernetes and containerization skills. That spells opportunity for those who gain Kubernetes expertise, and the good news is that you have several approachable and inexpensive options for getting trained as well as certified.

antiX MX 18.1 Distro Released with Latest Debian GNU/Linux 9.7 "Stretch" Updates

Tuesday 12th of February 2019 08:26:50 AM
A new version of the Debian-based antiX MX operating system has been released based on the latest Debian Stable repositories and packed with recent updates and urgent security and bug fixes.

Doomsday Docker security hole uncovered

Tuesday 12th of February 2019 07:12:30 AM
A security vulnerability has been disclosed for a flaw in runc, Docker and Kubernetes[he]#039[/he] container runtime, which can be used to attack any host system running containers.

How to explain Kubernetes Operators in plain English

Tuesday 12th of February 2019 05:58:10 AM
What are Kubernetes Operators, and why are they so valuable to organizations working with containers?

Researchers Warn of Malicious Container Escape Vulnerability

Tuesday 12th of February 2019 04:43:49 AM
A new vulnerability in the core runc container code could potentially enable a malicious container to get access to the host operating system. Major vendors and cloud providers are already pushing out patches, but there are other things users can do to limit risk.

How to Add/Remove PPA Repositories in Ubuntu

Tuesday 12th of February 2019 03:29:29 AM
In this article, we will show you how to use the Ubuntu command line and the graphical user interface in order to add, list and remove PPA Repositories.

How To Secure Istio Service Mesh Deployments

Tuesday 12th of February 2019 02:15:09 AM
The open-source Istio service mesh technology provides many security options, though a number of critical controls are not turned on by default.

Programming languages to learn now, network monitoring tools, backup solutions, and more must-reads

Tuesday 12th of February 2019 01:00:48 AM
Unsurprisingly readers had great interest in—and strong opinions on—which programming languages you should learn, which brought in almost 15,000 page views to Marty Kalin's article recent article.read more

How to Install Matomo Web Analytics on Fedora 29

Monday 11th of February 2019 11:46:28 PM
Matomo (formerly Piwik) is a free and open source web analytics application developed by a team of international developers, that runs on a PHP/MySQL web server. It tracks online visits to one or more websites and displays reports on these visits for analysis.

How does rootless Podman work?

Monday 11th of February 2019 10:32:08 PM
In my previous article on user namespace and Podman, I discussed how you can use Podman commands to launch different containers with different user namespaces giving you better separation between containers. Podman also takes advantage of user namespaces to be able to run in rootless mode. Basically, when a non-privileged user runs Podman, the tool sets up and joins a user namespace.read more

Easier Python paths with pathlib

Monday 11th of February 2019 09:17:48 PM
A look at the benefits of using pathlib, the "object-oriented way of dealing withpaths".

Easiest guide to migrate SVN to GIT: Convert all SVN repositories

Monday 11th of February 2019 08:03:28 PM
Almost all developers around the world use a version controlling software for managing & sharing their codes. SVN has always been a good choice but now Git is in demand & people are shifting their focus more and more towards Git as their choice of version controlling system.But what about the old SVN repositories, well we can also migrate old SVN repositories to Git by using a nice little open source application called ‘svn2git’.

What's the right amount of swap space for a modern Linux system?

Monday 11th of February 2019 06:09:06 PM
Swap space is one of those things that everyone seems to have an idea about, and I am no exception. All my sysadmin friends have their opinions, and most distributions make recommendations too.Many years ago, the rule of thumb for the amount of swap space that should be allocated was 2X the amount of RAM installed in the computer. Of course that was when a typical computer's RAM was measured in KB or MB. So if a computer had 64KB of RAM, a swap partition of 128KB would be an optimum size.read more

How To Remove/Delete The Empty Lines In A File In Linux

Monday 11th of February 2019 04:14:44 PM
2DayGeek: This tutorial allow an users to remove the empty lines in a file.

21 Excellent KDE Plasma Widgets

Monday 11th of February 2019 02:20:22 PM
KDE Plasma widgets (also known as plasmoids) are a smart way of customizing the desktop. There’s an abundance of widgets available that act like building blocks, constructing a desktop that’s perfect for your needs and requirements. I’ve tried the vast majority of KDE Plasma widgets. In this article, I recommend 21 of them. There should be something for everyone. And there’s a few fun widgets along the way!

Introducing kids to computational thinking with Python

Monday 11th of February 2019 12:53:35 PM
When the Parkman Branch of the Detroit Public Library was flooded with bored children taking up all the computers during summer break, the library saw it not as a problem, rather an opportunity.read more

More in Tux Machines

Games: Surviving Mars and OpenMW

Kernel and Security: BPF, Mesa, Embedded World, Kernel Address Sanitizer and More

  • Concurrency management in BPF
    In the beginning, programs run on the in-kernel BPF virtual machine had no persistent internal state and no data that was shared with any other part of the system. The arrival of eBPF and, in particular, its maps functionality, has changed that situation, though, since a map can be shared between two or more BPF programs as well as with processes running in user space. That sharing naturally leads to concurrency problems, so the BPF developers have found themselves needing to add primitives to manage concurrency (the "exchange and add" or XADD instruction, for example). The next step is the addition of a spinlock mechanism to protect data structures, which has also led to some wider discussions on what the BPF memory model should look like. A BPF map can be thought of as a sort of array or hash-table data structure. The actual data stored in a map can be of an arbitrary type, including structures. If a complex structure is read from a map while it is being modified, the result may be internally inconsistent, with surprising (and probably unwelcome) results. In an attempt to prevent such problems, Alexei Starovoitov introduced BPF spinlocks in mid-January; after a number of quick review cycles, version 7 of the patch set was applied on February 1. If all goes well, this feature will be included in the 5.1 kernel.
  • Intel Ready To Add Their Experimental "Iris" Gallium3D Driver To Mesa
    For just over the past year Intel open-source driver developers have been developing a new Gallium3D-based OpenGL driver for Linux systems as the eventual replacement to their long-standing "i965 classic" Mesa driver. The Intel developers are now confident enough in the state of this new driver dubbed Iris that they are looking to merge the driver into mainline Mesa proper.  The Iris Gallium3D driver has now matured enough that Kenneth Graunke, the Intel OTC developer who originally started Iris in late 2017, is looking to merge the driver into the mainline code-base of Mesa. The driver isn't yet complete but it's already in good enough shape that he's looking for it to be merged albeit marked experimental.
  • Hallo Nürnberg!
    Collabora is headed to Nuremberg, Germany next week to take part in the 2019 edition of Embedded World, "the leading international fair for embedded systems". Following a successful first attendance in 2018, we are very much looking forward to our second visit! If you are planning on attending, please come say hello in Hall 4, booth 4-280! This year, we will be showcasing a state-of-the-art infrastructure for end-to-end, embedded software production. From the birth of a software platform, to reproducible continuous builds, to automated testing on hardware, get a firsthand look at our platform building expertise and see how we use continuous integration to increase productivity and quality control in embedded Linux.
  • KASAN Spots Another Kernel Vulnerability From Early Linux 2.6 Through 4.20
    The Kernel Address Sanitizer (KASAN) that detects dynamic memory errors within the Linux kernel code has just picked up another win with uncovering a use-after-free vulnerability that's been around since the early Linux 2.6 kernels. KASAN (along with the other sanitizers) have already proven quite valuable in spotting various coding mistakes hopefully before they are exploited in the real-world. The Kernel Address Sanitizer picked up another feather in its hat with being responsible for the CVE-2019-8912 discovery.
  • io_uring, SCM_RIGHTS, and reference-count cycles
    The io_uring mechanism that was described here in January has been through a number of revisions since then; those changes have generally been fixing implementation issues rather than changing the user-space API. In particular, this patch set seems to have received more than the usual amount of security-related review, which can only be a good thing. Security concerns became a bit of an obstacle for io_uring, though, when virtual filesystem (VFS) maintainer Al Viro threatened to veto the merging of the whole thing. It turns out that there were some reference-counting issues that required his unique experience to straighten out. The VFS layer is a complicated beast; it must manage the complexities of the filesystem namespace in a way that provides the highest possible performance while maintaining security and correctness. Achieving that requires making use of almost all of the locking and concurrency-management mechanisms that the kernel offers, plus a couple more implemented internally. It is fair to say that the number of kernel developers who thoroughly understand how it works is extremely small; indeed, sometimes it seems like Viro is the only one with the full picture. In keeping with time-honored kernel tradition, little of this complexity is documented, so when Viro gets a moment to write down how some of it works, it's worth paying attention. In a long "brain dump", Viro described how file reference counts are managed, how reference-count cycles can come about, and what the kernel does to break them. For those with the time to beat their brains against it for a while, Viro's explanation (along with a few corrections) is well worth reading. For the rest of us, a lighter version follows.

Blacklisting insecure filesystems in openSUSE

The Linux kernel supports a wide variety of filesystem types, many of which have not seen significant use — or maintenance — in many years. Developers in the openSUSE project have concluded that many of these filesystem types are, at this point, more useful to attackers than to openSUSE users and are proposing to blacklist many of them by default. Such changes can be controversial, but it's probably still fair to say that few people expected the massive discussion that resulted, covering everything from the number of OS/2 users to how openSUSE fits into the distribution marketplace. On January 30, Martin Wilck started the discussion with a proposal to add a blacklist preventing the automatic loading of a set of kernel modules implementing (mostly) old filesystems. These include filesystems like JFS, Minix, cramfs, AFFS, and F2FS. For most of these, the logic is that the filesystems are essentially unused and the modules implementing them have seen little maintenance in recent decades. But those modules can still be automatically loaded if a user inserts a removable drive containing one of those filesystem types. There are a number of fuzz-testing efforts underway in the kernel community, but it seems relatively unlikely that any of them are targeting, say, FreeVxFS filesystem images. So it is not unreasonable to suspect that there just might be exploitable bugs in those modules. Preventing modules for ancient, unmaintained filesystems from automatically loading may thus protect some users against flash-drive attacks. If there were to be a fight over a proposal like this, one would ordinarily expect it to be concerned with the specific list of unwelcome modules. But there was relatively little of that. One possible exception is F2FS, the presence of which raised some eyebrows since it is under active development, having received 44 changes in the 5.0 development cycle, for example. Interestingly, it turns out that openSUSE stopped shipping F2FS in September. While the filesystem is being actively developed, it seems that, with rare exceptions, nobody is actively backporting fixes, and the filesystem also lacks a mechanism to prevent an old F2FS implementation from being confused by a filesystem created by a newer version. Rather than deal with these issues, openSUSE decided to just drop the filesystem altogether. As it happens, the blacklist proposal looks likely to allow F2FS to return to the distribution since it can be blacklisted by default. Read more

gitgeist: a git-based social network proof of concept

Are you tired of not owning the data or the platform you use for social postings? I know I am. It's hard to say when I "first" used a social network. I've been on email for about 30 years and one of the early ad-hoc forms of social networks were chain emails. Over the years I was asked to join all sorts of "social" things such as IRC, ICQ, Skype, MSN Messenger, etc. and eventually things like Orkut, MySpace, Facebook, etc. I'll readily admit that I'm not the type of person that happily jumps onto every new social bandwagon that appears on the Internet. I often prefer preserving the quietness of my own thoughts. That, though, hasn't stopped me from finding some meaningfulness participating in Twitter, Facebook, LinkedIn and more recently Google+. Twitter was in fact the first social network that I truly embraced. And it would've remained my primary social network had they not killed their own community by culling the swell of independently-developed Twitter clients that existed. That and their increased control of their API effectively made me look for something else. Right around that time Google+ was being introduced and many in the open source community started participating in that, in some ways to find a fresh place where techies can aggregate away from the noise and sometimes over-the-top nature of Facebook. Eventually I took to that too and started using G+ as my primary social network. That is, until Google recently decided to pull the plug on G+. While Google+ might not have represented a success for Google, it had become a good place for sharing information among the technically-inclined. As such, I found it quite useful for learning and hearing about new things in my field. Soon-to-be-former users of G+ have gone in all sorts of directions. Some have adopted a "c'mon guys, get over it, Facebook is the spot" attitude, others have adopted things like Mastodon, others have fallen back to their existing IDs on Twitter, and yet others, like me, are still looking. Read more