[01:26] Hi, I am having trouble getting my upstart to run at boot. Any help would be great. [08:42] jhunt: we're using a heavily customized setup [08:42] where we synchronize configurations [08:42] in an upstart job [08:42] but parallization of the rc sysv init seems to be problematic [08:42] in the past I just upstartified the packages and be done with it [08:42] but for complexer init scripts this is well a pain and very error sensitive [08:43] we're actually doing a migration to ubuntu (from debian) [08:43] but in our custom setup, upstart seems to make this very painful [08:47] ??? I don't understand what the problem is? If you have specifics, please can you post to the mailing list or raise bugs if you think you've found one? [08:48] it's not really a bug [08:53] ideally my problem would be solved if I could depend the sysv rc upstart job on another upstart job [08:53] but if I do that my whole init breaks [08:53] I tried that before [08:53] system won't reboot anymore [09:03] I guess I might mail to the mailing list if I have time to workout my case [09:04] are you saying that existing sysv scripts fail to run correctly when started by upstart? === Md_ is now known as Md [09:06] no sorry [09:06] sysv works [09:06] but it runs to soon [09:07] it should only run _after_ another upstart job [09:07] which synchronizes the local configuration from a remote host [09:07] but it's being parallized [09:07] so stuff isn't starting because there is no configuration yet [09:07] we're talking about network bootend hosts he [09:07] here* [09:09] you really need to migrate your sysv job to upstart then. There is a way to do what you want though... [09:09] 1) disable the sysv job by removing the sym links. [09:10] yeah [09:10] it's just that the sysv script is _very_ complex [09:10] 2) create an upstart job "wrapper" for it that does "start on event-i-need" and "exec /etc/init.d/my-sysv-service" [09:10] oh [09:10] lol [09:10] that's an idea [09:10] it's a horrible hack [09:10] but that would work though [09:11] for nagios-nrpe I created a real upstart job [09:11] which is just requires a trivial patch [09:11] but your suggestion would work for everything [09:15] jhunt: thanks for that suggestion [12:55] jhunt: btw, just implemented the wrappers [12:55] jhunt: it seems to work nicely [12:55] jhunt: thanks for the tip [12:57] np. of course you'll need to ensure that the sysv sym links don't get re-instated if the packages get updated say. [12:57] that's not an issue [12:58] it's a ramdisk based setup [12:58] so it's static [12:58] everytime we update the ramdisks, we also have a QA phase (which should catch that) === Alien_Freak is now known as csgeek