/root/.cabal/ path leaks into snap
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/
2803483 matterhorn:w 17 0 /snap/matterhor
2803483 matterhorn 18 0 /home/sarnold/
2803483 matterhorn:w 17 0 /snap/matterhor
2803483 matterhorn:w 17 0 /snap/matterhor
...
2803483 matterhorn:w 18 0 /snap/matterhor
2803483 matterhorn:w 18 0 /snap/matterhor
2803483 matterhorn:w -1 2 /root/.
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:/
Thanks