The officially official Devuan Forum!

You are not logged in.

#201 Re: Installation » Remote directory for updates deb.devuan.org not work !!! » 2024-12-10 20:32:17

You should verify that the installation sets up the network properly.
One method for that is to:
1. start the installation, and advance to where it is asking for root password
2. then press ctrl-alt-f2 so as to shift to get a shell prompt in VT2
3. type: ping -c 1 deb.devuan.org
which should respond with success.

If not, then the network is not set up for some reason, and that would also be the reason for not connecting to the repository host(s).

#202 Re: Installation » Devuan Daedalus - hibernation settings » 2024-12-06 21:02:00

I'd guess you a had a disruptive space on the linemaking it be "RESUME= none" .

Since the file gets processed as a shell script (i.e. sourcing it into the exection of /usr/sbin/mkinitramfs) you got to experience the shell script difference between the two lines lines:

RESUME=none
RESUME= none

The first line sets RESUME to "none" within mkinitramfs while the second line sets RESUME to  the empty string for a sub shell attempting to execute a program named "none".

It's a simple mistake to make and clearly the usability coefficient for initramfs-tools has room to be raised. In fact, one could say that that way of loading variables has big clown feets well into the security risk space.

#203 Re: Installation » Devuan Daedalus - hibernation settings » 2024-12-06 11:49:03

Please show the file in that failing use case, when you set RESUME=none and run into the complaint when running update-initramfs.

#204 Re: Installation » Devuan Daedalus - hibernation settings » 2024-12-06 10:58:07

Please show your file /etc/initramfs-tools/conf.d/resume.

Is there another file in /etc/initramfs-tools/conf.d/ ? If so, which, and please show it too.

#205 Re: Desktop and Multimedia » [SOLVED] Ctrl+Alt+F1...6 freezes desktop and unable to get to console » 2024-12-06 07:39:48

does it wake up with ctrl-alt-7 ?

if so, which init system do you use? and does it start getty on tty1-6 ?

#206 Re: Other Issues » [SOLVED] Pcmanfm offers free appimages of krita 5.2.3 and other bugs??? » 2024-12-02 22:41:07

What do people expect from going to Microsoft for software? Sanity?

#207 Re: Hardware & System Configuration » Disable a NIC at boot. » 2024-12-02 22:31:19

no! Don't destroy the loopback interface configuration!

Use "man interfaces"

EDIT. Btw the kernel will install an adapter for the wireless card if it has the software to do so. You may use "rfkill" to software-block the adapter, and then no networking will be configured for it. However, you will need that "rfkill" to happen early on, so will probably need to add it into initrd's init scripts. And that is a second cloud of knowledge to gain, perhaps starting with "man initramfs-tools".

#208 Re: Installation » Power-profiles-daemon doesn't work on Devuan » 2024-12-01 12:42:26

Well, dbus service activation pre-dates systemd, but nowadays there's activation script mangling added... you can if you wish translate that systemd activation script into a proper dbus activation script and then get the normal dbus activation happening.

#209 Re: Forum Feedback » Not able to edit my own post » 2024-11-27 22:11:13

The limits on post editing is a dev1galaxy feature introduced by myself in late 2020.

The forum code started with FluxBB 1.5 a couple of years ago, and has then been subject to a few local adaptions (such as "spammer barrier" in 2015, "javascript reduction" in 2017, "improved i18n" in 2019, "trolling barrier" in 2020, "oath login" (failed) in 2022, "styling refresh" in 2023).

Today it sits there in full beauty and perfection, and just waiting for the next one or two responsible code caretakers. Please drop in to #devuan-dev at libera.chat to discuss how to make that a role of yours.

#210 Re: Off-topic » [SOLVED] forum image embedding question. » 2024-11-26 23:10:44

This forum does not offer inline display of images... or does it? Yes it does, if you have configured your profile thusly.

Click on the "Profile" link, then click on the "Display" menu entry and then decide about whether to set (or not) the toggle for "show images in posts", followed by a light poke at the "submit" button.

#211 Re: Hardware & System Configuration » Thinkpad t460p, ext. keyboard detection not working after upgrade » 2024-11-24 21:57:12

