The officially official Devuan Forum!

You are not logged in.

#676 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).

#677 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.

#678 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.

#679 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.)

#680 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.

#681 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

#682 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.

#683 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

#684 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

#685 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
}

#686 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.

#687 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

#689 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.

#690 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.

#691 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
 

#692 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.

#693 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?)

#694 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.)

#695 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

#696 Re: Off-topic » Should someone use openai ChatGPT? » 2023-01-28 16:33:11

56jhonsmith wrote:

Why don’t you tell me?

"I'm sorry, Dave. I'm afraid I can't do that."

#697 Re: DIY » sudo and slim » 2023-01-28 16:05:24

I read through this thread quickly and may have missed something, but it sounds like you're trying to make changes in a running live session. Or maybe you're surgically modifying the iso file and then booting the result. Those ways sound difficult to me. Easier is to install devuan into a spare partition or into a virtual machine, configure it the way you want, and then run refractasnapshot.

To boot the live isos without autologin, add the word noautologin to the boot command.

To boot the live isos without sudo, add nocomponents=sudo to the boot command.

Read man live-config for more.

#698 Re: Devuan » what's going on with aufs? » 2023-01-27 21:26:57

You'll also need to recompile the kernel to support aufs. (or use one that does support it)

Maybe I'm dense, but I don't understand what you're trying to do.

#699 Re: Installation » [SOLVED] consolekit requirement » 2023-01-23 22:26:22

I was wrong. That package is gone and consolekit was rebuilt without the dep on libcgmanager0.

If you refuse aptitude's first suggestion, it should give you other possible solutions.

Edit: if that doesn't work, whatever is wrong will get fixed tomorrow or so.

#700 Re: Installation » [SOLVED] consolekit requirement » 2023-01-23 21:51:09

This post intentionally left blank.

After update, it's gone.

$ apt policy libcgmanager0
libcgmanager0:
  Installed: (none)
  Candidate: (none)

Board footer

Forum Software