-
Search Results
-
I did the following searches on this young at heart forum, for libudev-zero, mdev, smdev, nldev, mdevd and found nothing, not a single mention, so here is the story:
Can we live without udevd?
Let’s recapitaluta how wide this struggle has been, to not depend on IBM for your open and free software to work.
On the logind front, consolekit2 is not dead, this is old propaganda, especially with all its development from its BSD fork, consolekit2 is alive and well. But you can live well and prosper (as Spok said) without any logind. I have for quite a while. Then there was the silly myth that wayland can not work without systemd/elogind. Myth busted, the guy that made seatd broke that myth right in the myth manufacturer’s face, and once people started considering using wayland without elogind, they also found out it works perfectly fine even without seatd (if compiled as such). That deep of a myth. It is like saying you need a fishing pole to go on a date…. folklore. Also you don’t need X for wayland/wlroots/sway … it works. I still don’t like it, but whether it works is a different story.
And dbus, that decorative snitch, monitoring and communicating your every click and keystroke? It even monitors and snitches on root’s activities. So to whom is this piece of crap in service of? I’ve lived without it for years now. So more folklore spread around by the IBM parakeets.
But we are stuck with a big IBM chunk, we are not out of the hole yet, we love what IBM does for us (like junkies love the pusher) from the second we hit enter on the bootloader screen. udev hooks running and rerunning and eternally running till everything is shutdown and gone to sleep.
IS (not are) there an alternative?
Years ago somebody decided they’ve had enough with udev and wrote smdev. As simple and lean as it can possibly be, with the ability to be enriched by hw modules for anyone that desired more than a simple x86 machine booting, having classic input/output abilities, reading/mounting disks, and a few simple additional hw. It worked, it is simple (suckless) and the great story is that it runs once and ends, doesn’t need to be daemonized (thank anticapitalista for that – if you have to thank anyone – because it takes a few seconds for each run). But as hw get more fancy and multiple in necessity, it wasn’t enough for people to adopt. So it remained.
Then comes this other solution, an intermediary, which can utilize any mdev provider, simulate the ability to be triggered by a change in hw, run the mdev (of choice!), and provide new definitions for hw adder/removed. This project was called nldev, a middle man.
Then skarnet begins work, not yet finished, to provide a true and complete udev alternative, still less than 1/3 of the code of (udev/eudev/libeudev), and it does work if you study the subject in depth and can configure it right. A nice template of a .conf file to uncomment all its abilities that are utilized, would have been nice, but skarnet wants you to do your own research and make your own choices, just like s6 s6-rc, etc. No ground food and chewed ready for swallowing from skarnet, they like to see you in tears before you make their sw work. Their server has been running for a ?decade? with it, with reboots only taking place in leap years, and if there is no pandemic.
BUT!!!
Why aren’t users and distro devs running to adopt such solutions? 1 reason! X is having problems with them, in most cases you can’t get the keyboard and mouse to work properly. That’s a big one … for most people, let’s be realistic. “Some” people don’t need X, they do all their work on console, their greps and cuts and sed and vis, is all they need, and lynx for a fancy browser to relax from coding.
Why is X so peculiar about the specific mdev? Because it was written with the single piece of available to them and looks for its coding.Pop goes the myth of X would only work with IBM’s udev.
libudev-zero
A very young and promising project, getting about 5-6 upgrades just this past week alone, although it worked 10 days ago when I fist tried it.
On the early trials I replaced libeudev with libudev-zero, booted with eudev, then shut down the daemon, then started X. Cursor, cursor theme, keyboard, all working great. Then tried to substitute eudev with one of the alternatives, I admit I don’t have yet the knowledge and patience to configure mdevd right (Sorry mr.Bercot) but smdev worked, run manually once, and then libudev-zero takes over. As soon as smdev runs and throws 30 pages of nasty looking output on your screen, the screen readjusts (just like in udevd activity), net interfaces become available, and all is well.Hmm… not so fast slick, how is your kernel image created with smdev?
That begun being tough, mkinitcpio run aground without eudev/udev available, possibly with the libudev-zero in place of libeudev. Here comes the “middleman” that makes any mdev availability work, nldev. You substitute nldev for udev in mkinitcpio.conf and the image is created properly, nldev is configured to run smdev during the boot hooks, and you get a nice console login: with any parts of e/udev removed from the system.
And of course X started normally and my favorite terminal provided a shell.Not so fast slick! Now that you got linux-lts image booting without udev, what else is there missing?
Ok, Ok, Ok, … (Joe Pesci voice in lethal weapon X) … some things must not work because they were compiled with udev’s existence, which eudev does wonders for substituting because …. IT IS THE SAME CODE!!! Like what, you might ask. lsusb for example, still works but throws some garbage up on top for not being able to get the udev version. The output is still the same as with eudev. /dev/disk/ is empty, but blkid works fine (it doesn’t depend on udev). All mounting/unmounting/ssh/sshfs all work. How about Gparted, does it work? NO! Why? Because it is compiled based on the specific udevd and unless it gets the version number it exits with an error. If you can bypass this, or if you and the coder of libudev-zero figure out a way to fake this functionality, I don’t think there is an issue.
Yet, again, not so fast slick!!! You are tripping over yourself.
libeudev
├─device-mapper
├─eudev
├─libgudev
├─libusb
├─lvm2
├─usbutils
└─util-linux
eudev
├─colord
└─dhcpcdThis is a list of what I have found up to now, that are very base/core parts of almost any linux distro. that depend and ARE built based on udev, and some may work fine, but internally they think that udev is there. So idially they must be rebuilt with the alternative in presence, in my case smdev, nldev, libudev-zero.
This is a little harder to do than I thought, but my abilities are limited. So it is not to say it can’t be done, I’m just passing the torch here for those that understand the importance of doing so and are willing to try it in a test installation.
I can assist with details anyone willing to give it a try, I have a runit script that works with mldev, and a 66/s6 script for not so clear solution for boot@-66, and more.Just to see the light in the tunnel though, it is rewarding and new land will not be discovered unless we all do a little more pushing of the fence we are trapped in.
Because they want us fenced in and dependent to control us. It is our single mission in life to bring those fences down, because on our land we can build autonomy, on their land we will always be slaves. We will not make this mistake again, to allow our land to be purchased for individual use. Am I losing it? No, anticapitalista knows what I am talking about.
A las barricadas!
anti-X - Adélie - obarun - systemd Free Space
————————————————————————
The Debian Project https://www.debian.org/
Debian 11 “bullseye” released press@debian.org
August 14th, 2021 https://www.debian.org/News/2021/20210814
————————————————————————After 2 years, 1 month, and 9 days of development, the Debian project is
proud to present its new stable version 11 (code name “bullseye”), which
will be supported for the next 5 years thanks to the combined work of
the Debian Security team [1] and the Debian Long Term Support [2] team.1: https://security-team.debian.org/
2: https://wiki.debian.org/LTSDebian 11 “bullseye” ships with several desktop applications and
environments. Amongst others it now includes the desktop environments:* Gnome 3.38,
* KDE Plasma 5.20,
* LXDE 11,
* LXQt 0.16,
* MATE 1.24,
* Xfce 4.16.This release contains over 11,294 new packages for a total count of
59,551 packages, along with a significant reduction of over 9,519
packages which were marked as “obsolete” and removed. 42,821 packages
were updated and 5,434 packages remained unchanged.“bullseye” becomes our first release to provide a Linux kernel with
support for the exFAT filesystem and defaults to using it for mount
exFAT filesystems. Consequently it is no longer required to use the
filesystem-in-userspace implementation provided via the exfat-fuse
package. Tools for creating and checking an exFAT filesystem are
provided in the exfatprogs package.Most modern printers are able to use driverless printing and scanning
without the need for vendor specific (often non-free) drivers.
“bullseye” brings forward a new package, ipp-usb, which uses the vendor
neutral IPP-over-USB protocol supported by many modern printers. This
allows a USB device to be treated as a network device. The official SANE
driverless backend is provided by sane-escl in libsane1, which uses the
eSCL protocol.Systemd in “bullseye” activates its persistent journal functionality, by
default, with an implicit fallback to volatile storage. This allows
users that are not relying on special features to uninstall traditional
logging daemons and switch over to using only the systemd journal.The Debian Med team has been taking part in the fight against COVID-19
by packaging software for researching the virus on the sequence level
and for fighting the pandemic with the tools used in epidemiology; this
work will continue with focus on machine learning tools for both fields.
The team’s work with Quality Assurance and Continuous integration is
critical to the consistent reproducible results required in the
sciences. Debian Med Blend has a range of performance critical
applications which now benefit from SIMD Everywhere. To install packages
maintained by the Debian Med team, install the metapackages named med-*,
which are at version 3.6.x.Chinese, Japanese, Korean, and many other languages now have a new Fcitx
5 input method, which is the successor of the popular Fcitx4 in
“buster” ; this new version has much better Wayland (default display
manager) addon support.Debian 11 “bullseye” includes numerous updated software packages (over
72% of all packages in the previous release), such as:* Apache 2.4.48
* BIND DNS Server 9.16
* Calligra 3.2
* Cryptsetup 2.3
* Emacs 27.1
* GIMP 2.10.22
* GNU Compiler Collection 10.2
* GnuPG 2.2.20
* Inkscape 1.0.2
* LibreOffice 7.0
* Linux kernel 5.10 series
* MariaDB 10.5
* OpenSSH 8.4p1
* Perl 5.32
* PHP 7.4
* PostgreSQL 13
* Python 3, 3.9.1
* Rustc 1.48
* Samba 4.13
* Vim 8.2
* more than 59,000 other ready-to-use software packages, built from
more than 30,000 source packages.With this broad selection of packages and its traditional wide
architecture support, Debian once again stays true to its goal of being
“The Universal Operating System”. It is suitable for many different use
cases: from desktop systems to netbooks; from development servers to
cluster systems; and for database, web, and storage servers. At the same
time, additional quality assurance efforts like automatic installation
and upgrade tests for all packages in Debian’s archive ensure that
“bullseye” fulfills the high expectations that users have of a stable
Debian release.A total of nine architectures are supported: 64-bit PC / Intel EM64T /
x86-64 (amd64), 32-bit PC / Intel IA-32 (i386), 64-bit little-endian
Motorola/IBM PowerPC (ppc64el), 64-bit IBM S/390 (s390x), for ARM, armel
and armhf for older and more recent 32-bit hardware, plus arm64 for the
64-bit “AArch64” architecture, and for MIPS, mipsel (little-endian)
architectures for 32-bit hardware and mips64el architecture for 64-bit
little-endian hardware.If you simply want to try Debian 11 “bullseye” without installing it,
you can use one of the available live images [3] which load and run the
complete operating system in a read-only state via your computer’s
memory.3: https://www.debian.org/CD/live/
These live images are provided for the amd64 and i386 architectures and
are available for DVDs, USB sticks, and netboot setups. The user can
choose among different desktop environments to try: GNOME, KDE Plasma,
LXDE, LXQt, MATE, and Xfce. Debian Live “bullseye” has a standard live
image, so it is also possible to try a base Debian system without any of
the graphical user interfaces.Should you enjoy the operating system you have the option of installing
from the live image onto your computer’s hard disk. The live image
includes the Calamares independent installer as well as the standard
Debian Installer. More information is available in the release notes [4]
and the live install images [5] sections of the Debian website.4: https://www.debian.org/releases/bullseye/releasenotes
5: https://www.debian.org/CD/live/To install Debian 11 “bullseye” directly onto your computer’s hard disk
you can choose from a variety of installation media such as Blu-ray
Disc, DVD, CD, USB stick, or via a network connection. Several desktop
environments — Cinnamon, GNOME, KDE Plasma Desktop and Applications,
LXDE, LXQt, MATE and Xfce — may be installed through those images. In
addition, “multi-architecture” CDs are available which support
installation from a choice of architectures from a single disc. Or you
can always create bootable USB installation media (see the Installation
Guide [6] for more details).6: https://www.debian.org/releases/bullseye/installmanual
There has been a lot of development on the Debian Installer, resulting
in improved hardware support and other new features.In some cases, a successful installation can still have display issues
when rebooting into the installed system; for those cases there are a
few workarounds [7] that might help log in anyway. There is also an
isenkram-based procedure [7] which lets users detect and fix missing
firmware on their systems, in an automated fashion. Of course, one has
to weigh the pros and cons of using that tool since it’s very likely
that it will need to install non-free packages.7:
https://www.debian.org/releases/bullseye/amd64/ch06s04#completing-installed-systemIn addition to this, the non-free installer images that include firmware
packages [8] have been improved so that they can anticipate the need for
firmware in the installed system (e.g. firmware for AMD or Nvidia
graphics cards, or newer generations of Intel audio hardware).8:
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/For cloud users, Debian offers direct support for many of the best-known
cloud platforms. Official Debian images are easily selected through each
image marketplace. Debian also publishes pre-built OpenStack images [9]
for the amd64 and arm64 architectures, ready to download and use in
local cloud setups.9: https://cloud.debian.org/images/openstack/current/
Debian can now be installed in 76 languages, with most of them available
in both text-based and graphical user interfaces.The installation images may be downloaded right now via bittorrent [10]
(the recommended method), jigdo [11], or HTTP [12]; see Debian on
CDs [13] for further information. “bullseye” will soon be available on
physical DVD, CD-ROM, and Blu-ray Discs from numerous vendors [14] too.10: https://www.debian.org/CD/torrent-cd/
11: https://www.debian.org/CD/jigdo-cd/#which
12: https://www.debian.org/CD/http-ftp/
13: https://www.debian.org/CD/
14: https://www.debian.org/CD/vendorsUpgrades to Debian 11 from the previous release, Debian 10 (code name
“buster”) are automatically handled by the APT package management tool
for most configurations.For bullseye, the security suite is now named bullseye-security and
users should adapt their APT source-list files accordingly when
upgrading. If your APT configuration also involves pinning or
APT::Default-Release, it is likely to require adjustments too. See the
Changed security archive layout [15] section of the release notes for
more details.15:
https://www.debian.org/releases/bullseye/amd64/release-notes/ch-information#security-archiveIf you are upgrading remotely, be aware of the section No new SSH
connections possible during upgrade [16].16:
https://www.debian.org/releases/bullseye/amd64/release-notes/ch-information#ssh-not-availableAs always, Debian systems may be upgraded painlessly, in place, without
any forced downtime, but it is strongly recommended to read the release
notes [17] as well as the installation guide [18] for possible issues,
and for detailed instructions on installing and upgrading. The release
notes will be further improved and translated to additional languages in
the weeks after the release.17: https://www.debian.org/releases/bullseye/releasenotes
18: https://www.debian.org/releases/bullseye/installmanualAbout Debian
————Debian is a free operating system, developed by thousands of volunteers
from all over the world who collaborate via the Internet. The Debian
project’s key strengths are its volunteer base, its dedication to the
Debian Social Contract and Free Software, and its commitment to provide
the best operating system possible. This new release is another
important step in that direction.Contact Information
——————-For further information, please visit the Debian web pages at
https://www.debian.org/ or send mail to <press@debian.org>.--
Brian MasinickI’ve been playing around with remaster so I can better understand the consequences of choosing this or that.
I boot up using p_static_root
Lets say I create a file in my home directory (not in the live-usb-storage) and call it test.txt
Unless I tell the remaster (using personal) to save /home to the new linuxfs file my test.txt (and anything else, like .vim configuration files, etc) are NOT going to get put into the new remastered system correct?
I guess I’m just confirming because I did a test and that was what happened. It would seem to me though you would WANT you home directory data to be retained after a personal remaster, so I don’t understand the case where you are looking to blast everything in /home after a personal remaster. For instance, .vim or a .ssh folder which by default are home to be in /home/user which it seems you would want to keep.
- This topic was modified 1 year, 11 months ago by Danathar.
Topic: antiX-19.4 runit bug and fix
There is a bug in the runit editions of antiX-19.4 (full and base) after installation via the gui installer.
Fix: As root user, remove all /etc/sv/* folders EXCEPT /etc/sv/getty-*Alternatively, BEFORE installation, change line 25 (as root) of /usr/share/gazelle-installer-data/installer.conf to this:
#ENABLE_SERVICES=anacron,cron,sudo,rpcbind,cpufrequtils,smartmontools,acpi-support,acpid,hddtemp,dbus,gpm,saned,avahi-daemon,irqbalance,loadcpufreq,rmnologin,mdadm,lvm2,wicd,connman,connman-vpn,ofono,dundee,haveged,ssh,openVPN,bluetooth,rsync,cups,cups-browsed
- This topic was modified 1 year, 11 months ago by anticapitalista. Reason: Added pre-installation alternative
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.

