[mongodb] make mongod bind to localhost by default

Nathaniel McCallum npmccallum at fedoraproject.org
Sat Mar 19 15:52:57 UTC 2011


commit 8ee42644ae8442a06a321a88a5d9dc8b8879257e
Author: Nathaniel McCallum <nathaniel at natemccallum.com>
Date:   Sat Mar 19 11:52:46 2011 -0400

    make mongod bind to localhost by default

 mongodb.conf |    1 +
 mongodb.spec |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/mongodb.conf b/mongodb.conf
index 727c84d..a583119 100644
--- a/mongodb.conf
+++ b/mongodb.conf
@@ -6,6 +6,7 @@ logpath=/var/log/mongodb/mongodb.log
 # fork and run in background
 fork = true
 
+bind_ip = 127.0.0.1
 #port = 27017
 
 dbpath=/var/lib/mongodb
diff --git a/mongodb.spec b/mongodb.spec
index bf24255..9dc2505 100644
--- a/mongodb.spec
+++ b/mongodb.spec
@@ -4,7 +4,7 @@
 %global         daemon mongod
 Name:           mongodb
 Version:        1.8.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        High-performance, schema-free document-oriented database
 Group:          Applications/Databases
 License:        AGPLv3 and zlib and ASL 2.0
@@ -200,6 +200,9 @@ fi
 %{_includedir}/mongo
 
 %changelog
+* Sat Mar 19 2011 Nathaniel McCallum <nathaniel at natemccallum.com> - 1.8.0-2
+- Make mongod bind only to 127.0.0.1 by default
+
 * Sat Mar 19 2011 Nathaniel McCallum <nathaniel at natemccallum.com> - 1.8.0-1
 - Update to 1.8.0
 - Remove upstreamed nonce patch


More information about the scm-commits mailing list