Adding thunderbolt devices in Fedora server 30

I recently purchased a thunderbolt 3 to 10GbE adapter ( QNA-T310G1S ) for my homelab NUC ( NUC7i5BNH ) running Fedora server 30. The network interface was not showing up when I connected the adapter. Some googling later and I figured out what I was not doing. Thunderbolt devices need to be authorized and added…

Extract .xz file

I generally just use the tar utility to extract files from a .xz archive. >_ file tsetup.1.7.7.tar.xz tsetup.1.7.7.tar.xz: XZ compressed data >_ tar -tvf tsetup.1.7.7.tar.xz drwxrwxr-x preston/preston 0 2019-06-10 05:25 Telegram/ -rwxrwxr-x preston/preston 97436648 2019-06-10 05:24 Telegram/Telegram -rwxrwxr-x preston/preston 1400643 2019-06-10 04:52 Telegram/Updater >_ tar -xvf tsetup.1.7.7.tar.xz Telegram/ Telegram/Telegram Telegram/Updater >_ ls -l Telegram/ total…

cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied

Installed kernel 4.18 on my Ubuntu recently, since then snap packages broke with the following error. It has something to do with the AppArmor¬†exception rule for ptrace¬†for what I could gather. [email protected]:$ spotify cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied The workaround for now is to upgrade…

N: Skipping acquire of configured file ‘contrib/binary-i386/Packages’ as repository ‘https://download.virtualbox.org/virtualbox/debian bionic InRelease’ doesn’t support architecture ‘i386’

N: Skipping acquire of configured file ‘contrib/binary-i386/Packages’ as repository ‘https://download.virtualbox.org/virtualbox/debian bionic InRelease’ doesn’t support architecture ‘i386’ There’s no 32bit support now so update the source list file to get rid of the warning. In my case, /etc/apt/sources.list.d/virtualbox.list Change deb https://download.virtualbox.org/virtualbox/debian bionic contrib to deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib  

Install latest Ansible on Ubuntu

Steps to get the latest version of Ansible installed on Ubuntu or any Ubuntu variant. In my case Kubuntu 18.04.1. [email protected]:~$ sudo apt-get update [email protected]:~$ sudo apt-get install software-properties-common [email protected]:~$ sudo apt-add-repository ppa:ansible/ansible [email protected]:~$ sudo apt-get update [email protected]:~$ sudo apt-get install ansible [email protected]:~$ ansible –version ansible 2.6.2 config file = /etc/ansible/ansible.cfg configured module search path…