Bug 756767 - Devices not properly unmounted when shutting down live usb
Summary: Devices not properly unmounted when shutting down live usb
Keywords:
Status: CLOSED DUPLICATE of bug 868857
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-24 13:40 UTC by Mads Kiilerich
Modified: 2013-01-14 21:35 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-14 21:35:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Messages on shutdown (736.59 KB, image/jpeg)
2011-11-24 13:40 UTC, Mads Kiilerich
no flags Details

Description Mads Kiilerich 2011-11-24 13:40:47 UTC
Created attachment 535906 [details]
Messages on shutdown

A F16 live desktop image to usb does not unmount the devices cleanly when shutting down. A screenful of error/progress messages will thus fly by just before the machine is turned off.

A photo is attached, but the messages start with:
  Not all DM devices detached, 1 left.
  Detaching loop devices.

The most obvious consequence is that the live image is noisy and not very elegant when shutting down. It might however have bigger consequences in other scenarios with complex setups where various loops and hoops has to be umounted cleanly.

I would expect /lib/systemd/systemd-shutdown to automatically and silently be able to figure out the right order for unmounting, removing loopbacks and detaching DMs. The setup used by a live usb is apparently too complex or strange in some way.

livecd-iso-to-disk --format --msdos --reset-mbr Fedora-16-i686-Live-Desktop.iso /dev/sdc1

systemd-36-3.fc16

Comment 1 Michal Růžička 2011-11-29 13:05:54 UTC
Could this be related to bug #758159?

Comment 2 Lennart Poettering 2013-01-14 21:35:45 UTC

*** This bug has been marked as a duplicate of bug 868857 ***


Note You need to log in before you can comment on or make changes to this bug.