Page 1 of 1

makemkvcon gets automatically started via gvfs-udisks2-volume-monitor

Posted: Wed Aug 13, 2025 8:53 pm
by jemima
Hey there.

Since a while I'm seeing that some makemkvcon process(es) get started by merely inserting a disc without actually starting makemkv or doing anything else.

This is actually a bit annoying, as the process causes some ongoing disc activity and in particular it doesn't seem to stop (or I was never patient enough).
I cannot even kill this, I mean I can kill the makemkvcon process but it becomes a zombie and the disc activity continues until I unplug the drive.

It seems the offender which starts makemkvcon is gvfs-udisks2-volume-monitor. Looking at this it's linked against libbluray.so.2, so I presume it's libmmbd which somehow comes into play.

Any ideas how one prevents this?

Thanks,
Jemima.

Re: makemkvcon gets automatically started via gvfs-udisks2-volume-monitor

Posted: Sun Aug 17, 2025 9:11 pm
by jemima
It seems libbluray has no env var or so that can be used to really disable loading of libmmbd, so the "best" solution I found was the following systemd drop-in config, which simply denies gvfs-udisks2-volume-monitor access to libmmbd and makemkvcon (the latter would probably not be needed).

Code: Select all

/etc/systemd/user/gvfs-udisks2-volume-monitor.service.d/disable-libmmbd.conf:

[Service]
InaccessiblePaths=-/usr/bin/makemkvcon
InaccessiblePaths=-/usr/lib/libmmbd.so.0