Systemd Vulnerable to DNS Attacks

Systemd, the Linux world’s favorite init monolith, can be potentially crashed or hijacked by malicious DNS servers. Patches are available to address the security flaw, and should be installed ASAP if you’re affected.
Continue reading Systemd Vulnerable to DNS Attacks

Advertisements

grub-pc (2.02~beta2-36ubuntu3.10)

I’m running an Ubuntu server and the other day while running updates I started getting the following error:

Setting up grub-pc (2.02~beta2-36ubuntu3.10) ...
/var/lib/dpkg/info/grub-pc.postinst: line 703: syntax error near unexpected token `fi'
dpkg: error processing package grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)

Opening /var/lib/dpkg/info/grub-pc.postinst I found:

        if dpkg --compare-versions "$2" lt-nl 2.02~beta2-36ubuntu3.10 then
          if [ -e "/boot/efi/EFI/${bootloader_id}/fbx64.efi" ]; then
            rm -f "/boot/efi/EFI/${bootloader_id}/fbx64.efi";
          fi
        fi

There was a missing semicolon in the first line and that’s what was breaking my update. I updated it and the error went away:

        if dpkg --compare-versions "$2" lt-nl 2.02~beta2-36ubuntu3.10; then
          if [ -e "/boot/efi/EFI/${bootloader_id}/fbx64.efi" ]; then
            rm -f "/boot/efi/EFI/${bootloader_id}/fbx64.efi";
          fi
        fi

Google Chrome – Your Preferences cannot be read

Logged into my Linux computer today and got this error as I tried to start Chrome. Tried the basics and it did not work, searched Google and saw many others having this same issue so I decided to document the process of fixing this issue here. I’ll start with the basic stuff first then will get into the more detailed steps.
Continue reading Google Chrome – Your Preferences cannot be read

Installing Linux Kernel v4.10

I started using CentOS over several other Distros that I have been testing ever the years. I still have an Ubuntu laptop just to keep up to date with things seeing that it’s one of the most popular ones.

I’ve covered installing Kernels before but I wanted to refresh that topic and include how to do it on CentOS.

Continue reading Installing Linux Kernel v4.10

Activate Ubuntu login sound

I miss some things from the old Ubuntu releases and one of those things is the login sound. I found it still included but not active, here is how to re-activate it if you want to have some nostalgia…

  • Cling on the Ubuntu Launcher
  • Search for and launch Startup Applications
  • Click Add
  • Add the following lines:
    • Name: Login Sound
    • Command: paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg
    • Comment: Play Login Sound
  • Click Save
  • Restart your computer

If you just want to hear it without having it load every time you login check, here ya go.

ttf-mscorefonts-installer fails to install/upgrade

In the article on What to do after installing Ubuntu 16.04 we went over installing some things to the default Ubuntu install and it seems one of the processes needs the ttf-mscorefonts-installer package. Well, it seems that something is broken in that process and this article will cover how to fix it and get your system back to full throttle…

What’s the error?

Here is what I’ve seen, sometimes it happens with different fonts as well.

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
 Get:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kB]
 Fetched 198 kB in 12s (15.8 kB/s)
 ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
 Get:1 http://downloads.sourceforge.net/corefonts/arial32.exe
 Fetched 552 B in 11s (47 B/s)

E: Failed to fetch http://downloads.sourceforge.net/corefonts/arial32.exe Hash Sum mismatch

E: Download Failed
 Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...

Continue reading ttf-mscorefonts-installer fails to install/upgrade

What to do after installing Ubuntu 16.04 Xenial Xerus

I never use anything but LTS if and when I put Ubuntu on my machines so I will not cover 15.10 or 16.10. These are some of the things to do right after installing Ubuntu on your computer.

Important:
This is not an exhaustive list nor is it the only things to do. If you have anything to add, please leave a comment below.

Most of these steps will be terminal based so start up a terminal. Press the super key (the Key Formerly Known as the Windows Key) to bring up the Unity dash. Then, type in terminal and choose the icon for the terminal program.

Continue reading What to do after installing Ubuntu 16.04 Xenial Xerus

Linux Kernel Zero Day Vulnerability CVE-2016-0728

This vulnerability has existed since 2012 and it affects Android and Linux systems running Linux Kernel version 3.8+, and Linux server or desktop running kernel 3.8+ is vulnerable.

As of the date of disclosure, this vulnerability has implications for approximately tens of millions of Linux PCs and servers, and 66 percent of all Android devices (phones/tablets).

How do I fix this?

First some background on what the CVE-2016-0728 bug is. From the Perception Point Research Team

CVE-2016-0728 is caused by a reference leak in the keyrings facility. Before we dive into the details, let’s cover some background required to understand the bug. It can successfully escalates privileges from a local user to root.

Continue reading Linux Kernel Zero Day Vulnerability CVE-2016-0728

Install Viber on Linux

What is viber?

Viber for Desktop lets you send free messages as well as make free calls to other Viber users, on any device and network, in any country! Initially released as a phone app, you can now use it on your Windows and Mac desktops with a Linux version currently in development for 64-bit systems.

For the Viber site:

Viber is a mobile application that allows you to make phone calls and send text messages to all other Viber users for free! Viber is available over WiFi or 3G. Our sound quality is much better than a regular call. Once you and your friends install Viber, you can use it to talk and message as much as you want. Talk, message, and talk and message some more – for free!* You can also call any number that doesn’t have Viber at low rates using ViberOut.

Continue reading Install Viber on Linux

Netflix on Ubuntu 14.04

With many services today needing Silverlight to run web services and many people converting to Linux or refusing to use Windows or Macs it seems like you can’t enjoy those services. Here is a great feature for those of you that use Ubuntu and want to enjoy Netflix on your computer, once you set this up you will have the benefit for other services that require Silverlight.

Tip:
Before installing pipelight, we recommend closing your browsers, copy the information to a text editor so you know what to do or print it out. Not closing out your browser may cause the install to fail

Continue reading Netflix on Ubuntu 14.04