=== Keybuk_ is now known as Keybuk [10:54] Non-root users get strange output when they run initctl which tries to get information from system dbus. [10:54] $ initctl list [10:54] initctl: Name "com.ubuntu.Upstart" does not exist [10:54] sadmac_: ^ really? [10:54] WFM [12:39] Keybuk: it's current state in fedora now [12:40] and "strange" means that it should say something like you need to be root or someting [12:41] no [12:41] strange means that it should work [12:41] quest scott% initctl list | head -2 [12:41] avahi-daemon start/running, process 948 [12:41] mountall-net stop/waiting [12:43] I agree that it should work [12:43] you don't have to be root to use commands like list, status, etc. [12:52] How to run upstart in user home? [12:53] I had a day of pain trying to run upstart in debian lenny, without installing it system-wide. === temoto1 is now known as temoto [12:58] temoto: just install there and use init=/home/temoto/sbin/init ? [13:03] Keybuk: without installing it system wide, also implies without touching existing init system :) [13:04] i could write a line into inittab or something, that's not the point [13:04] right [13:04] you don't need to [13:04] ./configure --prefix=$HOME/upstart [13:04] troubles were in just starting it [13:04] then when you boot, init=/home/temoto/upstart/sbin/init [13:04] on the kernel command-line [13:04] it'll look for config in /home/temoto/upstart/etc/init obviously [13:04] so you'll have to provide some [13:05] otherwise it won't do much [13:05] i don't want to replace init [13:05] but that's not the point [13:05] then you're in the wrong place [13:05] Upstart isn't a word processor ;) [13:05] it's a replacement for init [13:05] i wanted it to manage separate user jobs. [13:05] it's not designed to do that [13:05] ah [13:06] it must be pid 1 [13:06] you can comment out the code that requires it [13:06] but you lose things like daemon supervision and stuff [13:06] well init says you can run telinit and it doesn't want to be pid 1 [13:07] but i actually had troubles with dbus connection [13:07] it says /com/something is unknown [13:07] i did sudo ~/upstart/sbin/telinit 2 [13:07] I think you're confusing yourself [13:07] Does that loose daemon supervision? [13:07] telinit simply communicates with the init daemon [13:08] it's identical to running "initctl emit runlevel RUNLEVEL=2 PREVLEVEL=$(runlevel)" [13:08] That's why it couldn't connect to /com/something? [13:08] just easier to type [13:08] yes [13:08] the thing it couldn't connect to was Upstart [13:08] Thanks :) [13:08] something was "com.ubuntu.upstart" [13:08] Yeah. [13:09] Thanks for explanation. [13:09] Maybe it deserves to be mentioned on website. [13:09] why? [13:09] Upstart is a replacement for Init [13:10] if the website listed everything that Upstart wasn't, it'd take months to download [13:12] Maybe it's more obvious that Upstart is not a game and less obvious that you can't run supervisor part without replacing Init. I just proposed, if no, then no, fine. Thanks for explanation anyway. [13:13] "Upstart is an event-based replacement for the /sbin/init daemon" [13:13] (the first sentence on the website) [13:13] I just don't get how people can read that, and think that they can use Upstart without replacing /sbin/init ;) [13:13] What about documentation on stuff like `task' ? Does it exist anywhere? sadmac explained it, but i couldn't find. [13:13] I mean [13:13] that's like asking whether you can run HURD as a normal user :p [13:14] temoto: yes, in the man page [13:14] man 5 init [13:14] Great, thanks. === pocek_ is now known as pocek === [1]sassyn is now known as sassyn