The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » [SOLVED] Suspend-to-RAM do not work in Excalibur » 2024-08-13 18:17:26

Try the following; in /etc/elogind/sleep.conf.d directory create the file 20-suspend.conf with the following contents

[Sleep]
SuspendMode=deep

and reboot.

#2 Re: Packaging for Devuan » [SOLVED] kicad 7 vs kicad 8. » 2024-04-17 13:00:20

On the off chance anyone else is waiting for kicad packages, I am using a flatpak version of kicad 8, it works fine.

#4 Packaging for Devuan » [SOLVED] kicad 7 vs kicad 8. » 2024-03-27 17:30:10

bigcat
Replies: 3

Hi All,

not sure if this packaging problem is on debian side or not -- this is what I get when installing kicad on my devuan testing box:

ii  kicad                                                    7.0.11+dfsg-1                     amd64        Electronic schematic and PCB design software
ii  kicad-demos                                              7.0.11+dfsg-1                     all          Demo projects for kicad
ii  kicad-footprints                                         8.0.1-1                           all          Footprint symbols for KiCad's Pcbnew
ii  kicad-libraries                                          7.0.11+dfsg-1                     all          Virtual package providing common used libraries by kicad
ii  kicad-symbols                                            8.0.1-1                           all          Schematic symbols for KiCad's Eeschema
ii  kicad-templates                                          8.0.1-1                           all          Project templates for KiCad

Notice the mismatch in versions between different kicad package components.

Please advise.   Thanks.

#6 Hardware & System Configuration » suspend with nvidia drivers » 2024-01-09 15:15:50

bigcat
Replies: 3

Greetings,

I am using a recently installed daedalus system with nvidia drivers.   The system cannot be suspended, with the following message in syslog:

loginctl[15454]: Failed to suspend system via elogind: Connection timed out

I spent about an hour looking for solutions.  It looks like a lot of people have the same problem.
Posting here just in case someone knows what's going on.   The driver version is nvidia-tesla-470.
Thanks for any suggestions!

Edit: there was one report that systemd does suspend successfully.  I cannot verify that since all my machines are on devuan now. I am skeptical about that claim because both systemd and elogind are likely to use the same mechanism to signal the suspend.

#7 Re: Hardware & System Configuration » merged /usr » 2024-01-08 18:12:18

Interesting read here:  https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge

Q: Does dpkg support merged-/usr-via-aliased-dirs?
A: No. This approach is considered broken by design and breaks many common expectations.

Further down in the page:
Debian officially only supports merged-/usr-via-aliased-dirs systems. Converting to an unmerged-/usr setup might break the system in unexpected ways in the future, including data loss or failure to boot.

I don't know what to make out of this.

#8 Re: Hardware & System Configuration » merged /usr » 2023-12-30 02:10:52

Well it wasn't too bad. I had to apt-get install --reinstall initramfs-tools, lvm, and dmsetup.

#9 Re: Hardware & System Configuration » merged /usr » 2023-12-30 01:24:30

Home directories are on external storage, configs including /etc are under git and backed up as well. So I will only lose about an hour of my time. But you are right, I should have backed system directories as well.

#10 Re: Hardware & System Configuration » merged /usr » 2023-12-30 00:57:26

Well, I hope others will not do what I've done this morning. I installed usrmerge and ended up with a system where most things do not work. Trying to recover but will probably just reinstall. Beware.

#11 Re: Hardware & System Configuration » merged /usr » 2023-12-29 01:42:32

golinux wrote:

There are extensive discussions on the DNG mail list. The takeaway (if I understand it correctly) is that unless we have a huge influx of devs to fork the necessary packages, usrmerge will be unavoidable. Read and draw your own conclusions.

Thanks.  Looks like I have to suck it up and install it if I were to continue following testing.

#12 Hardware & System Configuration » merged /usr » 2023-12-26 14:44:55

bigcat
Replies: 96

A question to system maintainers, should we install the "usrmerge" debian package?
Please see the following link:  https://salsa.debian.org/md/usrmerge/ra … DME.Debian

After the latest update (devuan testing) the mount command cannot find the mount.nfs binary.  It expects it in /sbin, but nfs-common package installs is in /usr/sbin.   Here is the corresponding entry from debian changelog of nfs-common package

nfs-utils (1:2.6.3-4~exp1) experimental; urgency=medium

nfs-utils (1:2.6.3-4~exp1) experimental; urgency=medium

  * Remove extraneous words left behind by commit 522837f. (Closes: #1051088)
  * Install systemd units to /usr/lib/systemd/system
    - debian/rules: Drop explicit setting with path for Debian
      --with=systemd=/lib/systemd/system and install the systemd units by
      default in /usr/lib/systemd/system trough --with-systemd
    - debian/nfs-common.install: Install systemd units from
      /usr/lib/system/system
    - debian/nfs-kernel-server.install: Install systemd units from
      /usr/lib/system/system
    - debian/*.links: Create symlinks for systemd units from and to
      /usr/lib/systemd/system instead of /lib/systemd/system
  * debian/rules: Don't force nfsdcltrack and mount helpers into /sbin
  * nfs-common: Install {u,}mount.nfs{,4} into /usr/sbin
  * nfs-common: lintian-overides: Adjust paths after installation to /usr/sbin
  * nfs-kernel-server: Install nfsdcltrack to /usr/sbin
  * debian/rules: Update chmod call to fix permissions of /usr/sbin/mount.nfs
  * Install rpc.statd, sm-notify and showmount into /usr/sbin
    - Install binaries to default locations in /usr/sbin
    - Drop now oboslete patches to reference sm-notify from /sbin
    - Drop now obsolete patches to change ExecStart to start sm-notify and
      rpc.statd from /sbin

-- Salvatore Bonaccorso <carnil@debian.org>  Mon, 20 Nov 2023 22:13:01 +0100

Thanks.

#13 Re: Installation » /sbin/mount.nfs missing after an update » 2023-12-25 23:27:36

Maybe they don't care anymore because of this: https://wiki.debian.org/UsrMerge  :  In February 2021, the Technical Committee has resolved that Debian 'bookworm' should support only the merged-usr root filesystem layout, dropping support for the non-merged-usr layout.

#14 Installation » /sbin/mount.nfs missing after an update » 2023-12-25 17:26:42

bigcat
Replies: 4

Greetings all,  I track devuan testing.  Today after an update remote NFS would not mount on boot.   Turns out /sbin/mount.nfs went missing.  A symbolic link from /usr/sbin/mount.nfs has fixed this.

Does anyone know what is going on?  I recall there was some old discussion about merged /usr directories in debian.

#15 Re: Installation » [SOLVED] Switching between init choices » 2023-06-27 17:38:14

It worked on my desktop, too.  The only problem is that I could not reboot afterwards and had to power cycle the machine.

#16 Re: Hardware & System Configuration » [SOLVED] runit as init and startup order » 2023-06-27 13:53:39

Marking solved and answering myself.  I misread the /lib/runit/run_sysv_scripts.  It runs the init script only if the corresponding service is NOT found in /etc/sv.

#17 Installation » [SOLVED] Switching between init choices » 2023-06-27 13:27:42

bigcat
Replies: 5

Greetings All,

If I chose runit as a system init during installation, and would like to switch to sysvinit, is it a simple matter of installing sysvinit-core  and sysvinit packages?

I tested this in a VM and it seemed to work.

Thanks.

#18 Hardware & System Configuration » [SOLVED] runit as init and startup order » 2023-06-27 02:27:48

bigcat
Replies: 1

I have a devuan (chimaera) system with runit used as init.

The system has dnsmasq installed and it is used as a local dns server, /etc/resolv.conf contains 127.0.0.1 as a nameserver:

domain xyz
search xyz
nameserver 127.0.0.1

Looking at the init scripts in /etc/rc2.d, I see S03dnsmasq and S03ntpsec (the first file is before the second file in alphabetical order).

I suspect ntpsec is started before dnsmasq, because as soon as I modified /etc/resolv.conf to use nameserver 127.0.0.1, the machine started to hang for a few minutes on boot  with "starting ntp" message.

How is the startup order determined when running under runit?

The second mystery is the file /lib/runit/run_sysv_scripts which seems to run scripts from /etc/rc2.d in alphabetical order but only if  a corresponding file is present under /etc/sv.   /etc/sv/dnsmasq is present, but I don't see /etc/sv/ntpsec. How is the latter started during boot?

Thanks.

#19 Re: Hardware & System Configuration » [SOLVED] rsyslog, logrotate » 2023-06-23 13:37:12

Thank you very much.

I am running rsyslogd with runit.

I added "sv hup rsyslog" to the end of /etc/cron.daily/logrotate file, I expect this should fix the problem.

#20 Re: Hardware & System Configuration » [SOLVED] rsyslog, logrotate » 2023-06-19 14:20:53

Thanks for the suggestion.

I used netinstall dvd, and I removed anacron after the install finished.  Using the plain old cron.

#21 Hardware & System Configuration » [SOLVED] rsyslog, logrotate » 2023-06-18 18:00:12

bigcat
Replies: 4

I noticed that on a new chimaera installation after rotating logs, rsyslog continues using the old syslog.1 file.  Did anyone else run into this?  There is probably kill -HUP rsyslog_PID missing somewhere.

Thanks.

Edit: I am using runit as init in case this matters.

#22 Re: Hardware & System Configuration » nfs setup server and client (nit permanently in the network) » 2023-06-06 18:38:42

autofs does not play well if a user tries to access a directory under its control.

Another way is to put "noauto" in /etc/fstab and have a script in /etc/rc.local that would ping a known IP and then do a "mount -a" on success.

#23 Re: Hardware & System Configuration » Thinkpad T14s gen 3 and display backlight (adjustment not working) » 2023-06-05 22:56:14

Standardpoodle wrote:

Seems like it suddenly started working. Will write again if there is still a problem.

I vaguely recall configuration in xorg.conf might be needed.  See this for example:  https://unix.stackexchange.com/question … xbacklight

Apologies if this is not relevant.

#24 Re: Hardware & System Configuration » [SOLVED] rtc clock problem » 2023-06-04 13:51:30

Thank you.

My current remedy is the following.  Create a file /etc/elogind/system-sleep/ntp.sh
with the following contents:

#!/bin/sh
case $1 in
        pre)
                /etc/init.d/ntpsec stop
                /bin/sleep 1
                ;;
        post)
                /usr/sbin/ntpd -gq
                /etc/init.d/ntpsec start
                ;;
esac

This seems to set the correct time on resume.

#25 Re: Hardware & System Configuration » [SOLVED] rtc clock problem » 2023-06-03 15:39:43

BTW I believe this problem is related to this particular hardware and not to devuan.  I have 8 machines with different hardware at home, all running the same system, and this one is the only machine that cannot set/update the hardware clock.  I am just not sure how debian managed to work around this.

Board footer

Forum Software