The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » iSCSI autostart » Today 09:50:09

In which runlevel are you actually?

type your

iscsiadm

command and immediately after :

sudo runlevel

And show us the output.
Is there possibly something wrong with your iSCSI configuration or it's set-up?

Another note: iSCSI is good if you have a physically separate TCP/IP network for iSCSI. That means separate switches and cables!
Mixing it up with a network-protocol network gives severe headaches when there is a lot of network traffic.
The low-level network-params are different for block-protocols and network-protocols.
Using NFS is anyway the better solution, since NFS is a network-protocol. Consider that, please.

#2 Re: Hardware & System Configuration » iSCSI autostart » Yesterday 15:59:03

no, there should be no "killscripts" (/etc/rc5.d/K01iscsid -> ../init.d/iscsid) in runlevel 5, because the system cannot go "down" to that level, only up to it (/etc/rc5.d/S01iscsid -> ../init.d/iscsid for example) or down from it. > RunLevel S, 4, 3, 2, 1, 0, 6.
Going down in runlevels activates the kill-scripts (also links!) and going up the start-scripts (links) of the target runlevel.
Special exceptions exist as always.
That's how Unix Init-SysV worked and still works.
Runlevel 0 = shutdown
Runlevel 6 = reboot
1,2,3,4,5 are runlevels. Default runlevel is defined in /etc/inittab.
Hope this helps.

#3 Re: Hardware & System Configuration » Login as root on Graphcial desktop possible » 2025-09-29 08:50:52

Thanks for you info.....
but, now I'm lost. Sounds like mystery to me.
Greetings

#4 Re: Hardware & System Configuration » Login as root on Graphcial desktop possible » 2025-09-28 16:30:01

The hack is in the file /etc/lightdm/users.conf

The section:
[UserList]
minimum-uid=500

may help a lot. The root user is UID 0, GID 0.
So you couldn't find a root login entry in the login window.
I hope this helps. Greetings!

#5 Re: Hardware & System Configuration » Login as root on Graphcial desktop possible » 2025-09-28 15:52:22

Very interesting.
I have Daedalus with Lightdm and Cinnamon, but I'm not able to login as root on the lightdm login-screen.
But, isn't it much more important to disable the ssh-login as root on the machine? These is done so automatically when installing the ssh-server. Check it here: /etc/ssh/sshd_config.
And a last point: have a very secure password for root! Obviously.
So much my 2 cents wink

#6 Re: Installation » [SOLVED] OpenRC Woes » 2025-09-07 09:21:49

