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

Michael Biebl biebl at debian.org
Mon Nov 9 04:06:56 GMT 2015


Am 09.11.2015 um 04:49 schrieb Michael Gold:
> On Mon, Nov 09, 2015 at 03:41:44 +0100, Michael Biebl wrote:

>> 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.

Everything you mount manually also creates an associated mount unit object.

Just try to mount something which isn't listed in your fstab and you'll
notice it in systemctl list-units --type=mount

>> 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.

Hm, I'd probably try systemctl stop media-dvd.mount and systemctl
daemon-reload.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151109/0a8186f8/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list