Hi,

Le 28/12/2024 à 15:21, Guillem Jover a écrit :
In this case (filesystem snapshotting), I do think dpkg is (currently at
least) really the wrong place, for at least the following reasons:

  In addition, I do not see how snapshotting of full FS can be correctly 
supported, unless all other softwares are stopped while dpkg is running.

  What if a database records some transactions while dpkg is running. What 
would happen at rollback ?
  What if the kerberos keytab is replaced (around once per month for classical 
AD setup) while dpkg is running. What would happen at rollback ? (you cannot 
rollback the state of the master kerberos server)
  What if the admin or any deamon make changes to the FS while dpkg is running. 
What would happen at rollback ?

  I am sometimes using snapshot of root FS when upgrading a machine. But I 
control the service running on it during the upgrade (ie I stop them). And I'm 
ready to handle the consequencies of a rollback.
I do not know how this can be done automaticcaly.

  Regards,
    Vincent

Reply via email to