Posts tagged "CLI"
Change Right Modifier Keys on MacOS
Problem: when you switch between Apple Mac and normal keyboards and use German keyboard layout, you can change the keyboard layout on MacOS to "de standard" to have most characters where you would expect them (e.g. @ { } ...) but on german keyboards the "AltGr" is located directly right of the space bar. On MacOS th...
Devuan Update Fails with Signature Invalid
Problem: (5. September 2022) when fetching Devuan updates you get the following error: Err http://deb.devuan.org/merged beowulf InRelease The following signatures were invalid: EXPKEYSIG BB23C00C61FC752C Devuan Repository (Amprolla3 on Nemesis) repository@devuan.org Discussion: The devuan key to sign the repository ...
Smartd Reports "Reallocated_Sector_Ct" erroneously
Problem: In syslog you find a line like this: smartd[1514]: Device: /dev/sda [SAT], Failed SMART usage Attribute: 5 Reallocated_Sector_Ct. But when you check with "smartctl -a" you find a reallocated sector count of zero: # smartctl -a /dev/sda ... ID# ATTRIBUTE_NAME FLAG TYPE UPDATED WHEN_FAILED RAW_VALUE 5...
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...
LS Style After Devuan 3 or Debian 10 Update
After Devuan 3 update ls output showed characters, that are not really in the directory listing. The reason is that "ls" draws quotes around filenames with spaces. This is a bug from my point of view, ls should never change the actual filenames. If a filename has quotes or double quotes it's even weirder . "ls" adds...
Time Format after Devuan 3 and Debian 10 Update
After updating to Devuan 3 the date command shows 12hours am/pm but my days have 24 hours. The locale was always en_US.UTF8 to keep sane command and error output. Debian 10 thinks they had to fix the correct hour display to the complicated one. Therefor all sysadmins like me have to apply the following workaround, t...
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" "Abou...
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 ...
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 certific...
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, apac...