Language Selection

English French German Italian Portuguese Spanish

Gentoo

Console-bound systemd services, the right way

Filed under
Gentoo

Let’s say that you need to run on your system some sort server software which instead of daemonising, has a command console permanently attached to standard input. Let us also say that said console is the only way for the administrator to interact with the service, including requesting its orderly shutdown – whoever has written it has not implemented any sort of signal handling so sending SIGTERM to the service process causes it to simply drop dead, potentially losing data in the process. And finally, let us say that the server in question is proprietary software so it isn’t really possible for you to fix any of the above in the source code (yes, I am talking about a specific piece of software – which by the way is very much alive and kicking as of late 2020). What do you do?

According to the collective wisdom of World Wide Web, the answer to this question is “use a terminal multiplexer like tmux or screen“, or at the very least a stripped-down variant of same such as dtach. OK, that sort of works – what if you want to run it as a proper system-managed service under e.g. OpenRC? The answer of the Stack Exchange crowd: have your init script invoke the terminal multiplexer. Oooooookay, how about under systemd, which actually prefers services it manages not to daemonise by itself? Nope, still “use a terminal multiplexer”.

Read more

Distribution kernel for Gentoo

Filed under
Linux
Gentoo

The Gentoo Distribution Kernel project is excited to announce that our new Linux Kernel packages are ready for a wide audience!

The project aims to create a better Linux Kernel maintenance experience by providing both ebuilds that can be used to configure, compile, and install kernel entirely through the package manager as well as prebuilt binary kernels.

Read more

Portage 3.0 stabilized

Filed under
Gentoo

We have good news! Gentoo’s Portage project has recently stabilized version 3.0 of the package manager.

What’s new? Well, this third version of Portage removes support for Python 2.7, which has been an ongoing effort across the main Gentoo repository by Gentoo’s Python project during the 2020 year (see this blog post).

In addition, due to a user provided patch, updating to the latest version of Portage can vastly speed up dependency calculations by around 50-60%. We love to see our community engaging in our software! For more details, see this Reddit post from the community member who provided the patch. Stay healthy and keep cooking with Gentoo!

Read more

Also: Gentoo's Portage 3.0 Stabilized With Much Faster Dependency Calculations

Portage 3.0 stabilized

Filed under
Gentoo

We have good news! Gentoo’s Portage project has recently stabilized version 3.0 of the package manager.

What’s new? Well, this third version of Portage removes support for Python 2.7, which has been an ongoing effort across the main Gentoo repository by Gentoo’s Python project during the 2020 year (see this blog post).

Read more

Is an umbrella organization a good choice for Gentoo?

Filed under
Gentoo

The talk of joining an umbrella organization and disbanding the Gentoo Foundation (GF) has been recurring over the last years. To the best of my knowledge, even some unofficial talks have been had earlier. However, so far our major obstacle for joining one was the bad standing of the Gentoo Foundation with the IRS. Now that that is hopefully out of the way, we can start actively working towards it.

But why would we want to join an umbrella in the first place? Isn’t having our own dedicated Foundation better? I believe that an umbrella is better for three reasons:

1. Long-term sustainability. A dedicated professional entity that supports multiple projects has better chances than a small body run by volunteers from the developer community.
2. Cost efficiency. Less money spent on organizational support, more money for what really matters to Gentoo.
3. Added value. Umbrellas can offer us services and status that we currently haven’t been able to achieve.

I’ll expand on all three points.

Read more

Gentoo-Based PBXware 6.1 Turnkey Telephony Platform Released with New Features

Filed under
Gentoo

Based on Gentoo Linux, PBXware is a turnkey distribution that aims to provide small and medium-sized businesses, enterprises, contact centers and ITSPs (Internet Telephony Service Providers) with flexible, reliable, and scalable communication systems and VoIP solutions based on Open Source technologies and software.

PBXware 6.1 is a major update that introduces several new features, such as Directory Sync Management (DSM), which enable validation of users via an LDAP server. This also makes it faster for users to sync Extensions, as well as to allow them to select custom settings for Extensions and apply different changes.

Read more

Gentoo on Android 64bit Release

Filed under
Android
Gentoo

Gentoo Project Android is pleased to announce a new 64bit release of the stage3 Android prefix tarball. This is a major release after 2.5 years of development, featuring gcc-10.1.0, binutils-2.34 and glibc-2.31.

Read more

