Closed
Description
This bug is against xCAT 2.13.7 snap201709220216.
The recreation steps
# mkdef tz998 groups=all cons=foo
1 object definitions have been created or modified.
# makeconservercf tz998
# echo $?
0
What actually happened
The following section was add in file /etc/conserver.cf
. Even if /opt/xcat/share/xcat/cons/foo
does not exist at all.
#xCAT BEGIN tz998 CONS
console tz998 {
type exec;
exec /opt/xcat/share/xcat/cons/foo tz998;
}
#xCAT END tz998 CONS
What is expected
- A proper error message is expected. In this way, the end users will get better understanding of their misconfiguration.
- The return value should be non-zero