[21:39] <brendan_> anyone around for a (hopefully) easy question?
[21:42] <brendan_> well.... i'll just throw it out here, in hopes that someone takes note. :)
[21:42] <brendan_> i'm using upstart inside a xen domU
[21:42] <brendan_> (aside: works great, very happy with it)
[21:43] <brendan_> however, i've noticed something wierd when using the "console output" stanza
[21:44] <brendan_> if the script runs during the startup phase (ie, "start on startup") then everything works great
[21:45] <brendan_> if i switch to runlevel 2 (by calling /sbin/runlevel --set=2) then i start getting the "staircase effect" for anything starting up afterwards
[21:45] <brendan_> i've tried setting "stty onclr", but it doesn't work. (capturing the output of stty -a shows that the setting has been set)
[21:46] <brendan_> obviously, this is just a nit-picky display issue since there is no functional problem with upstart running
[21:46] <brendan_> but i was hoping someone had an idea of something else i could try
[21:47] <brendan_> i can run "tput hpa 0" to reset the line to the left everytime before i echo something out, but that only works for things i intentionall echo
[21:48] <brendan_> STDERR output still ends up with the staircase effect
[21:48] <brendan_> any ideas?
[21:48] <keesj> brendan_: perhaps it  is a tty that gets started on runlevel 2 , the replacement inits do grep /etc/inittab and do perform kinky actions
[21:49] <brendan_> would upstart itself be doing that behind the scenes?
[21:50] <keesj> yes, can be 
[21:51] <brendan_> the only scripts upstart is running are the ones i've placed in event.d - the ones that call external scripts in init.d have all been replaced
[21:53] <keesj> in that case I guess not. I have no idea :p
[21:53] <brendan_> heh. drat
[21:55] <keesj> but apparently you do use the "compatible" scripts. As I understand it "runlevel" really is a system v scripts
[21:56] <brendan_> is there a better way to switch the runlevel?
[21:57] <brendan_> or is the idea that runlevels will disappear completely with upstart eventually?
[21:57] <keesj> the whole concept of runlevels as numbers is "system 5 init"
[21:57] <keesj> brendan_: I am not a developer of upstart so I can not say
[21:57] <keesj> but yes. the idea is to let event perform the right actions
[21:58] <brendan_> kreesj: ah. thanks