The officially official Devuan Forum!

You are not logged in.

#1451 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-07-09 10:50:08

I think you can ignore those warnings.
https://unix.stackexchange.com/question … bytes-read

I'm not surprised that gnome won't let you change an icon. The gnome devs are in love with the idea of brand identity. They don't want you to change the way the desktop looks.

#1452 Re: Other Issues » Can't mount LUKS VG LVMs - Failed to activate device: File exists » 2020-07-09 10:48:31

john2009w wrote:

The problem is that Devuan boots just fine, but I can't mount any LVMs inside my VG that Devuan is booting from. I tried:

$ sudo udisksctl unlock -b /dev/sda2
Passphrase: 
Error unlocking /dev/sda2: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error unlocking /dev/sda2: Failed to activate device: File exists
$ sudo udisksctl mount -b /dev/mapper/vg1-storage
Error looking up object for device /dev/mapper/vg1-storage
$ sudo vgscan | grep vg1
  Found volume group "vg1" using metadata type lvm2
$ sudo lvscan | grep storage
  ACTIVE            '/dev/vg1/storage' [xxx GiB] inherit

Even Thunar and pcmanfm is failing to do so, while pcmanfm just repeats the message on terminal "Error unlocking /dev/sda2: Failed to activate device: File exists" and Thunar silently fails. Tried so many config changes around the web, but didn't help.

If the system is running on a logical volume inside the luks container, then the luks container is already open and the volume group is already active. You should be able to mount whatever /dev/mapper/something that needs to be mounted. Or maybe mount /dev/vg1/storage.

Or maybe I'm missing something because I don't know udiskctl. I always use cryptsetup, vgchange and mount to manually mount encrypted lvm.

#1453 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-07-07 13:19:10

Onward, if I install Gnome3, I assume the udevd worker problem may arise.

Maybe, but that's not the case here. It boots fine with gnome and 5.6 bpo kernel. Here's the package list from that system.
http://distro.ibiblio.org/refracta/misc/pkglist_gnome

Also, desktop-live installed and with 5.6 kernel added works fine.

#1454 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-07-06 14:37:17

Debuser2018 wrote:

I am going through boot messages while udevd got stuck. It says  "1 urandom warning(s) missed due to ratelimiting". Is this related to the entropy bug too? I already installed haveged.

I've seen that warning on systems that boot. I don't think it's a problem.

I added bluez and then blueman, rebooting after each. Still can't reproduce the problem. You may need to install things one at a time and see which package breaks it.

#1455 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-07-05 15:54:11

Debuser2018 wrote:

...nothing much...

'apt install' appears on 47 lines. I realize some of those are repeated because they did not run the first time, but there was still a lot added.
You added ubuntu repository keys, so I have to wonder what was installed from ubuntu that might cause problems.
Looks like you installed the 5.7 kernel from unstable.
And you purged and reinstalled other stuff. 

I can't tell what went wrong or when it happened.

#1456 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-07-05 12:16:19

Tell me exactly what you installed and how you installed it. Reinstalling the kernel and xorg did not break anything here.

#1457 Re: Documentation » Devuan Packaging Guide » 2020-07-05 12:03:42

LU344928 wrote:

Link no longer working - 404

Thanks! Here's the new link:
https://git.devuan.org/devuan/documenta … aintainers

(Fixed in first post, too.)

#1458 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-07-04 14:15:22

The oblx5.6 iso excludes Recommends from installing and there are few or no metapackages, no display manager, no policykit, no elogind or libpam-elogind, just has libelogind0.

Here's a full list of config files that were changed in the oblx5.6 iso. The only thing in this list that was changed to fix a boot delay was lvm.conf, and that was changed in the desktop-live isos, too.

# debsums -ca
/usr/lib/os-release
/etc/initramfs-tools/initramfs.conf
/etc/pam.d/login
/usr/share/lxdm/themes/Industrial/nobody.png
/etc/lxdm/lxdm.conf
/etc/pmount.allow
/etc/sysctl.conf
/usr/bin/refractainstaller-yad
/etc/xdg/user-dirs.defaults

