Bug 772506

Summary: systemd-analyze without arguments crashes
Product: [openSUSE] openSUSE 12.2 Reporter: Forgotten User 99jW5vq2hJ <forgotten_99jW5vq2hJ>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User 99jW5vq2hJ 2012-07-20 21:45:01 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1

Using opensuse 12.2 with systemd-44-9.11.1.x86_64

"systemd-analyze blame" works as expected, but

"systemd-analyze" says:

# systemd-analyze 
Traceback (most recent call last):
  File "/usr/bin/systemd-analyze", line 82, in <module>
    initrd_time, start_time, finish_time = acquire_start_time()
  File "/usr/bin/systemd-analyze", line 35, in acquire_start_time
    assert startup_time <= finish_time
AssertionError


Reproducible: Always

Steps to Reproduce:
1. run "systemd-analyze" without arguments
2.
3.


Expected Results:  
systemd-analyze should print a "usage" message
Comment 1 Frederic Crozat 2012-07-23 09:35:39 UTC
It looks like you might get this when systemd-analyse is started before boot is complete. 

Please test package from http://download.opensuse.org/repositories/home:/fcrozat:/branches:/Base:/System/openSUSE_Factory/ it should fix the issue.
Comment 2 Forgotten User 99jW5vq2hJ 2012-07-23 18:07:24 UTC
Yes, the new package fixes the issue. Message is now "Bootup is not yet finished. Please try again later."
Comment 3 Frederic Crozat 2012-07-24 08:47:21 UTC
sr 128829 pushed. Will end up in Factory and 12.2 soon
Comment 4 Bernhard Wiedemann 2012-07-24 09:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (772506) was mentioned in
https://build.opensuse.org/request/show/128831 Factory / systemd