Tag: systemd

  • Journal-brief now in Fedora

    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

    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…

  • Headless encrypted boot with Fedora Server

    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…

  • The portreserve problem: is systemd the solution?

    Quite a while ago I wrote portreserve, a utility to prevent ports getting stolen at boot time by portmap. This would happen with CUPS, for example: portmap starts first (to allow for NFS-mounted filesystems), and calls bindresvport(). If the privileged (i.e. in the range 512-1023) port it allocates happens to be 631, when CUPS starts…