Bug 774527

Summary: Failed to start Console System Startup Logging while performing the installation
Product: [openSUSE] openSUSE 12.2 Reporter: Forgotten User tv2gvQo-zT <forgotten_tv2gvQo-zT>
Component: InstallationAssignee: Pawel Wieczorkiewicz <pwieczorkiewicz>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: forgotten_tv2gvQo-zT, pwieczorkiewicz
Version: RC 2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: complete log files for the installation

Description Forgotten User tv2gvQo-zT 2012-08-04 10:01:47 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1

Doing a review for the installation logs for 12.2 RC2 I found this error:

Failed to start Console System Startup Logging

Reproducible: Didn't try

Steps to Reproduce:
The error happen during the installation. I'm not sure when because I discover later when I did a review of the log files
Actual Results:  
During the installation, I got this kernel message error:

Starting LSB: CPUFreq modules loader...                                                                                                                                  
Starting System Logging Service...                                                                                                                                       
Starting Haveged Entropy Gathering Daemon...                                                                                                                             
Started Haveged Entropy Gathering Daemon                                                                                                                         [  OK  ]
Starting Avahi mDNS/DNS-SD Stack...                                                                                                                                      
Starting YaST2 Second Stage...                                                                                                                                           
Starting Permit User Sessions...                                                                                                                                         
Starting Login Service...                                                                                                                                                
Failed to start Console System Startup Logging                                                                                                                   [FAILED]
See 'systemctl status console-kit-log-system-start.service' for details.                                                                                                 
--

console-kit-log-system-start.service - Console System Startup Logging
          Loaded: loaded (/lib/systemd/system/console-kit-log-system-start.service; static)
          Active: failed (Result: exit-code) since Sat, 04 Aug 2012 11:11:27 +0200; 10min ago
         Process: 489 ExecStart=/usr/sbin/ck-log-system-start (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/console-kit-log-system-start.service


Expected Results:  
No errors are printed on the output log files
Comment 1 Forgotten User tv2gvQo-zT 2012-08-04 10:02:46 UTC
Created attachment 501128 [details]
complete log files for the installation
Comment 3 Frederic Crozat 2012-08-09 15:56:02 UTC
consolekit issue: this service is used to log in ConsoleKit database when system was started but on initial startup after installation, the database doesn't exist and therefore, you get an error.

Potential solutions are :
- prevent the code to complain if /var/log/ConsoleKit/history doesn't exist
- ignore error code returns by the code in the systemd .unit
- prevent the startup of this service if database doesn't exist
Comment 4 Pawel Wieczorkiewicz 2014-03-17 09:50:20 UTC
IMO this is a duplicate to the Bug 845872 - console-kit-log-system-start.service fails to start - /var/log/ConsoleKit/ missing

So, it is fixed and shouldn't be reproducible with 13.1 onwards anymore.

*** This bug has been marked as a duplicate of bug 845872 ***
Comment 5 Forgotten User tv2gvQo-zT 2014-03-17 09:56:19 UTC
You might be right, the only interesting point is that my bug was open long time ago, on 2012-08-04 10:01:47 UTC, so It should be the other way around, the other (older) bug is a duplicate of this one :-)

Anyway, It is fix, which is what matters.

Thanks.
Comment 6 Pawel Wieczorkiewicz 2014-03-17 10:06:27 UTC
Yes, you are right of course. Sorry about that. The bug 845872 appeared in my queue before yours and it has been fixed and mentioned in the solution's commit first.
My fault, that I have not spotted it earlier.
Comment 7 Forgotten User tv2gvQo-zT 2014-03-17 10:09:15 UTC
;-) no worries and thanks for the good job.