The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » Non-root-sers cannot ping in devuan5-based lxc-container » Yesterday 16:33:58

Yes, ok.
But containers should be - at a degree - run on different kernels.

The container has been created by zfs send/recv, which worked in my experience.
BTW, the other containers, using debian 10/11/12 use exactly this same kernel.
Why should ping work with them?
Why can I even install a devuan-lxc on the same box?

Thanks,
Manfred

#2 Hardware & System Configuration » bootlog is dysfunctional in devuan LXC-containers » Yesterday 16:13:38

webman
Replies: 0

Hello!

I am seeing this in '/var/log/boot':

$ cat $logs/boot
(Nothing has been logged yet. If you're still seeing this message your current init system might not write bootup messages to the system console at all.)

Listing services show, that the service is enabled, but not running:

$ /etc/init.d/bootlogd status
bootlogd is not running ... failed!

The latter is an indicator of "something wrong" - I get the same message on my hardware,
where bootlogd works - where, at the moment after it has been run, it stops and causes
this message. So, this type of "status" is just not worth a penny.
This behavior is the same for all my containers.
No good work or containers without boot-logging!

A hint could be, how an equivalent to kernel commandline argument "debug" can be set.

Some help would be good!
Thanks,
Manfred

Environment:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus)
Release:	5
Codename:	daedalus
---
Linux devu5test 5.10.0-0.bpo.9-amd64 #1 SMP Debian 5.10.70-1~bpo10+1 (2021-10-10) x86_64 GNU/Linux
---
bootlogd:
  Installed: 3.06-4devuan3

#3 Hardware & System Configuration » Non-root-sers cannot ping in devuan5-based lxc-container » Yesterday 15:54:09

webman
Replies: 4

Hello!

Probably someone could shed some light onto this:

ping -c2 192.168.26.252
ping: socktype: SOCK_DGRAM
ping: socket: Address family not supported by protocol

System:

~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus)
Release:	5
Codename:	daedalus
Linux devu5test 5.10.0-0.bpo.9-amd64 #1 SMP Debian 5.10.70-1~bpo10+1 (2021-10-10) x86_64 GNU/Linux

This not an exception - I am "on the road" to replace my debian infra with devuan and starting
with containers. All behave the same.
Wether on debian 10/11/12 lxc-containers have that problem.
There are no firewall/iptables restrictions in use making this tests.
I read in another thread (from 2024 in galaxy) that this even happend on hardware,
which - at least - my first and only hardware installtion does not have.
I generally install iputils-ping. it has nothing to do with interfaces and routes, I use
always the same structures.

Thanks,,
Manfred

#5 Installation » Looking for the "right way" to install xfce4 » 2025-05-25 18:05:37

webman
Replies: 2

Hi!

Alter I installed xfce4 (apt install xfce4), I tried to start ist using
>startxfce4
got the message 'xinit' not found.
That is strange, because -- on debian's -- I never used another way.
Any hints would be great.

It doesn't change, after I discovered, that xfce4 does not come with
lightdm, I installed that. xfce4 starts, when I invoke lightdm.

So: How to start it?
- using startxfce4 --or--
- lightdm

Thanks,
Manfred

#6 Documentation » Please clarification: UDEV -OR- EUDEV -OR- BOTH on devuan » 2025-05-25 17:34:32

webman
Replies: 2

Hello!

I am wondering on a new installation, that I found UDEV in addition to EUDEV on daedalus today.
Can someone shed probably some light onto this?

apt list --installed | igrep "(e|u)dev"

eudev/stable,now 3.2.12-4+deb12u1 amd64 [installed]
libeudev1/stable,now 3.2.12-4+deb12u1 amd64 [installed]
libgudev-1.0-0/stable,now 237-2 amd64 [installed,automatic]
udev/stable,now 1:3.2.9+devuan4 amd64 [installed]

I probably misunderstood someone sometime ;-)
so that I always remove UDEV.

Thanks,
Manfred

#7 Re: Installation » [SOLVED] Remove auto-start of X, want to start manually » 2024-12-10 03:36:56

Hi All!

Thanks for the answers.
I have had many changes, at least after removing mate, then re-installed xfce
(was no able to switch between desktops) and finally lightdm, due to fast user-switching.
For me, the mentioned variant using "defaults" was not working, but

update-rc.d lightdm disable

The question came up, because I do not understand the starup sequence for the desktop.

Thanks and solved,
Manfred

#8 Installation » [SOLVED] Remove auto-start of X, want to start manually » 2024-12-09 18:41:20

webman
Replies: 3

Hello!

I do no longer want Xorg to start automatically (I installed xfce4).
Which service do I have to change?

Thanks,
Manfred

#9 Installation » After installing firmware, runlevel is unknown » 2024-07-21 17:36:26

webman
Replies: 1

Hi!
I am reading invoke-rc.d: could not determine current runlevel already on my last install
and faceing it at my current install again. So I have two setups with this error and I do not
know, where to look for it.
I am not a specialist, but one mentioned (together with other hints):

The service’s startup script is not working properly.

https://hatchjs.com/invoke-rc-d-could-n … -runlevel/
The message is in bootlog and appears between:

Starting Setting kernel variables: sysctl.
Starting: AppArmorLoading AppArmor profiles...done.
.
Configuring network interfaces...invoke-rc.d: could not determine current runlevel
invoke-rc.d: could not determine current runlevel
done.
Cleaning up temporary files....

And a mysterious DOT in a single line - WHO logs????
The network is ok.

The first computer does not start my LXC (container) which is set to autostart.
At this box, I tracked the occurence better (and I am just in an eraly state after
the networked setup) and it appears, after I installed some firmware packages
(amd64-microcode firmware-amd-graphics firmware-linux firmware-linux-free firmware-linux-nonfree firmware-realtek)
But the error persists if I remove (including purge) the packages and reboot.

For the first box, the problem may cause this:

$ ls /var/lib/lxcfs
ls: cannot access '/var/lib/lxcfs/sys': Input/output error
ls: cannot access '/var/lib/lxcfs/cgroup': Input/output error
total 0
dr-xr-xr-x 2 root root 0 2024-07-19 09:23:27 proc/
?????????? ? ?    ?    ?                   ? cgroup
?????????? ? ?    ?    ?                   ? sys

I am using fresh network install of devuan daedalus with kernel 6.1.0-23-amd64
Can someone help?
Thanks,
Manfred

#10 Re: Hardware & System Configuration » Systemtap packaging error - cannot be used » 2024-07-08 14:11:28

Hi!

Just stumpled over this ...
Yes, I told them!

Regards,
Manfred

#11 Re: Hardware & System Configuration » Looking for the RIGHT way to create a bridge » 2024-07-07 21:17:33

Hi!

Thanks for your investigation.
Not sure, if bridge-utils are really need, but I use them because its an easier way then "ip-link".
I usually use 'ifquery' ether with '--list' or '--state' but it does not show my second bridge, even
though 'ip link' shows it.
I know the problem with the member ports and on my current workstation the solution was to
give it a dummy address ("0.0.0.0"). The bridges are for containers and LXC, so there is no
definitiv port at computer start - which was never a problem to me.
But there is "/etc/network/if-pre-up.d/bridge -> /lib/bridge-utils/ifupdown.sh*"
which should solve the problem (that ip link is not persistent) and read "interfaces".
I have two comparable computers (hardware and VM), both Devuan5. If I look into /var/log/boot:

Starting: AppArmorLoading AppArmor profiles...done.
Configuring network interfaces...if-up.d/mountnfs[eth0]: waiting for interface eth1 before doing NFS mounts ... (warning).
invoke-rc.d: could not determine current runlevel
if-up.d/mountnfs[eth1]: waiting for interface lanbr before doing NFS mounts ... (warning).
invoke-rc.d: could not determine current runlevel

Note: waiting for interface lanbr ....
I am even not capable to write everthing, I saw. But a internet search for

"2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP>"

