New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BACKUP=NSR: "rear checklayout" always results exit code 1 #3069
Comments
@hpannenb @gdha @viper1986 In particular I would be interested to know if reverting the fix
as relative symlink that points to
would also still fix |
Hmm - wait! - perhaps I misunderstand things: Perhaps the third possible workaround is
as relative symlink that points to
to have |
@jsmeix I guess to verify potential fixes and to evaluate the right approach somebody will need to run some tests on a system with NSR installed. If a personal and direct interaction with this SUSE customer is possible to do so, then please reach out to @gdha or me as this might yield the fastest results. Do I understand correctly that upstream ReaR already behaves well and you are now looking for a potential back-port for SUSE? |
@schlomo ReaR from before that change behaved well for what Our customer has already a workaround for his needs in place. This issue is about to get a proper ReaR upstream fix In So it seems the more sophisticated second one Accordingy I will implement that second workaround now |
In layout/save/NSR/default/650_check_iso_recoverable.sh alsos read NSR server name from var/lib/rear/recovery/nsr_server by using the same code snippet as in verify/NSR/default/400_verify_nsr.sh see #2162 (comment) and #3069
@hpannenb @viper1986 |
#3077 |
The suggestion from the discussion in #3077 is to actually remove the check for NSR backups from the Specifically this would also mean removing the complete
Any thoughts on implementing that? Wouldn't that actually solve the customer problem, too? I know that this essentially reverts #653 and might force users like @tomglx to adjust the way how they use ReaR. However I hope that this is acceptable if it will prevent troubles for other NSR users. |
Stale issue message |
Sorry. I have missed this issue so I am quiet late responding. If required I might need to dig into this if time permits. As mentioned elsewhere I just added some snippets of code to the existing NSR related backup code to enable our companies/my usecase and to be compatible to the existing one(s). I currently do not get to know where the |
Stale issue message |
Stale issue message |
Hello everyone, |
ReaR version:
2.7
OS version:
SLES15 SP3
ReaR configuration file:
local.conf excerpt for what is needed here
System architecture:
x86_64
Related issues
NSRSERVER is missing #2162
Update 650_check_iso_recoverable.sh #2271
420c177
Description of the issue:
I ( @jsmeix ) would like to report an issue with BACKUP=NSR
that a SUSE customer reported to us.
Regarding BACKUP=NSR:
In general there is nothing what I could do
in case of issues with third-party backup tools
because I do not have such software
so I can neither test nor reproduce anything.
A SUSE customer is using ReaR version 2.7
The customer got the following issue:
With BACKUP=NSR "rear checklayout" always results exit code 1
even if nothing of the disk layout has changed.
So "rear checklayout" would create a new ISO every day
even if this is not necessary.
The customer found
#2162
that tells (excerpts):
and
The customer does not want to set a fixed NSRSERVER in local.conf
because NSRSERVER is dynamically determined via "rear mkrescue"
and stored in /var/lib/rear/recovery/nsr_server,
see rear/rescue/NSR/default/460_save_nsr_server_name.sh
In
#2162
there were 2 proposed workarounds:
The first workaround was implemented but it causes that now
with BACKUP=NSR "rear checklayout" always results exit code 1
even if nothing of the disk layout has changed.
The customer tried the second workaround which works as expected.
In particular with the second workaround it works again as before
#2162
Furthermore the customer just linked it
which also works for the customer
so this could be a third possible workaround.
So the questions are:
Is the customer right, that the second workaround should be used?
If yes, could ReaR be fixed this way?
Or would the second workaround cause other unwanted side effects?
Or could the third possible workaround be the best solution?
The customer would prefer the third possible workaround
provided this does not cause unwanted side effects.
Create
usr/share/rear/layout/save/NSR/default/400_verify_nsr.sh
as relative symlink that points to
../../../../verify/NSR/default/400_verify_nsr.sh
The text was updated successfully, but these errors were encountered: