should record changes after snap transactions

Bug #1860769 reported by Dimitri John Ledkov
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
etckeeper (Ubuntu)
Triaged
Wishlist
Unassigned
snapd (Ubuntu)
Triaged
Wishlist
Unassigned
snappy (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

snapd may create things in /etc, it should be recorded in etckeeper.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in etckeeper (Ubuntu):
status: New → Confirmed
tags: added: server-triage-discuss
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hello,

thanks for filing this bug in Ubuntu.

I see that etckeeper installs some hooks and intercepts dpkg operations:
# cat /etc/apt/apt.conf.d/05etckeeper
DPkg::Pre-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi"; };
DPkg::Post-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi"; };

RPM::Pre-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi"; };
RPM::Post-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi"; };

I don't know if snaps have something similar. I'm adding a snapd task to see what their maintainers have to say.

tags: removed: server-triage-discuss
Revision history for this message
John Lenton (chipaca) wrote :

This is a feature request. We welcome people wanting to write features for snapd, but encourage them to first discuss it in the forum https://forum.snapcraft.io/ before implementing them, on the one hand so they don't come as a surprise and we set aside a bit of time for reviewing and QAing, and on the other so things line up with the general design and architecture of snapd.

Thank you!

Changed in snapd (Ubuntu):
importance: Undecided → Critical
importance: Critical → Wishlist
status: New → Triaged
Revision history for this message
Jani Uusitalo (uusijani) wrote :

Sorry, tried to link this with LP #1723881 but failed, because LP #1334

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snappy (Ubuntu):
status: New → Confirmed
Paride Legovini (paride)
Changed in etckeeper (Ubuntu):
status: Confirmed → Triaged
Paride Legovini (paride)
Changed in etckeeper (Ubuntu):
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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