Tag Archives: Linux

What is: chroot – system call and utility in Linux

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 »

Linux: telegram-desktop – no systray icon

13 March 2019
 

 Have the telegram-desktop installed via pacman on the Arch Linux. After starting – no systray’s icon present and thus can’t see new messages and even can’t exit in a normal way. This issue is not specific for the Arch Linux and happens on any Linux systems. Go to the Google and make search with “telegram linux… Read More »

VirtualBox: Nonexistent host networking interface, name ‘wlp13s0’

11 March 2019
 

 Have the ~/VirtualBox VMs directory copied from my old laptop to a new PC. Now during VM’s launch – VirtualBox says: Nonexistent host networking interface, name ‘wlp13s0’ (VERR_INTERNAL_ERROR). Result Code: NS_ERROR_FAILURE (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed} Check interfaces on the new PC: [simterm] $ ip a s 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue… Read More »

Ansible: check if a package is installed on a remote system

10 March 2019
 

 Have a self-written letsencrypt role (see the Prometheus: RTFM blog monitoring set up with Ansible – Grafana, Loki, and promtail post). Before running the Let’s Encrypt client to obtain a new certificate – need to check if NGINX is installed on a remote host. Let’s use the package_facts module: … – name: “Check if NGINX is… Read More »

Linux: LVM – pvcreate Device /dev/sdb4 excluded by a filter.

9 March 2019
 

 During new Linux set up – suddenly got a weird message. It happen just because of my carelessness and haste. Let’s create new partition: [simterm] [root@archiso ~]# pvcreate /dev/sdb4 Device /dev/sdb4 excluded by a filter. [/simterm] Check new partition size: [simterm] [root@archiso ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 476.7M… Read More »

Linux: The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv

5 March 2019
 

 After each new VirtualBox installation – I’m stepping on the same rake again and again and have to go to Google to ask: The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv Attempt to load vboxdrv manually also provides the error: [simterm] $ sudo modprobe vboxdrv… Read More »

Android Studio: adb – INSTALL_FAILED_INSUFFICIENT_STORAGE

4 March 2019
 

 Proceeding fighting with our UI auto-tests 🙂 Two previous posts were really useful this time – Android Studio: установка на Linux и работа с Android Virtual Devices and Appium: Android Virtual Device, Original error: Condition unmet after 60159 ms и костыль. In general – tests works fine but sometimes gives me interesting issues. This time… Read More »