gadget hooks should not write to /root/snap by default

Bug #1866058 reported by Oliver Grawert
6
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 ...

Oliver Grawert (ogra)
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.