[Bug 1860769] Re: should record changes after snap transactions

Andreas Hasenack andreas at canonical.com
Tue Jan 28 20:50:20 UTC 2020


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.

** Also affects: snapd (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1860769

Title:
  should record changes after snap transactions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1860769/+subscriptions



More information about the Ubuntu-server-bugs mailing list