Comments (5)
Someone with the same issue: https://discuss.circleci.com/t/circleci-apparmor-issue-for-validation-on-ubuntu-linux/24411
from circleci-cli.
+1
from circleci-cli.
My hunch is that this is caused by our Snap confinement setting being strict
.
https://docs.snapcraft.io/reference/confinement
Strict confinement gives you the following readable and/or writable paths:
- /snap/<snap>/ (read-only, snap install path)
- /var/snap/<snap>/ (read/write, per-revision data)
- /var/snap/<snap>/common (read/write, common data)
- /home/$USER/snap/<snap>/<revision> (read/write, per-revision user data)
- /home/$USER/snap/<snap>/common (read/write, common user data)
When running the binary through snap, we should be writing settings to /home/$USER/snap/<snap>/common
I guess.
from circleci-cli.
If we detect SNAP_USER_COMMON
at runtime, we should be able to use it as the home directory.
from circleci-cli.
I have a potential fix for this. Waiting for permissions on this repo so that I can open a PR.
from circleci-cli.
Related Issues (20)
- Change `.circleci` home directory location with an Environment variable HOT 3
- Allow configuring http client timeout HOT 2
- [Feature Request] Add number of Active tasks in "runner instance list" command
- Wrong version of circleci inside local execution env HOT 2
- CircleCI Orb Init Error Misleading HOT 2
- Unable to start job with private images using `circleci local execute`
- docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /tmp/3966974312_circleci_config.yml. HOT 1
- IN1-GOLANG-GITHUBCOMCLOUDFLARECIRCLPKEKYBERINTERNALCOMMON-6150686 - github.com/cloudflare/circl
- CircleCI CLI policy test command missing timestamp in JUnit output HOT 2
- `circleci local execute` does not work with Docker for Desktop on OSX HOT 1
- Json unmarshall error HOT 2
- Error: Unable to validate config HOT 4
- Clarify `orb validate` and `config validate` scope of validation HOT 1
- Infinite install bug HOT 2
- Provide mac arm64 release asset
- unable to execute local job on mac m1 pro HOT 2
- invalid character 'I' looking for beginning of value HOT 13
- ` local execute build` command fails when sidecar is present and using the latest docker version
- circleci config pack command is not working with latest version (v0.1.28363) HOT 2
- Orb validation fails HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circleci-cli.