Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-78709

Widevine fails in sandbox when specified via 'widevine-path' switch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 5.15.1
    • 5.12.5
    • WebEngine
    • None
    • NixOS master
    • Linux/Wayland, Linux/X11
    • aeb7ab73da2bf11a5e6dbc016aae1c4df2bd10df (qt/qtwebengine-chromium/80-based) 9099d3886e2bf1247df0b1b6386dd59f9d9fa654 (qt/qtwebengine-chromium/83-based) 4428355e63c011f841b03fa1ffd41af61eb315bf (qt/qtwebengine-chromium/87-based)

      I am currently using qutebrowser with the webengine backend on NixOS. I noticed something peculiar while trying to get `libwidevinecdm.so` to load. If I specify the location of the library file with `widevine-path=/nix/store/absd.../lib/libwidevinecdm.so` then widevine fails with `Operation not permitted` unless I also add the `no-sandbox` flag.

       

      However if I put `libwidevinecdm.so` into a path that webengine searches by default, e.g. `/opt/google/chrome/libwidevinecdm.so` then widevine works fine even with the sandbox enable.

       

      Without going any further I assume maybe the library isn't copied into the sandbox when specified manually via flag.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            michal Michal Klocek
            nrdxp Tim DeHerrera
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes