Category Archives: UNIX/Linux

Kubernetes: Service, load balancing, kube-proxy, and iptables

1 November 2020
 

 One day I wondered – how is load balancing between pods is working in Kubernetes? I.e. – we have an external Load Balancer. Then a Service. And behind it – Pods. What happens when we are receiving a network packet from the world, and we have a few pods – how the traffic will be… Read More »

Slack: Cannot read property ‘appTeams’ of undefined

23 September 2020
 

 I have Slack desktop running on Arch Linux. It was installed from AUR and usually works fine. But today after rebooting my laptop Slack won’t start again sying it has the ‘appTeams’ property error: [simterm] $ slack Initializing local storage instance at path: /home/setevoy/.config/Slack/local-settings.json Failed to get path for key, this may be expected: /home/setevoy/.config/autostart… Read More »

Linux: configuring KDE Connect and connection to an Android phone

24 June 2020
 

 A really nice Android phone and a Linux OS integration. Besides the KDE Connect, you can use gnome-shell-extension-gsconnect if you’d prefer the Gnome project. In this post, we will set up KDE COnnect between an Android HTC phone and Arch Linux. On Android install the KDE Connect from the Play Market. On Linux, install from… Read More »

Docker: configure tzdata and timezone during build

17 May 2020
 

 During a Docker image build – it stops asking to configure the tzdata. Dockerfile at this moment is the next: FROM ubuntu:18.04 RUN apt update && apt install -y python-pip python-dev ssh python-boto3 RUN pip install ansible==2.4.3.0 Let’s reproduce – run the build: [simterm] admin@jenkins-production:~$ docker build -t proj/proj-ansible:1.1 . Sending build context to Docker… Read More »

Linux: no sound after suspend/sleep – solution

30 April 2020
 

 I have a laptop with Arch Linux. It’s suspended with the systemctl suspend. The issue: after it’s wake up there is no sound. From the information found during the investigation (see links below) the issue happens because of the NVIDIA drivers and isn’t specific to the Arch Linux – can happen with any other Linux… Read More »

Steam: Civilization V, Arch Linux and ERROR:Invalid resolutions constraints: 0x0 must not be greater than 0x0

27 April 2020
 

 I’m using Steam on Arch Linux (see the Arch Linux: Steam installation). And I have Civilization V game here – my favorite game for last N-years. I have NVIDIA drivers installed and most of the games work fine, even World Of Tanks, but I wasn’t able to play Civilization from the moment I’ve installed Steam… Read More »

Linux: processes core dumps, systemd-coredump and Debian

14 March 2020
 

 Need to get a dump from fro ma PHP process on Debian 9. In this post will take a Linux kernel mechanism to create and manage processes dumps. Kernel’s dumps are created in another way, check Kdump на Arch Wiki. Linux Core Dump The kernel will create a process dump if it performed an invalid… Read More »

Linux: gnome-keyring setup as Freedesktop SecretService

26 February 2020
 

 Currently, I’m using KeePass as passwords, RSA-keys, and as the Freedesktop SecretService, see the KeePass: an MFA TOTP codes, a browser’s passwords, SSH keys passwords storage configuration and Secret Service integration post. The first issue I faced with during such a setup is the fact that KeePass’ database is synced between my computers (it’s database… Read More »