[Bug 1315060] Re: Allow --confdir to look for system jobs in more than one directory
Dimitri John Ledkov
launchpad at surgut.co.uk
Thu May 8 12:14:31 UTC 2014
For the migration plan from upstart -> systemd, we intended to run
system upstart as pid2, with systemd as pid1.
For that to work, upstart should process and launch all of it's jobs as
normal, apart from it should skip/set to manual all jobs that are
handled by systemd.
To achieve that we were thinking for system upstart to support multiple
--confdirs, and systemd would then start upstart with "/etc/init" and
"/lib/systemd/upstart/" directories, with .override files either shipped
or generated by systemd setting jobs to manual.
Thus regardless of the OEM requirements, we do need this functionality
in upstart soon enough to unblock further work on systemd migration.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1315060
Title:
Allow --confdir to look for system jobs in more than one directory
Status in The Savilerow project:
New
Status in “upstart” package in Ubuntu:
In Progress
Status in “upstart” source package in Utopic:
In Progress
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
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: fglrx
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=/boot/vmlinuz-3.13.0-24-generic root=UUID=610268d4-9acd-4bf8-a1a1-95c88b3ccf59 ro quiet splash vt.handoff=7
SourcePackage: upstart
UpgradeStatus: Upgraded to trusty on 2013-11-23 (158 days ago)
UpstartBugCategory: System
UpstartRunningSessionVersion: init (upstart 1.12.1)
UpstartRunningSystemVersion: init (upstart 1.12.1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/savilerow/+bug/1315060/+subscriptions
More information about the foundations-bugs
mailing list