we kinda know the file layout has been a bit silly for a while; we're fixing it and we'd love any comments on file layout approach 10:45 ah, I see xinit @ 10:47 I should have pointed to this: http://bugs.membase.org/browse/MB-3068 ingenthr @ 10:48 gottit xinit @ 10:48 why the /var/opt, /etc/opt, ..? 10:49 on linux, I expect /etc/membase 10:49 /var/lib/membase perhapse for my data 10:49 (like mysql) 10:49 well, that's been part of the controversy, do you follow the FHS, or do you follow convention ingenthr @ 10:50 we've kinda sorta followed the FHS, but it seems the convention of using /var/lib may be preferred by a lot of people 10:50 I don't really like FHS xinit @ 10:51 it seems there are a lot of people who associate /opt with non-Open Source ingenthr @ 10:51 and personally, I kinda do like it 10:51 it's difficult xinit @ 10:52 the only reason /usr/lib/ and /var/lib/ seems to have become okay is because distros don't really reserve it, and it's not /opt ingenthr @ 10:52 /opt is ok, I think xinit @ 10:52 why would you have data in /var/lib ? trondn @ 10:52 yeah, I feel like whatever we chose, 33% of the people will not like it ingenthr @ 10:52 but with /opt, I often see that everything is contained in there xinit @ 10:53 /opt//etc, /opt//bin, etc 10:53 well, I talked with some of the Canonical people and /usr/lib/ is what they tend to tell people to do ingenthr @ 10:53 eeek.. trondn @ 10:53 /usr/lib for data? xinit @ 10:53 not for data ingenthr @ 10:53 data in a library directory doesn't make sense to me... trondn @ 10:53 I'd say /var/lib for that xinit @ 10:53 yeah ingenthr @ 10:53 BSDs have /var/db -- I'd expect to find databases in something like that. Why lib? dsal @ 10:54 yeah, why lib PiotrSikora @ 10:54 technically, it's supposed to be: /usr == UNIX System Repository /var == variable length data /etc == configuration stuff ingenthr @ 10:54 dsal: BSDs have /var/db for internal stuff... mysql & postgres usually live in /var/mysql, /var/postgresql, etc PiotrSikora @ 10:54 /var/membase could work I guess xinit @ 10:55 then you use /opt /var/opt and /etc/opt for the not-included-with-the-distro things ingenthr @ 10:55 but that's just the standard which isn't followed 10:55 yeah xinit @ 10:55 and linux != bsd 10:56 PiotrSikora: That's true. I store my data in /data/* on my FreeBSD box. Once you get a zfs root, it matters a bit less. dsal @ 10:56 IMHO every sane software should be installed like that: /etc/ for configs, /usr/local/{lib,include}/ for libs, etc, /var/ for data PiotrSikora @ 10:56 xinit: yeah, thats why linux sux 10:56 holy war \0/!! xinit @ 10:56 yay PiotrSikora @ 10:56 xinit @ 10:56 PiotrSikora, xinit: would love it if you could give your opinions on the bugs ingenthr @ 10:56 since how others perceive things carries a lot of weight 10:57 eeh.. /usr/local trondn @ 10:57 anyone want to debate $EDITOR now? ingenthr @ 10:57 10:57 I guess it's kind of hard with all the separate distro/os stuff, but if it's possible, go for what everybody else does on that distro xinit @ 10:57 $EDITOR is my favorite. dsal @ 10:57 ingenthr: no one debates $EDITOR.. that's vi trondn @ 10:57 is with trondn xinit @ 10:57 vim 10:58 vi sucks 10:58 Speaking of $EDITOR, it was hard for me not to respond to this yesterday: http://support.github.com/discussions/issues-issues/458-i-cant-commit-changes dsal @ 10:58 This coder has apparently never heard of a text editor. 10:58 he writes his code in Microsoft Word? trondn @ 10:58 hehe xinit @ 10:58 very confusing that a text editor pops up 10:59 wasn't vim probably 10:59 because he was able to type the commit message 10:59 Heh, yeah. I'm assuming it had instructions. dsal @ 11:00 ingenthr: but back to the fs stuff.. xinit @ 11:00 if I would package the stuff, I would configure it like most of the stuff does for a specific distro xinit @ 11:01 so for ubuntu: /etc/membase, /opt/membase and /var//membase? 11:01 well, to be honest this directories discussion is quite pointless... every OS/distro out there use different schemas, so all package makers will override your settings to match "system defaults" anyway PiotrSikora @ 11:01 haven't touched a redhat box for a long time xinit @ 11:01 PiotrSikora: what if you make the packages 11:02 that was the whole point I think 11:02 then you should know what is schema for your target OS PiotrSikora @ 11:02 xinit: I agree with you, but even then there isn't consistency. thus I asked the distro folks what to do and at least Ubuntu folks said /usr/lib/ /etc/ ingenthr @ 11:02 xinit: the whole point was about making universal schema (IMHO) PiotrSikora @ 11:02 PiotrSikora: don't agree with you there.. xinit @ 11:03 ubuntu admins != freebsd admin 11:03 per se 11:03 well, I'm okay if it's not universal, but even picking one thing per Linux distro seems to be a problem ingenthr @ 11:03 true xinit @ 11:03 bind9 on ubuntu does /var/cache/bind 11:04 /var/cache sounds good for membase 11:04 heh ingenthr @ 11:04 dhcpd does /var/lib/dhcp3 xinit @ 11:04 most stuff uses /var/lib/ 11:04 xinit: you don't agree with what exactly? you've lost me ;P PiotrSikora @ 11:05 PiotrSikora: that it should be universal xinit @ 11:05 that's where FHS is for, but it's not used anywehere 11:05 no, no... i never said that PiotrSikora @ 11:05 aah, right xinit @ 11:05 soryr 11:05 doing 2 things at the same time 11:05 11:05 so, PitorSikora and xinit, on Linux you think: /var/lib/ /etc/ /var/ ingenthr @ 11:05 and I'm a guy xinit @ 11:05 I can't 11:06 ingenthr found that about FHS. There's the things they tell you that they wish you would do and the things that they tell you that you should do. dsal @ 11:06 i said that membase tries to make it universal and i say that there is no point because package-makers will use schemas for their OS anyway PiotrSikora @ 11:06 what's in /var/? xinit @ 11:06 PiotrSikora: yes, I agee with you there 11:06 ingenthr: what would be in /var/lib/ ? PiotrSikora @ 11:07 PiotrSikora: binaries ingenthr @ 11:07 noo xinit @ 11:07 what? PiotrSikora @ 11:07 in var? 11:07 that's insane, even for Linux 11:07 oops, sorry, I mean data ingenthr @ 11:07 ;P PiotrSikora @ 11:07 thought i saw usr ingenthr @ 11:07 [20:05:54] /var/lib/ PiotrSikora @ 11:08 [20:05:54] /etc/ 11:08 [20:05:54] /var/ 11:08 is this correct? PiotrSikora @ 11:08 binaries in /usr/{lib,include,bin} xinit @ 11:08 data in /var/lib/ 11:08 the data is the part that's up in the air to me ingenthr @ 11:09 yeah, data in /var/membase PiotrSikora @ 11:09 but i don't get /var/lib/ part... unless it was a typo? 11:10 mysql does that by default there on ubunut xinit @ 11:10 and a lot of other apps 11:10 to the Ubuntu folks, this is perfectly okay, even if you conflict with stuff the distro may ship ingenthr @ 11:10 a lot of ubuntu packages store their data there xinit @ 11:11 as it seems 11:11 yeah ingenthr @ 11:12 not so many directly under /var xinit @ 11:12 PitorSikora: that is correct ingenthr @ 11:23