Trace: » unix04.html

[hemmerling] Unix 4/12 - Unix Applications, Unix Tools and Unix Drivers

Software Components of Linux

Daemon & Init & Service Management

First Daemon & Init

dinit
Epoch
finit
launchd ( of Mac OS X 10.4 Tiger )
OpenRC ( of Gentoo Linux )
rc / rc.d & init ( of FreeBSD, OpenBSD, Gentoo... )
Sun Service Management Facility / SMF ( of OpenSolaris, illumos )
  • EN.Wikipedia "Service Management Facility", DE.Wikipedia "Service Management Facility" - “In versions of Solaris prior to Solaris 10, and in UNIX in general, services are configured in text files, with startup files in the /etc/rc.d/ directory trees, and configuration data in files such as /etc/inittab and /etc/inetd.conf. A typical system could have dozens of configuration files, and configuration could involve various methods, including editing shell scripts. With SMF, there is one consistent interface to ease administration”.
SysVinit
  • Gentoo Wiki "sysvinit" - “A collection of System V-style init programs originally written by Miquel van Smoorenburg. They include init, which is run by the kernel as process 1, and is the parent of all other processes. On Gentoo, it is a component of one of its two supported init systems, with the OpenRC service manager on top of it to implement the rc subsystem”.
  • Linux-Community "SysV-Init und die Runlevel" ( from “LinuxUser 12/2010” ).
  • UbuntuUsers Wiki "SysVinit" - “Die letzte Ubuntu-Version, die komplett SysVinit einsetzte, war 6.06 Dapper Drake. Das bis einschließlich Ubuntu 14.04 eingesetzt Upstart setzte die gleichen Befehl wie SysVinit zum Steuern von Diensten ein und SysVinit Skripte wurde von Upstart auch ausgeführt”.
  • EN.Wikipedia "init" -“SysV-style”.
systemd
Upstart
  • Expert told me about Upstart usage:
    • RedHat's latest release with Upstart was RHEL6, Fedora's latestest release with Upstart was Fedora14.
  • UbuntuUsers Wiki "Upstart" - “Upstart war ein Ubuntu-Projekt, welches den Systemstart von Ubuntu bzw. allgemein Linux beschleunigt. Es war geplant, dass Upstart mittel- bis langfristig auch noch weitere Aufgaben bei Linux-Systemen übernehmen sollte. Nach hitzigen Debatten bei Debian und einer Entscheidung für die Alternative systemd gab Mark Shuttleworth Anfang 2014 bekannt, dass auch Ubuntu ab 14.10 nach und nach umgestellt werde”.
uselessd
  • BitBucket "uselessd" - “uselessd (the useless daemon, or the daemon that uses less... depending on your viewpoint) is a project to reduce systemd to a base initd and process supervisor, while minimizing intrusiveness and isolationism. Basically, it’s systemd with the superfluous stuff cut out, a (relatively) coherent idea of what it wants to be, support for non-glibc/non-Linux platforms, an approach that aims to minimize complicated design and various cleanups”.
    • GitHub "abandonware/uselessd", issue #2 - “As the original author puts out, I took over maintainership during January 2015, but serious development didn't happen since. I do not have the motivation nor the time nor resources to maintain it, so please add it”.

Some other Daemons

Desktop Bus ( D-Bus ) & it's Implementations

Device Manager

devfsd ( - Linux Kernel 2.4 )
udev ( Linux Kernel 2.5 - )

System Services Management & Process Supervision

Daemontools ( legacy )
  • Gentoo Wiki "Daemontools" - “Daniel J. Bernstein's daemontools package, described by him as “a collection of tools for managing UNIX services”, is the pioneer of what some people call today process supervision suites, i.e. packages that provide tools for performing process supervision. There are no further releases of daemontools after 0.76 (released in 2001), but other software packages have been inspired by its design principles, notably runit, s6, perp, nosh, and an enhanced succesor, daemontools-encore”.
Daemontools-encore
runit
  • Gentoo Wiki "runit" - “runit is lightweight process supervision suite, originally inspired by daemontools-inspired that offers fast and reliable service management. It can be used as alternative to sysvinit or systemd, either by itself or alongside OpenRC. Additionally, ```runit``` can be employed as a PID 1 init system or as a supervision layer, managing services defined by OpenRC”.
  • EN.Wikipedia "runit", DE.Wikipedia "runit (Init-System)" - “runit ist ein Init-System für POSIX-Systeme, das als Ersatz für SysVinit konzipiert wurde. Es ist das bzw. ein Standard-Init-System von Void Linux, Dragora, Artix Linux[1] (arch-basiert) sowie antiX (ab Version 19, debian-basiert), Project Trident (ab Version 20.02)”.
S6, S6-rc
  • Gentoo Wiki "S6" - “A package that provides a daemontools-inspired process supervision suite, a notification framework, a UNIX domain super-server, and tools for file descriptor holding and suidless privilege gain. It can be used as an init system component, and also as a helper for supervising OpenRC services”.
  • Gentoo Wiki "S6-rc" - “A service manager for s6-based systems, i.e. a suite of programs that can start and stop services, both long-running daemons and one-time initialization scripts, in the proper order according to a dependency tree. It can be used as an init system component, with a role similar to that of OpenRC for sysvinit + OpenRC systems”.
Suite66 ( 66 )
systemctl, supervising systemd

Special Programs

chroot
hotplug

Resources

Dynamic Kernel Module Support

File Systems

FreeIPA - Identity Management System

Graphics Drivers for Linux

NVIDIA Graphics Cards @ Debian, Ubuntu

NVIDIA Graphics Cards @ AlmaLinux on legacy Hardware

NVIDIA Downloads
Resources

NVIDIA Graphics Cards @ AlmaLinux on state-of-the-art Hardware

  • AlmaLinux.
    • For AlmaLinux10:
    • For AlmaLinux9:
          • There are “powertools” for AlmaLinux9 :-), but not for AlmaLinux10 :-(.
            $ sudo dnf config-manager --set-enabled powertools
            $ sudo dnf makecache
            $ sudo dnf -y install epel-release
            $ sudo dnf upgrade
            
          • Add NVIDIA Repository. Install the latest NVIDIA driver.
            • “WARNING: modularity is deprecated, and functionality will be removed in a future release of DNF5”.
            • “Problem 1: cannot install the best candidate for the job” ⇒ Solution: Set the parameter ”–nobest”
              $ sudo dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel9/x86_64/cuda-rhel9.repo
              $ sudo dnf makecache
              $ sudo dnf module install nvidia-driver:latest --nobest
              
          • Install third-party libraries for CUDA.
            • “No match for argument: freeimage-devel”
            • “No match for argument: libglfw3-devel”
              $ sudo dnf install freeglut-devel libX11-devel libXi-devel libXmu-devel make mesa-libGLU-devel
              
        • Installation of “nvidia-smi” failed :-(.
          • Google AI: “To check if the NVIDIA driver is installed on AlmaLinux, use nvidia-smi in the terminal to see driver/GPU info”.
          • “Failed to install packages: package kmod-nvidia-open-dkms-XXX.el9.noarch cannot be verified”.
          • “Certificate XXX invalid: policy violation
            • because: No binding signature at time 2025-12-08TXXX
            • because: Policy rejected non-revocation signature (PositiveCertification) requiring second pre-image resistance
            • because: SHA1 is not considered secure
              $ sudo dnf install nvidia-smi
              

NVIDIA, AMD, Intel Graphics Cards

Printing on Linux

  • Nowadays, as of 2013-11, Linux systems load a hardware-specific kernel module, to enable general printing support. You need a special kernel module for each different printer( e.g. one module for PCL5, one for EPSON, one for PostScript,..) The printing is then configured by the help of CUPS.

Unix Subsystems for Windows, Windows Subsystems for Linux & Cooperative Co-Existence of Windows & Linux

Wubi ( Ubuntu Installer )

Cooperative Linux

  • Cooperative Linux - “The first working free and open source method for optimally running Linux on Microsoft Windows natively”.

The POSIX and Unix environment Subsystem for Windows

Windows Subsystem for Linux

Tools & Toolsets for Embedded Linux

  • BusyBox: The Swiss Army Knife of Embedded Linux - “BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete environment for any small or embedded system”.

Special Drivers and Hardware Configuration Tools for Linux

Joystick

PPPoE - Point-to-Point Protocol

Appropriate OpenDirectory Directory Pages

 
en/unix04.html.txt · Last modified: 2026/02/07 21:38 (external edit) · []
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki