Add a way to not show the same warning each time a snap run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Low
|
Unassigned |
Bug Description
Hello, using snap 2.49.2 on Debian sid here. I think I understand there's some WIP regarding a cgroup v2 thing, and for now we're stuck with the warning "WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement" each time a snap run.
The issue is I use the `lxc exec` command a lot in scripts and the result is my output is literally spammed with this warning.
I am now well aware of it, having read it hundreds of time in a short period of time ;). Furthermore it makes reading the useful output very hard.
Trying to set system.
I was told on IRC that the above setting couldn't help me (we're not dealing with a kernel level warning) and that there's currently no way to suppress the warning. The same person suggested I filled a bug asking for an environment flag we could use to disable the warning.
Another person humoristically suggested the flag `SNAPD_
Regards
Changed in snapd: | |
status: | New → Triaged |
importance: | Undecided → Low |
Please consider bumping the severity, this doesn't just cause annoyance, but also breaks things that expect nothing on stderr. See https:/ /bugs.debian. org/996036