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.

The workaround for now is to upgrade your snap core to the beta channel.

 

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

to

 

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.

Disable laptop lid action for proxmox

I run a low power proxmox server using my old Lenovo T430s. It’s headless so the lid’s always closed. When I first set it up, closing the lid would send the laptop into standby mode. Here’s what I did to get promox/debian to ignore the laptop lid action. Edit the /etc/systemd/logind.conf file Change the lines below.

redshift fails with Geolocation disabled for UID 1000

Installed redshift on my Arch box today but it kept failing with “Geolocation disabled for UID 1000”. This is a bug which will be fixed in a new release but till then here’s an easy work around. Add the lines below to the /etc/geoclue/geoclue.conf file and restart gnome.