systemd services created by snappy breaks etckeeper
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
New
|
Undecided
|
Unassigned | ||
Snappy |
Invalid
|
Undecided
|
Unassigned | ||
etckeeper |
New
|
Undecided
|
Unassigned | ||
etckeeper (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
etckeeper uses bzr to version files in etc to allow for rollback on configuration changes.
The '\x2d' character prevents bzr from versioning this file and displays a very ugly error.
/etc/systemd/
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
no_recurse, action=action, save=not dry_run)
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
adder.
File "/usr/lib/
inv_path)
File "/usr/lib/
file_
File "/usr/lib/
return factory(file_id, name, parent_id)
File "/usr/lib/
super(
File "/usr/lib/
raise errors.
InvalidEntryName: Invalid entry name: snap-ubuntu\
bzr 2.7.0 on python 2.7.11 (Linux-
Ubuntu-
arguments: ['/usr/bin/bzr', 'add', '-q', '.']
plugins: bash_completion
bzrtools[
grep[2.7.0], launchpad[2.7.0], loggerhead[1.18.1],
netrc_
search[
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
etckeeper warning: bzr add failed
Changed in etckeeper (Ubuntu): | |
status: | New → Confirmed |
A fix might be to write to /etc/.bzrignore or /etc/.gitignore if it exists
systemd/ system/ snap-ubuntu*