The officially official Devuan Forum!

You are not logged in.

#1 2024-03-19 14:13:29

Prowler_Gr
Member
Registered: 2023-12-23
Posts: 13  

Devuan 5.0 init-diversity edition UNOFFICIAL

I would like to present an 'init-diversity' spin of the current xfce release of Devuan 5 Daedalus

Download link:
Devuan-5.0_xfce_init-diversity-edition_amd64_UNOFFICIAL_20240319

This includes 5 inits (sysvinit – s6-rc – s6-66 – OpenRC - runit),  4 able to run live (except OpenRC) & available to install (OpenRC included).

username: devuan
password: devuan
root password: toor

@fsmithred, I used refractasnapshot to create this iso, OpenRC installs & boots as expected while installed, however for some reason I was unable to get it to boot directly from the live iso. Unsure if this issue is related to refracta, or the debian live tools, but it maybe worth troubleshooting.

Credits for should go to all contributors & testers of the original 'init-diversity' antiX-23 spins, especially anticapitalista of antiX, aitor of Gnuinos, Eric of Obarun, & all the antiX forum members testing my builds.

devuan-isolinux-live.JPG

devuan-s6-rc.JPG

devuan-s6-66.JPG

devuan-openrc.JPG

devuan-runit.JPG

Last edited by Prowler_Gr (2024-03-20 09:46:52)

Offline

#2 2024-03-21 14:07:52

nixer
Member
From: North Carolina, USA
Registered: 2016-11-30
Posts: 211  

Re: Devuan 5.0 init-diversity edition UNOFFICIAL

Testing was done from within virtualbox after installing, not a physical install on a hard drive, using a devuan host system - ceres (unstable)

At boot:

grub default selection - It worked fine the first boot, and maybe the second, and then it didn't.  When it did not successfully boot -

I logged in as root and  ran

service lightdm status
lightdm is not running ... failed!

"service lightdm start" will start the X session (lightdm) from the physical console of the virtual machine.  I successfully started Xfce by logging in as the user and entering "startxfce4".  I made some text bold to make it stand out, as it raised some questions with me.

While it was not successfully booted into X, I ssh(ed) into the machine and got this information:
/home/user/.xsession-errors

(wrapper-2.0:2397): GLib-GObject-CRITICAL **: 12:14:39.800: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
E: [pulseaudio] core-util.c: Failed to create secure directory (/run/user/1000/pulse): No such file or directory
xscreensaver-systemd: 12:14:40: failed to process user bus: Connection reset by peer

** (xiccd:2336): WARNING **: 12:14:40.105: Exiting
XIO:  fatal IO error 2 (No such file or directory) on X server ":0.0"
      after 32 requests (32 known processed) with 0 events remaining.
X connection to :0.0 broken (explicit kill or server shutdown).
XIO:  fatal IO error 2 (No such file or directory) on X server ":0.0"
      after 8 requests (8 known processed) with 0 events remaining.

/var/log/lightdm/seat0-greeter.log
# cat /var/log/lightdm/seat0-greeter.log

** Message: 12:14:52.660: Starting lightdm-gtk-greeter 2.0.8 (Aug 16 2021, 03:07:33)
** Message: 12:14:52.662: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_debian.conf
** Message: 12:14:52.663: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf
Invalid MIT-MAGIC-COOKIE-1 key
(lightdm-gtk-greeter:2077): Gtk-WARNING **: 12:14:52.668: cannot open display: :0

/var/log/syslog
noting mentioned, warnings or errors regarding xorg or lightdm

Just to document what package if any had systemd mentioned -
root@init-diversity:/home/craig# dpkg -l | grep systemd
ii  dhcpcd   1:9.4.1-24~deb12u3     all  DHCPv4 and DHCPv6 dual-stack client (init.d script and systemd unit)

So, sometimes it works, sometimes it does not and I can't report what is wrong.  I thought the default selection was sysvinit, but the sysvinit selection works fine.  I have not checked the grub entries for any difference between the two selections.

grub sysvinit selection - it worked fine.
grub s6-rc selection - it worked fine.

grub s6-66 selection - fails to boot.
boot hangs with the message on screen that:

ModemManager[984]: <info> [base manager] couldn't check support for device '/sys/device/pci0000:00/0000:00:03.0': not supported by any plugin

A virtualbox driver issue perhaps?  Repeated attempts with this method does the same thing with the same message.

grub runit selection - it worked fine.
This was my first time using runit and was very impressed with its speed and smoothness.

grub openrc selection - fails to boot.
I get the same or similar error messages as using sysvinit.
/home/user/.xsession-errors

(wrapper-2.0:2772): GLib-GObject-CRITICAL **: 12:41:34.548: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
E: [pulseaudio] core-util.c: Failed to create secure directory (/run/user/1000/pulse): No such file or directory
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
xscreensaver-systemd: 12:41:34: failed to process user bus: Connection reset by peer
XIO:  fatal IO error 2 (No such file or directory) on X server ":0.0"
      after 8 requests (8 known processed) with 0 events remaining.

cat /var/log/lightdm/seat0-greeter.log
(entire log, nothing excluded)

** Message: 12:42:11.531: Starting lightdm-gtk-greeter 2.0.8 (Aug 16 2021, 03:07:33)
** Message: 12:42:11.532: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_debian.conf
** Message: 12:42:11.532: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf
Invalid MIT-MAGIC-COOKIE-1 key
(lightdm-gtk-greeter:3100): Gtk-WARNING **: 12:42:11.534: cannot open display: :0

On the physical VM screen, it hangs at:

Starting Remote Desktop Protocol server: xrdp-sesman xrdp.

This or whatever it is trying to load next, but is not displayed yet, may be the problem.

My changes to the default installed system:
Removed vim and firmware-libertas firmware-myricom firmware-netxen firmware-qlogic ti-connectivity firmware-atheros firmware-bnx2x firmware-brcm80211
Installed gtkhash thunar-gtkhash libb2-1 geany autofs

I will be glad to assist in troubleshooting.  Please let me know.  This is an easy to use way to test and experiment with multiple init systems within the same install.  This is a very interesting concept.

Edit:  corrected typing mistakes.

Last edited by nixer (2024-03-21 14:09:55)

Offline

#3 2024-03-22 08:39:39

Prowler_Gr
Member
Registered: 2023-12-23
Posts: 13  

Re: Devuan 5.0 init-diversity edition UNOFFICIAL

nixer wrote:

I thought the default selection was sysvinit, but the sysvinit selection works fine.  I have not checked the grub entries for any difference between the two selections.

The default points to /sbin/init. The user might opt to symlink this to another prefered init to have as default & purge what he doesn't want.
The (sysvinit) entry points to /lib/sysvinit/init

nixer wrote:

A virtualbox driver issue perhaps?  Repeated attempts with this method does the same thing with the same message.

That's what I'm guessing. I've tested this install on a windows hosted virtualbox, & proper partition install on 2 different laptops (a newish uefi only HP envy & an old Toshiba sattelite which I boot in bios/csm mode) & I didn't get this behaviour.

nixer wrote:

I will be glad to assist in troubleshooting.  Please let me know.  This is an easy to use way to test and experiment with multiple init systems within the same install.  This is a very interesting concept.

It would be great if you could spare a partition to do a proper metal install & see if you get the same experience with your hardware.

Offline

#4 2024-03-22 15:22:15

nixer
Member
From: North Carolina, USA
Registered: 2016-11-30
Posts: 211  

Re: Devuan 5.0 init-diversity edition UNOFFICIAL

Sorry for taking so long for reporting back, but this took a while. 

I did a physical install on a 13 year old dell server.  I made no changes at all, except for a user account name change and password change during installation.  I simply installed and tested.  My testing was centered on simply booting up, logging in, and rebooting into the next init. 

After installing all inits (boot options) worked fine, except s6-66.  My partition scheme is:

sda is a msdos master boot record, not gpt.
/  is /sda1
/home is /sda2
swap is /sda3
/mnt/data1 is sdb1

The first boot into s6-66, I got the same ModemManager error as reported above:

ModemManager[984]: <info> [base manager] couldn't check support for device '/sys/device/pci0000:00/0000:00:03.0': not supported by any plugin

The system was not in a usable state so I was not able to view the log files, either locally or with ssh.  The second boot attempt I did not see that error and I got to the lightdm login screen.  The regular user was not able to login.  A login attempt with the correct user/pass just refreshed the page.  However, the root user was able to login.  Further checking:

ls -a /home

 
showed the entire /home folder as empty.  The /home partition did not get mounted at boot.  A manual mount of /home did work and then I was able to login.  I searched the log files and I found no mention about a mount error.  My fstab is:

UUID=xxxxxxxxxxxx    /    ext4    defaults,noatime    0    1
UUID=xxxxxxxxxxxx    /home    ext4    defaults,noatime    0    2
UUID=xxxxxxxxxxxx    none    swap    sw    0    2

I did notice that the s6-66 reversed the partitions sda -> sdb, sdb -> sda.  This was as far as I got with s6-66 as the third and 4th boot attempts produced the same modemmanager error. 

So, to recap, the s6-66 method did not mount the /home partition correctly at boot on the couple of times that it did work correctly.

If you can tell me what to check I will be glad to test further.  But without an error notation in a log file, I don't know where to start and I am very unfamiliar with inits.  I am not a very good tester, but I did have some time to test.

Offline

#5 2024-03-22 15:32:48

Prowler_Gr
Member
Registered: 2023-12-23
Posts: 13  

Re: Devuan 5.0 init-diversity edition UNOFFICIAL

I understand you have a seperate /home partition.

Try the following

sudo 66 configure -e nano boot@system

Find FSTAB=!no & change it to FSTAB=!yes
& save the change

Then apply the change by running

sudo 66 reconfigure boot@system

& reboot into s6-66

Last edited by Prowler_Gr (2024-03-22 15:58:25)

Offline

#6 2024-03-22 16:39:39

nixer
Member
From: North Carolina, USA
Registered: 2016-11-30
Posts: 211  

Re: Devuan 5.0 init-diversity edition UNOFFICIAL

& reboot into s6-66

I did, three times, and it works fine and that ModemManager error has gone away. 

This is a pretty good laboratory to learn about the most popular alternative inits.  Looking forward to using this.  My first thought is that runit seems to run faster and smoother.  Let the web searching/reading/learning about alternative inits begin!  At least for me anyway.

Thank you for your time, and your assistance Prowler_Gr.

Offline

#7 2024-04-03 13:02:30

antraY59
Member
Registered: 2024-04-03
Posts: 1  

Re: Devuan 5.0 init-diversity edition UNOFFICIAL

@Prowler_Gr did you switch from “elogind” to “seatd + consolekit” in your Devuan ‘init-diversity’ spin?
In the second screenshot of “s6-svscan – pstree” is no “elogind” to see.
If so, i will try out.
I just tried myself purging “elogind” and installing “seatd + consolekit”. Works quiet well, only a few
difficulties with some privileges.

Offline

#8 2024-04-08 13:11:10

Prowler_Gr
Member
Registered: 2023-12-23
Posts: 13  

Re: Devuan 5.0 init-diversity edition UNOFFICIAL

antraY59 wrote:

@Prowler_Gr did you switch from “elogind” to “seatd + consolekit” in your Devuan ‘init-diversity’ spin?

It is all using elogind for Devuan, but I noticed ConsoleKit2 making its way back into sid.
I have pulled it into my s6-experimental repo to test against my various spins.

Offline

#9 2024-04-10 23:44:21

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Devuan 5.0 init-diversity edition UNOFFICIAL

Hey, sorry I'm so late to the party. I don't have much to offer and I can't do big downloads here so I can't even play with your iso.

In the past, when I made snapshots of a system using openrc, I didn't have to do anything special. It just worked. For runit, I had to fork live-config.

Offline

#10 2024-04-11 09:37:01

Prowler_Gr
Member
Registered: 2023-12-23
Posts: 13  

Re: Devuan 5.0 init-diversity edition UNOFFICIAL

fsmithred wrote:

For runit, I had to fork live-config.

I might take a look at that (for anything obvious) when I have the chance.
Thanks for the great refracta tools fsmithred.

Offline

#11 2024-04-11 14:05:22

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Devuan 5.0 init-diversity edition UNOFFICIAL

Forked live-config repo:
https://git.devuan.org/devuan/live-config

I commented out a few lines for systemd in the makefile. I might have added some lines to the makefile.
Also created 0190-runit live-config script. (in components directory)

Offline

Board footer