Public bug reported:

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/id_rsa-canonical.pub
    $ 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.

** Affects: lxc
     Importance: Undecided
         Status: New

** Affects: upstart
     Importance: Undecided
         Status: New

** Affects: mongodb (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: upstart
   Importance: Undecided
       Status: New

** Also affects: mongodb (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mongodb in Ubuntu.
https://bugs.launchpad.net/bugs/1456422

Title:
  limit nofile 64000 64000 or similar in an upstart job fails in a user
  lxc

To manage notifications about this bug go to:
https://bugs.launchpad.net/lxc/+bug/1456422/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to