Sunday, September 22, 2019

Re: www/mozilla-firefox: add unveil and enhance pledge support [3rd time's a charm]

On Sun, Sep 22, 2019 at 11:15:53AM -0500, joshua stein wrote:
> On Sun, 22 Sep 2019 at 14:13:02 +0200, prx wrote:
> > [snip]
> > >
> > > Everyone using firefox should definitely add its own usecases on top and
> > > test this. The idea is to refine the paths list until we have something
> > > we're confident with, then defaults will be pushed upstream. In the
> > > meantime, we'll work with upstream to get the plumbing/logic commited,
> > > as it can be done independentely from the paths list.
> > >
> > > If ppl have a hard time building with the patches, my beta pkgs for 70
> > > available as usual at https://packages.rhaalovely.net/snapshots/amd64/
> > >
> >
> > I installed the above package (thanks for this) and started firefox
> > after deleting ~/.mozilla. It's crashing.
> >
> > Below some more details :
> >
> > $ firefox
> > IPDL protocol error: main:
> > unveil(/.config/.config/.local/share/.cache/dconf, rwc) failed: 2
>
> Do you have XDG_CONFIG_HOME, XDG_DATA_HOME, or XDG_CACHE_HOME set in
> your environment?
>
> There is a pledge for $XDG_CACHE_HOME/dconf which should expand to
> ~/.cache/dconf unless you have XDG_CACHE_HOME set to something else.

How is the env var expansion supposed to work ? Fwiw i've reverted the env vars
locally in
https://cgit.rhaalovely.net/mozilla-firefox/commit/?h=unveil&id=595af5c9d77e489803da3068af91e588679d8017
and uploaded a fixed pkg that should work. Havent had actual time to dig
into it though... maybe my patchset isnt enough in sync, will look.

Landry

No comments:

Post a Comment