OpenVZ-legacy
  1. OpenVZ-legacy

ploop.ovzl

Public
AuthorCommitMessageCommit dateIssues
Kir KolyshkinKir Kolyshkin
d6cbffbfda7Released ploop 1.14.1Changes: see https://openvz.org/Download/ploop/1.14.1/changes Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
d496ba86ed8make_fs(): retry mkfs without lazy_itable_initAs pointed out in #OVZ-6539, mke2fs doesn't know about -Elazy_itable_init, so we'd better retry without it if mkfs fails for the first time. Also, do the trick and not show stderr from mkfs if running it for the first time, hiding the potential error about the unknown lazy_itable_init. When retrying, show stderr, so if there is any error message printed it will be shown during the second run. ...OVZ-6539
Kir KolyshkinKir Kolyshkin
1c6e10af945run_prg_rc(): add HIDE_NZ_EXIT flagIn case hide_mask has the flag HIDE_NZ_EXIT set, do not print an error message telling that program exited with non-zero status. To be used by the next commit. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
b8c8f0a48acrun_prg_rc: introduce/use HIDE_* valuesInstead of using magic numbers like 0x01 and 0x02, define and use HIDE_STDOUT and HIDE_STDERR. No functional change. Signed-off-by: Kir Kolyshkin <kir@openvz.org>