Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356731 - dev-db/mongodb should create /var/run/mongodb
Summary: dev-db/mongodb should create /var/run/mongodb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-27 18:18 UTC by Marc-Antoine Perennou
Modified: 2011-04-13 15:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-Antoine Perennou 2011-02-27 18:18:58 UTC
With /var/run mounted as tmpfs, mongodb won't start until we create by hand its directory.
Adding anything like "mkdir -p /var/run/mongodb" to the init script would be great

Reproducible: Always
Comment 1 Johan Bergström 2011-02-28 09:56:33 UTC
We could just as well use /var/run for pidfile
Comment 2 Ultrabug gentoo-dev 2011-04-13 15:19:41 UTC
Hi Marc-Antoine,

This has been fixed in the new init scripts. Thanks for reporthing this issue.

Hey folks,

All this new shiny stuff is in tree now, please give it a try and don't hesitate to give us feedback !

+*mongodb-1.8.1 (13 Apr 2011)
+*mongodb-1.6.5 (13 Apr 2011)
+
+  13 Apr 2011; Ultrabug <ultrabug@gentoo.org> -mongodb-1.2.4.ebuild,
+  -files/mongodb-1.2-modify-post-strip.patch,
+  -files/mongodb-1.2-modify-testing.patch, -mongodb-1.4.4.ebuild,
+  -files/mongodb-1.4-modify-post-strip.patch,
+  -files/mongodb-1.4-modify-testing.patch, -mongodb-1.5.5.ebuild,
+  -mongodb-1.6.0.ebuild, -files/mongodb-1.6.0-fix-scons.patch,
+  +mongodb-1.6.5.ebuild, +files/mongodb-1.6-fix-scons.patch,
+  +mongodb-1.8.1.ebuild, +files/mongodb-1.8-fix-scons.patch,
+  +files/mongos.confd, +files/mongos.initd, files/mongodb.confd,
+  files/mongodb.initd:
+  Mongodb rework/bump. Fix bugs #329167, #334081, #337085, #337593, #337973,
+  #338039, #340032, #356731. Many thanks to Johan Bergström for his help and
+  testing. Drop old versions.
+