Sometimes the sdcard gets mounted twice after formating it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Canonical Phone Foundations | ||
ciborium (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
ciborium (Ubuntu RTM) |
Fix Released
|
High
|
Unassigned |
Bug Description
current build number: 234
device name: krillin
channel: ubuntu-
last update: 2015-02-14 00:43:00
version version: 234
version ubuntu: 20150211.1
version device: 20150211-74c2df2
version custom: 20150207-538-29-183
Using with ciborium 0.2.12+
To reproduce:
1 - Boot the phone with the sdcard already mounted;
2 - Format the sdcard using the external apps;
3 - Check the mounted paths used by the sdcard (/media - shell or mtp)
Expected result:
1 - Only one mount point for the sdcard available under /media
Broken result:
/dev/mmcblk1 on /media/
/dev/mmcblk1 on /media/
Logs:
phablet@
2015/02/14 01:08:04 dispatcher.go:112: New removal event for path.
2015/02/14 01:08:04 dispatcher.go:119: Removal event is /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:155: Processing a remove event from path /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:158: Sending a new remove job event.
2015/02/14 01:08:04 dispatcher.go:161: Sent event /org/freedeskto
2015/02/14 01:08:04 jobs.go:56: New event /org/freedeskto
2015/02/14 01:08:04 jobs.go:58: Is removal event
2015/02/14 01:08:04 jobs.go:71: Deal with job event removal /org/freedeskto
2015/02/14 01:08:04 jobs.go:76: Job completed.
2015/02/14 01:08:04 jobs.go:86: Sending completed mkfs job
2015/02/14 01:08:04 jobs.go:90: Removed ongoing job for path/org/
2015/02/14 01:08:04 udisks2.go:234: Format job done for /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:105: New addition event for path /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:137: Processing an add event from path /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:146: Sending a new general add event.
2015/02/14 01:08:04 dispatcher.go:149: Sent event /org/freedeskto
2015/02/14 01:08:04 udisks2.go:312: Mount path /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:105: New addition event for path /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:137: Processing an add event from path /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:140: Sending a new job event.
2015/02/14 01:08:04 dispatcher.go:143: Sent event /org/freedeskto
2015/02/14 01:08:04 jobs.go:56: New event /org/freedeskto
2015/02/14 01:08:04 jobs.go:106: Creating job for new path /org/freedeskto
2015/02/14 01:08:04 jobs.go:107: New job operation filesystem-mount
2015/02/14 01:08:04 jobs.go:136: Ignoring job event with operation filesystem-mount
2015/02/14 01:08:04 dispatcher.go:112: New removal event for path.
2015/02/14 01:08:04 dispatcher.go:119: Removal event is /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:155: Processing a remove event from path /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:158: Sending a new remove job event.
2015/02/14 01:08:04 dispatcher.go:161: Sent event /org/freedeskto
2015/02/14 01:08:04 jobs.go:56: New event /org/freedeskto
2015/02/14 01:08:04 jobs.go:58: Is removal event
2015/02/14 01:08:04 jobs.go:71: Deal with job event removal /org/freedeskto
2015/02/14 01:08:04 jobs.go:76: Job completed.
2015/02/14 01:08:04 jobs.go:90: Removed ongoing job for path/org/
2015/02/14 01:08:04 dispatcher.go:105: New addition event for path /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:137: Processing an add event from path /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:140: Sending a new job event.
2015/02/14 01:08:04 dispatcher.go:143: Sent event /org/freedeskto
2015/02/14 01:08:04 jobs.go:56: New event /org/freedeskto
2015/02/14 01:08:04 jobs.go:106: Creating job for new path /org/freedeskto
2015/02/14 01:08:04 jobs.go:107: New job operation filesystem-mount
2015/02/14 01:08:04 jobs.go:136: Ignoring job event with operation filesystem-mount
2015/02/14 01:08:04 dispatcher.go:112: New removal event for path.
2015/02/14 01:08:04 dispatcher.go:119: Removal event is /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:155: Processing a remove event from path /org/freedeskto
2015/02/14 01:08:04 dispatcher.go:158: Sending a new remove job event.
2015/02/14 01:08:04 dispatcher.go:161: Sent event /org/freedeskto
2015/02/14 01:08:04 jobs.go:56: New event /org/freedeskto
2015/02/14 01:08:04 jobs.go:58: Is removal event
2015/02/14 01:08:04 jobs.go:71: Deal with job event removal /org/freedeskto
2015/02/14 01:08:04 jobs.go:76: Job completed.
2015/02/14 01:08:04 jobs.go:90: Removed ongoing job for path/org/
Related branches
- Ricardo Salveti (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 137 lines (+49/-26)2 files modifiedcmd/ciborium/main.go (+24/-1)
udisks2/udisks2.go (+25/-25)
Changed in ciborium (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in ciborium (Ubuntu RTM): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Canonical Phone Foundations (canonical-phonedations-team) |
Changed in ciborium (Ubuntu): | |
importance: | Medium → High |
Changed in ciborium (Ubuntu RTM): | |
importance: | Medium → High |
Changed in canonical-devices-system-image: | |
status: | New → Fix Released |
importance: | Undecided → High |
milestone: | none → ww13-ota |
This bug was fixed in the package ciborium - 0.2.12+ 15.04.20150316. 7-0ubuntu1
--------------- 15.04.20150316. 7-0ubuntu1) vivid; urgency=medium
ciborium (0.2.12+
[ CI Train Bot ]
* New rebuild forced.
* Resync trunk
* Resync trunk
* Resync trunk
* Resync trunk added: po/cs.po
[ Manuel de la Pena ]
* Add dialogs for the format an unmount errors.
* Ensure that more than one format operation can be performed in the
ciborium ui.
* Ensure that the default dirs are created after the sd card has been
formatted. (LP: #1421898)
* Ensure that we can format and safetly remove 10 times wihtout issues
by querying the drives after each action and updating the internal
cache. Improve UI to make sure that a format cannot be done when a
device is no mounted. (LP: #1414731)
* Improve the ui overall.
* Increase the test coverage.
* Track mount and unmount events. Allow to unmount and format a
unlimited number of times without living the application.
-- CI Train Bot <email address hidden> Mon, 16 Mar 2015 21:36:32 +0000