Apparmor has a current bug with the Kernel 4.14 on Debian and seems Ubuntu too, it blocks MySQL and other services from clean run. Bug touches Network Stack of the Kernel
After Ubuntu published the latest Kernel Patches for Meltdown and Spectre the Kernel 4.4.0-104/109-generic let Intel Graphics freeze or hang on Compiz with Unity. Howto fix: Install the latest Kernel 4.4.0-112-generic do: sudo apt-get install linux-image-4.4.0-112-generic sudo apt-get install linux-image-extra-4.4.0-112-generic reboot then: sudo apt-get autoremove –purge -y This removes older kernels and save Space! Do test the PC for hanging again!!!
I have often seen that the Unity Topbar of Ubuntu LTS is hidden or not clean loaded after Login. It’s Caching Problem of Unity (Compiz) and Lightdm, if the PC is not clean rebooted or started. Howto fix: sudo rm -fr ~/.cache/compizconfig-1 \ && sudo rm -fr ~/.compiz && sudo service lightdm restart Now relogin and check.. if ok do a Profile Backup! with: tar -cvzf /usb-backup-stick/compiz.tgz \ /home/username/.cache/compizconfig-1 /home/username/.compiz
If you search for a slim twitter client on desktops try the small “surf” browser install with: sudo apt-get install surf and use surf https://mobile.twitter.com/yourprofilename Now you have a slim and clean Twitter Timeline like on Tablets, it can be resized to Banner or Fullscreen.
If you run scripts to handle text output by cronjobs your perhaps get problems with umlouds “ÖÄÜ” cause they are displayed by “**”. This is a problem cause cron uses “C” setting as locale, you can test it by setting it into root crontab: open crontab from root with: $su – root $crontab – insert * * * * * locale This will mail cron’s locale echo to the mailbox of root! Read root’s mail! After tests remove the locale entry at crontab! Howto fix for Scripts: open crontab from root with: $su – root $crontab -e insert (for German): […]
If you use a Mail Server with Postfix you got daily Spam Attacks by Scripts: How to fix? Install ufw Firewall Run a Scanner Script as cronjob On Debian/Ubuntu: Install ufw: sudo apt-get update && sudo apt-get install ufw && sudo ufw enable && sudo ufw logging off Scan Script: sudo nano /home/user/firewall-update.sh: #!/bin/bash # scan rejected cat /var/log/mail.log | grep rejected | cut -d"[" -f3 | cut -d"]" -f1|grep -v '^$' > /tmp/firewall.txt # insert to Firewall while read line; do sudo ufw insert 1 deny from $line to any; done < /tmp/firewall.txt # scan "denied" cat /var/log/mail.log | […]