/srv/irclogs.ubuntu.com/2012/11/30/#upstart.txt

* xnox cannot see upstart source code side by side on my laptop & I'm away from my dual screens =(10:07
xnox80 char limit is _good_ sometimes10:07
* xnox lowers the font size & squints ;-)10:07
dzhusgood day, can I run an upstart init script if it's symlinked to another location?10:28
dzhuslike ~/.init/foo.conf -> ~/system-scripts/foo.conf10:28
dzhusoh, it's bug #66502210:30
xnoxjodh: it now fails \o/10:36
jodhdzhus: that behaviour is by design, as shown on the bug.10:38
jodhxnox: great! so we can now just check the log and then unlink it.10:38
xnoxbug 66502210:39
* xnox ponders where is the bug bot.10:39
xnoxjodh: ;-)10:39
dzhusWell, I was wrong. What 665022 (and the code) says is that upstart does not plug new services is when new symlinks are created in init directories. If the symlink is already there, it works finely.10:49
xnox...simple test11:39
xnox/bin/bash: line 5: 10384 Segmentation fault      (core dumped) ${dir}$tst11:39
* xnox ponders how to get a more useful fail....11:40
xnoxit's ugly, but passes on the machine. Let me try in the autopkgtest now.11:57
jodhxnox: 'gdb --batch -ex r init/test_job_process' followed by 'bt' when it fails :)12:12
xnoxjodh: =))))12:13
xnoxthanks.12:13
xnoxjodh: pushed merge-proposal to fix the above test. It's not the most optimal way but it works.15:16
jodhxnox: thanks!15:16
xnoxjodh: all autopkgtest pass together with stgrabers fix & my branch fixing autopkgtests ;-)15:16
FecnHi Folks - For reasons I wont' go into, I'm trying to get upstart working in an initial ramdisk... it mostly sort-of works, but whenver I try to start services using initctl it gives me a variety of different 'Syntax Error: Bad fd number' messages in the debug output.15:50
FecnIs there any way to get more debug output so I can see what is actually cuasing the bad fd messages?15:50
xnoxwe have a spec for eventdriven initramfs (that is upstart in the initramfs)16:08
xnoxbut it's not fully tested / ready yet.16:09
xnoxsearch for upstart eventdriver initramfs if you are interested.16:09
xnoxCan't help with fd number error, Fecn.16:09
xnoxHopefully somebody else will help you.16:09
Fecnxnox: Thanks - I'll have a search for the eventdriver stuff16:10
SpamapSman, this systemd/udev/w'ever thread on debian-devel just won't die16:32
jodhFecn: try booting with 'console=ttyS0 --debug debug --no-log' and seeing what you get on the serial console. If the error is coming from initctl, you could add strace to the initramfs and use that.16:54
Fecnjodh: Serial console could be a challenge.. I'm not in the same physical location as the server... However, /dev/console is accessible to me OK (as is an ssh session if I fire up dhclient and sshd before I exec init16:55
FecnI figure there will be some vital component missing from my initramfs somewhere along the way16:56
Fecnfwiw - the initramfs I'm working on is for a node-imaging system (formats hdd, runs rsync then does a kexec)16:57
SpamapSwait, so you're developing a custom initramfs .. remotely?16:57
FecnYep.. remotely via a KVM console thing16:57
* SpamapS hands Fecn the "Bravest Craziest Mofo" award he got for upgrading ssh on a slackware box remotely back in 200216:58
FecnIt's not really that crazy - I have power control, screen, keyboard etc... I can reboot it when it goes wrong.. I just can't get to the serial port16:59
Fecnsadly I have to do it this way as the only place where the infiniband adapters are located is in the datacentre machines16:59
SpamapSI've been through stuff like that before too17:01
SpamapS"Developer makes $85k/year, we can't possibly afford $2000 worth of extra equipment for their test setup."17:01
FecnI did have it all working beautifully with a debian-based initrd... but we have our corporate RHEL standard.. so I'm having to rebuild it all using RHEL6 as the base17:01
FecnFor that matter, my RHEL based one is nearly working... apart from the kexec at the end, which hangs the machine if I do a forced reboot... hence trying to get enough of upstart to work so that it can actually do a 'shutdown -r' correctly17:04

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!