Public bug reported: The timestamp for Xorg.failsafe.log has changed, and is no longer parsed correctly by failsafeXServer
Here is a sample error message from syslog 2019-02-15T12:30:36.028591-08:00 awabi failsafeXServer[7805]: expr: non-integer argument 2019-02-15T12:30:36.028735-08:00 awabi failsafeXServer[7805]: /usr/share/xdiagnose/failsafeXServer: line 87: [: -lt: unary operator expected Currently, Xorg.failsafe.log looks like: [ 477.714] (II) Server terminated successfully (0). Closing log file. but failsafeXServer assumes that the date is seconds since 1970-01-01 00:00:00 UTC I have attached a patch which provides a solution to the problem. I look at the timestamp of the file, using %s, which provides seconds since 1970-01-01 00:00:00 UTC ProblemType: Bug DistroRelease: Ubuntu 18.10 Package: xdiagnose 3.8.8 [modified: usr/share/xdiagnose/failsafeXServer] ProcVersionSignature: Ubuntu 4.18.0-15.16-generic 4.18.20 Uname: Linux 4.18.0-15-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.20.10-0ubuntu13.2 Architecture: amd64 CurrentDesktop: XFCE Date: Wed Feb 20 18:17:05 2019 EcryptfsInUse: Yes InstallationDate: Installed on 2015-05-18 (1374 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) PackageArchitecture: all SourcePackage: xdiagnose UpgradeStatus: Upgraded to cosmic on 2018-11-01 (111 days ago) ** Affects: xdiagnose (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug cosmic ** Patch added: "Patch to failsafeXServer" https://bugs.launchpad.net/bugs/1816945/+attachment/5240463/+files/failsafeXServer.diff -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xdiagnose in Ubuntu. https://bugs.launchpad.net/bugs/1816945 Title: failsafeXServer does not parse Xorg.failsafe.log correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xdiagnose/+bug/1816945/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp