Allow --confdir to look for system jobs in more than one directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Savilerow project |
Fix Released
|
Undecided
|
Unassigned | ||
upstart |
Fix Released
|
Undecided
|
James Hunt | ||
upstart (Ubuntu) |
Fix Released
|
Critical
|
James Hunt | ||
Utopic |
Fix Released
|
Critical
|
James Hunt |
Bug Description
A requirement from OEMs/Carriers for customization is to allow for customized upstart jobs/overrides. It seems that the best way to do this would be to allow --confdir to take multiple directories, so that we can include a directory under /custom.
As for session jobs, I assume we can just set /custom as an XDG_CONFIG_DIR, and have /custom/upstart with jobs there.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: upstart 1.12.1-0ubuntu4
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Thu May 1 12:30:09 2014
InstallationDate: Installed on 2013-04-26 (370 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: upstart
UpgradeStatus: Upgraded to trusty on 2013-11-23 (158 days ago)
UpstartBugCategory: System
UpstartRunningS
UpstartRunningS
Related branches
- Dimitri John Ledkov (community): Approve
-
Diff: 1167 lines (+898/-43)5 files modifiedChangeLog (+24/-0)
init/main.c (+91/-25)
init/man/init.5 (+1/-1)
init/man/init.8 (+51/-6)
init/tests/test_main.c (+731/-11)
Changed in upstart (Ubuntu Utopic): | |
importance: | Undecided → Critical |
assignee: | nobody → James Hunt (jamesodhunt) |
status: | New → Triaged |
milestone: | none → ubuntu-14.06 |
Changed in upstart (Ubuntu Utopic): | |
status: | Triaged → In Progress |
Changed in upstart: | |
assignee: | nobody → James Hunt (jamesodhunt) |
status: | New → Fix Committed |
Changed in savilerow: | |
status: | New → In Progress |
Changed in savilerow: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
Changed in upstart (Ubuntu Utopic): | |
milestone: | ubuntu-14.06 → none |
After discussion on the mailing list I'm -1 on this. I don't think having OEMs and carriers installing Upstart jobs is a good idea. It's an unstable interface and one that we expect to drop long term.