Maybe an answer in these lists, but for sure a lot of noise:

Packages in oblx5.6 that are not in the desktop-live:
http://distro.ibiblio.org/refracta/misc … p-live.txt

Packages in desktop-live that are not in oblx5.6:
http://distro.ibiblio.org/refracta/misc … blx5.6.txt

#1459 Re: Devuan Derivatives » Refracta Chimaera 64bit iso (Solved for me Hope this thread helps) » 2020-07-02 13:36:14

Updated iso:
snapshot_chimaera_01-20200702_1212.iso
https://get.refracta.org/files/experimental/

This one is bigger because it has both 5.6 and 5.7 kernels (and headers).
It boots 5.7 by default. To boot 5.6 you need to press TAB or e to edit the boot command. Change vmlinuz and initrd.img to vmlinuz.1 and initrd.img.1

Also added crda, wireless-regdb, ca-certificates, firefox-esr.

#1460 Re: Devuan Derivatives » Refracta Chimaera 64bit iso (Solved for me Hope this thread helps) » 2020-07-02 11:20:42

To get rid of the network delay on boot, edit /etc/network/interfaces and change 'allow hotplug' to either 'auto' or 'manual', or else you could apply the changes to /etc/init.d/networking as described here:
https://dev1galaxy.org/viewtopic.php?pid=15493#p15493

I don't know about that old bug report for 4.15 kernel. Someone else was having problems with the 5.6 backports kernel, maybe related:
https://dev1galaxy.org/viewtopic.php?id=3621

I added crda and wireless-regdb to that system and previously added ca-certificates. I'll upload a newer iso soon. (I almost deleted it yesterday and then changed my mind!)

#1461 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-07-01 12:00:13

I installed that iso in a qemu VM in uefi mode. I can't get it to boot at all without booting from the iso and using grub commands to boot the virtual hard disk. That's a qemu issue, I'm pretty sure. Anyway, it boots like that, and when I install gnome, it still boots that way, and it's pretty fast.

If you try installing from that iso, user the cli installer, not the graphical one in the apps menu. I ran into gtk problems with that. Just run 'refractainstaller' as root.

#1462 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-07-01 10:52:28

https://get.refracta.org/files/experime … 0_1456.iso

sha256sum:

dc97d884f860b12791f40fbe4d1a4b04a1a2e2cbe4e937dd4a64d6ed598998be  refracta-test-oblx_5.6bpo_openrc-20200630_1456.iso

#1463 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-06-30 15:06:06

One way to get more information is to edit /etc/udev/udev.conf and set udev_log="debug" and make sure it's uncommented.

If you want to try with the system that I'm using for testing, I can upload a live-iso later today.

#1465 Re: Installation » Errors encountered processing: libgstreamer-gl1.0-0_1.14.4-2_amd64.deb » 2020-06-29 23:16:32

Use apt, apt-get or aptitude remove Package.
You probably won't need to name all of them, as some will come out automatically with others.
Aptitude will most likely remove more than the others.

You can do 'apt autoremove' afterward to get rid of unneeded packages that weren't already removed.

'apt-get autoclean' will get rid of the obsolete packages in /var/cache/apt/archives
'apt-get clean' will get rid of all the packages in /var/cache/apt/archives

After the packages have been uninstalled/removed, can I, then, copy the previously downloaded non-dmo .deb files into "/var/cache/apt/archives/" before executing apt-get dist-upgrade with the Laptop not connected to the Internet from the chroot environment?

I have no idea, but it sounds like you know what you're doing. I've never done it that way.

#1466 Re: Installation » Errors encountered processing: libgstreamer-gl1.0-0_1.14.4-2_amd64.deb » 2020-06-29 18:54:26

I guess the plan would be to remove whatever is blocking the upgrade and whatever else you don't need. You can probably remove all or most of the dmo packages. And anything with "deb9" in the version is for stretch/ascii.

#1467 Re: Devuan Derivatives » Refracta beowulf xfce isos » 2020-06-29 15:20:32

