snaps with hyphens in their names get badly-named systemd mount definitions
Bug #1650261 reported by
Barry Price
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Won't Fix
|
Undecided
|
Unassigned | ||
snapd (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
e.g. installing the canonical-livepatch snap gives me:
/etc/systemd/
/etc/systemd/
/etc/systemd/
/etc/systemd/
The .service files are named sensibly, but the .mount files get a '\x2d' instead of a '-'.
This is particularly troublesome on hosts where /etc/ is kept in revision control, as e.g. bzr will crash on encountering these particular type of filenames.
Changed in snapd (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
Search for 'escape' on https:/ /www.freedeskto p.org/software/ systemd/ man/systemd. unit.html to discover the non-alphanumeric escaping algorithm; it's a bit involved. The https:/ /www.freedeskto p.org/software/ systemd/ man/systemd- escape. html tool can add and remove escaping as needed.
Thanks