Package Details: mongodb-bin 6.0.2-1

Git Clone URL: https://aur.archlinux.org/mongodb-bin.git (read-only, click to copy)
Package Base: mongodb-bin
Description: A high-performance, open source, schema-free document-oriented database
Upstream URL: https://www.mongodb.com/
Keywords: database document-oriented mongo mongod mongodb mongos
Licenses: Apache, custom:SSPLv1
Conflicts: mongodb, mongodb-shell-bin
Provides: mongodb
Submitter: ali.molaei
Maintainer: ali.molaei (rafaelff)
Last Packager: rafaelff
Votes: 78
Popularity: 1.76
First Submitted: 2019-01-28 09:01 (UTC)
Last Updated: 2022-09-29 14:32 (UTC)

Dependencies (4)

Required by (27)

Sources (7)

Pinned Comments

ali.molaei commented on 2021-07-28 14:29 (UTC)

If you get core dumps on version 5, read this: https://jira.mongodb.org/browse/SERVER-58648

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

snale commented on 2022-10-05 18:48 (UTC) (edited on 2022-10-05 20:13 (UTC) by snale)

@rafaelff I see. I wasn't aware that /run itself is forbidden in official packages. I do think /var/run is better than /var then since it is an actual tmpfs just like /run. I don't know if there are other options. In any case, thanks for taking the time to respond! And maintaining the package too :P

rafaelff commented on 2022-10-01 11:39 (UTC)

@JstKddng: Are you able to confirm it doesn't work in an Arch Linux ARM instance? I don't have a ARM computer to be sure. For the record, indeed the Production Notes on arm64 states armv8.2-A or later micro-architecture is required for MongoDB (since docs version 4.4).

JstKddng commented on 2022-10-01 01:11 (UTC)

hey, is it worth using the aarch64 binaries if they are only compatible with armv8.2? archlinuxarm doesn't support cpus with that architecture afaik.

rafaelff commented on 2022-09-29 17:34 (UTC)

My main reason for not using /run is that it's strictly forbidden for packages, according to https://wiki.archlinux.org/title/Arch_package_guidelines. Asked a Arch Developer the reason for this rule, and he told me "retro-compatibility" because "other distros use pacman as well".

Besides, It seems the downloaded tarball has already /var/run set so I might remove this sed line.

snale commented on 2022-09-29 17:03 (UTC)

Actually, /var/run is the legacy path as I understand it. The motivation behind introducing /run was to be able to mount it early before /var is available. The commit you point to says:

"Optionally rewrites lines referencing /var/run/, to use /run/ instead."

/var/run is currently a symlink that resolves to /run on my system, and on other distros too as far as I know.

See also https://lwn.net/Articles/436012/

rafaelff commented on 2022-09-20 17:08 (UTC)

@snale systemd considers /run a legacy tmpfile path and recomends /var/run. See warning implemented for systemd 239 in https://github.com/systemd/systemd/commit/a2d1fb882c4308bc10362d971f333c5031d60069

snale commented on 2022-09-20 16:27 (UTC)

Hey, I was wondering, wouldn't it be better to use /run instead of /var for the systemd service PID file? /var/run is a tmpfs originally too whereas /var is not, I think.

rafaelff commented on 2022-07-21 18:30 (UTC) (edited on 2022-07-21 18:31 (UTC) by rafaelff)

Updated to 6.0.0. Those willing to stick with 5.x versions, check mongodb50-bin

ali.molaei commented on 2022-04-28 13:37 (UTC)

@flying-sheep can you provide it?

flying-sheep commented on 2022-04-28 13:29 (UTC)

Hi, I don’t want mongodb to start until I need it. Is it possible to add a mongodb.socket file for systemd?