upstart job fails to start with "limit nofile unlimited unlimited"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
New
|
Undecided
|
Unassigned | ||
upstart (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Upstart cookbook refers to "limit nofile unlimited unlimited".
http://
However it fails to start jobs, for example:
$ sudo stop cron
$ echo limit nofile unlimited unlimited | sudo tee /etc/init/
$ sudo start cron
start: Job failed to start
Feb 11 16:02:52 lifebook kernel: [36027.452599] init: Failed to spawn cron main process: unable to set "nofile" resource limit: Operation not permitted
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: upstart 1.13.2-0ubuntu7
ProcVersionSign
Uname: Linux 3.18.0-13-generic x86_64
.etc.init.
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Feb 11 16:03:27 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-02-09 (1 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150207)
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)
UpstartBugCategory: System
UpstartRunningS
UpstartRunningS
modified.
modified.
modified.
Status changed to 'Confirmed' because the bug affects multiple users.