Add mongodb to logrotate
This package does not set up logrotate for mongodb. I was surprised when an IP change sent me looking at the log, only to find a 362M mongod.log. You will want to create a drop-in for mongodb in /etc/logrotate/logrotate.d. See the Archwiki - logrotate I simply used:
/var/log/mongodb/mongod.log {
rotate 5
sized 2M
missingok
notifempty
copytruncate
}
Adjust as needed. The log grows fairly rapidly due to logging in json format.
Pinned Comments
drankinatty commented on 2026-04-26 08:20 (UTC) (edited on 2026-04-27 05:46 (UTC) by drankinatty)
Updated for boost 1.90 -> 1.91
A patch was required due to the 1.90 - 1.91 boost version change. The boost update moved macros around merging static_assert into config. A trivial header patch to include
boost/static_assert.hppfixes this issue.The update also broke compilation due to
boost::optionalchanges. Thanks to Seth's help in the discussion boost 1.91 broke mongodb44 build - need C++ help to properly fix theboost::optionalbuild failure, a simple change fixed the issue atsrc/mongo/db/catalog/coll_mod.cpp:361.Added 015-mongodb-4.4.29-boost-1.91.patch.
drankinatty commented on 2026-04-20 06:30 (UTC) (edited on 2026-04-20 08:43 (UTC) by drankinatty)
yaml-cpp Update 0.8 -> 0.9 Requires rebuild
After update of yaml-cpp from the current 0.8.0-3 to 0.9.0-1 a rebuild is required due to the shared library soname bump.
(Note, you can also downgrade to yaml-cpp-0.8.0-3 to restore mongodb44 until the chroot rebuild is complete)
drankinatty commented on 2025-12-31 20:31 (UTC)
WARNING, on December 15, an exploit was discovered in MongoDB zlib compressed headers:
zlib compression should be disabled in all versions that cannot upgrade to the new version of MongoDB. For MongoDB44, that means zlib compressed headers will be disabled going forward.