Dear me... @rwall....
What exact version did you install?
Which ISO file?
Which method?
What special software do you install?
Have you thought of the SysV-Init files of your software to be used with OpenRC?
(/etc/init.d/......, maybe you have to install/edit/generate these special init.files, there may exist packages for it as in artix))
What hardware are you installing on?
Have you tried the superb method of testing with a live-iso as recommended by greenjeans?
And, last but not least:
If you are asking for help on this forum, after studying the documentation, please give detailed information on your configuration. (software-sources, versions, repo-info, system,.. simply all that enables our clever and volunteering members to help or give advice.

Have a good day all the same.

#7 Re: Installation » [SOLVED] OpenRC Woes » 2025-09-06 16:00:10

So this may be the very occasion to install a fresh system:
Devuan Daedalus and choose OpenRC
or
Devuan Excalibur (if you are keen to try, although it's quite stable already) and choose OpenRC.

The standard installer does an excellent job.
Just know that Excalibur has implemented the "usr-merge" already. This makes a dist-upgrade v5 to v6 a bit tricky. Read the notes and instructions.
Good luck!

#8 Re: Installation » [SOLVED] OpenRC Woes » 2025-09-06 08:27:35

Welcome here to the Devan-community
You talk about strange phenomenons.
If you use the Devuan development-branch, you are pretty much on your own - it's for developers and testers.
The stable branch is still Devuan Daedalus (5).
There, OpenRC works exceptionally well, but please be reminded that in OpenRC the init program is still from the trusted InitSysV, and only the service-controller (the one who takes care of the daemons) is OpenRC.
I use sometimes Artix (OpenRC) and there the init program is part of OpenRC. And the structures of the logs and their placement is different (more like you show in your post).
Please read the instructions on:
https://www.devuan.org/os/install
A lot of information and help can be found in the documentation there.
Good luck.

#9 Re: Off-topic » Happy Labor Day friends! » 2025-08-30 16:34:07

That big THANKS should go to you (and others), it's amazing all what you do and contribute. Thank you.
Devuan is my best Linux-Distro I have ever used, and the community is really helpful.
BTW: Labour Day here is on May 1st, it depends on the country where you live in. smile

#10 Re: Installation » [SOLVED] No audio on Excalibur through pipewire on KDE wayland » 2025-08-20 14:38:35

@greenjeans
that's strange, I have tested Excalibur with both, XFCE and Cinnamon and never had such boot-tome error messages about missing ALSA rules... (Tested with OpenRC though, could this make the difference?)

#11 Re: Hardware & System Configuration » [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored » 2025-08-14 16:14:17

@steve_v
thank you very much, steve_v... you are that bright spark to bring light into this mystery.
It's entirely my fault that I recorded the IP address wrongly - I didn't know that.

I've corrected the hosts entry and everything works fine as it should.
I don't know which devil has bitten me to add a leading 0 in an octet.

BTW: I never spat upon NetworkManager. I only tried to understand the problem. Thank you.

#12 Re: Hardware & System Configuration » [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored » 2025-08-13 18:13:12

Thank you for your hints.
I will pause it here. Once a bright idea comes up, I will try again and let you know.
BTW: the /etc/resolv.conf is not the problem. Name-resolution is working except for the /etc/hosts lookup.
(only local fixed addresses are in there.)

#13 Re: Hardware & System Configuration » [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored » 2025-08-13 16:22:18

surprise surprise....
Artix (OpenRC, Cinnamon) shows the same problem

Artix (OpenRC, XFCE) does not.

Artix with Cinnamon uses NetworkManager
Artrix with XFCE uses Connman.

Older versions (older Cinnamon and older nm) worked correctly.

Linux Mint did work, but I have not tested the latest version.

Scratching my head... the devil must be hidden somewhere.

#14 Re: Hardware & System Configuration » [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored » 2025-08-13 14:55:26

@steve_v
here you are a little bit off the problem.
The /etc/resolv.conf is always correct, after every reboot too.
All files, /etc/hosts, /etc/nsswitch.conf are correct.

The ISP box is correctly set up and gives the correct name-server addresses.

I can connect to every Internet-resource without problems.
mDNS resources are found as well.
Only that bloody host-entry "172.22.22.05    colossus.home colossus" in /etc/hosts is ignored.
I have tested with former Devuan releases: no problem
I have tested Artix: no problem
I have tested Linux Mint: no problem.

Next thing I try is to replace network-manager with connman. That's how it works in Artix.
I will keep you posted, be patient, I'm busy.

But anyway, steve_v, thank you for your good intentions.

#15 Re: Hardware & System Configuration » [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored » 2025-08-13 09:30:34

@rolfie
I see the discrepancy, and I agree with you.
And, the /etc/resolv.conf is not even the problem here.
The /etc/nsswitch.conf is correct too: it states for hosts lookup it should consult the files first (/etc/hosts) and then mdsn and then dns.
That's the point. In that case names in the /etc/hosts file must be resolved as it always did. It does not now.

I see the ultimate outcome..... to remove the network manager. That's okay for a workstation PC, but NOT for a laptop. I fear to have to test a laptop for that reason.
I still wonder if the kernel may be to blame - it goes beyond my understanding.

#16 Re: Hardware & System Configuration » [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored » 2025-08-13 07:15:45

Oh, it looks like the kernel version is important:

root@tinkerbox:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 6 (excalibur/ceres)
Release:	6
Codename:	excalibur ceres
root@tinkerbox:~# 

root@tinkerbox:~# uname -a
Linux tinkerbox 6.12.38+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.38-1 (2025-07-16) x86_64 GNU/Linux
root@tinkerbox:~# 

And the rest of all information in one block:

root@tinkerbox:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.22.22.60  netmask 255.255.255.0  broadcast 172.22.22.255
        inet6 fe80::c42c:d3ce:d1e1:f30f  prefixlen 64  scopeid 0x20<link>
        ether 70:54:d2:ab:5e:4e  txqueuelen 1000  (Ethernet)
        RX packets 179  bytes 109589 (107.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 215  bytes 25830 (25.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf7e00000-f7e20000  

eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 70:54:d2:ab:5e:4f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18  memory 0xf7d00000-f7d20000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 31  bytes 4263 (4.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 31  bytes 4263 (4.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@tinkerbox:~# netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
default         172.22.22.1     0.0.0.0         UG        0 0          0 eth0
172.22.22.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0

root@tinkerbox:~# hostname
tinkerbox

root@tinkerbox:~# cat /etc/networks
default		0.0.0.0
loopback	127.0.0.0
link-local	169.254.0.0

root@tinkerbox:~# cat /etc/resolv.conf 
# Generated by NetworkManager
nameserver 213.221.144.240
nameserver 213.221.143.240

***********************************

root@tinkerbox:~# ping www.google.com
PING www.google.com (142.250.178.196) 56(84) bytes of data.
64 bytes from pnzrha-aj-in-f4.1e100.net (142.250.178.196): icmp_seq=1 ttl=116 time=22.8 ms
64 bytes from pnzrha-aj-in-f4.1e100.net (142.250.178.196): icmp_seq=2 ttl=116 time=25.9 ms

root@tinkerbox:~# ping colossus
ping: colossus: Name or service not known
root@tinkerbox:~# ping colossus.home
ping: colossus.home: Name or service not known
root@tinkerbox:~# ping printer.home
ping: printer.home: Name or service not known

root@tinkerbox:~# ping printer
PING printer (172.22.22.12) 56(84) bytes of data.
64 bytes from printer (172.22.22.12): icmp_seq=1 ttl=255 time=0.637 ms
64 bytes from printer (172.22.22.12): icmp_seq=2 ttl=255 time=0.650 ms
64 bytes from printer (172.22.22.12): icmp_seq=3 ttl=255 time=0.646 ms
64 bytes from printer (172.22.22.12): icmp_seq=4 ttl=255 time=0.638 ms
// what a surprise! The printer gets resolved by mDNS //

***********************************

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         files
group:          files
shadow:         files
gshadow:        files

hosts:          files mdns4_minimal [NOTFOUND=return] dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis
root@tinkerbox:~# 

#17 Re: Hardware & System Configuration » [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored » 2025-08-13 07:02:50

Thank you for your responses and questions.

@g4sra

root@tinkerbox:~# cat /etc/hosts
127.0.0.1	localhost
127.0.1.1	tinkerbox.home	tinkerbox

172.22.22.05	colossus.home colossus
172.22.22.12	printer

I only added the last 2 lines.

@Altoid
Yes, it's quite possible it will come to that, but: NetworkManager shouldn't affect /etc/resolv.conf, /etc/hosts or any of these files, except, unfortunately, the /etc/resolv.conf file.

@both
Would you like to get all network information? I could put it in an extra response.
Again, that problem never appeared in previous releases.

#18 Hardware & System Configuration » [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored » 2025-08-12 15:21:06

Andre4freedom
Replies: 14

Hello,
testing the latest iso, devuan-excalibur_6.0-20250809_amd64_netinstall.iso,
I ran into a problem:
The file /etc/hosts is simply ignored.
This happened while testing both DEs: XFCE4 and Cinnamon.
It is a standard installation with no tinkering. Standard Linux-utilities and ssh-server always selected too.

The problem did not show up when testing the previous pre-releases, and never showed up with any former Devuan release (3,4,5).
The problems doesn't manifest when testing Artix-OpenRC-XFCE.

I just edit the /etc/hosts file to test.
/etc/resolv.conf and other networking details are all correct by default.
Internet access and even CUPS-driverless-printing works correctly.
Strange.

I know that NetworkManager is always installed by default.
Has anyone encountered that bug as well?

#19 Re: Hardware & System Configuration » How to lookup printer drivers in CUPS? » 2025-08-07 08:17:26

Brother_MFC_J5340DW working perfectly well here.
No drivers installed at all.
Devuan5 (Daedalus) with CUPS and IPP

implicitclass://Brother_MFC_J5340DW/
Brother MFC-J5340DW, driverless, cups-filters 1.28.17

Just connect the printer to the local network, set it up, and off you go.
Chances are that your chosen model will work that way.

#20 Re: Installation » [SOLVED] repo excalibur down? » 2025-07-31 14:59:57

Oh, once again:
Many ISP's DNS-servers can't cope with these "round-robin" structures of repo-servers.
The solution was always to prepend the address deb.devuan.org with the country-code of your nearest repo-mirror, as in your case ch.deb.devuan.org.
I don't know what component in ISP's infrastructure is the culprit. But when using your own properly set up BIND/DNS server the problem doesn't occur.
Test by using ping before modifying your sources.list.
There are some threads on this topic in the forum already

#22 Re: Desktop and Multimedia » Good X11 environment for laptops? Plasma 6 is not ideal » 2025-07-11 11:22:10

Sorry, here I'm lost. I should first get to know what a three finger gesture is. I use mostly a desktop computer and a laptop only when out of office.

#23 Re: Desktop and Multimedia » Good X11 environment for laptops? Plasma 6 is not ideal » 2025-07-11 07:57:15

Cinnamon works perfectly well on Devuan 5 (Daedalus) and Excalibur, and all this on X11 (Xorg).
XFCE works as well, but Cinnamon is the way to go when looking for comfort. All this "out-of-the-box" - and can be tweaked too.
I have no intention to burn my fingers with Wayland.

#24 Re: DIY » ALSA-only purists: Question, new GUI app for the mixer and EQ? » 2025-07-02 18:29:00

Hello greenjeans,
Understanding your question perfectly, have you looked for these tools:

- alsamixergui
- alsa-tools-gui

I'm quite interested in your project.
Good luck!
Greetings, andre

#25 Re: Hardware & System Configuration » Canon LBP6020 » 2025-06-28 17:01:29

My slogan is: stay away from Canon printers.
I bought one once, a day later I donated it to a Windows user.
If you are lucky and the printer has a network interface, you can reset it to factory-defaults and try use the CUPS driverless printing system.
Some years ago, I was able to connect a Canon printer (can't remember the model) to the network and it worked right away with Linux Mint, without any fiddling with configuration, drivers or installation. It just worked, printer and scanner. The same goes for Devuan5 (Daedalus). Standard desktop install.
I had very good results with Brother MFC printers, and HP as well.
Good luck

Board footer

Forum Software