[systemd-bugs] [Bug 66926] New: Requirement of a command to figure out if boot up has been completed or not

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 15 06:20:59 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=66926

          Priority: medium
            Bug ID: 66926
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: Requirement of a command to figure out if boot up has
                    been completed or not
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: umut at tezduyar.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

There is no easy polling way to determine if system has booted up or not. 

while (systemctl is-active default.target == false)
   print "Still booting.."

systemctl list-jobs can be used to figure out if there are jobs left or not but
the output of systemctl list-jobs is for humans. One thing could be printing
out the number of ongoing jobs with "--quit" option..

ex: systemctl --quit list-jobs; echo $? > 0

Note: Yes, I am aware of the Manager interface's dbus signal sent out when boot
up is completed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130715/dc15022a/attachment.html>


More information about the systemd-bugs mailing list