Exactly this is part of my experience, were the bridge and even sometime
a hardware inferace shows this strange status!
This earch gives tons of similar messages, a hint of apparmor bug, of Kernel 6.1 bug and more.
You remove a VF from a dual-nic and suddenly, the other(!) port does not get carrier! I changed the NIC with the exact same from another computer (shown in the log-excerpt above) with not changes and the other box does not have that problem.
The whole story started with unexpected behavior of a kvm-guest, which had no traffic. But then I made the same, step-by-step on this host itself (create bridge, create macvlan) and everythings works - repeated this using LXC, works.
I made a port mirror on the hardware-switch - no packages came out, if the VM runs ..... but you see the packets on the host.
Something drops them. Due to the probability, this could be some of the "same subnet" things, I used a complete different, 10.10.10. ... (have enough free port on other computers). No change.
Now I removed systemtap, xtables-common, libvirt*, qemu*, xrdp, x2go, xfce4. Upgraded to kernel 6.5 - no changes.
There is no wait-message for the bridge and the assigned interface does not become member (can be done manually, after login). Even "/etc/network/interfaces.d/" is not read (was successful with: "/etc/network/if-pre-up.d/lanbr"
(my script with name of the bridge - but the membership problem remains). So the bridge can be created, but get no member ports.
Time to reinstall and hope.
I remember, what was the first fault on this box:
On shutdown, after the first boot (zfs on root), installed the usual way using chroot (like one of the other
boxes from the logs above, were the same things works), I got:
~ "cannot unmount /var/log" .....

Thanks anyway and
best regards,
Manfred

#12 Re: Hardware & System Configuration » How to repair APPARMOR? » 2024-07-07 20:53:21

Thanks!

Was not the whole truth so, but probably the most important pointer!
Had to remove everything named apparmor so,
the boot was error-free and new install too!

Regards,
Manfred

#13 Hardware & System Configuration » How to repair APPARMOR? » 2024-07-06 21:55:36

webman
Replies: 2

Hello!

After I had some problems with KMV - in this context I saw apparmor errors
about KVM - I thought to remove apparmor temporarely. The docs does not
show me, how to disable (tried: /etc/init.d/apparmor stop), so I uninstalled it.
But the errors (while starting a VM) continue.
So I re-installed apparmor and another pain begins, which my bootlog shows (datetime column removed):

 Starting: AppArmorLoading AppArmor profiles...AppArmor parser error for /etc/apparmor.d in profile /etc/apparmor.d/usr.bin.man at line 53: Could not open 'local/usr.bin.man'
 AppArmor parser error for /etc/apparmor.d in profile /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper at line 75: Could not open 'local/usr.lib.libvirt.virt-aa-helper'
 AppArmor parser error for /etc/apparmor.d in profile /etc/apparmor.d/usr.sbin.libvirtd at line 144: Could not open 'local/usr.sbin.libvirtd'
 AppArmor parser error for /etc/apparmor.d in profile /etc/apparmor.d/sbin.dhclient at line 74: Could not open 'local/sbin.dhclient'
 AppArmor parser error for /etc/apparmor.d in profile /etc/apparmor.d/usr.sbin.ntpd at line 86: Could not open 'local/usr.sbin.ntpd'
 AppArmor parser error for /etc/apparmor.d in profile /etc/apparmor.d/usr.bin.tcpdump at line 68: Could not open 'local/usr.bin.tcpdump'
 Error: Could not load profile /var/cache/apparmor/201d1af9.0/lsb_release: File exists
 Error: Could not load profile /var/cache/apparmor/201d1af9.0/lightdm-guest-session: File exists
 AppArmor parser error for /etc/apparmor.d/sbin.dhclient in profile /etc/apparmor.d/sbin.dhclient at line 74: Could not open 'local/sbin.dhclient'
 Error: Could not load profile /var/cache/apparmor/201d1af9.0/nvidia_modprobe: File exists
 Error: Could not load profile /var/cache/apparmor/201d1af9.0/usr.bin.lxc-start: File exists
 AppArmor parser error for /etc/apparmor.d/usr.bin.man in profile /etc/apparmor.d/usr.bin.man at line 53: Could not open 'local/usr.bin.man'
 AppArmor parser error for /etc/apparmor.d/usr.bin.tcpdump in profile /etc/apparmor.d/usr.bin.tcpdump at line 68: Could not open 'local/usr.bin.tcpdump'
 AppArmor parser error for /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper in profile /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper at line 75: Could not open 'local/usr.lib.libvirt.virt-aa-helper'
 AppArmor parser error for /etc/apparmor.d/usr.sbin.libvirtd in profile /etc/apparmor.d/usr.sbin.libvirtd at line 144: Could not open 'local/usr.sbin.libvirtd'
 AppArmor parser error for /etc/apparmor.d/usr.sbin.ntpd in profile /etc/apparmor.d/usr.sbin.ntpd at line 86: Could not open 'local/usr.sbin.ntpd'
 Error: Could not load profile /var/cache/apparmor/201d1af9.0/lxc-containers: File exists
 /sbin/apparmor_parser: Unable to add "/usr/bin/lxc-start".  Profile already exists
 /sbin/apparmor_parser: Unable to add "lsb_release".  Profile already exists
 /sbin/apparmor_parser: Unable to add "kmod".  Profile already exists
 /sbin/apparmor_parser: Unable to add "nvidia_modprobe".  Profile already exists
 /sbin/apparmor_parser: Unable to add "chromium".  Profile already exists
 /sbin/apparmor_parser: Unable to add "/usr/lib/x86_64-linux-gnu/lightdm/lightdm-guest-session".  Profile already exists
 /sbin/apparmor_parser: Unable to add "lxc-container-default".  Profile already exists
 At least one profile failed to load ... failed!
 failed.

I do not know, why this hapens and how to repair it!

Thanks,
Manfred

#14 Hardware & System Configuration » Looking for the RIGHT way to create a bridge » 2024-07-06 21:46:30

webman
Replies: 2

Until debian buster, I have had never a problem to create and or use bridges,
but - so far I remember correctly - this came with bullseye.
Since then, I had to issue (example) "ip link add mybr type bridge" once and the
bridge could be configured in the interfaces file, but only for some bridges, not all ....
Now, on Daedalus,I had this with my bridge for my (k)VMs - to avoid complexity,
I started again using a usual lan-bridge:
ip link add lanbr type bridge
Then I edit 'interfaces'

auto lanbr
iface lanbr inet static
        address 10.0.0.1/24
        gateway 10.0.0.254

        #bridge_stp off
        #bridge_waitport 0
        #bridge_fd 0

        bride_ports eif0

But the bridge does not come up after boot and bootlog tells me:

Cannot find device "lanbr"
Sat Jul  6 23:20:03 2024: ifup: failed to bring up lanbr
Sat Jul  6 23:20:03 2024: invoke-rc.d: could not determine current runlevel

Looks like, someone forgot the 'lanbr' interface.
This is something I never had seen before.
What is a - reproducable - list of steps to setup a bridge?
I try to avoid - for this message - that KVM has the same
problem and does not find (the other bridge).
Something strange!
Please help!

Regards,
Manfred

#15 Re: Installation » How to install devuan lxc-container on debian? » 2024-06-26 18:10:53

Hi!

You need to use Devuan's debootstrap (not Debian's).

