| Summary: | Update candidate to mongodb: update clobber user configuration | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Philippe Makowski <makowski.mageia> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | lewyssmith, rverschelde, stormi-mageia, sysadmin-bugs, tmb |
| Version: | 4 | Keywords: | validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | has_procedure MGA4-32-OK MGA4-64-OK advisory | ||
| Source RPM: | mongodb-2.4.6 | CVE: | |
| Status comment: | |||
|
Philippe Makowski
2014-02-15 14:00:22 CET
Whiteboard:
(none) =>
has_procedure
Samuel Verschelde
2014-02-15 14:15:52 CET
CC:
(none) =>
stormi Tested MGA4 64-bit real hardware. OK.
Before update:
Followed all the simple tests referred to in Description. They all worked as expected.
The specific additional test cited above *failed* (not sure whether it should have):
Thu Feb 20 12:39:46.437 Error: JavaScript property (name) contains a null char which is not allowed in BSON. {} at src/mongo/shell/collection.js:201
Changed /etc/mongod.conf as suggested & added a comment line.
After update from Core Update Testing to:
mongodb-2.4.6-2.1.mga4
mongodb-server-2.4.6-2.1.mga4
Re-ran the simple tests from after data creation. Results again as expected.
The extra specific test failed again as noted previously (NUL character).
/etc/mongod.conf *retained* the prior modification.CC:
(none) =>
lewyssmith Needs testing mga4 32 to validate please. Testing complete Mageia 4 i586. CC:
(none) =>
remi Validating update, advisory uploaded. Please push to 4 core/updates. Keywords:
(none) =>
validated_update Update pushed: http://advisories.mageia.org/MGAA-2014-0060.html Status:
NEW =>
RESOLVED |
Description of problem: During test of mga#12251 it was found that upgrade of mongod-server package clobber user configuration and tempfiles dir were not correctly handled. Updated packages in core/updates_testing: ======================== mongodb-2.4.6-2.1.mga4 mongodb-server-2.4.6-2.1.mga4 from SRPMS: mongodb-2.4.6-2.1.mga4.src.rpm procedure can be to install mongodb server, change /etc/mongod.conf for example, set noprealloc = true to disable the preallocation of data files update mongodb-server additionnal test can be to start mongodb-server, open mongo shell and do a : db.test.insert({"\x16\x00\x00\x00\x05hello\x00\x010\x00\x00\x00world\x00\x00" : "world"}) it should me rejected more example to simple tests are here : http://docs.mongodb.org/v2.4/tutorial/getting-started/ Reproducible: Steps to Reproduce: