Invalid character in ubuntu-core mount name breaks etckeeper

Bug #1614212 reported by Brad Crittenden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
New
Undecided
Unassigned

Bug Description

When etckeeper tries to commit changes it errors with:

bzr: ERROR: bzrlib.errors.InvalidEntryName: Invalid entry name: snap-ubuntu\x2dcore-122.mount

\x2d is just a '-' character. The file needs to be renamed to avoid problems.

Revision history for this message
Seth Arnold (seth-arnold) wrote : Re: [Bug 1614212] [NEW] Invalid character in ubuntu-core mount name breaks etckeeper

On Wed, Aug 17, 2016 at 06:19:32PM -0000, Brad Crittenden wrote:
> Public bug reported:
>
> When etckeeper tries to commit changes it errors with:
>
> bzr: ERROR: bzrlib.errors.InvalidEntryName: Invalid entry name: snap-
> ubuntu\x2dcore-122.mount
>
> \x2d is just a '-' character. The file needs to be renamed to avoid
> problems.

This escaping mechanism comes from systemd:
https://www.freedesktop.org/software/systemd/man/systemd-escape.html

Renaming the file is probably not an option.

Thanks

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.