-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.2
-
Component/s: Packaging
-
None
-
Linux
-
Debian init script does not ensure proper ownership/permissions on the PID file. The created PID file is not writable by the $DAEMONUSER (mongodb) causing the server to fail to start.
Is it possible to ensure the PID location is writable before starting the service - like you do in the Ubuntu upstart script at lines 23-24: https://github.com/mongodb/mongo/blob/f7675b0a306764d8a435a623b4af0b5bd63180d4/debian/mongod.upstart
- duplicates
-
SERVER-18492 Setting pidFilePath to /var/run/mongod.pid in config file on Debian prevents service from starting
- Closed