Journal-brief now in Fedora

Tuesday, November 3rd, 2015

The journal-brief package is now available in Fedora (22+)!

Also, the 1.1.2 release adds a ‘systemd’ output format to report on failed systemd units:

$ journal-brief -o systemd

Failed systemd units:

 7 x NetworkManager.service
 33 x abrtd.service
 1 x configure-printer@usb-001-008.service
 1 x dnf-makecache.service
[...]

For more about journal-brief visit the GitHub page.

Using journal-brief to watch for errors

Monday, October 19th, 2015

It’s pretty easy to see what error messages have been logged on a machine with systemd installed: just run journalctl -p err. But this will show you all of the messages of priority “err” or higher, starting from the beginning of the log. What if you only want the most recent ones?

Again, that’s pretty easy: journalctl -p err -e will do it. The -e parameter tells it to start at the end, not the beginning.

But what if you specifically want to know about error messages that have been logged since you last looked? Enter journal-brief, which keeps a bookmark so that it will only show you messages logged since you last ran it.

(more…)

Headless encrypted boot with Fedora Server

Thursday, April 9th, 2015

Here is a recipe for using encrypted boot on a Fedora Server system that does not have a monitor or keyboard attached during normal use.

I’ll use Fedora 21 Server, and will have a dedicated encrypted volume group for data but leave the main operating system volume group unencrypted. The encryption key will be stored on a USB memory stick. When it is connected the system will boot normally; otherwise it will wait for a while for it to be connected and finally fall back to emergency mode.

(more…)

Typing breaks in GNOME

Thursday, November 14th, 2013

input-keyboard-100For quite a while now I’ve used the drwright application to configure typing breaks. Once every so often, the desktop would refuse keyboard input and tell me to go and walk around for a few minutes instead. This helps to prevent RSI and other problems.

Since Fedora 19, though, drwright is no longer usable. No matter, I switched to Workrave as that is a similar application although with more tweakable options than I needed.

But now in Fedora 20 (currently in Beta) the problem of not being able to adjust configuration settings has affected Workrave as well! This time it’s a different bug, but not being able to right-click and get a context menu on the icon makes it pretty hard to use.

Doesn’t anyone else set typing breaks?

Session printing

Thursday, March 8th, 2012

There has been a discussion on the Fedora devel mailing list recently about user session printing: why that might be useful, and in what circumstances it makes sense.

Where I can see it can make some sense to have printing entirely in the user session is for PDF printing to smart services hosted elsewhere: e.g. the office CUPS server, or Google Cloud Print.  Applications produce PDF, so for printing to these types of service there is nothing to do but send the PDF (along with any print options).

(more…)