/srv/irclogs.ubuntu.com/2009/11/06/#upstart.txt

=== notting_ is now known as notting
SteveGIn an /etc/init/*.conf file can you specify to upstart to "start on driver load"?06:15
SteveGI am having an issue where the template says "start on (local-filesystems and net-device-up IFACE=lo)" but the application this spawns still needs a driver to have been loaded or it will not see the hardware.06:16
=== pocek_ is now known as pocek
=== evand1 is now known as evand
SteveGWhat is the best resource for learning about writing "start on" and "stop on" statements?  I want to start a service after a driver loads.15:47
Keybukstart with "man upstart" ?16:04
=== SteveG is now known as jhsdhjsda
Keybukrobbiew: your charts look normal?17:23
Keybukrobbiew: it's a hard drive, not an SSD right?17:23
robbiewright17:23
Keybukright17:24
Keybukso your chart is normal17:24
Keybukit isn't profiling, it's reading17:24
robbiewhmm17:24
Keybukwhat were the charts like before?17:24
robbiewlet me send17:24
Keybukso it's 20s better now? :p17:28
Keybukif not more17:28
Keybukon hard drives, because there's such a penalty for seek, ureadahead remains in the foreground17:30
Keybukthat way it can basically read the entire page cache in one scan across the disk17:30
Keybukwhich is why you're getting 113 MB/s out of it17:30
rpolakHello19:43
rpolakI'm trying to figure out how upstart is initing ntp in Ubuntu 9.1019:43
mbieblrpolak: the ntpd daemon?20:15
rpolakYeah,  I can't find where in the world it's initing from20:15
mbieblI think it's started by a sysv init script20:15
rpolakI've been chasing this new fricking upstart down a rabbit hole20:15
rpolakHow are the sysv scipts being called by upstart20:16
mbieblrpolak: there is an upstart job called /etc/init/rc.conf20:17
mbieblwhich read the default runlevel from /etc/inittab, and then runs "/etc/init/rc $runlevel"20:17
mbieblwhich in turn runs the legacy sysv init scripts20:17
rpolakA ha20:18
rpolakhowever I don't have a symlnk in any of the /etc/rc*.d dirs20:19
mbieblrpolak: sorry, I meant /etc/init.d/rc (note the .d)20:19
mbiebland there is no /etc/rc*.d/ in Debian/Ubuntu20:19
rpolakls -lah20:20
rpolak./rc2.d/K20ntp20:20
rpolakthat got it to stop20:20
mbieblargh, I'm talking rubbish atm. of course there is /etc/rc?.d/, there is no /etc/rc.d/20:21
mbieblrpolak: seems you have disable ntp for runlevel 220:21
mbieblrename that to S20ntp20:21
rpolakI knew my eyes weren't decieving me20:22
mbiebland you are fine20:22
rpolakI wanted it to stop loading20:22
rpolakI'm having trouble with the time skew being to large to be corrected by the deamon while running Ubuntu under VirtualBox20:22
mbieblso, if you already found how to disable ntp, what is your question again?20:23
rpolakI just figured it out while I was talking with you20:24
rpolakHowever, if you could explain how it was initing without a S* in /etc/rc2.d I would appreciate it20:25
mbieblIt will no longer be started by default if you boot into runlevel 220:25
rpolakI am at this point interested in understanding the behavior of upstart in that normally with init it would start only processes with a /etc/rc?.d/S?deamon symlink20:28
mbieblthat is not quite correct20:30
mbieblold sysvinit starts the processes listed in /etc/inittab20:30
mbieblAnd it's the task of sysv-rc (providing /etc/init.d/rc) to start the services in /etc/rc?.d/20:31
rpolakOk, So by what mechanism was ntpd starting with upstart on this Ubuntu 9.10 machine20:36
ionntp isn’t handled by Upstart in 9.10.20:37
mbieblrpolak: as I told you20:41
mbieblit's still a sysv init script20:41
rpolaka better question than would be where in upstart is the runlevel for the legacy rc set20:43
mbieblrpolak: check /etc/init/rc-sysinit.conf20:43
rpolakI see20:43
rpolakThank you for shedding some light on this for me20:44
mbieblnp20:51
Keybuk(man runlevel would have answered the question too :p)21:27
=== robbiew is now known as robbiew-afk
=== Toad__ is now known as SteveG

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