#7820 [FileStore] stacked backup of a file with the same name
Opened 5 months ago by slev. Modified 5 months ago

The current implementation of FileStore doesn't support stacked backup and restoration of a file with the same name but different content. For example,
we have client + automount configured with certain options. And client's sysrestore

/var/lib/ipa-client/sysrestore/sysrestore.index

contains:

[files]
...
2ed763bbb9cc6e5da4a41f8313f9aa9ecc6800eaef2618cc610907904a5c777e-nsswitch.conf = 33188,0,0,/etc/nsswitch.conf
...
939effb9ba13c621e4b122449ebccbcaac76f3ddd5a699075bce3d4f5977ff64-nsswitch.conf = 33188,0,0,/etc/nsswitch.conf
...

Let's unconfigure automount and then take a look at sysrestore again:

[files]
...
939effb9ba13c621e4b122449ebccbcaac76f3ddd5a699075bce3d4f5977ff64-nsswitch.conf = 33188,0,0,/etc/nsswitch.conf
...

Obviously, this is not expected order of uninstallation, which leads to the broken state of an overall setup.


Login to comment on this ticket.

Metadata