limit nofile 64000 64000 or similar in an upstart job fails in a user lxc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc |
Won't Fix
|
Undecided
|
Unassigned | ||
upstart |
Invalid
|
Undecided
|
Unassigned | ||
mongodb (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
You can reproduce this by running an unprivileged lxc and attempting to install mongodb
$ lxc-create -n crisp-Hadley -t ubuntu-cloud -- -r trusty -S ~/.ssh/
$ lxc-start -n crisp-Hadley
$ lxc-attach -n crisp-Hadley
# apt-get install mongodb
Setting up mongodb-server (1:2.4.9-1ubuntu2) ...
start: Job failed to start
invoke-rc.d: initscript mongodb, action "start" failed.
dpkg: error processing package mongodb-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mongodb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg will fail because the postinst fails because the upstart job fails because the rlimit call fails.
Changed in mongodb (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in upstart: | |
status: | New → Invalid |
Status changed to 'Confirmed' because the bug affects multiple users.