Airplane mode cannot save the previous status after reboot

Bug #1318875 reported by Hao-Sheng Lu
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Confirmed
Low
Unassigned
Trusty
New
Undecided
Unassigned
gnome-control-center (Ubuntu)
Triaged
High
Unassigned
unity-control-center (Ubuntu)
In Progress
High
Mathieu Trudel-Lapierre

Bug Description

Airplane mode cannot save the previous status after reboot.

Steps to reproduce:
1. open network settings
2. turn on airplane mode
3. reboot -> issue occurs, airplane mode is off
---
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-stella-daan2-precise-amd64-20140502-1
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 "Precise" - Failed to find casper uuid.conf in 'binary/casper/initrd.img-3.11.0-18-generic.old-dkms' LIVE Binary 20140502-06:48
MarkForUpload: True
NonfreeKernelModules: nvidia
Package: gnome-control-center 1:3.4.2-0ubuntu0.13.1stella1
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=en_US:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.11.0-18.32~precise1-generic 3.11.10.4
Tags: precise running-unity
Uname: Linux 3.11.0-18-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
usr_lib_gnome-control-center:
 activity-log-manager-control-center 0.9.4-0ubuntu3.2
 deja-dup 22.0-0ubuntu4
 gnome-bluetooth 3.2.2-0ubuntu5.1stella2
 indicator-datetime 0.3.94-0ubuntu2
---
---
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-stella-datong-trusty-amd64-20140606-1
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2014-06-09 (7 days ago)
InstallationMedia: Ubuntu 14.04 "Trusty" - Build amd64 LIVE Binary 20140606-09:30
NonfreeKernelModules: nvidia wl
Package: unity-control-center 14.04.3+14.04.20140410-0ubuntu1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Tags: third-party-packages trusty
Uname: Linux 3.13.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
usr_lib_unity-control-center:
 activity-log-manager 0.9.7-0ubuntu14
 deja-dup 30.0-0ubuntu4

Revision history for this message
Hao-Sheng Lu (haosheng.lu) wrote : Dependencies.txt

apport information

affects: linux (Ubuntu) → gnome-control-center (Ubuntu)
tags: added: apport-collected precise running-unity
description: updated
Revision history for this message
Hao-Sheng Lu (haosheng.lu) wrote :

apport information

description: updated
Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
description: updated
Ara Pulido (ara)
tags: added: trusty
removed: precise
no longer affects: gnome-control-center (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Hey Mathieu, do you know if that's a backend issue or a settings one?

Changed in unity-control-center (Ubuntu):
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
importance: Undecided → High
Revision history for this message
Hao-Sheng Lu (haosheng.lu) wrote :

apport information

tags: added: third-party-packages
description: updated
Revision history for this message
Hao-Sheng Lu (haosheng.lu) wrote : ProcEnviron.txt

apport information

Revision history for this message
Ara Pulido (ara) wrote :

Mat, any updates on this?

Ara Pulido (ara)
Changed in oem-priority:
importance: Undecided → Medium
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Seems to me like this is an issue at two levels:
1) Settings should be speaking to NM and bluez (or another piece) to disable wifi, bluetooth, and those should save their states
2) There is currently nothing to save the states for all radios in a reliable manner. NM saves its own states, bluetooth doesn't save anything (that's expected to be handled by the rfkill subsystem, but that doesn't save soft states)

So, it seems to me like the best course of action at this moment is to outright *remove* the airplane mode switch, because it's confusing to users in not quite doing what it should be and saving its state.

Another option would be to save the airplane mode switch state in gconf/gsettings, but there is nothing on the desktop that would start on boot and read that value to apply necessary changes like bringing down bluetooth again.

affects: gnome-control-center → gnome-control-center (Ubuntu)
Changed in gnome-control-center (Ubuntu):
importance: Undecided → High
status: New → Triaged
Changed in unity-control-center (Ubuntu):
status: New → In Progress
anagha (anghakc)
Changed in unity-control-center (Ubuntu):
status: In Progress → Confirmed
Changed in oem-priority:
status: New → Confirmed
Changed in unity-control-center (Ubuntu):
assignee: Mathieu Trudel-Lapierre (mathieu-tl) → anagha (anghakc)
Changed in unity-control-center (Ubuntu):
status: Confirmed → In Progress
assignee: anagha (anghakc) → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
kaxing (kaxing) wrote :

I can reproduce this with latest stock xenial, unity-control-center 15.04.0+16.04.20160119-0ubuntu1 .

airplane mode is off after reboot but bluetooth remains off, identify by rfkill.

Changed in oem-priority:
importance: Medium → Low
Rex Tsai (chihchun)
tags: added: oem-priority
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.