Well, I'd say those scripts are the right ones so adding "sleep 5" early on but not at the very top in them would be the test.
1. add a new line with "sleep 5"
2. run "update-initramfs -u -k all"
3. reboot
If a process race is happening and the cause for the issue, then those "sleep" should delay the decryption handshake enough to allow udev to do its thing beforehand.

#212 Re: Hardware & System Configuration » Thinkpad t460p, ext. keyboard detection not working after upgrade » 2024-11-23 23:24:47

Right. Yes, I mistook it for full-disk encryption.

WIth only the root filesystem encrypted the kernel and initramfs would be involved. And it needs the initial udev run to handle USB; you've tried unplug + plug in while it's waiting for input?

Upgrade of kernel should not in itself have effects on the initrd except for possible differences in the module setup. Though there may be interesting effects in process handling, and especially in this case there is an inherent race between udevd handling USB and cryptsetup reading password.

You can investigate the race option by locating the cryptsetup invocation in the scripting, either "/etc/initramfs-tools/..." or "/usr/share/initramfs-tools/...", and introduce a "sleep 5" before it (then update-initramfs and reboot).

#213 Re: Hardware & System Configuration » Thinkpad t460p, ext. keyboard detection not working after upgrade » 2024-11-23 22:09:18

It may be worth to consider that the software used for entering a decryption password prior to boot has nothing to do with the kernel or with anything on the encrypted part of the disk.

#214 Re: Other Issues » New packages automatically installed? » 2024-11-21 00:55:19

Apparently your system has older versions those packages, and your command asks for upgrading anything upgradable. You might try

$ apt-cache policy libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37

to get more information before accepting... or maybe that's too late now?

#215 Re: Desktop and Multimedia » Pluma bug and proposed fix: Where do I report, and what happens next? » 2024-11-04 01:46:26

You should also point out that as it's github, it will require a Microsoft login for rising issues, and probably then also add that noone will want that.

#216 Re: Other Issues » [SOLVED] changing the size of udev filesystem on /dev » 2024-10-27 22:50:25

(I edited this post since my first suggestion was bogus)

The devtmpfs filesystem is set up and initially populated by the kernel, and that uses 50% RAM as its limit.

The first mounting happens in the initrd's init scripts which are provided by initramfs-tools at /usr/share/initramfs-tools/. In my case it's at /usr/share/initramfs-tools/init:36, where you may add a size=nnn limit. Then use update-initramfs so as to include your fix in the initrd, and then reboot. Perhaps like the following hands-on:

# sed '/devtmpfs/s|-o |-o size=100M,|' -i /usr/share/initramfs-tools/init
# update-initramfs -u -k all
# reboot

EDIT: This way worked for me and it's as early as possible (without rebuilding the kernel).

#217 Re: Devuan » RISCV support » 2024-10-24 21:32:16

It may depend on what you mean by "Devuan" and "support for".

