GithubHelp home page GithubHelp logo

ungoogled-chromium-bin/ungoogled-chromium-bin-84.0.4147.89_p1: neither the suid nor the convert-dict use flags work about gentoo-overlay HOT 6 CLOSED

tsjk avatar tsjk commented on July 17, 2024
ungoogled-chromium-bin/ungoogled-chromium-bin-84.0.4147.89_p1: neither the suid nor the convert-dict use flags work

from gentoo-overlay.

Comments (6)

PF4Public avatar PF4Public commented on July 17, 2024 1

Which use flags are you installing it with?

Oh right, I've forgot to include this file.

Wrt suid — it might have been mistakenly included into -bin ebuild as I don't build suid support actually.

Please test, if this issue is fixed with the latest commit.

from gentoo-overlay.

tsjk avatar tsjk commented on July 17, 2024

I tried with "convert-dict -core2 -generic haswell suid widevine".
I didn't know that suid was only needed when there is no namespace support. Otherwise I would have thought that sandboxing was a bit important.

I see that you have removed suid from IUSE, and updated the update-dicts path. But there is still a reference to suid, which might make portage complain.

    152         if use suid; then
    153                 newexe chrome_sandbox ./usr/lib64/chromium-browser/chrome-sandbox
    154                 fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox"
    155         fi

And I'd guess you don't need pkg_setup() either then.

from gentoo-overlay.

PF4Public avatar PF4Public commented on July 17, 2024

sandboxing was a bit important

And it indeed is important. As far as I understand, without CONFIG_USER_NS chromium needs a suid for a sandbox to function, therefore this option exists in main ebuild. I believe this option is anyway enabled by most, so binary releases are compiled without suid support. All-in-all, there should be a sandbox one or the other way around.

I see that you have removed suid from IUSE, and updated the update-dicts path. But there is still a reference to suid, which might make portage complain.

    152         if use suid; then
    153                 newexe chrome_sandbox ./usr/lib64/chromium-browser/chrome-sandbox
    154                 fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox"
    155         fi

And I'd guess you don't need pkg_setup() either then.

You're absolutely right, I should've had this done more carefully.

from gentoo-overlay.

tsjk avatar tsjk commented on July 17, 2024

Yeah, I mean that I would have thought that suid was a bit important. :)
The issue here is then solved.

There is however another one, which I just mention in passing, as it's a bit complicated to solve in an easy and good-for-all way. It has to do with dependencies. I think that, in order for this binary to work well, the system the package is installed to somehow (bundled or forced by ebuild) needs to have the same versions of required libs that you had when you compiled the package. When I installed the package portage warned me of some referred libs not being on my system.

from gentoo-overlay.

PF4Public avatar PF4Public commented on July 17, 2024

needs to have the same versions of required libs that you had when you compiled the package

#39 might be related

from gentoo-overlay.

PF4Public avatar PF4Public commented on July 17, 2024

I have established testing. Although this won't outright prevent such issues from happening, I do hope being able to catch them early on.

BTW one issue with haswell USE flag is already apparent :)

from gentoo-overlay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.