Ubuntu 18.04

AppArmor

Permission Deined problem

ref. filesystems - What is a bind mount? - Unix & Linux Stack Exchange

use bind mount replace symbolic link

mount -o bind /src/dir /dst/dir

Nvidia suspend/resume fix

ref. NVIDIA Suspend fix

sudo systemctl stop nvidia-suspend.service
sudo systemctl stop nvidia-hibernate.service
sudo systemctl stop nvidia-resume.service

sudo systemctl disable nvidia-suspend.service
sudo systemctl disable nvidia-hibernate.service
sudo systemctl disable nvidia-resume.service

#    Remove NVIDIA systemd script

sudo rm /lib/systemd/system-sleep/nvidia

Power

diable suspend

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Update

Disable Unattended Upgrades

/etc/apt/apt.conf.d/20auto-upgrades

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "0";

Snap update

ref. Managing updates | Snapcraft documentation

Update at 1st Monday of the month, at 0:00

sudo snap set system refresh.timer=mon1

Swap

disable swap

sudo systemctl mask dev-sdXX.swap (where XX is the swap partition)

Wireshark

The capture file appears to be damaged or corrupt. (pcap: File has 1847605831-byte packet, bigger than maximum of 65535)

pcapfix -d 'file / file path here'