Language Selection

English French German Italian Portuguese Spanish

IBM/Red Hat/Fedora Leftovers

Filed under
Red Hat
  • Sustainable economic development begins with open thinking

    To be successful, open organizations must have specific purposes, address achievable goals, perform clear tasks, effectively evaluate the results of their work, and introduce countermeasures or revisions to their operations. Open organization principles serve vital functions throughout this process.

  • Solving the mystery of hanging character set conversions in glibc’s iconv utility

    Website visitors don’t typically consider character encoding and conversion when accessing digital content. However, engineers have been dealing with conversion issues since users started transferring strings from one computer to another. Today, when more than 95 percent of all web pages use UTF-8, converting data between character sets might seem less relevant. However, it continues to be useful when dealing with legacy data and systems, or with languages where multiple character sets are comparably popular.

    For example, using EUC-KR is not unusual on Korean websites because it is more efficient for Korean text. A search engine that indexes Korean sites needs to be able to convert between EUC-KR and UTF-8 to perform the relevant string comparisons.

    The iconv programming interface provided by POSIX, implemented by its namesake utility program, converts textual data from one character encoding to another. As an engineer on the Red Hat Platform Tools team, I was tasked with finding and fixing bugs reported in the GNU C Library (glibc) iconv utility. In this article, I discuss my experiences with fuzzing iconv and fixing bugs in the iconv front end.

  • Integrate Red Hat Data Grid and Red Hat’s single sign-on technology on Red Hat OpenShift

    Using Red Hat Data Grid as an external cache for Red Hat’s single sign-on technology makes it possible for Data Grid to store data independent of the application layer. This way, Data Grid provides application elasticity, failover across data centers, and a reduced memory footprint.

    The most common use case for this combination is cross-datacenter replication mode, where Red Hat’s single sign-on (SSO) technology uses Data Grid to replicate data between data centers.

    To back up data across sites in an xPaaS environment such as Red Hat OpenShift, the recommended approach is to deploy Data Grid using the Data Grid Operator.

    This article offers quick instructions for getting Red Hat Data Grid 8.1.1 working with Red Hat’s single sign-on technology version 7.4.5. The article does not use a full cross-datacenter setup; just a Data Grid server and an SSO client running on OpenShift. We will use the Hot Rod protocol for communication, with both authentication and Secure Sockets Layer (SSL) enabled.

  • Valgrind Memcheck: Different ways to lose your memory

    Memcheck tracks all memory reads, writes, allocations, and deallocations in a C or C++ program. The tool can detect many different memory errors. For instance, it detects reads or writes before or after allocated memory blocks. It warns about the use of (partially) undefined values in conditional code or passing such values to system calls. It will also notify you about bad or double deallocation of memory blocks. But for now, we will discuss memory leak detection with Memcheck.

  • Home automation: Running Home Assistant with Podman

    Smart devices surround us and the long list of devices that come ready to connect to the Internet of Things (IoT) is growing longer every day. For example, the popularity of smart light bulbs has risen rapidly over the past few years, and the market is continuing to grow, so much so that it is predicted to be "the fastest-growing smart home device over the next five years." While a few big names in the field dominate the market, there are many smaller competitors joining the fray and offering up cheaper alternatives with even more features. This is great for competition, but it raises one serious concern and a situation that many sysadmins are all too familiar with—an integration nightmare.

    The problem is that each manufacturer tends to provide its own in-built and closed source solution to controlling their devices—usually in the form of a mobile app. But what happens when you decide to buy a new device from a different manufacturer than the one you have already integrated into your home automation? Chances are you'll end up having to use multiple apps to control the devices, and let’s not begin talking about how to get them working together in some kind of automated fashion. There are cloud services available to help work around this issue, providing a means for creating applications and automation for controlling devices from various manufacturers. Such services offer a great platform for kickstarting your journey into smart device automation, but these services tend to operate with a paid subscription or on very limited "freemium" models, and you'll find yourself becoming ever more reliant on this cloud-based service.

  • Fedora Magazine: Contribute at the Fedora 34 CoreOS Test Day

    The Fedora CoreOS team released the first Fedora CoreOS next stream based on Fedora 34. They expect to promote this to the testing stream in two weeks, on the usual schedule. As a result, the Fedora CoreOS and QA teams have organized a test week. It begins Monday, April 26, 2021 and runs through the end of the week. Refer to the wiki page for links to the test cases and materials you’ll need to participate. Read below for details.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.