Cannot parse seccomp profile in snapd update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Low
|
Unassigned |
Bug Description
An update to snapd now prevents [`snap-seccomp`](https:/
I get no errors with versions:
```
ubuntu@
snap 2.37.4+18.04
snapd 2.37.4+18.04
series 16
ubuntu 18.04
kernel 4.15.0-1034-aws
```
However, after updating snap by installing the `core18` and `snapd` snaps
```
ubuntu@
snap 2.45
snapd 2.45
series 16
ubuntu 18.04
kernel 4.15.0-1034-aws
```
I get
```
ubuntu@
error: cannot parse line: cannot parse token "-1" (line "chown - u:root -1")
```
This happens whenever I try to recompile any profile, even ones I haven't touched.
Is there an upcoming patch for this? This doesn't change on `edge`.
I tried reproducing this on my 20.04 system but without success.
I tried reproducing this on my 18.04 system equally without success.
My 18.04 system was running a different kernel, 5.3.0