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

CrummyGummyhi, how can I allow a normal user to run an upstart script?07:27
ion_Instruct her to use sudo.07:28
CrummyGummyher is a scripts user that needs to start/restart scripts from a cron job.07:28
ion_Again, sudo.07:29
CrummyGummyOk, I'll give it a stab as soon as I can get these scripts to work.07:31
ion_sudoers(5) for instructions for giving a user access to specific commands without password.07:34
CrummyGummythanks, will it be possible to wrap the upstart script in an LSB compliant init script. Heartbeat needs it...07:36
ion_Might as well not convert the script to an Upstart job in the first place as long as Heartbeat doesn’t support Upstart.07:38
CrummyGummyion_: the only reason for the move is that I like the respawn capability of upstart. I was running everything on daemontools but it just died on upgrading to intrepid. No idea why.08:00
keesjwhat is the right way to regenerate the dbus glue code?09:12
keesjIt goes by magic if the configure OBJDIR is not explicetly set09:43
keesjI implemented a solution for --no-wait for initctl and would like to discuss it10:34
Keybuksure10:34
keesjWhat I did was to add an aditional parameter the the EmitEvent dbus interface (currently called sync). Now in  in init/control.c  in the control_emit_event method I check that paramter and if "not sync" the message is not blocked unlit the evernt is consumed but I directly call control_emit_event_reply10:37
keesjI am no sure this aproach will work for start/stop but what do you think?10:39
keesjhttp://paste-it.net/public/o633c62/10:40
Keybukrather than calling with --no-reply ?10:40
Keybuk(which I guess inhibits error returns such as "No such job")10:40
keesjyes rather then solving it on dbus level10:40
keesjKeybuk: your talk at fosdem is concurent with Maemo on the BeagleBoard. it's a difficult choice14:20
ion_That’s what fork() is for.14:21
keesjIndeed I can bring my kids of course14:21
ion_Children are more akin to cat "$0" /usr/bin/something-else | shuf >kid; chmod 0755 kid; ./kid &14:23
suihkulokkikeesj: It seems people are expecting too much from kaltsi's maemo/beagleboard talk :)14:37
Keybukworst still, I'm in the large room14:45
KeybukI hate talking in large rooms14:45
Keybukmuch prefer smaller ones, which always feel well attended14:45
keesjsuihkulokki: perhaps, I do like the kind the things she does14:46
ion_I’d pick Keybuk’s talk because Nokia sucks. :-P Nokia got tired of pesky investigations against them for snooping employees’ email, so they threatened to leave Finland if Lex Nokia isn’t passed. The law is against the constitution; it allows certain entities (such as companies, schools, apartment buildings, libraries) that provide an Internet connection to snoop much of the net usage. Unanimous expert statements against the law were ignored by the ...14:46
ion_... lawmakers, and it’s almost certain the law will get passed soon.14:47
suihkulokkithe horror, the shock, they want to pass a law allowing grepping mail logs14:58
suihkulokki(now please ignore while we are setting up at the same time a national fingerprint registry with full access for the policy)14:58
suihkulokkihttp://www.theregister.co.uk/2009/02/03/finland_fingerprints/ <- ie this one is much scarier shit15:04
Keybukis anyone successfully using 0.5 ?22:56
Keybukah, no, doofus problem on my end23:05
Keybukthings break if /dev is empty for a while ;)23:06
sadmac_Keybuk: I've had some thoughts on transactions and how to use them to do certain things23:29
=== sadmac_ is now known as sadmac

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