/root/.cabal/ path leaks into snap

Bug #1978250 reported by Seth Arnold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapcraft (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello, when a user runs the matterhorn command from the matterhorn snap it tries to load a library from the /root/.cabal/ directory:

opensnoop-bpfcc output:

...
2803483 matterhorn:w -1 2 /home/sarnold/snap/matterhorn/331/.config/matterhorn/syntax
2803483 matterhorn:w 17 0 /snap/matterhorn/331/app/syntax
2803483 matterhorn 18 0 /home/sarnold/snap/matterhorn/331/.config/matterhorn/last_run_state_sqmc4sz45prypmkfctwynm5yjr.json
2803483 matterhorn:w 17 0 /snap/matterhorn/331/app/syntax/abc.xml
2803483 matterhorn:w 17 0 /snap/matterhorn/331/app/syntax/actionscript.xml
...
2803483 matterhorn:w 18 0 /snap/matterhorn/331/app/syntax/yaml.xml
2803483 matterhorn:w 18 0 /snap/matterhorn/331/app/syntax/zsh.xml
2803483 matterhorn:w -1 2 /root/.cabal/share/x86_64-linux-ghc-8.6.5/matterhorn-50200.16.0/syntax
2803483 matterhorn:w 18 0 /dev/random
2803483 matterhorn:w 18 0 /dev/urandom
...

I asked the upstream authors and they said it looked more like a snap packaging artifact:

https://github.com/matterhorn-chat/matterhorn/issues/768

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.