Bug#804511: systemd: won't let me mount /media/dvd after plugging in a USB optical drive

Michael Gold michael at bitplane.org
Mon Nov 9 03:49:42 GMT 2015


On Mon, Nov 09, 2015 at 03:41:44 +0100, Michael Biebl wrote:
> Am 09.11.2015 um 03:22 schrieb Michael Gold:
> > For example, I run "mount -o loop test.iso /media/dvd; ls -l /media/dvd"
> > and can see the contents.  But systemd immediately unmounts it:
...
> >   Nov 08 20:48:51 terra systemd[1]: media-dvd.mount: Unit is bound to inactive unit dev-sr1.device. Stopping, too.
> >   Nov 08 20:48:51 terra systemd[1]: Unmounting /media/dvd...
...
> > I don't know how that job got associated with sr1 or how to disassociate
> > it (/dev/dvd points to sr0).
> 
> Was the optical drive you connected via USB using /dev/sr1? Did you
> mount that drive (manually) under /media/dvd?

It was sr1, and I did mount at once at /media/dvd.  Would that make
systemd associate them?  It would be surprising for a manual mount
command to do that.

> Is the behaviour reproducible? If so, what are the exact steps?

It's still unmounting as soon as I mount something.  If you know of a
way to clear the association without rebooting, I'll see whether I can
get it into that state again.

-- Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151108/58b33d76/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list