Technically "Devuan" (as organisation) is merely this small group of people that publish the collection of packages that includes all debian packages except some. Those that require systemd have been forked where possible and they are maintained (by these people) towards providing relevant functionality without systemd; most are forked but a few end up just being excluded from the devuan repositories. Currently supported (i.e. maintained, built and published) architectures are amd64, arm64, armel, armhf, i386, riscv64 and ppc64el (all using debian's architecture labelling).

Though "Devuan" (as organisation) might also be understood to include the people that compose and publish filesystems and disk images that are installations of various kinds using devuan packages. Those works span a more limited range of architectures and they provide support (or not) individually for their published works. I'm aware of people having riscv64 installations of devuan packages but not of anyone publishing such for replication.

#218 Re: Hardware & System Configuration » [SOLVED] Xorg: libseat1: failure to reclaim USB input devices » 2024-10-21 23:16:19

Sure does... smile

And you were right in that the libseat integration had lost the code path handling "devices added while VT inactive". I.e., the device got added "as per normal" and that of course failed upon opening file descriptor which resulted in Xorg dropping it. This lost code path captures the device when inserted, in a separate list, and then that list is used for "re-inserting" the device (as per normal) when VT is activated.

A patch for this is now moving through the QA and packaging steps. (step h)

#219 Re: Hardware & System Configuration » [SOLVED] Xorg: libseat1: failure to reclaim USB input devices » 2024-10-20 20:01:33

Now we

  1. go to our fork of https://git.devuan.org/devuan/xorg-server.git

  2. check out suites/unstable

  3. use dpkg-checkbuilddeps as guide for installing build dependencies

  4. build a local Xorg with debian/rules binary

  5. temporary "install"  resulting debian/build/main/hw/xfree86/Xorg as /usr/lib/xorg/Xorg

  6. perform a verification test

  7. edit the code and repeat from d until the misbehaviour goes away without we adding some new misbehaviour

  8. update the packaging and version and stuff

  9. issue a merge request

  10. wait while that gets merged, built and published by others

  11. install the fixed version.

Easy Peasy

#221 Re: Hardware & System Configuration » [SOLVED] Xorg: libseat1: failure to reclaim USB input devices » 2024-10-20 00:27:00

Good question, though not easy to answer. As I have some idea about the code flow, I can match (try to) it up with the log and in particular trace back from anomalous log entries. For Xorg logs you split it into the temporal strands broken by the times where the user has made a short pause in between the use case steps. Post#13 shows that clearly

Unfortunately Alverstone has hand edited the log before posting -- the log we see is not actually the log they got. But I believe that all log lines are included with their correct timestamps and only certain identifiers have been "mangle mapped" under an idea of protecting personal information.

On that assumption there's now enough for me to build a test case that should repeat the misbehaviour, with in particular the logs of #13 providing basis for log comparison.

The "bad" #13 log at timestamps 169.760--169.768 presents the setup for "the problem device" which appears to be a USB keyboard+mouse combo where after some extra logic event4 gets set up as a mouse data stream and the keyboard data stream setup gets postponed as a "virtual subdevice", at timestamps 169.812--169.812.

By the seatd calls, that uses input device with file descriptors 132.

At 174.228 the log starts showing the switch to VT 3, which in particular results in all input devices being "removed" from Xorg's internal data structures, that all their file descriptors are closed via seatd. Notably the device modules are not unloaded though.

In comparison, log good#13 shows the VT shift-away in log lines 104.675--104.744 with the same activity although logged differently. In particular that the logind log lines calls it "paused".

Next we can trace in the log that the "problem device" is unplugged and plugged back by virtue of Xorg handling the udev events while its VT is inactive. Thereafter the log (at bad#13: 192.148) represents the shift back and activation VT4 followed by (at bas#13:195.493) the Xorg termination.

The strand from bad#13:180.566--180.567 seem to represent the bug that the internal data structure discards the event4 handling and that the libinout module gets unloaded. That would result in that the subsequent VT entry does not re-establish event4 without the user again unplug/plug-in the device. The exact bug requires source review.

Notabley the log strand good#13: 160.359--160.414 where the device is plugged in while Xorg's VT is inactive doesn't present a failing attempt to aqire event4. Instead it gets "opened in paused state" that (in some way) avoids re-establsihing the "virtual sub device".

So, in short, it's a bit like reading the future in tea leaves smile

#222 Re: Hardware & System Configuration » [SOLVED] Xorg: libseat1: failure to reclaim USB input devices » 2024-10-18 13:20:59

Yes that was noted, and I'm trying to pinpoint what the issue is more exactly. The fork was done so as to extend input mediation to have seatd as alternative mediator instead of logind.

Please post a log using seatd as Xorg backend, and libinput to handle the problem device.
Also, please post the log of the working debian package. In both cases I will need to see the whole session from start of Xorg to the return to the VT.

fsmithred's case is different since that doesn't include input mediation and the log does not report error.

#223 Re: Off-topic » The Joke Thread » 2024-10-18 01:04:28

mmm enjoying a good laugh is a reality worth pursuing, I think wink

#224 Re: Off-topic » The Joke Thread » 2024-10-17 23:59:05

Yeah I don't mind people attempting to amuse themselves and others, but that useless waste of vertical space is grating. (That's why I already added a filter to remove strands of newlines. I didn't think anyone would be s...inclined enough to force vertical space by single dots or whatever)

#225 Re: Off-topic » The Joke Thread » 2024-10-17 22:14:03

@T-A-P Can you please stop that useless vertical spacing... you just makes everything even more boring!

Board footer

Forum Software