LXC is not debootstrap and is intended to install containers for
different OS, like Ubuntu, Arch etc.
Thanks to @fsmithred's:

ln -s ceres daedalus

it works like a charm now (at least setup, not configured and runned it).
So the messages about "NN signatures not checked due to missing keys"
may be a conseqence of the missing reference.

Anyway, regards,
Manfred

#16 Re: Installation » zfs setup package - missing dependencies leads to failed setup » 2024-06-26 16:49:39

Hi!
For the vm, after upgrading from zfs from 2.1.11 to 2.2.4 I used two ssh session:
One for shutting down, the other running "dmesg -Tw", which shows the catastrophe:

The system is going down for system halt NOW!
[Wed Jun 26 15:29:46 2024] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[Wed Jun 26 15:29:46 2024] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[Wed Jun 26 15:29:46 2024] device-mapper: uevent: version 1.0.3
[Wed Jun 26 15:29:46 2024] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[Wed Jun 26 15:29:46 2024] ------------[ cut here ]------------
[Wed Jun 26 15:29:46 2024] kobject: '(null)' (00000000ae4d8a76): is not initialized, yet kobject_put() is being called.
[Wed Jun 26 15:29:46 2024] WARNING: CPU: 0 PID: 2114 at lib/kobject.c:726 kobject_put+0xbd/0x1d0
[Wed Jun 26 15:29:46 2024] Modules linked in: dm_mod nfnetlink_log nfnetlink binfmt_misc sha512_generic cmac nls_utf8 cifs cifs_arc4 cifs_md4 dns_resolver fscache netfs snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec drm_ttm_helper snd_hda_core ttm iTCO_wdt intel_pmc_bxt snd_hwdep drm_kms_helper snd_pcm pcspkr snd_timer vmw_vsock_virtio_transport serio_raw iTCO_vendor_support vmw_vsock_virtio_transport_common joydev snd watchdog soundcore evdev virtio_rng drm vsock virtio_balloon virtio_console qemu_fw_cfg button zfs(POE-) spl(OE) ext4 crc16 mbcache jbd2 crc32c_generic sg hid_generic sd_mod t10_pi usbhid crc64_rocksoft crc64 crc_t10dif crct10dif_generic crct10dif_common hid ahci libahci virtio_scsi libata ehci_pci uhci_hcd psmouse i2c_i801 ehci_hcd virtio_net net_failover failover scsi_mod i2c_smbus lpc_ich scsi_common usbcore usb_common virtio_pci virtio_pci_legacy_dev virtio_pci_modern_dev virtio virtio_ring
[Wed Jun 26 15:29:47 2024] CPU: 0 PID: 2114 Comm: rmmod Tainted: P           OE      6.1.0-21-amd64 #1  Debian 6.1.90-1
[Wed Jun 26 15:29:47 2024] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
[Wed Jun 26 15:29:47 2024] RIP: 0010:kobject_put+0xbd/0x1d0
[Wed Jun 26 15:29:47 2024] Code: 00 4c 89 ef e8 84 8b 8e ff 48 85 db 74 9a f6 43 3c 01 0f 85 78 ff ff ff 48 8b 33 48 89 da 48 c7 c7 e0 a1 20 b4 e8 83 1b 6e ff <0f> 0b e9 5f ff ff ff c3 cc cc cc cc 4d 89 f1 49 c7 c0 30 59 f5 b3
[Wed Jun 26 15:29:47 2024] RSP: 0018:ffffad0bc077bd08 EFLAGS: 00010286
[Wed Jun 26 15:29:47 2024] RAX: 0000000000000000 RBX: ffff968f0478a6d0 RCX: c0000000ffffefff
[Wed Jun 26 15:29:47 2024] RDX: 0000000000000000 RSI: 00000000ffffefff RDI: 0000000000000001
[Wed Jun 26 15:29:47 2024] RBP: 00000000ffffffff R08: 0000000000000000 R09: ffffad0bc077bb80
[Wed Jun 26 15:29:47 2024] R10: 0000000000000003 R11: ffffffffb48d4448 R12: 0000000000000800
[Wed Jun 26 15:29:47 2024] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[Wed Jun 26 15:29:47 2024] FS:  00007f90abfb2040(0000) GS:ffff968f7dc00000(0000) knlGS:0000000000000000
[Wed Jun 26 15:29:47 2024] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Wed Jun 26 15:29:47 2024] CR2: 00007f90ab867c10 CR3: 00000000047ac000 CR4: 00000000000006f0
[Wed Jun 26 15:29:47 2024] Call Trace:
[Wed Jun 26 15:29:47 2024]  <TASK>
[Wed Jun 26 15:29:47 2024]  ? __warn+0x7d/0xc0
[Wed Jun 26 15:29:47 2024]  ? kobject_put+0xbd/0x1d0
[Wed Jun 26 15:29:47 2024]  ? report_bug+0xe2/0x150
[Wed Jun 26 15:29:47 2024]  ? handle_bug+0x41/0x70
[Wed Jun 26 15:29:47 2024]  ? exc_invalid_op+0x13/0x60
[Wed Jun 26 15:29:47 2024]  ? asm_exc_invalid_op+0x16/0x20
[Wed Jun 26 15:29:47 2024]  ? kobject_put+0xbd/0x1d0
[Wed Jun 26 15:29:47 2024]  ? kobject_put+0xbd/0x1d0
[Wed Jun 26 15:29:47 2024]  zfs_sysfs_fini+0x116/0x190 [zfs]
[Wed Jun 26 15:29:47 2024]  openzfs_fini+0x5/0x7df [zfs]
[Wed Jun 26 15:29:47 2024]  __do_sys_delete_module+0x1d5/0x320
[Wed Jun 26 15:29:47 2024]  do_syscall_64+0x55/0xb0
[Wed Jun 26 15:29:47 2024]  ? __handle_mm_fault+0x660/0xfa0
[Wed Jun 26 15:29:47 2024]  ? handle_mm_fault+0xdb/0x2d0
[Wed Jun 26 15:29:47 2024]  ? do_user_addr_fault+0x1b0/0x580
[Wed Jun 26 15:29:47 2024]  ? exit_to_user_mode_prepare+0x44/0x1f0
[Wed Jun 26 15:29:47 2024]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[Wed Jun 26 15:29:47 2024] RIP: 0033:0x7f90ab928a67
[Wed Jun 26 15:29:47 2024] Code: 73 01 c3 48 8b 0d 99 83 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 69 83 0c 00 f7 d8 64 89 01 48
[Wed Jun 26 15:29:47 2024] RSP: 002b:00007ffe277cc818 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[Wed Jun 26 15:29:47 2024] RAX: ffffffffffffffda RBX: 0000561de39f1780 RCX: 00007f90ab928a67
[Wed Jun 26 15:29:47 2024] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000561de39f17e8
[Wed Jun 26 15:29:47 2024] RBP: 0000000000000000 R08: 1999999999999999 R09: 0000000000000000
[Wed Jun 26 15:29:47 2024] R10: 00007f90ab99bac0 R11: 0000000000000206 R12: 00007ffe277cca60
[Wed Jun 26 15:29:47 2024] R13: 00007ffe277cce16 R14: 0000561de39f12a0 R15: 00007ffe277cca70
[Wed Jun 26 15:29:47 2024]  </TASK>
[Wed Jun 26 15:29:47 2024] ---[ end trace 0000000000000000 ]---
[Wed Jun 26 15:29:47 2024] ------------[ cut here ]------------

Its followed by a second block with "same" content, probably, one for each CPU (the VM has two).

Regards,
Manfred

#17 Re: Installation » zfs setup package - missing dependencies leads to failed setup » 2024-06-26 13:53:17

Hi!
Thanks!

This is nearly, what I usually do (have only SSHD and some networking tools - I usually keep this as
a bootable installation on first partition as "repair-inst", with the same version of ZFS which I'll use
to setup zfs on root (onto anohter disk). Using ether netinstall, or, naturallay, for zfs on root the
debootstrap tool, how it is described. One different thing is, that I first install DKMS separately and
the wanted kernel with headers.

And you describe exactly ("image1"), what I am experiencing. What you see

"I didn't look further what error it was (sorry)."

is a dependency problem, which left a part uninitialized, which becomes "repaired" if you repeat the
step - independently, that you' made it a little differently (which is not neccessary, because all this
is in dependencies).

I have the (already) described problem with shutdown. If I add pools, they dont have a problem
and working properly like your's.

But I am not keeping installations, which have improperly behavior on stutdown (or startup).
For my ZFS-VMs (which are KVM/QEMU), I initiate a shutdown from inside and keep the
mouse-pointer (on the host) on the pause button, which I press at the moment, the red errorline appears.
On a new hardware, this is the same - but I cannot stop the display .... and they dont appear in logs,
and for my other cases, it is theit is the root-filesystem on unmount!

My older (and running) installations dont have errors or this behavior.
On my day-work machine (which ist Debian Bullseye, ZFS on root), no errors appear, wether
at startup or shutdown (and even my fileserver, staying on Debian Buster, ZFS on root, is error-free).

The 2.4 version (in backports), which I need due to the block-copy feature, is even crashing
hard at shutdown.

Usually, zfs-setup is easy (except for on root) and causes no errors - I am using it since
2012 (not on root at that time).

Regards,
Manfred

#18 Re: Installation » zfs setup package - missing dependencies leads to failed setup » 2024-06-26 03:29:30

Hi!
On my VM, I removed backports and ZFS and started from scratch
(was a bit tricky to remove 'grub-pc' from backports).
Installation of ZFS 2.1.11 went smootly, no errors.
But, with the "cannot unmount /var/log" from my hardware in mind,
I looked at shutdown and the I see this:

Stopping ZFS Event Daemon
Unloading modules rmmod: ERROR: Module zcommon is in use by icp
rmmod ERROR: Module znvpais is in use by: zcommon
rmmod: ERROR: Module spl is in use by: icp zstd znvpair zcommon
FAILED!

Packages:

Stopping ZFS Event Daemon
Unloading modules rmmod: ERROR: Module zcommon is in use by icp
rmmod ERROR: Module znvpais is in use by: zcommon
rmmod: ERROR: Module spl is in use by: icp zstd znvpair zcommon
FAILED!

zfsutils-linux:
  Installed: 2.1.11-1
  Candidate: 2.1.11-1
  Version table:
 *** 2.1.11-1 500
        500 http://deb.devuan.org/merged daedalus/contrib amd64 Packages
        100 /var/lib/dpkg/status
zfs-dkms:
  Installed: 2.1.11-1
  Candidate: 2.1.11-1
  Version table:
 *** 2.1.11-1 500
        500 http://deb.devuan.org/merged daedalus/contrib amd64 Packages
        100 /var/lib/dpkg/status

$ uname -a
Linux devu5base 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux

There are NO pools, but an extra disk, which contains a pool (which has not und should not be importet)

With this VM, using zfs 2.4, I created two clones (on ZFS volumes for VMs) and they have the same error
like the hardware installation:

Unsharing ZFS filesystems.
Stopping ZFS Event Daemon.
Unmounting ZFS filesystems cannot unmount '/var/pool': pool or dataset is busy
cannot unmount 'var/log': pool or dataset is busy
cannot unmount '/root': pool or dataset is busy

Lost my hope!

Regards,
Manfred

#19 Installation » How to install devuan lxc-container on debian? » 2024-06-25 14:38:06

webman
Replies: 3

Hello!
I try to migrate things to Devuan and so, even on Debian (Bullseye), I start new things with Devuan.
So I came to lxc-setup and here starts a problem:

lxc-create devu5-ct1 --bdev zfs --zfsroot=zfspool/lxc -t devuan -- -r daedalus

which fails miserably:

debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/devuan/rootfs-daedalus-amd64 ... 
gpg: keybox '/etc/apt/trusted.gpg.d/devuan-archive-keyring.gpg' created
gpg: key 94532124541922FB: 6 signatures not checked due to missing keys
gpg: key 94532124541922FB: public key "Devuan Repository (Primary Devuan signing key) <repository@devuan.org>" imported
gpg: key BB23C00C61FC752C: 6 signatures not checked due to missing keys
gpg: key BB23C00C61FC752C: public key "Devuan Repository (Amprolla3 on Nemesis) <repository@devuan.org>" imported
gpg: key 010291FF0AECE9B9: 5 signatures not checked due to missing keys
gpg: key 010291FF0AECE9B9: public key "Devuan Repository (Amprolla) <repository@devuan.org>" imported
gpg: key 0022D0AB5275F140: 4 signatures not checked due to missing keys
gpg: key 0022D0AB5275F140: public key "Devuan Release Signing (Daedalus) <repository@devuan.org>" imported
gpg: key B3982868D104092C: 4 signatures not checked due to missing keys
gpg: key B3982868D104092C: public key "Devuan Release Signing (Excalibur) <repository@devuan.org>" imported
gpg: key 55C470D57732684B: 3 signatures not checked due to missing keys
gpg: key 55C470D57732684B: public key "Devuan Release Signing (Freia) <repository@devuan.org>" imported
gpg: Total number processed: 6
gpg:               imported: 6
gpg: no ultimately trusted keys found
Downloading devuan minimal ...
E: No such script: /usr/share/debootstrap/scripts/daedalus
Failed to download the rootfs, aborting.
Failed to download 'devuan base'
failed to install devuan
lxc-create: devu5-ct1: lxccontainer.c: create_run_template: 1616 Failed to create container from template
lxc-create: devu5-ct1: tools/lxc_create.c: main: 319 Failed to create container devu5-ct1

I know (only "in the dust") that one can specify an URL at the end of the command, but
would not know, which that might be! The tipping point is probably this:

E: No such script: /usr/share/debootstrap/scripts/daedalus

Every tips is welcome!
BTW, astoundingly, in the cover of lxc-create, devuan signing keys were properly importet.
(I always export a http-proxy for lxc-setup). This is not the case for a chroot setup (tried
to install devuan in a chroot -- failed, because gpg "does not understand proxy" ....).
Regards,
Manfred

#20 Re: Installation » zfs setup package - missing dependencies leads to failed setup » 2024-06-25 14:25:24