Cool! I'm glad you like it.

I neglected to make an announcement, but the beowulf version of refracta is no longer in beta. Refracta10 is here! Some bugs mentioned in this thread have been fixed or workarounds are in place.
That was discussed here: https://dev1galaxy.org/viewtopic.php?id=3520

Isos are here:
https://get.refracta.org/files/stable/

#1468 Re: Installation » Problems with beowulf » 2020-06-29 15:14:37

Add 'sleep 1' to /etc/init.d/eudev as shown here:
https://bugs.devuan.org/cgi/bugreport.cgi?bug=483#10

That should take care of 1 and 2. If 1 is still a problem after that, install acpi-fakekey.
I don't have any ideas for 3, but maybe that will get fixed, too.

If you want to test this before you do it, you can run (as root):
udevadm trigger --action=add
and see if that gives you sound. This won't persist beyond a reboot. Editing the init script will.

#1469 Re: DIY » [HowTo] runit-init as PID1 » 2020-06-29 15:06:46

The question mark and square bracket are the prompt. I got the same. And it did what I said!

And more...

This required some minor hacking to get around dependency issues. When sysvinit gets removed, live-config-sysvinit and refractasnapshot go with it. I copied all the files into place and it works. There needs to be a live-config-runit package.

user@refracta:~$ cat /proc/1/comm 
runit
user@refracta:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            480M     0  480M   0% /dev
tmpfs            99M  392K   99M   1% /run
/dev/sr0        965M  965M     0 100% /run/live/medium
/dev/loop0      927M  927M     0 100% /run/live/rootfs/filesystem.squashfs
tmpfs           494M  440K  493M   1% /run/live/overlay
overlay         494M  440K  493M   1% /

System was installed in a VM, and the live-iso was made with refractasnapshot.
The iso boots in qemu and also isohybrid usb boots on hardware. Stuff works.
This is in beowulf. I think aitor may have done this already. I'm surprised at how easy it was.

#1470 Re: Other Issues » Solved - xfce4 session issues » 2020-06-29 13:28:47

Maybe...

https://files.devuan.org/devuan_beowulf … _notes.txt

Power buttons are disabled on the lightdm login screen with elogind.
(See Debian bug [#932047](https://bugs.debian.org/932047))

Add the following line to /etc/pam.d/lightdm-greeter

    session   optional pam_elogind.so

#1471 Re: Hardware & System Configuration » [Solved] Password required for startup script » 2020-06-28 22:50:22

Here's the test in veracrypt:

FILE* pipe = popen("sudo -n uptime 2>&1 | grep 'load average' | wc -l", "r");	

I've seen this test before, thanks to dzz (the other refracta dev):

refractasnapshot-wrapper.sh:15:sudo_allowed=$(sudo -n uptime 2>&1 | grep load | wc -l)

If the output is '1' then the user has sudo privs.

#1472 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-06-28 14:10:26

I'm seeing the same configs for crda and regdb in 4.19.0-9-amd64, 5.6.0-0.bpo.2 and 5.6.0-1 in ceres.

CONFIG_CFG80211_CRDA_SUPPORT=y
CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y

#1473 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-06-28 10:39:23

This is just a wild guess, but maybe you are being affected by this bug:
https://bugs.devuan.org/cgi/bugreport.cgi?bug=483

Simple test is to add sleep 1 to /etc/init.d/eudev as shown in the diff.

#1474 Re: Hardware & System Configuration » Shutdown encrypted LVM on Beowulf » 2020-06-27 20:33:36

kuleszdl wrote:

@fsmithred: The link to your modified version stopped working, I assume this one is supposed to be the current one:

https://git.devuan.org/devuan/cryptsetu … -functions

Yeah, that's it. 'devuan-packages' on git changed to 'devuan' on the new server.

git.devuan.org is now the same place as gitea.devuan.dev. The old git is at gitlab.devuan.org in case anyone wants to retrieve something before it goes away completely.

Thanks. I fixed the link in my earlier post.

Board footer

Forum Software