CLI

Devuan Update Fails with Signature Invalid

Problem: (5. September 2022) when fetching Devuan updates you get the following error: Discussion: The devuan key to sign the repository list has expired on 3. September 2022. This is an embarrassing fail from Devuan. But the solution is quite simple Solution: Install the new keyring manually: Version: tested with Devuan 3 (beowulf), Devuan4 (chimaera)

Smartd Reports “Reallocated_Sector_Ct” erroneously

Problem: In syslog you find a line like this: But when you check with “smartctl -a” you find a reallocated sector count of zero: Discussion: The harddisk had actually no reallocated sectors, but Smartctrl (Smartmontools) reported a wrong error, because when it was started a different harddisk with errors was found as /dev/sda, but with …

Smartd Reports “Reallocated_Sector_Ct” erroneously Read More »

Devuan4/Debian11 usability annoyances

Problem: When pasting commandos to the shell, the shell no longer executes the command but shows the pasted text highlighted and shows the line feed but does not process it. Discussion: Devuan4 and Debian11 upgraded the readline library with a new default “feature” that should prevent noobs from accidentally pasting commands into the shell. But …

Devuan4/Debian11 usability annoyances Read More »

MITMProxy and IOS 13

Problem: if you want to debug a IOS app with MITMProxy, the iPhone needs to trust the MITMProxy CA. This is done by going to http://mitm.it/ and clicking on the apple symbol. Then you have to accept the “profile” in Settings “downloaded profiles”. Then you have to trust this new CA cert in “Settings” “General” …

MITMProxy and IOS 13 Read More »

Linux Live-boot Fails after Debian/Devuan Update

Problem: after updating from Debian 8 to Devuan 2 the overlay live-boot failes with “no such device” Discussion: I use a bootable USB stick combined with live-boot. In this case the USB stick partition 3 is a normal ext4 file system used as read only “plainroot” filesystem. Live-boot overlays this with an ramfs.As I don’t …

Linux Live-boot Fails after Debian/Devuan Update Read More »

Greenlock(-express) Letsencrypt Fails with ECONNRESET

Problem: after upgrading vom greenlock-express v2.0 to v2.5 and switching from acme-v1 to acme-v2 every attempt to register a new TLS cert with Letsencrypt fails with “ECONNRESET” Discussion: the new version of greenlock tries to validate the .well-known/acme-challenge file before asking letsencrypt for the certificate.If your webserver is behind a loadbalancer or firewall and the …

Greenlock(-express) Letsencrypt Fails with ECONNRESET Read More »

Apache Start Hangs during Reboot of a KVM Virtual Server

Problem: Apache needs very long to start on a virtual server running on a KVM/QEMU virtual maschine. Solution: Apache needs a RNG (random number generator) for startup, probably because of TLS. A pure virtual maschine has no RNG device per default. If you add an RNG device to the virtual maschine configuration, apache startup is …

Apache Start Hangs during Reboot of a KVM Virtual Server Read More »

Sparse Files Howto

Unix file systems like ext3/4 can store files which are partly empty more efficiently by not storing blocks with all zeros. These files are called sparse files. When reading these files every things works as normal but “all zero” blocks don’t wast space on the drive. This can be useful for different application. For example …

Sparse Files Howto Read More »