Also: Gentoo On Android 64-Bit Sees New Release After 2+ Years

The 10 Best Gentoo Linux Derivatives To Explore in 2020

Filed under
Linux
Gentoo

Gentoo Linux derivatives can be the ideal choice for the professional Linux users who don’t want to compromise about the system stability and performance. Some of you might know nothing about Gentoo Linux. Unlike other Linux distributions like Ubuntu, Kali, etc., Gentoo is quite unfamiliar...

Only the veteran Linux users know about this. And, the people who know about its potential hardly go back to any other distributions. The exclusivity of the Gentoo Linux is that you need to build the whole flashable image from the source code. That sometimes may require a few days based on your machine’s strength.

Read more

Gentoo: 200th Gentoo Council Meets and TheMightyBuzzard Adopts Gentoo

Filed under
Gentoo
  • 200th Gentoo Council meeting

    Way back in 2005, the reorganization of Gentoo led to the formation of the Gentoo Council, a steering body elected annually by the Gentoo developers. Forward 15 years, and today we had our 200th meeting! (No earth shaking decisions were taken today though.) The logs and summaries of all meetings can be read online on the archive page.

  • Site Potpourri for Mother's Day [Updated]

    Servers, Part 1. Behind the scenes, TheMightyBuzzard spent the weekend setting up a new server, aluminum. We are gradually moving to a Gentoo Linux base for our servers. Rather than pre-compiled binaries that get downloaded and run locally, Gentoo provides source code for download that one compiles and builds locally. At the moment we have three Gentoo-based servers (lithium, magnesium, and aluminum), one server on CentOS (beryllium), and the rest are on Ubuntu. By moving to Gentoo Linux, we get a streamlined server with a smaller attack surface as only the things we need are built into the kernel. That lone CentOS server? It has been with us from the start and has been no end of a hassle. Several services "live" on it and these need to be migrated before we can retire it. The first stage of that process is underway as Deucalion has been working on bringing up IRC on aluminum. In turn, other services will be brought over. Then we can (finally!) retire beryllium for good! Next on the list are sodium and boron (aiming to have completed by June.) Along with that, there have been new (security and otherwise) releases of other services that site depends on. We intend to get those upgraded as we move to an entirely Gentoo platform. Please join me in wishing them well on the migrations and upgrades!

Reviving Gentoo Bugday

Filed under
Gentoo

Reviving an old tradition, the next Gentoo Bugday will take place on Saturday 2020-06-06. Let’s contribute to Gentoo and fix bugs!

Read more

Syndicate content

More in Tux Machines

How can I Identify who SSH into my Linux System?

Identifying who has logged into your system in Linux is way easier than the Windows Operating System. In Linux System whenever someone tries to log in using SSH is recorded by the log file, the log file is located in /var/log/auth.log. location can be different in other distribution. If you not found the auth.log file in your system try to execute the below command to view the log from systemctl. journalctl -u sshd |tail -100
  • -u (Show the user journal for the current)
  • sshd (SSH user created by system by default)
  • tail -100 (Print top 100 result from log file)
journalctl of sshd
User logged in using SSH
Read more

Security Leftovers

  • Sophos tight-lipped about data breach, no lessons learnt from WannaCry bungle

    It's surprising that global cyber security firm Sophos has hidden from public view the fact that it has suffered a security breach which is said to have taken place during the week.

  •                
  • Manchester United being held to RANSOM by cyberhackers who STILL have control over their computers [iophk: Windows TCO]
                     
                       

    The embarrassing lapse of security at one of the world’s biggest sports clubs is believed to be far more serious than first feared.

                       

    United’s network has been infected by ransomware – a computer virus - and they now face the option of having to pay up or risk seeing highly sensitive information about the club and its stars leaked into the public domain.

                       

    It’s unclear who the criminals are or how much they want, but the NCSC revealed that in the last year an EFL club were hit with a £5m demand and the biggest single loss to a sports organisation from cyber crime was £4m.

    United could also face fines of £9m, £18m or two per cent of their total annual worldwide turnover from the independent government body Information Commissioner’s Office if the attack is found to have breached their fans’ data protection – although the club last night reassured supporters that is not the case.

  •                
  • The emerging cybersecurity headaches awaiting Biden
                     
                       

    The incoming administration will face a slew of cybersecurity-related challenges, as Joe Biden takes office under a very different environment than existed when he was last in the White House as vice president.

                       

    The big picture: President-elect Biden's top cybersecurity and national security advisers will have to wrestle with the ascendancy of new adversaries and cyberpowers, as well as figure out whether to continue the more aggressive stance the Trump administration has taken in cyberspace.

                       

    Here are details on some key challenges confronting Biden: [...]

  • Someone attacked our company

    At the start of November, someone decided that they would try to destroy our company. They subjected us to multiple, malicious, targeted DDoS (Distributed Denial-of-Service) attacks over two weeks. They intended to damage the integrity of our customers’ data and take our service offline. This attack wasn’t random and it wasn’t just your typical spam. This attack was targeted at Fathom and was intended to put us out of business.

