Categories
Linux

Linux dkms with Fedora is always trouble

Dkms modules often breaks with a new kernel. Fedora is fast at using new kernels. If you do a “dnf update” you could get a new kernel and some dkms module fails to compile.

/var/lib/dkms/veeamsnap/5.0.1.4493/build/snapimage.c: In function ‘snapimage_create’:
/var/lib/dkms/veeamsnap/5.0.1.4493/build/snapimage.c:841:24: error: implicit declaration of function ‘blk_alloc_queue’; did you mean ‘blk_sync_queue’? [-Werror=implicit-function-declaration]
841 | image->queue = blk_alloc_queue(NUMA_NO_NODE);
| ^~~~~~~
| blk_sync_queue
/var/lib/dkms/veeamsnap/5.0.1.4493/build/snapimage.c:841:22: warning: assignment to ‘struct request_queue *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
841 | image->queue = blk_alloc_queue(NUMA_NO_NODE);
| ^

Categories
Tech

“Veeam Backup & Replication Community Edition” is a very good backup software

It is the best backup software i have seen. Sadly i used up the 10 licenses immediately. Is is some kind of desktop application. That is good. Some other have a web application. A desktop application can show more information and update it faster. It is easy to add computers to the inventory. Lots of settings and information. It is easy to see what the software is doing and if there was any error. Backups are fast. You can restore files in different ways. It can backup volumes, files and VMs.

https://www.veeam.com/virtual-machine-backup-solution-free.html

https://www.veeam.com/blog/backup-replication-community-edition-features-description.html

Categories
Ceph

Looks like there will always be “high pg count deviation” on Ceph cluster with mixed HDDs and SSDs

I have given up on fixing the “high pg count deviation” on my Ceph cluster. I have a 4TB HDD and a 240GB SSD on one node. The SSD cant hold as many PGs and the HDD do. Maybe i should try to turn the SSD into a cache for the HDD. It looks complicated when i read about it. It is so easy on Storage Spaces direct.

Update: I have set the SSDs as block database and write ahead log for the HDDs. Now only the HDDs are listed and they all have the same PG count.

Categories
Tech

The systemd haters dont give up

It is Debian without systemd. I don’t understand why anybody would want that. Systemd is good. Starting services with scripts is stupid. The scrips can do anything. It is hard for me to know what the scripts do. It is difficult to know if you have stopped all the things a script have started.

Dear Friends and Software Freedom Lovers, Devuan Developers are delighted to announce the release of Devuan Chimaera 4.0 as the project’s new stable release. This is the result of many months of painstaking work by the Team and detailed testing by the wider Devuan community.

https://www.devuan.org/os/announce/chimaera-release-announce-2021-10-14

Categories
Tech

It took me many hours to find out why Firefox did not accept a certificate

I tried to copy a CA certificate from one CA to another CA. At first it looked i had succeeded. I wanted to issue certificates from both CAs with the same keys. After i installed the certificates i got SEC_ERROR_UNKNOWN_ISSUER every time. I did a search with google about that error. It was simple if i did not have CA root certificate with same name in the subject as i had in issuer on the server certificate i would get that error. I checked that i had added the root CA certificate to the trusted certificates in Firefox. It was there and the subject was correct. After building a debug version of Firefox and running it in the Visual studio debugger i understood how Firefox finds CA certs. It calculates a hash on the subject field and look for a CA cert in the cert database with the same hash. It calculates the hash from everything in subject. Length, string type and oid. When i looked at both certificates i noticed a small difference. One had PrintableString as type and the other had UTF8String for common name. That will make the hash different.