Hi!
Exactly, what I did (just not listed lile "headers-$(uname -r), but my real kernel version).
Additionally, I required the version form backports (because I need the block-copy feature).
From my first failed setup, I have to add: Use grub-pc from backports too, it may otherwise
fail after pool snapshots!
But it remains problematic and I am unsure, to continue:
- In my real hardware setup, I am getting an error message at each shutdown (postet this here).
- In another kvm/qemu setup, where NO pools are in use, but just ZFS setup, it crashes at each shutdown.
May be, there is an undiscovered problem with non-systemd systems - worked perfectly for me on debian.
Regards,
Manfred

#23 Re: Installation » daedalus: network interface names changing with (nearly) each boot » 2024-06-15 00:18:36

Hello All!

Thanks, @fsmithred!
I followed this advice, event though it shows another theme!
My problem was not old/new naming convention, but changing interface names between boot - not daily though
and a quick reboot is not an answer. But I looked at this kernel commandline option and it seems not to have any effect!
But I found 70-persistent-net.rules, something, I've not regarded before.
Astroundingly, the mapping, applied in this file, does NOT fit the reality completely, there is an exception for one interface.
Then I changed the rules/names, but the problem persists. Then I enabled udev debug logging and saw, that the interface,
which hasnt followed the rule, was renamed two times: From eth0 to eth2, the from eth2 to eth3.
"Predictbale interface names" .....
Anyway, which kernel commandline applied.
Additionally, I found, that there COULD be "net.naming-scheme=v250", according to this thread:
udevd produce same ID_NET_NAME_SLOT for different NIC, so break rename #28929 :
https://github.com/systemd/systemd/issues/28929
But from this thread, I found a hint: "udevadm test-builtin" and I used it like this:

$ udevadm test-builtin net_id /sys/class/net/gif0 (where gif0 is now my 10GbE-IF)
calling: test-builtin
=== trie on-disk ===
tool version:          3
file size:         9709412 bytes
header size             80 bytes
strings            2419020 bytes
nodes              7290312 bytes
Load module index
ID_NET_NAME_MAC=enx001999c13f23
ID_OUI_FROM_DATABASE=Fujitsu Technology Solutions GmbH
ID_NET_NAME_PATH=enp4s0f0
Unload module index

This <enp4s0f0> (under: ID_NET_NAME_PATH) is probably the original IF-name and could explain, why
the "70-persistent-net.rules" cannot work:
ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3" - because they trigger (not!) on interface
names, which do not exist?
After I enabled udev debug logging, I have to look deeper at systemstart in the next days.
So wether "net.naming-scheme=v250" nor "net.ifnames=1" made something!
To udev logging: The shown output ("=== trie on-disk ===") appears in LSPCI too:

08:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
=== trie on-disk ===
tool version:          3
file size:         9709412 bytes
header size             80 bytes
strings            2419020 bytes
nodes              7290312 bytes

at the end of the list of network cards.

For the moment, I choosed a completely different set of names (eno0 for MoBo-IF, eif<N>
for the ethernet (better: 1Gbe) and gif<N> for the 10GbE interfaces. And these coming - at least
for the moment - up with exactly this names without any problem.

The drama will probably start, if I now start setting the "sriov_numvfs"
variable to get man VFs (asked a question in another part of this forum).

#24 Hardware & System Configuration » sysv-init: Looking for example/run a script permanently, like service? » 2024-06-13 19:26:01

webman
Replies: 3

Hello All!
Just a very simple script and where and how to install it would help
me getting started!

Thanks,
Manfred

#25 Hardware & System Configuration » Need acoustic signalling (sound) where only root account is present » 2024-06-13 19:22:26

webman
Replies: 2

Hello!
How can I send sound from scripts or services, running at root?
Know not much about this, but pulseaudio seems to be a problem.
Although I found this:

pulseaudio --start --log-target=syslog --system

BUT, this is systemd, or not?
The man file says:

--system[=BOOL]
              Run as system-wide instance instead of per-user. Please note that this disables
             certain features of ..... (without mentioning them!)

So it is unclear about this!
Just an "aplay <file>" would enough for me!

Probably remove pulse and install pipewire?
Woudl they run without something like the
xdg-desktop(-portal) and can I remove these?

Thanks,
Manfred

Board footer

Forum Software