FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2005
    Posts
    54

    Simple display of systemd service sequence

    Hi,
    What's the best way to get a list of the start order of services from systemd?
    Yes, I've tried
    Code:
    systemctl --order
    This looks like the output I would expect, except that if that list is the system service start order, then my system is hosed. I certainly hope that my system is not starting nfs service before all the /usr/export filesystems are mounted.
    I tried
    Code:
    systemd --test --system
    but that generates over 22 thousand lines of gibberish! I filtered that with
    Code:
     systemd --test --system | grep -- -\> | grep Unit | grep -i service
    And it's less gibberish, but it's ALMOST the reverse order of the first command, and still pretty crazy.

    Ultimately, I need to discover, and fix the order of the services started by systemd, because they were mangled during the upgrade from Fedora 14
    I hope that "systemctl --order" is either not the real deal, or I'm reading it wrong. Because if it is, I'm afraid I have a huge problem to fix.

  2. #2
    Join Date
    Sep 2009
    Posts
    2,120

    Re: Simple display of systemd service sequence

    From reading the man pages, your second try is the one you want. The Job XXX seems to indicate the order the units are started. Using --order just says to build the digraph with only before/after dependencies. Check out the dot section of the systemctl man page.

    dd_wizard
    Last edited by dd_wizard; 13th July 2011 at 02:50 AM.

  3. #3
    Join Date
    Jun 2005
    Posts
    54

    Re: Simple display of systemd service sequence

    Oh...Kay... from the man page of systemctl:
    Code:
    dot  Generate textual dependency graph description in dot format for further processing with the GraphViz dot(1) tool. Use a command line like systemctl dot | dot -Tsvg > systemd.svg to generate a graphical dependency tree. Unless --order or --require is passed the generated graph will show both
               ordering and requirement dependencies
    I tried a few commands, got failures. Whatever.
    Code:
    systemctl --order dot
    Generates 1655 lines of output as a response. Tomorrow, I will go through it all. But right now, it seems crystal that systemd should NOT be in any default "set" as an upgrade from a previous release Fedora. The system breaks, and fails multiple acceptability criteria.
    Over an hour of Googling, and two of reading the Wikkis, yields no answers for stabilizing a system to a coherent boot sequence when services were based on SysV.
    So here is an alert:
    DON"T Do It! Do NOT upgrade From Fedora 14 to Fedora 15!
    Just install a new system!

Similar Threads

  1. Replies: 1
    Last Post: 18th March 2016, 08:05 PM
  2. Display graphics from service?
    By IYIaster in forum Using Fedora
    Replies: 3
    Last Post: 28th May 2010, 04:09 PM
  3. Replies: 6
    Last Post: 6th March 2009, 03:29 PM
  4. Looking for a simple dynip name service
    By fc6n27 in forum Servers & Networking
    Replies: 6
    Last Post: 7th August 2007, 10:35 PM
  5. simple programme to display a message in a window
    By Lysia in forum Programming & Packaging
    Replies: 6
    Last Post: 13th April 2006, 12:14 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •