#7820 [FileStore] stacked backup of a file with the same name
Closed: invalid 3 years ago by slev. Opened 5 years ago by slev.

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.


There is another way to install/uninstall automount client in the current code.

Metadata Update from @slev:
- Issue close_status updated to: invalid
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata