** Description changed:

  Use SA_RESTART flag to make sure that interrupted calls to read and/or
  write are restarted.
  
  In my case read is interrupted when reading login1_session_id. Result of
  not handling EINTR error is that login1_session_id is set to NULL and
  console_kit_cookie gets login1 session id.
+ 
+ Related warnings in lightdm.log:
+ [+0.44s] WARNING: Session pid=617: Error reading from session: Interrupted 
system call
+ [+0.70s] DEBUG: Activating VT 7
+ [+0.70s] DEBUG: Activating ConsoleKit session c1
+ [+0.70s] WARNING: Error getting ConsoleKit session: 
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.freedesktop.ConsoleKit was not provided by any .service files
+ 
+ And because login1_session_id is null fix for 1637758 bug does not work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1648637

Title:
  handle interruped read and write calls

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1648637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to