-
Bug
-
Resolution: Done
-
Major
-
RH254 - RHEL 7 2 20150427
-
None
-
en-US (English)
URL:
Reporter RHNID:
Section: -
Language: en-US (English)
Workaround:
Description: Grading script issue, MariaDB lab, possibly if student runs mysql_secure_installation.
Reported via gls-contractor-list. Should be reviewed and triaged to see if there's better handling of this case needed here.
A student did the Lab and then ran the grading script. The results were rather strange. (See below) Passed client installed on desktop and server (but got error message saying .ssh/gradingkey is not there ... it isn't). Failed the next several steps, and then the rest of the checks (not shown below - see attachment for full grading output) passed. Anyone seen this before? Have any ideas?
Comment from Michael Phillips:
I've seen that before if the student runs mysql_secure_installation after running lab mariadb setup. The grading script assumes that root's password hasn't been set for mariadb. While there might be a simpler way to do this, the following should remove root's password from within mysql: MariaDB [(none)]> use mysql; MariaDB[(mysql)]> update user set password=null where user='root'; MariaDB[(mysql)]> flush privileges; Then have the student try running the grading script again.