Posts

SystemD Debate and Configuration by Example

Image
A "healthy" debate on the virtues, use-cases, and overall disdain and misconceptions of SystemD. Specific use-cases in "less-common" configurations provide a challenge as well as an opportunity to learn about the underlying mechanism of certain aspects of the Operating System. A substantial number of years working in/with Linux doesn't preclude a person from learning how to use new tools and mechanisms even if, or perhaps especially when, the mechanism is low-level software.

Users and Administrators must not get so entrenched in their ways of comfort that they reject advancements in the underlying pieces of the OS on the basis of overestimating the merit of their own existing knowledge, while downplaying the benefits of the advancements and exaggerating their problems an perceived shortcomings on surface value. Nevertheless, even though change is inevitable in our universe, it breeds chaos in the early stages of wide-spread adaptation. It's in this st…

Recover Fedora21 after Removing swap LVM Partition

Image
"God" help you if you make the mistake, as I did today on a newly-installed Fedora21 system, to delete an LVM swap partition without taking the proper precautions before rebooting. If you are in this position, or have been in the past, you've come face to face with the dracut rescue shell and its limited set of "shell" commands. While the rescue shell offers some potentially useful functions (commands), I could not successfully use it to implement any of the advised steps from manual pages and internet forums I came across when searching for a solution to this problem.
The Fedora Wiki page on "How to debug Dracut problems" suggested activating the root and any other logical volumes by executing  # lvm vgscan # lvm vgchange -ay "With the root volume available, you may continue booting the system by exiting the dracut shell" exit Though, in fairness, that resolution was dealing with unlocking an encrypted root volume with an additional …

How to Reset Root Password in RHEL7

Image
Without a doubt, one of the most powerful and essential tools a system's administrator has is the ability to gain root privileges. While it's generally a bad idea, to say the least, to perpetually operate as the root user on any given system, being able to log in as the root user on the command console is essential at times. Therefore, it's frustrating to be in the position as a system administrator if you've forgotten or otherwise lost the password and are, subsequently, unable to gain escalated privileges on a system.
Since the shift to grub2, as well as other changes with the init system, the method of gaining access to a system for such low-level purposes has changed.
Reboot the system, wait for the grub menu, press the letter 'E' on the keyboard to edit the menuentry. Then, scroll down to the bottom of the screen to the line starting with linux and append the space-separated kernel commands rw and init=/bin/bash
before hitting the F10 key to boot the …

Backups in RHEL7 on XFS Filesystem

Image
The default storage setup in a new Red Hat Enterprise Linux 7 installation is an LVM partitioning scheme with an XFS boot partition outside of the LVM scheme, and the root and home partitions comprising the main volume group on an XFS filesystem. This is a departure from the previous default filesystem type ext4.

Some important behavioral and administrative differences between the ext4 filesystem and the xfs filesystem are addressed in the RedHat Documentation, chapter 6 in the “Storage Administration Guide” specifically. The key items addressed pertain to Filesystem repair, Metadata error behavior, Quotas, Filesystem resize and Inode numbers among other things.
One nice feature of the XFS filesystem is the native backup and restoration feature with the xfsdump and xfsrestore utilities, respectively. The xfsdump utility supports incremental backups to tape drives or regular file images. The incremental backups are possible due to the use of different dump levels. To perform a fu…

Firefox--Multiple plugins Directories

Image
There are a number of legitimate reasons why one would have multiple versions of Firefox installed on one system.  While, it's generally ill-advised to have multiple versions of the same package/software installed--as it could create resource conflicts and system hangups--recent versions of Firefox have become more stable in this type of scenario.  The Developer Edition of Firefox, for example, has an option under Preferences that specifies whether or not to "allow Firefox Developer Edition and Firefox to run at the same time" through the use of different Profiles.

While this is a nice functionality, there are still some issues with the system-wide Library path and the local ".mozilla" directory in the user's home directory.  There's still an issue with installed plugins, which are in the system-wide directory "/usr/lib64/mozilla/plugins/" on a 64-bit system, not available in the second installed firefox package unless the user creates links t…

Troubleshoot JavaScript Functionality--Firefox Browser and DD-WRT Network Router

Image
HTML5 is here! On October 28th, 2014 the HTML Working Grouppublished HTML5 as W3C Recommendation. This specification defines the fifth major revision of the Hypertext Markup Language (HTML), the format used to build Web pages and applications, and the cornerstone of the Open Web Platform.

When the talk of HTML5 comes up generally it's understood that, for the most part, CSS3 and JavaScript are an intricate part of the "whole". Extended features such as responsive design among other things are nothing without all three languages. JavaScript in particular uproots the "operating system" and unshackles users from the confinement of locally-run software with seemingly boundless potential.

Well, if that wasn't a loaded statement then you still have faith that I know what I'm talking about. Regardless, this post is mainly meant to help troubleshoot the possible causes of a half-assed web-experience followed by constant, nagging banners suggesting that you…

Support Freedom and Net-Neutrality

Image
---------- Forwarded message ----------
From: +Evan Greer from FFTF<info@list.fightforthefuture.org>
Date: Wed, Dec 17, 2014 at 9:14 AM
Subject: "Impossible"
To: ilmostro7@gmail.com


Dear Fight for the Future member,
I've got to be honest with you. I really didn't think we would make it this far.
When we started this fight for net neutrality, it seemed like the odds were stacked impossibly against us. We're up against some of the most powerful and politically well-connected companies in the world. Companies that are so close to the government, sometimes it's hard to tell the two apart.
But against all odds, we are winning. Everything we are hearing says the FCC is finally caving to the public pressure and writing a real net neutrality rule. Please help us finish the fight: click here to chip in whatever you can afford today.
To tell the truth, when we first started this, there was a pretty strong voice in the back of my mind telling me we couldn't win.…