Am 09.11.2015 um 03:22 schrieb Michael Gold:
> Package: systemd
> Version: 227-2
> 
> I have an optical drive in my PC, with an fstab entry:
>   /dev/dvd /media/dvd udf,iso9660 user,noauto 0 0
> Today I plugged in another optical drive via USB; and since unplugging
> it, systemd won't let me use /media/dvd for a loopback mount.
> 
> 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 kernel: UDF-fs: warning (device loop0): udf_load_vrs: 
> No anchor found
>   Nov 08 20:48:51 terra kernel: UDF-fs: Rescanning with blocksize 2048
>   Nov 08 20:48:51 terra kernel: UDF-fs: warning (device loop0): udf_load_vrs: 
> No anchor found
>   Nov 08 20:48:51 terra kernel: UDF-fs: Rescanning with blocksize 2048
>   Nov 08 20:48:51 terra kernel: UDF-fs: INFO Mounting volume 'CDROM', 
> timestamp 2015/11/08 23:14 (1000)
>   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...
>   Nov 08 20:48:51 terra systemd[1]: Unmounted /media/dvd.
>   Nov 08 20:48:51 terra systemd[1]: media-dvd.mount: Unit entered failed 
> state.
> 
> I've included the "media-dvd.mount" section from systemd-analyze below.
> 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?

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


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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to