Category Archives: Operating systems

Linux: no sound after suspend/sleep – solution
0 (0)

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 »

Loading

Linux: gnome-keyring setup as Freedesktop SecretService
0 (0)

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 »

Loading

Linux: PHP-FPM, Docker, STDOUT and STDERR – no an application’s error logs
0 (0)

24 February 2020

We have a Docker image with NGINX, PHP-FPM, and Supervisor. In the same image, we have our PHP application included, which outputs its errors to the /dev/stderr as per its php.ini file: … [global] error_log=/dev/stderr … The problem is, that if run kubectl logs –  there will be no error output from the application. So,… Read More »

Loading

KeePass: SSH keys passwords storage and decryption on Linux
0 (0)

13 December 2019

As a follow-up to the SSH: RSA keys, and ssh-agent for SSH keys and their passwords management post. The idea now is to make simpler to work with password-protected SSH keys, to avoid the necessity to enter a password each time when you want to load a key to the ssh-agent. One of the possible… Read More »

Loading

Chromium: Linux, keyrings && Secret Service, passwords encryption and store
0 (0)

10 December 2019

One of the motives to go deeper into the keyrings (see the What is: Linux keyring, gnome-keyring, Secret Service, and D-Bus post) was the fact that Chromium, surprise-surprise, keep passwords unencrypted if a Linux system has no keyring and/or Secret Service enabled. So, let’s try to find how and where Chromium store passwords, and the… Read More »

Loading

What is: Linux keyring, gnome-keyring, Secret Service, and D-Bus
0 (0)

7 December 2019

It’s a really long-read post and I wast sure if it’s better to split it into three parts or put them together. On the one side, there are keyrings, from another – D-Bus, and finally, there is a Secret Service. Eventually, I decided to keep them here together as I googled all it in the… Read More »

Loading

SSH: RSA keys, and ssh-agent for SSH keys and their passwords management
0 (0)

1 December 2019

During keyring configuration for the Nextcloud client (see the Linux: the Nextcloud client, qtkeychain and the “The name org.freedesktop.secrets was not provided by any .service files” error post) – I decided to clean up the mess in my SSH keys, as I have a lot of them and sometimes authentication became just pain. In general… Read More »

Loading

Linux: the Nextcloud client, qtkeychain and the “The name org.freedesktop.secrets was not provided by any .service files” error
0 (0)

1 December 2019

After installing Nextcloud (see the Nextcloud: running in Docker Compose on Debian with Let’s Encrypt SSL post), on the next day its client ton my Arch Linux asked for authentication. But after I entered my credentials, it returned me the following error: Reading from keychain failed with error: ‘The name org.freedesktop.secrets was not provided by… Read More »

Loading

Redis: fork – Cannot allocate memory, Linux, virtual memory and vm.overcommit_memory
0 (0)

28 August 2019

Currently, I’m configuring a Redis as a caching service for our application and during that, I faced with the question: do I need to set vm.overcommit_memory to the value 1, i.e. disable it – or not? The question is quite old for me, see The story, but only now I found time to get to… Read More »

Loading

What is: chroot – system call and utility in Linux
0 (0)

23 March 2019

chroot() was added to the Version 7 Unix in 1979 and used for filesystem isolation. In fact, it’s the predecessor of the whole current containerization idea, just now there are namespaces and cgroups are used while earlier chroot was used to create an environment which is isolated from a host and can be used for… Read More »

Loading