[Bug 930564] New: mongodb should use socket under /run not /tmp
http://bugzilla.opensuse.org/show_bug.cgi?id=930564 Bug ID: 930564 Summary: mongodb should use socket under /run not /tmp Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: tschaefer@t-online.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 Build Identifier: mongodb should use socket under /run not /tmp tested with packages from: http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_... http://download.opensuse.org/repositories/server:/database/openSUSE_13.2/ omega:~ # LANG=C netstat -anp | grep mongo tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN 9249/mongod tcp 0 0 127.0.0.1:27017 127.0.0.1:53154 ESTABLISHED 9249/mongod tcp 0 0 127.0.0.1:27017 127.0.0.1:53156 ESTABLISHED 9249/mongod tcp 0 0 127.0.0.1:27017 127.0.0.1:53155 ESTABLISHED 9249/mongod tcp 0 0 127.0.0.1:27017 127.0.0.1:53153 ESTABLISHED 9249/mongod tcp 0 0 127.0.0.1:27017 127.0.0.1:53152 ESTABLISHED 9249/mongod tcp 0 0 ::1:27017 :::* LISTEN 9249/mongod unix 2 [ ACC ] STREAM LISTENING 28574056 9249/mongod /tmp/mongodb-27017.sock Reproducible: Always Steps to Reproduce: start mongodb with default from package and look LANG=C netstat -anp | grep mongo Actual Results: /tmp/mongodb-27017.sock Expected Results: /run/mongodb-27017.sock -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=930564 Thomas Schäfer <tschaefer@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tschaefer@t-online.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=930564 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com, | |ledest@gmail.com, | |normand@linux.vnet.ibm.com Assignee|bnc-team-screening@forge.pr |mpluskal@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=930564 --- Comment #1 from Oleksandr Chumachenko <ledest@gmail.com> --- mongod(3): ...... --unixSocketPrefix <path> Specifies a path for the UNIX socket. Unless this option has a value, mongod and mongos, create a socket with the /tmp as a prefix. ...... You may do like this: # install -d -m 0775 -o root -g mongodb /run/mongodb # echo 'OPTIONS="--unixSocketPrefix=/run/mongodb"' > /etc/sysconfig/mongodb # service mongodb restart # ls /run/mongodb/* /run/mongodb/mongodb-27017.sock -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=930564 --- Comment #2 from Thomas Schäfer <tschaefer@t-online.de> --- For a compiled package I expect that the config is adapted to the rules of the distribution. Of course I can configure a lot of things by myself. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=930564 --- Comment #3 from Oleksandr Chumachenko <ledest@gmail.com> ---
For a compiled package I expect that the config is adapted to the rules of the distribution.
Maybe. But IMHO in this case, the behavior does not conform to the documentation? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=930564 Martin Pluskal <mpluskal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|mpluskal@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com