The officially official Devuan Forum!

You are not logged in.

#27 Re: Packaging for Devuan » [SOLVED] Packages that do not appear in the Synaptic package manager » 2025-11-24 15:28:15

gcalculator is probably a typo, the correct name is galculator without the 'c' after the initial 'g'.

#28 Re: DIY » ALSA-only purists: Question, new GUI app for the mixer and EQ? » 2025-11-24 02:20:57

@stultumanto yes the MIDI functionality is great, I've been using it for many years with some synthesizers, in fact I wrote some scripts (very specific for my needs so not released) and a few applications that make use of it (for the apps see linuxtech.net), it's the ALSA audio functionality that I don't know a lot about (other than the basics).
For documentation of the ALSA MIDI commands the man pages are quite good, no need to search online.

#29 Re: DIY » ALSA-only purists: Question, new GUI app for the mixer and EQ? » 2025-11-23 20:55:59

Ok, thanks for the info, I had never heard of this ALSA plugin (libasound2-plugin-equal) before, have to read up about it.

#30 Re: DIY » ALSA-only purists: Question, new GUI app for the mixer and EQ? » 2025-11-23 20:37:56

I was wondering what EQ is being controlled by your app, I assume a software EQ as sound chips don't often have a built in hardware EQ, so is this a software EQ provided by ALSA or is it built into your program (i.e. your program is doing the frequency manipulation to EQ the sound)?

#31 Re: Freedom Hacks » The Absurdist Comedy » 2025-11-23 19:51:04

Well said, since it's inception I have almost always only used ALSA directly, PA is one of those things I disable right after installation (except in VMs, as I can't be bothered) and I still haven't understood what the purpose of PA or Pipewire is, i.e. what do they offer that ALSA doesn't offer already.

But ALSA it not without blame, while it works well it has really awful/cryptic documentation which probably is the main reason why most people don't understand all of it's capabilities (myself included).

#32 Re: Installation » [SOLVED] Devuan Excalibur polkitd installation bug » 2025-11-23 14:21:10

@stargate-sg1-cheyenne-mtn Can you please make a more straight-forward question? Despite reading your post twice I have no idea what your concern is.

#33 Re: Installation » [SOLVED] Devuan Excalibur polkitd installation bug » 2025-11-22 21:10:33

So I installed opensysusers as suggested by fsmithred instead of systemd-standalone-users and tested it by creating a testuser.conf file and then running opensysusers:

# cat /usr/lib/sysusers.d/test.conf
u testtest99 - "testtest99 user"
# systemd-sysusers test.conf
# grep testtest /etc/passwd /etc/group
/etc/passwd:testtest99:x:498:498:testtest99 user:/:/sbin/nologin
/etc/group:testtest99:x:498:

And we have a winner, opensysusers respects the settings in /etc/login.defs since it's simply a shell script that calls useradd and groupadd to actually create the users (and useradd and groupadd obviously follow the settings in /etc/login.defs ).

So I guess the problem is solved, but I would suggest that Devuan should default to opensysusers even during the initial installation rather than systemd-standalone-users.

opensysusers is an easy to understand shell script that relies on the standard useradd and groupadd binaries, i.e. it's a typical tool following the Unix philosophy unlike systemd-standalone-users, therefore opensysusers seems much better suited as default for Devuan.

systemd-standalone-users should really be blacklisted in Devuan as it ignores the settings in /etc/login.defs and therefore potentially creates users and groups with unwanted UIDs and GIDs.

#34 Re: Installation » [SOLVED] Devuan Excalibur polkitd installation bug » 2025-11-22 14:52:52

tux_99 wrote:

There is even a 3 year old open bug report about this missing compile flag for systemd in debians bugtracker but nobody seems to have done anything about it: https://bugs.debian.org/cgi-bin/bugrepo … ug=1029785

Guess where the Debian systemd maintainer that seems unwilling to fix this bug works:

Software engineer at Microsoft by day, open source developer involved in various projects by night (systemd maintainer, DPDK LTS maintainer, ZeroMQ project co-lead, Debian Developer)

https://archive.fosdem.org/2023/schedul … _boccassi/

I'm starting to realize more and more that Debian is no longer an independent community distro at all, not only is it full of Canonical (understandable) and IBM/Redhat Devs (less understandable), there are even Microsoft Employees involved with core packages of Debian...

fsmithred wrote:

Installing opensysusers instead will remove systemd-standalone-sysusers without removing cron or ssh.

Thanks for the suggestion, I will try that and see whether "opensysusers" takes into account the custom UID/GID ranges configured in  /etc/login.defs.

#35 Re: Installation » [SOLVED] Devuan Excalibur polkitd installation bug » 2025-11-22 02:36:48

On the systemd webpage says:

Some older systems placed the boundary at 499/500, or even 99/100, and some distributions allow the boundary between system and regular users to be changed via local configuration. In systemd, the boundary is configurable during compilation time and is also queried from /etc/login.defs at runtime, if the -Dcompat-mutable-uid-boundaries=true compile-time setting is used.

https://systemd.io/UIDS-GIDS/

I checked the debian/rules file of the source package for systemd-standalone-sysusers and didn't find this compile time flag (-Dcompat-mutable-uid-boundaries=true) so it appears an omission of the Debian systemd source package (that generates the binary package systemd-standalone-sysusers).

On the other hand it would be better if the polkitd package didn't use this systemd tool but rather adduser, especially since it seems to be already set up to use adduser but it gives preference to systemd-sysusers if it finds it, see debian/polkitd.postinst (policykit-1-126 source):

        if command -v systemd-sysusers >/dev/null; then
            systemd-sysusers ${DPKG_ROOT:+--root="$DPKG_ROOT"} polkit.conf
        else
            adduser --group --system --quiet --gecos 'polkit' \
                --no-create-home --home /nonexistent polkitd
            addgroup --system --quiet polkitd
        fi

IMHO the above should be changed to always use adduser and since this is a Devuan package it would be easier to fix rather than getting Debian to add the compile time flag to the systemd package.

There is even a 3 year old open bug report about this missing compile flag for systemd in debians bugtracker but nobody seems to have done anything about it:
https://bugs.debian.org/cgi-bin/bugrepo … ug=1029785

Therefore I really think it would be better for Devuan to remove this systemd dependency from the Devuan polkit package (which is forked already) and use exclusively 'adduser' in the postinst script of polkitd.

#36 Re: Installation » [SOLVED] Devuan Excalibur polkitd installation bug » 2025-11-22 02:03:40

Actually the bug (or rather missbehaviour) seems to be coming from /usr/bin/systemd-sysusers (which the polkitd package seems to prefer over adduser to create the polkitd user/group) from the package systemd-standalone-sysusers which completely ignores any settings in  /etc/login.defs and in /etc/adduser.conf.

Why does Devuan prefer systemd-sysusers to create system users during installation rather than adduser?

Why do we even have this disrespectful (of the user configuration) systemd derived package in Devuan?

#37 Installation » [SOLVED] Devuan Excalibur polkitd installation bug » 2025-11-22 01:03:08

tux_99
Replies: 12

There seems to be a bug in the polkitd package. On my Devuan Excalibur install it created the polkitd user with UID 999 and GID 999, despite me having configured /etc/login.defs to assign the range 101 to 499 to system users and 500 to 60000 to normal users.

In other words it looks like the polkitd package creates the polkitd user ignoring the settings in /etc/login.defs.

All other system packages that during installation create users and/or groups that I installed so far have respected my settings in /etc/login.defs and in /etc/adduser.conf as expected.

Here are the settings I have in  /etc/login.defs:

UID_MIN			  500
UID_MAX			60000
SYS_UID_MIN		  101
SYS_UID_MAX		  499
GID_MIN			  500
GID_MAX			60000
SYS_GID_MIN		  101
SYS_GID_MAX		  499

And in /etc/adduser.conf I have:

$ more /etc/adduser.conf |grep ID|grep -v ^#
LAST_SYSTEM_UID=499
LAST_SYSTEM_GID=499
FIRST_UID=500
FIRST_GID=500

And this is what my /etc/passwd and /etc/group contains after installation of the polkitd package:

$ grep polkit /etc/passwd /etc/group
/etc/passwd:polkitd:x:999:999:User for polkitd:/:/usr/sbin/nologin
/etc/group:polkitd:x:999:

It appears to me that this is a forked Devuan package, not a Debian package (the version string says so:126-2devuan1+excalibur1 ).
Where should I report this to?

#38 Re: Documentation » HOWTO : Disable mouse use in sysv-rc-conf » 2025-11-18 01:05:22

@abower thanks for the suggestion regarding the newer version in backports, I installed it straightaway.
BTW, are you one of the authors of sysv-rc-conf (the manpage lists an Andrew Bower)?
If yes thanks for this neat tool, before discovering it I had considered porting the 'chkconfig' from Centos 6 (last one before systemd) to Devuan as I was missing chkconfig, so sysv-rc-conf saved me from this effort.

#39 Re: DIY » easydeb deb packager » 2025-11-17 04:08:38

exponentialmatrix wrote:

fixed the bug, new release:

Thanks, I can confirm the error is gone.

BTW, do I understand this right that I could simply take a pkgbuild file from Arch AUR, rename it to debbuild and adapt the dependencies if necessary and then build it on devuan?
In other words, is the file format specification of the debbuild files 100% compatible with the pkgbuild file format?

#40 Re: Hardware & System Configuration » (excalibur) strange messages during startup » 2025-11-16 22:21:54

You can run sudo dmesg in a terminal window after startup is completed to see these messages again and then copy them here exactly.

#41 Re: DIY » What is the equivalent of "mock" on Devuan? » 2025-11-16 22:10:53

@g4sra yes, I find the debian packaging world confusing too (as should have transpired from my previous messages in this thread), but my impression is that for some reason the debian devs find it easier to describe the current process in their own personal blog rather than to go through whatever (presumably complicated) process to update the official debian documentation.

That 'sbuild' is the current "right way" to build debian packages is also stated in this blog by another debian dev (but his how-to is too vague, the one from Stephan Lachnit is much more detailed and therefore easier to follow for a newbie like myself):
https://www.linux.it/~ema/posts/buildin … right-way/

#42 Re: DIY » What is the equivalent of "mock" on Devuan? » 2025-11-16 19:41:02

@g4sra can you please rephrase that, I don't understand what you are trying to say.

#43 Re: DIY » What is the equivalent of "mock" on Devuan? » 2025-11-16 14:53:48

abower wrote:

I have to say sbuild is really where it is at in Debian today: it's the go-to tool for this

Thanks for the confirmation, that's the impression I got too, the guide from Stephan Lachnit that I linked in my previous message is based on sbuild and is fairly recent and he's an official Debian developer/packager.
pbuilder seems to have been superseded by sbuild, pbuilder seems to be older and no longer state of the art (although probably still usable).

s1mple wrote:

I think the best way to go about it is to ignore most other documentation and stick to the Debian Maintainers Guide

That was my initial way of thinking too, but it appears that a lot of official guides are not kept up-to-date and therefore don't really teach the current best practices.

#44 Re: DIY » What is the equivalent of "mock" on Devuan? » 2025-11-16 03:28:54

I haven't actually tried building a package with this setup yet but I followed the following guide that seems to setup a chroot environment for building deb packages comparable to "mock" for rpms: https://stephan.lachnit.xyz/posts/2023- … cacher-ng/

Can somebody with experience please confirm that this guide at the above link is correct and makes sense?

#45 Re: DIY » easydeb deb packager » 2025-11-15 21:17:09

@golinux thanks for that link, it's a well written guide and there is certainly some interesting info but all those methods described are geared towards someone who just wants to install some not already packaged software on his on PC, not to produce redistributable packages.

If easydeb does a clean chroot build as I hope it does then for me that's far more useful than the methods described in your link.

#46 Re: DIY » easydeb deb packager » 2025-11-15 20:21:00

When installing the deb package from your git repo I get the following error:

Unpacking easydeb-git (0.5.1.r0.g053bbf3) ...
Setting up libarchive-tools (3.7.4-4) ...
Setting up gawk (1:5.2.1-2+b1) ...
Setting up easydeb-git (0.5.1.r0.g053bbf3) ...
Compiling '/usr/share/easydeb/dependencies/missing_apt_dependencies.py'...
ln: failed to create symbolic link '/etc/firejail/easydeb.profile': No such file or directory
dpkg: error processing package easydeb-git (--configure):
installed easydeb-git package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for libc-bin (2.41-12) ...
Errors were encountered while processing:
easydeb-git
Notice: Download is performed unsandboxed as root as file '/home/user/Downloads/easydeb-git_0.5.1.r0.g053bbf3_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Error: Sub-process /usr/bin/dpkg returned an error code (1)

What "Download" does the Notice in the end refer to?
I had downloaded the package manually and then run apt install /home/user/Downloads/easydeb-git_0.5.1.r0.g053bbf3_all.deb as root (su - ) to install it.

#47 Re: DIY » usb controllers and qemu » 2025-11-15 20:01:53

zapper wrote:

I was hoping there was an easier way lol.

The far easier way would be to use VMware workstation for Linux which nowadays is totally free (as in beer), but you have to register an account with broadcom to download it (anyone can do it, it's not restricted to businesses, and since you don't have to show proof of the details you provide you can basically write whatever you want...).

#48 Re: DIY » easydeb deb packager » 2025-11-15 19:56:39

I had a read through some example debbuild files from you and find them a big step forward compared to the native deb packaging files. So from that point of view easydeb looks like a great improvement to me, thanks for making this tool available.

But I still have the following question:

exponentialmatrix wrote:

It takes recipes and builds deb packages.

Does easydeb build the packages in a clean chroot environment (like 'mock' does for RPM based distros) or simply with the environment of the user launching it?

#49 Re: DIY » What is the equivalent of "mock" on Devuan? » 2025-11-15 19:00:59

What makes the whole deb packaging process so difficult is that there is a bewildering array of packaging tools with overlapping functionality. Also dozens of how-tos that all describe different ways to do it. So as a newbie to deb packaging I don't know which how-to to follow.

For example the one suggested by RedGreen925 says right on top:

Page added to CategoryProposedDeletion
This page has been added to CategoryProposedDeletion. It was first writtin in 2006, and was marked redundant in 2019.

So it would seem that this is not the best guide to follow in 2025...

But by following some links on the above page I found a page about a tool called pbuilder that seems interesting:
https://wiki.debian.org/pbuilder

Is pbuilder something like mock that I should familiarize myself with or is that outdated and no longer useful too?

Just to add: I would like to learn to build deb packages good enough for redistribution, just like "mock" allows on RPM based distros, not to only install on the same system where I build them on (in which case getting the dependencies right wouldn't matter much).

#50 Re: DIY » What is the equivalent of "mock" on Devuan? » 2025-11-15 17:45:14

If there is no such thing as a Devuan equivalent to "mock" how do you make sure that the list of build dependencies is complete when creating a deb package?

Board footer

Forum Software