Major Bug: UFW stopped thru logrotate

On Debian Sid i have seen that ufw service is stopped on logrotate!!

Its a bad known bug!

Workaround:

  • Set all Services like Dovecot, Postfix to listen on LOCALHOST (127.0.0.1) if not needed over Internet
  • Enable ONLY encrypted AUTH (Login) to Postfix! (TLS 1.2)
  • Disable unneeded Services ! like Samba, FTP…
  • move config from /etc/logrotate.d/ufw to /root/ to disable ufw logrotate !!
  • edit /etc/ufw/ufw.conf set LOGLEVEL to „off“
  • restart the Server and check open Ports next Days from outside with:

$sudo nmap -PN my.server.com

Ubuntu Snap on Bionic 18.04 Reasons

If you upgrade or install Ubuntu to 18.04 the last and current LTS Version you have may asked yourself „what the hell is snap loop device?“

Easy Snap was hidden built in to print MONEY, sure?? YES see manpage snap.. “ BUY A SNAP !!“
snap-ubuntu-print-money

.. its a new try to get money since Amazon Shop Link implementation.. like others from Appstores..

Howto get rid off? Removing of snapd with purge app Apps by deps..

# sudo apt-get remove snapd --purge

Some may ask do i need snaps? No cause most packages still live at the debian apt repository

Snap Shop of ubuntu:

https://snapcraft.io/

If you want to learn and config Linux use apt..

Unity Ubuntu Topbar disappeared

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

Surf Browser Slim Twitter Timeline on Desktop

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.

Linux: Systemd ignore console-setup settings

If you work on older Laptops and you use a Console only System Setup like on Debian there is a Bug on systemd and the console-setup package since years. After reboot all Font Settings seems gone. But the Settings are not real gone, cause systemd does not pull the settings on boot!

How to fix?

  • edit the crontab of root by

sudo su -
crontab -e

  • insert the /bin/setupcon command on „@reboot“ means on every boot!

@reboot     /bin/setupcon > /dev/null 2>&1 

  • save and exit, reboot now
  • now the PC should echo big Fonts for old eyes „Terminus 20×12 Frambuffermode“

 

Ubuntu: Release Change

If you use Ubuntu on your Systems, you perhaps read last weeks about a new Release Version.

I am often asked, must i upgrade now?

My answere at first is not really, cause the new Versions are not cleaned up by all bugs and the User or Admin must recheck against the new advantages of the new Releases for production usage. I prefer to wait 3 Month after a Release by Ubuntu is published. But if you setup a very new Hardware your are often forced to take the LAST Release Version, cause it supports newest Hardware Chips by the latest Kernel (for example Laptop mixed Chips Wifi/Bluetooth/USB3.0).

Remark: You should read the „release notes“ of the Versions, cause this can prevent you from running into trouble or „black screens“.  DONT forget to Backup the old OS if you try to start the Upgrade. Fresh Setup’s are often smaller and more free of Bugs as „upgraded Systems“! Cause sometimes the old Configs are not all updated or replaced! (User-Homes). New Releases can allocate MORE Disk Space and offer new Call Home Sniffing Tools, RECHECK open Ports, running Processes and Privacy Settings!

On Companies you must always setup a „Lab PC“ for Testing the new Releases before rolling out the OS.

Print this Release Timeline out to be updated daily..

ubuntu releases timeline
ubuntu releases timeline

Ubuntu: Deja-Dup Backup Freeze Desktop

If you use Ubuntu Desktop 16.10 you will run sometimes into freezes of the Desktop with a Default Setup.

Background: Theres a known Bug of the Deja-Dup Backup Service which is started by Cron. The Service take 100% Ram and 100% CPU usage. This did my PC with 16GB Ram too! Only HARD RESET helps to get back Control!

Solution:

  • Purge the deja-dup service with:

$sudo apt purge deja-dup

  • Use instead the „rsync“ tool by command line with users crontab to Backup your User Homes to external or 2nd. Disk.

This should fix the problem.