today's howtos

  • Mullvad and TailScale coexisting (or “Hello Nftables!”)

    The fix was simple eventually – add two rules to the rules created by Mullvad, allowing access to & from the tailscale interface. However, since I took a look at Nftables, and I am sure I’ll forget it in a few days, I wanted to jot down the commands here for future reference.

  • The Origin of the Shell
    CTSS was developed during 1963 and 64. I was at MIT on the computer center staff at that time. After having written dozens of commands for CTSS, I reached the stage where I felt that commands should be usable as building blocks for writing more commands, just like subroutine libraries. Hence, I wrote "RUNCOM", a sort of shell driving the execution of command scripts, with argument substitution. The tool became instantly most popular, as it became possible to go home in the evening while leaving behind long runcoms executing overnight. It was quite neat for boring and repetitive tasks such as renaming, moving, updating, compiling, etc. whole directories of files for system and application maintenance and monitoring.
  • Self-modifying code in production

    YouTube famously uses a rolling cipher and effective downloader tools need to be able to decipher it to produce useful links to video files. The cipher changes every few days so downloader tools avoid the need for daily manual updates by automatically downloading the JavaScript implementation of the cipher from YouTube and caching the result.

    I use three downloader tools that have some automated mechanism for dealing with cipher updates.

  • The better way to make an Ubuntu 20.04 ISO that will boot on UEFI systems

    First, I've learned that you don't want to extract ISO images with 7z, however tempting and easy it seems. 7z has at least two issues with ISO images; it will quietly add the El Torito boot images to the extracted tree, in a new subdirectory called '[BOOT]', and it doesn't extract symlinks (and probably not other Rock Ridge attributes). The Ubuntu 20.04.1 amd64 live server image has some symlinks, although their presence isn't essential.

    The two reliable ways I know of to extract the 20.04.1 ISO image are with bsdtar (part of the libarchive-tools package in Ubuntu) and with xorriso itself. Bsdtar is easier to use but you probably don't have it installed, while you need xorriso anyway and might as well use it for this once you know how. So to unpack the ISO into our scratch tree, you want: [...]

  • How to Add Local User to Sudo Group in Debian Linux

    In Linux/Unix systems, sudo is a program that grants a regular user elevated privileges to execute administrator-level tasks. Once a regular user is added to the sudo group, they are able to carry out tasks that a reserve for the root user. Such include installing and removing software packages, starting and stopping services, updating and upgrading the system to mention a few.

  • How to Install PHP 8 on Debian - Cloudbooklet

    How to Install PHP 8 on Debian. This guide let you learn how install the latest PHP version 8 on your Debian system or your Debian server on any VPS or any Cloud or any Dedicated hosting and configure it with Apache and Nginx. The latest PHP 8 version is officially released on November 26th, 2020. It comes with a number of new features and a few incompatibilities that you should be aware of before upgrading from the previous version. This installation is tested on Google Cloud Platform with a Compute Compute Engine VM Instance. So this set up is guaranteed to work on all Linux based servers.

  • Configuring Dwm's Panel Is Easy With Dwmblocks - YouTube

    Dwm has a builtin panel that can be a bit tough to configure. Getting it to display the information that you want is not as simple as it should be. Thankfully, there is a program called dwmblocks that makes this a lot easier!

This week in KDE: Bugfixes and bug triaging

This week we worked very hard not only fixing bugs in our software, but also on triaging bugs in our venerable bug tracker, bugs.kde.org. Thanks to the coordinating efforts of Justin Zobel, the KDE BugSquad has been working harder than ever to separate the wheat from the chaff so developers can focus on what matters, rather than wading through a sea of obsolete reports and bugs that have been fixed ages ago. If this sounds like fun, please feel free to get involved! Read more