Summary: | app-admin/keepass-2.39.1 sandbox violation mkdir /etc/mono/registry with dev-lang/mono >= 5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nelo-T. Wallus (ntnn) <nelo> |
Component: | Current packages | Assignee: | Alessandro Di Federico <ale> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Dessa, gentoobugs, jstein, kensington, Martin.vGagern, proxy-maint, Sander.Sweers, xaviermiller |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info app-admin/keepass
build log sandbox violation log Sandbox violation of keepass-2.40 and dev-lang/mono-5.14.0.177 keepass-build-log Patch to keepass-2.39.1.ebuild to prevent mono from trying to write to /etc |
Description
Nelo-T. Wallus (ntnn)
2018-07-01 23:53:55 UTC
Created attachment 538072 [details]
build log
Created attachment 538074 [details]
sandbox violation log
I couldn't test the issue with mono-4 as it fails to compile with gcc-7. (In reply to Nelo-T. Wallus (ntnn) from comment #3) > I couldn't test the issue with mono-4 as it fails to compile with gcc-7. Mono 5 caused the build to fail for me. Try unmerging. (In reply to Nelo-T. Wallus (ntnn) from comment #0) > Also mentioned by Sander Sweers in https://bugs.gentoo.org/633560, but he > hasn't opened a bug yet. Thanks, was busy with things. When emerging mono 5 I remember seeing similar registry messages. I'll attach logs as soon as I have time to try. (In reply to Sander Sweers from comment #4) > When emerging mono 5 I remember seeing similar registry messages. I'll > attach logs as soon as I have time to try. I was mistaken, there are none that I could see. keepass works fine build under mono4 running under mono5. Building under mono5 there are the registry problems. Same here. Should this be reported upstream? Or is it a packaging issue? i think its the latter, i have seen it with dev-libs/Ice too. Created attachment 547120 [details]
Sandbox violation of keepass-2.40 and dev-lang/mono-5.14.0.177
This is still happening for keepass-2.40 and install of mono-5.14.0.177
Created attachment 547152 [details]
keepass-build-log
Created attachment 548168 [details, diff]
Patch to keepass-2.39.1.ebuild to prevent mono from trying to write to /etc
This should fix the problem. Not sure whether pointing to /dev/null is a best practice, but it works.
Micheal, can you give it a spin and with FEAUTRES=usersandbox and update the ebuild?
(In reply to Alessandro Di Federico from comment #10) > Created attachment 548168 [details, diff] [details, diff] > Patch to keepass-2.39.1.ebuild to prevent mono from trying to write to /etc > > This should fix the problem. Not sure whether pointing to /dev/null is a > best practice, but it works. > > Micheal, can you give it a spin and with FEAUTRES=usersandbox and update the > ebuild? attachment 548168 [details, diff] works for me, thanks! Confirming that this issue and it's solution also affects keepass-2.40-r1. Same here with 2.40-r1. For people too lazy to edit ebuilds (like myself), calling “MONO_REGISTRY_PATH=/dev/null emerge keepass” works fine, too. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=351c87e04aeb51bf723a4c323967baa33cfa9935 commit 351c87e04aeb51bf723a4c323967baa33cfa9935 Author: Alessandro Di Federico <ale@clearmind.me> AuthorDate: 2018-11-08 13:20:38 +0000 Commit: Michael Palimaka <kensington@gentoo.org> CommitDate: 2018-11-08 13:22:06 +0000 app-admin/keepass: fix sandbox violation with mono-5 Closes: https://bugs.gentoo.org/659808 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Michael Palimaka <kensington@gentoo.org> app-admin/keepass/keepass-2.40-r1.ebuild | 2 ++ 1 file changed, 2 insertions(+) |