User Policy:Idle Settings for Action on lid close:Logout, is triggering reboot action instead of Logout |
||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36 Platform: 8172.21.0 Steps to reproduce the problem: 1. Get latest M51 Build with dev mode enabled with User setting set "Action on lid close:Logout" 2. Sign in as User set. 3. Close lid. 4. Open lid once Idle time is over. What is the expected behavior? Expected:User should Confirm that user is logged out when user closes the lid. What went wrong? Actual: User sees reboot action. Did this work before? N/A Chrome version: 51.0.2704.32 Channel: beta OS Version: 8172.21.0 Flash Version: Shockwave Flash 21.0 r0
,
May 4 2016
,
May 9 2016
This sounds like a partial inverse of bug 606105: * In bug 606105, we suspend instead of shutting down * Here, we shut down instead of logging out Trapti, when exactly did the problem occur? The logs you linked to span a really long time and it is hard to zone in on the right snippet. Could you maybe re-run the test with a freshly wiped device and post the logs from that, together with the exact time the problem occurred?
,
May 9 2016
When you close the lid, the user session ends. Chrome restarts to display the login screen and sends an updated policy setting the lid-closed action to "shut down". The lid is still closed so the system shuts down. ---- [0503/110033:INFO:daemon.cc(1423)] Received updated external policy: ac_dim=7m ac_screen_off=8m ac_lock=0s ac_idle_warn=0s ac_idle=1m battery_dim=5m battery_screen_off=6m battery_lock=0s batter y_idle_warn=0s battery_idle=1m ac_idle=suspend battery_idle=suspend lid_closed=logout use_audio=1 use_video=1 presentation_factor=2.0 user_activity_factor=2.0 wait_for_initial_user_activity=0 f orce_nonzero_brightness_for_user_activity=1 (Prefs) [0503/110033:INFO:state_controller.cc(751)] Updated settings: dim=1m screen_off=1m lock=0s idle_warn=0s idle=1m (suspend) lid_closed=logout use_audio=1 use_video=1 [0503/110034:INFO:daemon.cc(1385)] Saw user activity [0503/110039:INFO:daemon.cc(533)] Lid closed [0503/110039:INFO:wakeup_controller.cc(166)] Inhibiting /sys/devices/pci0000:00/0000:00:15.1/i2c-9/9-0067/input/input7 [0503/110039:INFO:wakeup_controller.cc(166)] Inhibiting /sys/devices/platform/i8042/serio0/input/input6 [0503/110039:INFO:wakeup_controller.cc(153)] Disabling wakeup for /sys/devices/pci0000:00/0000:00:15.1/i2c-9/9-0067/input/input7 through /sys/devices/pci0000:00/0000:00:15.1/i2c-9/9-0067 [0503/110039:INFO:wakeup_controller.cc(153)] Disabling wakeup for /sys/devices/platform/i8042/serio0/input/input6 through /sys/devices/platform/i8042/serio0 [0503/110039:INFO:state_controller.cc(889)] Ready to perform lid-closed action (logout) [0503/110040:INFO:daemon.cc(1468)] Session state changed to stopped [0503/110040:INFO:state_controller.cc(751)] Updated settings: dim=1m screen_off=1m lock=0s idle_warn=0s idle=1m (suspend) lid_closed=logout use_audio=1 use_video=1 [0503/110040:INFO:suspend_delay_controller.cc(123)] Unregistering suspend delay 52428802 (chrome) due to D-Bus client :1.11 going away [0503/110040:INFO:suspend_delay_controller.cc(123)] Unregistering dark suspend delay 52461569 (chrome) due to D-Bus client :1.11 going away [0503/110040:INFO:daemon.cc(1106)] D-Bus org.chromium.SessionManager ownership changed to :1.48 [0503/110040:INFO:suspend_delay_controller.cc(63)] Registering suspend delay 52428803 (chrome) of 5000 ms on behalf of :1.50 [0503/110040:INFO:suspend_delay_controller.cc(63)] Registering dark suspend delay 52461571 (chrome) of 5000 ms on behalf of :1.50 [0503/110040:INFO:daemon.cc(1112)] D-Bus org.chromium.LibCrosService ownership changed to :1.50 [0503/110040:INFO:display_power_setter.cc(72)] Asking Chrome to turn all displays on [0503/110041:INFO:daemon.cc(1405)] Chrome is using normal display mode [0503/110042:INFO:daemon.cc(1405)] Chrome is using normal display mode [0503/110042:INFO:daemon.cc(1423)] Received updated external policy: ac_dim=7m ac_screen_off=8m ac_lock=0s ac_idle_warn=0s ac_idle=30m battery_dim=5m battery_screen_off=6m battery_lock=0s battery_idle_warn=0s battery_idle=10m ac_idle=suspend battery_idle=shutdown lid_closed=shutdown use_audio=1 use_video=1 presentation_factor=2.0 user_activity_factor=2.0 wait_for_initial_user_activity=0 force_nonzero_brightness_for_user_activity=1 (Prefs) [0503/110042:INFO:state_controller.cc(751)] Updated settings: dim=7m screen_off=8m lock=0s idle_warn=0s idle=30m (suspend) lid_closed=shutdown use_audio=1 use_video=1 [0503/110042:INFO:state_controller.cc(889)] Ready to perform lid-closed action (shutdown) [0503/110042:INFO:display_power_setter.cc(72)] Asking Chrome to turn all displays off [0503/110043:INFO:internal_backlight_controller.cc(676)] Setting brightness to 0 (0%) over 0 ms [0503/110043:INFO:daemon.cc(1539)] Shutting down, reason: state-transition [0503/110043:INFO:util.cc(36)] Launching "/usr/bin/powerd_setuid_helper --action=shut_down --shutdown_reason=state-transition" [0503/110043:INFO:daemon.cc(1405)] Chrome is using normal display mode [0503/110043:INFO:suspend_delay_controller.cc(76)] Unregistering suspend delay 52428801 (shill) on behalf of :1.9 [0503/110043:INFO:suspend_delay_controller.cc(76)] Unregistering dark suspend delay 52461570 (shill) on behalf of :1.9 [0503/110044:INFO:suspend_delay_controller.cc(123)] Unregistering suspend delay 52428803 (chrome) due to D-Bus client :1.50 going away [0503/110044:INFO:suspend_delay_controller.cc(123)] Unregistering dark suspend delay 52461571 (chrome) due to D-Bus client :1.50 going away ---- This is working as intended (and as it has since these policies were introduced). If you really want the system to stay awake but not logged in while the lid is closed (this doesn't seem useful), I think there's a device policy that can be set to override the lid-closed action at the login screen. |
||||
►
Sign in to add a comment |
||||
Comment 1 by trapti@google.com
, May 3 2016