https://bugs.koozali.org/show_bug.cgi?id=12357
--- Comment #5 from John H. Bennett III <[email protected]> ---
Hello,
I had an issue today where I had to restore a system and it was failing the
pre-restore piece. Specifically
/etc/e-smith/events/pre-restore/S10save-system-files - which is symlinked to =>
../actions/save-system-files. It can't copy /var/lib/samba/group_mapping.tdb
and /var/lib/samba/account_policy.tdb
In /var/log/messages there are these errors for 2 files. Partial output
Aug 1 17:16:31 media esmith::event[6416]: Processing event: pre-restore
Aug 1 17:16:31 media esmith::event[6416]: Running event handler:
/etc/e-smith/events/pre-restore/S10save-system-files
Aug 1 17:16:31 media esmith::event[6416]: Couldn't copy
/var/lib/samba/group_mapping.tdb to ./var/lib/samba/group_mapping.tdb
Aug 1 17:16:31 media esmith::event[6416]: Couldn't copy
/var/lib/samba/account_policy.tdb to ./var/lib/samba/account_policy.tdb
Aug 1 17:16:31 media esmith::event[6416]: Error saving system files
Aug 1 17:16:31 media esmith::event[6416]:
S10save-system-files=action|Event|pre-restore|Action|S10save-system-files|Start|1722550591
14534|End|1722550591 231145|Elapsed|0.216611|Status|512
Aug 1 17:16:31 media esmith::event[6416]: Running event handler:
/etc/e-smith/events/pre-restore/S25ldap-delete-dumps
Aug 1 17:16:31 media ldap-finish: 66ac093f bdb_monitor_db_open: monitoring
disabled; configure monitor database to enable
Aug 1 17:16:31 media esmith::event[6416]:
S25ldap-delete-dumps=action|Event|pre-restore|Action|S25ldap-delete-dumps|Start|1722550591
231698|End|1722550591 797372|Elapsed|0.565674
Aug 1 17:16:31 media esmith::event[6416]: Running event handler:
/etc/e-smith/events/pre-restore/S80delete-index-htm
Aug 1 17:16:31 media esmith::event[6416]:
S80delete-index-htm=action|Event|pre-restore|Action|S80delete-index-htm|Start|1722550591
798162|End|1722550591 818652|Elapsed|0.02049
If you run the S10 file manually, you get
[root@bennett-media ~]# cd /etc/e-smith/events/pre-restore/
[root@bennett-media pre-restore]# ./S10save-system-files
Couldn't copy /var/lib/samba/group_mapping.tdb to
./var/lib/samba/group_mapping.tdb
Couldn't copy /var/lib/samba/account_policy.tdb to
./var/lib/samba/account_policy.tdb
Error saving system files
This makes the restore fail from the GUI. Removing the 2 lines that were added
in the e-smith-backup-2.6.0-29.el7.sme.noarch update from Backup.pm fixes my
issue and allows me to restore.
I am restoring from tape, so if that makes a difference, so be it. I don't
have any domain joined PC's, so this workaround works for me and if it's just a
me issue, then I'm fine to handle it.
My new system is up to date and I didn't change the status in the event it is a
me only issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/