@ck@noc.social
@ck@noc.social avatar

ck

@ck@noc.social

Geek, father, blogging on www.claudiokuenzler.com

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ck, to Blog
@ck@noc.social avatar

When you want to update the navigation maps or software on your #Peugeot car, you (most likely) run the "Peugeot Update" program.

This is where you could run into a situation where the download of the update itself works, but then writing to the attached USB drive remains stuck after writing the first few KB.

In my latest #blog post I show the reason why this failed for me and how to fix it.

https://www.claudiokuenzler.com/blog/1403/peugeot-update-stuck-progress-usb-drive-partition

ck, to Ansible
@ck@noc.social avatar

In a specific #Ansible playbook I wanted to retrieve the root partition's size in GB. Sounds easy, right?
Actually this turned out to be more complex than I anticipated.

json_query filtering, type issues with arithmetic calculations and rounding were some of the hurdles I needed to jump. 🦘

May my latest #blog post be helpful to you. Happy Friday! 🍻

https://www.claudiokuenzler.com/blog/1387/how-to-retrieve-root-partition-disk-size-in-gb-ansible-playbook

ck, to RaspberryPi
@ck@noc.social avatar

When I prepared a @Raspberry_Pi with the latest OS (based on Bookworm) as a monitoring and observability display, I noticed the "wayvnc" package during the dist-upgrade.

Turns out this is a pre-installed server package - at least on the Desktop variant.

But how can the VNC Server be configured and started and more importantly, how can I connect using a VNC viewer? Figured it out and wrote about it 👇
https://www.claudiokuenzler.com/blog/1385/how-to-connect-raspberry-pi-bookworm-desktop-vnc-wayvnc

ck,
@ck@noc.social avatar

@aallan 🤣 lol, I didn't see that in the Raspi documentation! Good to have it there though 👍 . In the documentation TigerVNC is mentioned. In my case I went with RealVNC which works, too (after running into errors with TightVNC - which is pretty much a default).

ck, to Kubernetes
@ck@noc.social avatar

When I wanted to restart a deployment on a #Kubernetes cluster, I ran into an error of kubectl:

$ kubectl rollout restart deployment xyz -n mynamespace
error: unknown command "restart deployment xyz"

Turns out my locally installed kubectl command was way too old 😅

https://www.claudiokuenzler.com/blog/1384/kubectl-rollout-error-unknown-command-restart

kernellogger, (edited ) to linux
@kernellogger@fosstodon.org avatar

Things Thorsten should have done during the festive season:

  • Stay away from computers and especially things wrt to #Linux #kernel regressions.

Things Thorsten did during the festive season:

😟 🥴

The bulk of the work is done now. Putting the text aside now and ignoring it for a week or two before doing another pass and publishing a draft.

ck,
@ck@noc.social avatar

@kernellogger Thank you, Thorsten. This is highly appreciated! I remember I had to do something similar (a Kernel bisect) a few years ago and I continuously ran into outdated and non-working tutorials.

ck, to linux
@ck@noc.social avatar

While testing a #Perl script on a couple of #Linux servers, a strange error message popped up on one specific server:

Can't locate strict.pm: Permission denied

Usually the "Can't locate xyz.pm" error message points to a missing Perl module. But strict.pm comes bundled with Perl (perl-libs) itself and is not part of a separate module. So why would the script fail to locate strict.pm?

Troubleshooting and -solving 👇
https://www.claudiokuenzler.com/blog/1374/perl-error-cant-locate-strict.pm-permission-denied-additional-path

ck, to ubuntu
@ck@noc.social avatar

On a 20.04 (Focal) server, should be upgraded from 5.7 to 8.0, using the MySQL community packages from the official MySQL repositories.

But a "simple task" turned out to be a weird head-scratcher. But read yourself. 👇

https://www.claudiokuenzler.com/blog/1367/mysql-community-server-upgrade-5.7-to-8.0-failed-packages-unmet-dependencies

ck, to random
@ck@noc.social avatar

Due to a compatibility issue of an application, the underlying database needed to be replaced by a 8 community database. But when the dump was about to be restored from MariaDB (10.5) into MySQL 8.x, the data import failed.

https://www.claudiokuenzler.com/blog/1354/mariadb-mysql-dump-restore-error-3105-HY000

heiglandreas, to random
@heiglandreas@phpc.social avatar

Yust a short reminder: Locale != Language

Language is part of a Locale. But a locale contains sooo much more. Like number and date formating or calendaring rules or currencies or....

Also:

Flags != Languages.

Or which languages do these flags stand for: 🇿🇦 🇨🇭

ck,
@ck@noc.social avatar

@heiglandreas As a Swiss I can give you a clear answer: <CENSORED BY SWISS FEDERAL POLICE>

ck, to RaspberryPi
@ck@noc.social avatar

So #RaspberryPi 5 was announced. The specs look awesome. The GPU allows "Dual 4Kp60 HDMI® display output with HDR support" and features a 4K at 60 Hz HEVC decoder. I think I found my next #Libreelec #Kodi device!
https://www.raspberrypi.com/products/raspberry-pi-5/

ck,
@ck@noc.social avatar

@stooovie Agree. In the forums the main problem with LE+Kodi on Raspi 4 are HDR issues. So I really hope this will be much better with Raspi 5. But it will depend on LibreElec developers, too.
Unfortunately the Libreelec 11 release doesn't work well at all on my Wetek Play 2 so I have been looking for a new device for a while.

ck,
@ck@noc.social avatar
bridgetkromhout, to random

The Slack redesign breaks the most useful feature. In the old design, I can see at a glance which Slack teams have unread messages for me. In the new design, I can see that there are unread messages but I have to click to examine which teams those messages are on.

Do Not Want.👎

ck,
@ck@noc.social avatar

@bridgetkromhout In German we call this "verschlimmbessern".

ck, to linux
@ck@noc.social avatar

While working on a newly installed #Linux server, I wanted to edit a config file located in /tmp/ with vim. I was pretty surprised to see I was unable to save the changes - even as root user! It turns out this is due to a #security standard (fs.protected_*), introduced in #Kernel 4.19, which I simply happened to never come across - until now. 🐧
https://www.claudiokuenzler.com/blog/1343/cant-open-file-for-writing-tmp-even-root

ck, to Blog
@ck@noc.social avatar

There are many ways how to setup #SUSE #Rancher Kubernetes, including the handling of TLS certificates. By using the default (letting Rancher create internal certificates), this results in "Kubernetes Ingress Controller Fake Certificate" certificates for the Ingress pods. Eventually you will run into a certificate expiry warning (if you monitor it).
No need to panic. A "renewal" is achieved quickly as we show in our latest shared knowledge #blog post.
https://www.infiniroot.com/blog/1337/rancher-kubernetes-ingress-controller-fake-certificate-expire-monitoring-renew

ck, to Ansible
@ck@noc.social avatar

While playing around with group_vars in #Ansible, I noticed that a specific host never applied the variables defined in the group_vars.

To verify that a host is actually a member of the wanted group(s), I needed a quick way to check for group memberships. Here's a possibility how to do that. 👇

https://www.claudiokuenzler.com/blog/1336/how-to-check-host-group-membership-in-ansible

ck,
@ck@noc.social avatar

@piratehonk Umm maybe, I've never used that command so far :D

ck,
@ck@noc.social avatar

@piratehonk Nice! Thanks for the hint! 🙏 Blog post updated 🍻

ck, to random
@ck@noc.social avatar

Inside a #Perl script I wanted to compare an input string against an array of strings. When the input exactly matches against one of the array items, then print that a match was found.

One way to solve this is to use the Perl-internal grep function (similar in behaviour to the grep Shell command, but not exactly the same).

https://www.claudiokuenzler.com/blog/1335/how-to-grep-exact-string-match-perl

ck,
@ck@noc.social avatar

@tobyink @ology @mjgardner
Pretty cool, didn't know about the 'any' method. Thanks for all the advises!

ck,
@ck@noc.social avatar

@tobyink @ology @mjgardner
Just tried using 'any' instead of 'grep' and unfortunately it needs List::Util, which I can't install on the target system. But else I'd go for the any approach. Thanks again for all the hints.

ck,
@ck@noc.social avatar

@tobyink @ology @mjgardner
Yep, but running into this exact issue: https://github.com/hainest/ChaNGa_test/issues/2
I wish I could do that on a recent system, but it's unfortunately not under my control.

ck,
@ck@noc.social avatar

@mjgardner @ology @tobyink
Thanks for all these insights, it's much appreciated! I updated the blog article with some "any" tests I did on my local machine. Unfortunately on the customer site I am only allowed to fix the Perl script, not anything else on the OS or packages (besides, access to Internet is blocked). But in my own environment I'd go for the newer 'any' approach 🙂 👍

ck, to random
@ck@noc.social avatar

After upgrading a local #Gitlab CE installation from 14.x to 16.x, access tokens didn't work anymore for pulling a private repository.

https://www.claudiokuenzler.com/blog/1334/gitlab-access-tokens-not-working-anymore-upgrade-16

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines