Kiril Nesenko has posted comments on this change.

Change subject: Fixing restore.sh
......................................................................


Patch Set 4: Verified+1

(1 comment)

....................................................
File packaging/dbscripts/restore.sh
Line 35: 
Line 36: restore_from_tar() {
Line 37:        # Copy tar file to working dir
Line 38:        name=$(basename ${FILE})
Line 39:        dir="$(mktemp -d /tmp/${name}_XXXX)"
XXXX will be replaced with a generated string.
For example:

knesenko@kiril:~/git_repos/ovirt-engine/packaging/dbscripts (fix_restore.sh)$ 
mktemp -d /tmp/XXXX
/tmp/DKat
Line 40:        chmod 777 "${dir}"
Line 41:        # Check SELinux mode
Line 42:        selinux_mode=$(getenforce |tr '[A-Z]' '[a-z]')
Line 43:        if [[ "${selinux_mode}" = "enforcing" ]]; then


-- 
To view, visit http://gerrit.ovirt.org/18434
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I5df0eaf0c18d5d009b1e11c86b35beafecb1b6f0
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kiril Nesenko <knese...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knese...@redhat.com>
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to