The officially official Devuan Forum!

You are not logged in.

#501 Re: Devuan » no automatic internet connection (wired) after chimaera update any mor » 2023-03-17 23:38:49

I'm guessing that you didn't have the wicd metapackage installed. If you did have it, you would have automatically gotten network-manager to replace it. You can bring up the wired connection and install n-m with the following commands (as root).

dhclient eth0
apt update
apt install network-manager-gnome

Or, if you don't want a gui program for connecting to the network, you could just edit /etc/network/interfaces and add the following:

auto eth0
iface eth0 inet dhcp

You can do one or the other, but don't do both of those things.

#502 Documentation » Encrypted lvm instruction video » 2023-03-16 14:57:37

fsmithred
Replies: 0

This video shows a path through the maze of debian-installer to make an encrypted lvm install. Devuan uses the debian-installer with a few modifications. The partitioning is the same in both.
https://www.youtube.com/watch?v=GEl2S5MI-WU

#503 Re: Desktop and Multimedia » Calibre qt issue » 2023-03-12 14:50:43

Maybe some qt package is missing. Here's what I have installed that has qt in the name (or description)
Compare what's in your laptop to this list or one like this from your desktop.

$ dpkg -l |grep qt
ii  libaudqt2:amd64                      4.0.5-1                                amd64        audacious media player (libaudqt shared library)
ii  libqt5core5a:amd64                   5.15.2+dfsg-9                          amd64        Qt 5 core module
ii  libqt5dbus5:amd64                    5.15.2+dfsg-9                          amd64        Qt 5 D-Bus module
ii  libqt5designer5:amd64                5.15.2-5                               amd64        Qt 5 designer module
ii  libqt5gui5:amd64                     5.15.2+dfsg-9                          amd64        Qt 5 GUI module
ii  libqt5help5:amd64                    5.15.2-5                               amd64        Qt 5 help module
ii  libqt5multimedia5:amd64              5.15.2-3                               amd64        Qt 5 Multimedia module
ii  libqt5network5:amd64                 5.15.2+dfsg-9                          amd64        Qt 5 network module
ii  libqt5opengl5:amd64                  5.15.2+dfsg-9                          amd64        Qt 5 OpenGL module
ii  libqt5positioning5:amd64             5.15.2+dfsg-2                          amd64        Qt Positioning module
ii  libqt5printsupport5:amd64            5.15.2+dfsg-9                          amd64        Qt 5 print support module
ii  libqt5qml5:amd64                     5.15.2+dfsg-6                          amd64        Qt 5 QML module
ii  libqt5qmlmodels5:amd64               5.15.2+dfsg-6                          amd64        Qt 5 QML Models library
ii  libqt5quick5:amd64                   5.15.2+dfsg-6                          amd64        Qt 5 Quick library
ii  libqt5quickwidgets5:amd64            5.15.2+dfsg-6                          amd64        Qt 5 Quick Widgets library
ii  libqt5sql5:amd64                     5.15.2+dfsg-9                          amd64        Qt 5 SQL module
ii  libqt5svg5:amd64                     5.15.2-3                               amd64        Qt 5 SVG module
ii  libqt5test5:amd64                    5.15.2+dfsg-9                          amd64        Qt 5 test module
ii  libqt5webchannel5:amd64              5.15.2-2                               amd64        Web communication library for Qt
ii  libqt5webengine-data                 5.15.2+dfsg-3                          all          Web content engine library for Qt - Data
ii  libqt5webengine5:amd64               5.15.2+dfsg-3                          amd64        Web content engine library for Qt
ii  libqt5webenginecore5:amd64           5.15.2+dfsg-3                          amd64        Web content engine library for Qt - Core
ii  libqt5webenginewidgets5:amd64        5.15.2+dfsg-3                          amd64        Web content engine library for Qt - Widget
ii  libqt5widgets5:amd64                 5.15.2+dfsg-9                          amd64        Qt 5 widgets module
ii  libqt5x11extras5:amd64               5.15.2-2                               amd64        Qt 5 X11 extras
ii  libqt5xml5:amd64                     5.15.2+dfsg-9                          amd64        Qt 5 XML module
ii  python3-pyqt5                        5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5
ii  python3-pyqt5.qtsvg                  5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5's SVG module
ii  python3-pyqt5.qtwebchannel           5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5's WebChannel module
ii  python3-pyqt5.qtwebengine            5.15.2-2                               amd64        Python 3 bindings for Qt5's WebEngine module
ii  python3-pyqt5.sip                    12.8.1-1+b2                            amd64        runtime module for Python extensions using SIP
ii  qt5-image-formats-plugins:amd64      5.15.2-2                               amd64        Qt 5 Image Formats module
ii  vlc-plugin-qt:amd64                  3.0.18-0+deb11u1                       amd64        multimedia player and streamer (Qt plugin)

#504 Re: Installation » [SOLVED] unplugged ssd grub problem...HELP! » 2023-03-12 14:46:46

To change an installed system from sysvinit to runit:

apt install runit-init

Follow any instructions on the screen and then reboot.

There's also a new package that has some runit scripts. See this post: https://dev1galaxy.org/viewtopic.php?id=5555

#505 Re: Desktop and Multimedia » Calibre qt issue » 2023-03-10 13:52:27

What do "complete load" and "complete reload" mean?

Did you run 'apt update' and 'apt upgrade' before installing calibre?

What is different between the two installations? Calibre runs fine on my chimaera laptop.

#506 Re: Devuan Derivatives » big memory stick 2 TB and refracta (or an other Devuan real or derivat » 2023-03-03 22:49:44

If you want a regular installation on the new stick, you can treat it like a hard drive. Partition it with gparted and then just install to that drive with refractainstaller. If you want to be able to use that stick on other computers, you'll need to make sure there's a bootloader on it. (and maybe a few other things to do.)

If you want a live-usb with persistence, I recommend using refracta2usb so that you can create a multi-boot live-usb with multiple persistent volumes (either partitions or loopback files). In that case, make the first partition fat32 and big enough to hold all the live-isos you want to use. And then make at least one linux partition for the persistent volume(s).

#507 Re: DIY » Regarding making cronie jobs, » 2023-03-03 12:53:49

The scripts in /etc/cron.* and /etc/rc.local will run as root. Any that you set in your desktop startup apps will run as your user.

#508 Re: DIY » Regarding making cronie jobs, » 2023-03-01 15:46:16

For every hour, you could put a script in /etc/cron.hourly.
For running something upon login, you would probably put it in some file that gets sourced at login or in your desktop's startup apps. (e.g. .bashrc, .profile, .xsettings, or other. I'm not sure what's most appropriate.)
For running something when you boot up, you could put commands in /etc/rc.local.

#509 Re: Installation » GRUB Grief » 2023-02-25 14:28:28

If the ubuntu root filesystem is encrypted, then os-prober in chimaera won't see it. Likewise, os-prober in ubuntu won't see the encrypted devuan. You will have to manually create a menuentry in ubuntu for the chimaera installation.

In ubuntu, put something like this in /etc/grub.d/40_custom and then run update-grub

menuentry 'Devuan' {
set root=(hd1,msdos1)
linux /vmlinuz ro root=/dev/mapper/your-vg-lg-name
initrd /initrd.img
}

Notes:
(hd1,msdos1) assumes that the /boot partition is the first partition on the second hard drive and it has msdos partition table.
/dev/mapper/your-vg-lg-name is the name of the logical volume that holds devuan's root filesystem.

If you switch the order of the hard drives permanently, either through bios settings or opening the box and switching cables, you could do the above procedure in devuan to get a menu entry for the encrypted ubuntu. (If it's not encrypted, then running os-prober should automatically add an entry for it.)

#510 Re: Desktop and Multimedia » [SOLVED] yt-dlp updated on GitHub but not Devuan » 2023-02-21 13:42:50

I didn't know yt-dlp was in the repo. The backports version is the same as what's in ceres/sid now, so there's nothing new to backport.

I keep a copy of the script in my user's bin/ and I have a script to wget the latest version from git. Apparently, that script is not needed - you should be able to run yt-dlp -U to update to the latest.

#511 Re: Devuan » Increasing need for RAM » 2023-02-19 22:20:08

jue-gen wrote:
fsmithred wrote:

amd64 devuan desktop-live isos (xfce) in qemu with 3G ram. ...

Each release uses more resources. Run ps_mem.py to see that each program uses more resources in each release. I've been watching this for over 20 years and it's consistent.

Yes, but now it would be interesting to know if 3G ram uses less memory than 8G ram or 16G ram or 32G ram.

Chimaera with 2G and 5G:

               total        used        free      shared  buff/cache   available
Mem:            1982         332        1013          15         636        1492
Swap:              0           0           0
               total        used        free      shared  buff/cache   available
Mem:            4932         320        3975          15         636        4379
Swap:              0           0           0

Daedalus with 2G and 5G:

               total        used        free      shared  buff/cache   available
Mem:            1974         546         765          14         828        1427
Swap:              0           0           0
               total        used        free      shared  buff/cache   available
Mem:            4924         656        3681          14         828        4268
Swap:              0           0           0

#512 Re: Devuan » Increasing need for RAM » 2023-02-19 10:40:29

amd64 devuan desktop-live isos (xfce) in qemu with 3G ram.

Beowulf:

              total        used        free      shared  buff/cache   available
Mem:           3002         273        1963          15         766        2561
Swap:             0           0           0

Chimaera:

               total        used        free      shared  buff/cache   available
Mem:            2987         343        2004          15         639        2482
Swap:              0           0           0

Daedalus:

               total        used        free      shared  buff/cache   available
Mem:            2979         557        1761          14         830        2422
Swap:              0           0           0

Each release uses more resources. Run ps_mem.py to see that each program uses more resources in each release. I've been watching this for over 20 years and it's consistent.

#513 Re: News & Announcements » X.Org Security Advisory: Security issue in the X server » 2023-02-16 12:10:45

jue-gen wrote:
Head_on_a_Stick wrote:

... The default Xfce desktop for Devuan uses SLiM or LightDM and both run X under the root user so both are vulnerable to this exploit.

Starting the desktop via GDM or startx will cause X to be run under the normal user and so avoid this vulnerability completely. ... )

Perhaps I have not understood the problem correctly. SLiM or LightDM is clear. But I am thinking about it:
How is it with SDDM?
When I start Plasma Wayland, that is o.k.
But if I start e.g. LXDE with SDDM, how is that.

lxdm and sddm both run X as root. To check that, run

ps aux |grep X

#514 Re: Desktop and Multimedia » how report a bug? » 2023-02-15 12:36:14

I thought reportbug was fixed, but I don't know for sure. I always use email to report bugs.
Send email to bugs@devuan.org
Subject line should be descriptive
First line of bug should have:

Package: <packagename>

And then the body of the email with explanation of the problem.

It's also not a bad idea to report the problem here first, in case it's not really a bug.

Instructions are here: https://bugs.devuan.org/Reporting.html

#515 Re: Hardware & System Configuration » Shutdown encrypted LVM on Beowulf » 2023-02-13 16:37:59

New cryptsetup-modified-functions is now in ceres. It'll migrate down to daedalus next week. I know that it installs correctly, but I can't test to see if it does what it's supposed to do. Please test and let me know. Thanks.

$ apt policy cryptsetup-modified-functions
cryptsetup-modified-functions:
  Installed: 2023.02.12
  Candidate: 2023.02.12
  Version table:
 *** 2023.02.12 100
        100 /var/lib/dpkg/status
     23.02.12 10
         10 http://deb.devuan.org/merged ceres/main amd64 Packages

Also, I noticed that this section still has a long timeout loop. In the past, I reduced the timeout to 1, I think. Is it still a problem?

_do_stop_remove() {
    local name="$1" i rv=0
    for i in 1 2 4 8 16 32; do
        remove_mapping "$name" 3<&- && break || rv=$?
        if [ $rv -eq 1 ] || [ $rv -eq 2 -a $i -gt 16 ]; then
            log_action_end_msg $rv
            break
        fi
        log_action_cont_msg "$name busy..."
        sleep $i
    done
}

#516 Re: Hardware & System Configuration » Shutdown encrypted LVM on Beowulf » 2023-02-11 23:01:54

I did two installs today with devuan_daedalus_5.0.preview-20230206_amd64_netinstall.iso.

One had an encrypted root partition and unencrypted /boot partition.
The other had encrypted lvm with unencrypted /boot partition, via Guided Partitioning in the installer.

I see no delay in shutdown with either system.

