Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Fix Version/s: OpenVZ-legacy
-
Component/s: Containers::Userspace
-
Security Level: Public
-
Environment:Operating System: RHEL/CentOS 5
Platform: x86_64 (AMD64)
-
External issue URL:
-
External issue ID:1042
Description
node = ts27 (x86_64)
kernel = 2.6.18-92.1.13.el5.028stab059.1 #1 SMP Tue Sep 30 21:58:19 MSD 2008
vzctl-lib-3.0.22-1
vzctl-3.0.22-1
bash-3.2-21.el5
grep-2.5.1-54.2.el5
1. Restarted OpenVZ and got this "error: Broken pipe":
[root@ts27 ~]# /sbin/service vz restart
Stopping OpenVZ: [ OK ]
/etc/init.d/vz: line 200: echo: write error: Broken pipe
/etc/init.d/vz: line 200: echo: write error: Broken pipe
Starting OpenVZ: [ OK ]
Bringing up interface venet0: [ OK ]
Configuring interface venet0: [ OK ]
2. This is the piece of /etc/init.d/vz, line 200 is marked:
{
test -r /proc/config.gz || return 0
local conf opt err=0
local opt_must="SIM_FS VE VE_CALLS VZ_GENCALLS"
get_kernel_version
# For kernels >= 2.6.9 VZ_DEV must be set.
test "${KERNEL_MINOR}" -ge 6 &&
test "${KERNEL_PATCHLEVEL}" -gt 9 &&
opt_must="${opt_must} VZ_DEV"
local opt_rec="SCHED_VCPU FAIRSCHED VZ_QUOTA VZ_QUOTA_UGID VE_NETDEV VE_ETHDEV
VE_IPTABLES VZ_CHECKPOINT VZ_WDOG"
conf="`zcat /proc/config.gz 2>/dev/null | grep -E -v '^#|^$'`"
for opt in $opt_must; do
if ! echo "${conf}" | grep -q "${opt}="; then # <-- LINE 200
echo "ERROR: Missing kernel config option: CONFIG_$opt"
err=1
fi
done
if [ $err != 0 ]; then
print_failure "Please recompile your kernel."
exit 1
fi
}
3. This bug doesn't reproduces each time when OpenVZ is restarted, but it does pretty often, say 3 times out of 5.
kernel = 2.6.18-92.1.13.el5.028stab059.1 #1 SMP Tue Sep 30 21:58:19 MSD 2008
vzctl-lib-3.0.22-1
vzctl-3.0.22-1
bash-3.2-21.el5
grep-2.5.1-54.2.el5
1. Restarted OpenVZ and got this "error: Broken pipe":
[root@ts27 ~]# /sbin/service vz restart
Stopping OpenVZ: [ OK ]
/etc/init.d/vz: line 200: echo: write error: Broken pipe
/etc/init.d/vz: line 200: echo: write error: Broken pipe
Starting OpenVZ: [ OK ]
Bringing up interface venet0: [ OK ]
Configuring interface venet0: [ OK ]
2. This is the piece of /etc/init.d/vz, line 200 is marked:
{
test -r /proc/config.gz || return 0
local conf opt err=0
local opt_must="SIM_FS VE VE_CALLS VZ_GENCALLS"
get_kernel_version
# For kernels >= 2.6.9 VZ_DEV must be set.
test "${KERNEL_MINOR}" -ge 6 &&
test "${KERNEL_PATCHLEVEL}" -gt 9 &&
opt_must="${opt_must} VZ_DEV"
local opt_rec="SCHED_VCPU FAIRSCHED VZ_QUOTA VZ_QUOTA_UGID VE_NETDEV VE_ETHDEV
VE_IPTABLES VZ_CHECKPOINT VZ_WDOG"
conf="`zcat /proc/config.gz 2>/dev/null | grep -E -v '^#|^$'`"
for opt in $opt_must; do
if ! echo "${conf}" | grep -q "${opt}="; then # <-- LINE 200
echo "ERROR: Missing kernel config option: CONFIG_$opt"
err=1
fi
done
if [ $err != 0 ]; then
print_failure "Please recompile your kernel."
exit 1
fi
}
3. This bug doesn't reproduces each time when OpenVZ is restarted, but it does pretty often, say 3 times out of 5.