gadget hooks should not write to /root/snap by default
Bug #1866058 reported by
Oliver Grawert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
using a qemu image I recently noticed that there is a /root/snap/pc dir on the system ... the pc gadget ships an empty no-op configure hook that apparently gets run during seeding.
since snapd knows what a gadget is, it would be nice if gadget hooks could by default made to only write to $SNAP_DATA instead of $SNAP_USER_DATA so the dir does not get created in the /root homedir.
this is indeed purely cosmetic and low prio ...
summary: |
- gadget hooks should not write to /root/snap + gadget hooks should not write to /root/snap by default |
Changed in snapd (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.