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
Be safe against empty docker_root_dir (issue 1989) #2021
Be safe against empty docker_root_dir (issue 1989) #2021
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jsmeix do me a favor and replace docker info
with timeout 5s docker info
- why? I have seen too many cripple docker installation the last couple of months.
@gdha |
…ot_dir only once) and show possible errors to the user in any case (not only in verbode mode)
@gdha On my old SLES10 system there is no Since SLES11 there is by default a Accordingly since this pull request the command in the line
will fail so that docker_root_dir gets empty but I assume that
and that even works on SLES10:
|
Type: Bug Fix
Impact: High
High impact only when docker is used.
Reference to related issue (URL):
Ubuntu 14.04 mkbackup does not backup anything #1989 (comment)
How was this pull request tested?
I do not use docker and I get exactly the same
var/lib/rear/layout/disklayout.conf as before
so I assume there are no regressions.
Brief description of the changes in this pull request:
In usr/share/rear/layout/save/GNU/Linux/230_filesystem_layout.sh
ensure docker_root_dir is not empty because otherwise any
mountpoint string matches "^" which would skip all mountpoints