You are not logged in.
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.
On the off chance anyone else is waiting for kicad packages, I am using a flatpak version of kicad 8, it works fine.
Got it, thank you!
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.
Thanks All.
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.
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.
Well it wasn't too bad. I had to apt-get install --reinstall initramfs-tools, lvm, and dmsetup.
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.
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.
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.
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.
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.
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.
It worked on my desktop, too. The only problem is that I could not reboot afterwards and had to power cycle the machine.
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.
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.
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.
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.
Thanks for the suggestion.
I used netinstall dvd, and I removed anacron after the install finished. Using the plain old cron.
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.
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.
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.
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.
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.