/srv/irclogs.ubuntu.com/2010/04/29/#upstart.txt

Keybukhuh00:18
KeybukI just realised how something combines nicely to make "manual" mode easy00:18
Keybukecho manual >> /etc/init-override/something.conf ;-)00:19
Keybukwow00:37
Keybukso, err00:37
Keybukreally00:37
Keybukion: we *really* don't need udev00:37
ionNice00:47
* Keybuk blames Caesar01:40
CaesarYou what?02:38
CaesarOh that02:38
Caesar/etc/default for evar!02:38
CaesarHmm, /etc/init-override, do you really need to take another directory in /etc for this?02:38
CaesarCan't you have it in /etc/init?02:39
Keybuk/etc/init is where normal configs go02:40
Keybukmaybe /etc/init/apache.override ?02:40
CaesarYeah, that sounds reasonable06:48
Keybuk.conf07:01
Keybuk.custom07:01
Keybuk;-)07:01
ion/lib/init, /etc/init ;-)07:03
ion(Yeah, i see major reasons for that not to be desirable unless /etc/init provides a syntax to make any arbitrary changes to what /lib/init says.)07:05
Keybuk/Library/Init/Daemons07:09
Keybuk/System/Library/Init/Agents07:09
ionHah07:09
Keybukcan't remember the third one off hand07:10
Keybukit's Daemons, Agents and something else07:10
ionDoes MacOSX have a case-insensitive filesystem?07:10
Keybukcase sensitive iirc07:10
ionIn that case, the capital letters are insane. :-P07:10
Keybukno more insane than lower case letters ?07:11
Keybukit's quite justifiable in fact07:11
Keybuksame justification for "Makefile" etc.07:12
Keybuk/S<tab> gives you something systemy, not a file or other directory07:12
ion/v/l/d/i<tab> expands to /var/lib/dpkg/info. I’d personally find having to type /V/L/D/I<tab> instead just annoying. :-) The shell can be made to do a case-insensitive match, of course, but i’d find a case-insensitive filesystem a nicer solution.07:15
Keybukzsh is the default shell in OS X isn't it?07:19
ionDunno07:21
Keybukharaldh: hey07:24
haraldhmoin07:24
Keybukhow goes?07:24
haraldhfine :)07:24
haraldhand for you?07:24
haraldhwill you adopt dracut?07:25
ionWill you adopt update-initramfs? ;-)07:26
haraldh:)07:26
haraldhhmmm... no07:26
haraldhmaybe assimilate :)07:27
Keybukharaldh: I would have thought dracut would be based on systemd now?07:27
ionI’m actually ignorant about their differences. For all i know, dracut may be amazingly better.07:27
haraldhion, "better" is maybe not the right word07:28
haraldhmore flexible maybe07:28
haraldhKeybuk, no07:28
haraldhKeybuk, will not happen07:28
haraldhnot in the near future07:29
haraldhKeybuk, so, I guess you are well informed about systemd :)07:30
KeybukI know it exists ;-)07:32
haraldhbut haven't seen the code yet?07:32
Keybuking-commander systemd% ls07:33
Keybuk99-systemd.rules  device.h                       ratelimit.h07:33
KeybukCODING_STYLE      execute.c                      securebits.h07:33
KeybukLICENSE           execute.h                      service.c07:33
KeybukMakefile.am       fdset.c                        service.h07:33
Keybuk...07:33
Keybuk;-)07:33
haraldh:)07:33
haraldhand what are your feelings about it?07:33
Keybukyou mean aside from the fact it's basically launchd?07:34
haraldhyes07:34
Keybuknone really07:35
Keybukit's a different approach, I think Lennart is wrong for a number of reasons, but I don't have any resentment over him working on it07:35
haraldhok07:35
haraldhbecause he was worried about it07:36
Keybukif he was worried, he would have talked to me about it early on ;)07:36
haraldhwell he did sort of07:36
haraldhtried to talk you into implementing cgroups and stuff07:37
Keybukyeah, and I told him what's wrong with them - and he didn't listen :p07:37
Keybukbut *shrug* Lennart ;P07:37
haraldh:-)07:37
KeybukI think Fedora people have more cause to have feelings than me07:38
haraldhI hope not .)07:38
Keybukfrom my POV, I have guaranteed Upstart users in the form of Ubuntu07:39
Keybukso even if none of the other distros used it, I could still entertain myself maintaining it07:39
Keybukas long as I thought I was right, that is :p07:40
haraldhtrue07:40
haraldhuse what works for you07:40
haraldhthat's my credo07:40
Keybukbut I think Lennart is in for more of a struggle there than he raelises07:41
Keybukit's taken four years to get Upstart into other distributions07:41
Keybukand it had to be proven rock solid stable07:41
Keybukhe's facing quite an uphill battle ;)07:42
haraldhtrue07:42
Keybukanyway, yeah07:43
KeybukI'm quite froody about the whole thing ;)07:43
KeybukI've known about it since November07:43
Keybukso it's not exactly a surprise, though the timing was awkward - as want to make sure we get a positive response out straight after he announces to avoid any community member mudslinging07:43
Keybukon dracut07:44
KeybukI don't think I'll have time to do anything about it this cycle07:44
haraldhkk07:44
KeybukI'd still like to talk to you about it though, as been thinking about what you said at Plumbers, and increasingly think that the right way to go is going to be to include init itself in the initramfs - and pass state into the full system07:45
haraldhhmm07:48
ionI concur07:48
haraldhme207:48
ionHaving a completely different ‘init’ based on whether we have a / mounted yet would seem quite arbitrary in hindsight at the point there’s an init implementation that can handle the switch.07:51
ionAnd completely different ways of getting network up and partitions – root or not – mounted.07:52
Keybukright, they'd become the same07:59
Keybukand if my hunch is correct that we don't need udevd anymroe07:59
Keybukit makes the initramfs really simple07:59
ionIndeed07:59
Mdhow would you load drivers without udevd?08:02
KeybukMd: so, I was drawing a diagram of the plumbing layer08:02
Keybukexplaining what each bit did08:02
haraldhand identify raid signatures?08:02
Keybukand I realised I'd missed udevd off08:02
Keybukand it still worked08:02
Keybukthink about it, what does udevd actually *do*08:03
Keybukit doesn't make device nodes anymore, those are made by the kernel08:04
Keybukit (mostly) doesn't do permissions anymore, those are done by the ConsoleKit ACL helper08:04
Keybukit doesn't directly talk to apps, apps just listen on the netlink socket08:04
Keybukand we have two daemons (init & udevd) listening on the netlink socket and running stuff08:05
haraldhwell udevd broadcasts on the netlink socket08:05
haraldhgiving more infos about devices08:05
Keybuksure, but that info is already in the db08:05
Keybukso an app using libudev has it anyway08:06
haraldhtrue, but it has to be created08:06
haraldhwith all the udev helpers08:06
Keybukah, but does it08:06
Keybukwhat if the udev helpers were instead run the first time an app queried the db?08:06
haraldhon the device?08:06
Keybukthat's a bit more "on demand" than "probe every damned device on boot"08:06
haraldhhmm08:06
haraldhit's like upstart vs systemd :)08:06
haraldhon demand vs event driven :)08:07
Keybuk;-)08:07
KeybukI was actually talking to Apple guys it turns out08:07
Keybukcomparing notes on our respective layers08:07
Keybukso it's no surprise it sounds bit like launchd, err, systemd ;)08:08
haraldh:)08:08
Mdstill, you have not explained what will load the drivers08:10
KeybukMd: as I said, we have *two* daemons *today* that can run things on kernel events08:10
Keybukupstart is quite capable of running modprobe08:11
Mdmaybe assuming a perfect kernel which does not need any fixup rules08:11
Keybukit'd be easier to write those in shell than in udev's evil rules syntax :p08:13
Keybukinteresting thought experiment anyway :p08:15
KeybukI'm not going to start a "de-udev-ification" in maverick <g>08:15
Keybukthough I may experiment towards the end of the timeframe once everything else is stable08:15
Keybuk(in a consider for 11.04 kinda way)08:16
Keybukright bed08:24
=== shan3 is now known as librano
BCMMhow does one control which services are started at boot time?21:53

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