I can still update cryptsetup-modified-functions and build it for ceres/daedalus if there are cases where it's needed.
@devujan: Please put the final version you want me to use in a code box to make it easy for me. (so I don't screw it up.) Thanks.

#517 Re: Hardware & System Configuration » Shutdown encrypted LVM on Beowulf » 2023-02-10 13:39:59

Thank you!

I guess I will be reviving the cryptsetup-modified-functions package for daedalus.

devujan wrote:
rolfie wrote:

Outlook to Chimaera: there the issue is fixed.

rolfie

In Daedalus the problem is back....

--------------------------patch-----------------------------------------------
--- /lib/cryptsetup/cryptdisks-functions.orig   2023-01-31 21:00:09.967829315 +0100
+++ /lib/cryptsetup/cryptdisks-functions        2023-01-31 21:10:31.023816298 +0100
@@ -184,8 +184,16 @@
# Removes all mappings in crypttab, except the ones holding the root
# file system or /usr
do_stop() {
-    local devno_rootfs devno_usr
+    local devno_rootfs devno_usr vgs vg
     dmsetup mknodes
+       if [ -x /sbin/lvm ]; then
+        vgs="$(/sbin/lvm vgscan | sed -n '/"/s/^.*"\([^'\'']*\)".*$/\1/p')"
+         if [ -n "${vgs}" ]; then
+          for vg in ${vgs}; do
+           /sbin/lvm vgchange -a n ${vg} >/dev/null 2>&1
+          done
+         fi
+       fi
     log_action_begin_msg "Stopping $INITSTATE crypto disks"

     devno_rootfs="$(get_mnt_devno /)" || devno_rootfs=""
--------------------------patch/----------------------------------------------

Above patch mitigates the problem for me (Daedalus FDE && LVM).

Best wishes

Jan

#519 Re: Forum Feedback » [SOLVED] Search cooldown time » 2023-02-06 20:45:39

ralph.ronnquist wrote:

What is this about?

I'm not aware of any "cooldown time between searches" here?

I see it if I'm not logged in. Do a search, try to do another search immediately and it says I have to wait 30 seconds. When I'm logged in, there is no delay for the second search.

Note: I poked around the admin section looking for that setting, but I couldn't find it.

#520 Re: DIY » A Survey of User-made Content » 2023-02-04 16:11:02

boughtonp wrote:

What would be the benefit of a Devuan-specific community repository, as opposed to a Debian-wide one?

Unless you're not intending it to be Devuan-specific, in which case I amend the above to: what would you consider to be the benefits of a Debian-wide community repository?

I imagine that a Debian-wide community repository would not exclude software that requires systemd. One for Devuan would need to exclude things that won't install on Devuan. If you're running Debian, you will probably be able to use anything that's in the crapton repo.

#521 Re: Devuan Derivatives » GNUinOS - Libre » 2023-02-03 12:39:44

zapper wrote:
fsmithred wrote:

The version of live-boot in daedalus/ceres is still broken. Use the deb packages for live-boot and live-boot-initramfs-tools in the same sourceforge directory I linked in my last post.

Make sure you dd the iso to the whole device, not to a partition. ( to /dev/sdb and not to /dev/sdb1 for example.)

So qemu-system-x86_64 isn't a way to do so?

Aka, with the command parameters from earlier in this thread only slightly different.

Btw, if it doesn't work properly installing via qemu on a vm, that's usually a sign of somrthing needs to be fixed.

wink

If live-boot is broken (can't find the mount command) then it doesn't matter if you install to VM or hardware.

However...  the fixed version of live-boot is now in sid/ceres and will soon be in daedalus.

$ apt policy live-boot
...
  Version table:
     1:20230131 10
         10 http://deb.devuan.org/merged ceres/main amd64 Packages
         10 http://debian.csail.mit.edu/debian sid/main amd64 Packages
 

#522 Re: Off-topic » [QUESTION] UKUI DE in Devuan? » 2023-01-30 19:35:03

There does not seem to be a metapackage in debian for the ukui desktop. It looks like you have to install the parts separately. I tried a few that I thought would pull in the main parts of the desktop, but they did not. (ukui-session-manager, ukui-sessionserver, ukui-desktopserver).

I would expect to see a package called ukui, or ukui-desktop and probably task-ukui-desktop, too. Didn't find them in sid or at salsa.debian.org.

You could install the ukui parts after an install of the base system without a desktop, or you could install the base system and drop to a shell before exiting the installer, and install the parts in a chroot. (the installer makes this easy). My preference is to reboot into the installed base system first, and then add other things. Seems to be safer and easier in the long run.

#523 Re: Hardware & System Configuration » Disk blockdevice detecting order scrambled after every boot » 2023-01-29 18:34:09

TCH wrote:

Well, the order was the same for 11 years, across several versions of several distributions, including Devuan. Is there a chance that this was only coincidence?

Yes, there's a chance it's coincidence. I've gotten away with using device names instead of uuids many times, even though the recommendation to use uuids in fstab goes back to some older version of debian that pre-dates devuan. I forget which one.  (squeeze? wheezy?)

#524 Re: Freedom Hacks » Tinfoil Tuxery - Packages_of_interest » 2023-01-29 13:38:54

Another helpful tip - you can avoid installing Recommends with:

apt --no-install-recommends install <package>

Redshift will install without geoclue this way. (Edit: and without avahi-daemon.)

#525 Re: Freedom Hacks » Tinfoil Tuxery - Packages_of_interest » 2023-01-28 17:10:00

Altoid wrote:

I wonder if there's a way to scan the whole Debian/Devuan package information database to filter the packages that list zeitgeist (or its libraries) as a suggests or depends.
.

apt rdepends zeitgeist

will show packages that depend on zeitgeist. I don't know an easy way to get Recommends or Suggests.

Maybe some good tips here: https://dev1galaxy.org/viewtopic.php?id=511

Board footer

Forum Software