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.
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