/srv/irclogs.ubuntu.com/2008/06/10/#ubuntu-server.txt

maw_is likewise-open the best option for AD authentication/services?01:50
jjessemaw_: that's what ive heard but never used it01:56
jjesseso i cant tell you01:56
maw_ya I briefly tried it and it mostly owrked out of the box01:59
nxvlkirkland: ping02:14
kirklandnxvl: hey, how are you?02:14
kirklandnxvl: got your email, thanks for helping02:14
nxvlkirkland: fine, did you reveived my e-mail?02:14
nxvlthat's what i was wondering02:14
nxvl:D02:14
nxvlso02:15
kirklandnxvl: so i added a section to https://wiki.ubuntu.com/EncryptedPrivateDirectory , "Getting Involved"02:15
nxvlany update, branch or page?02:15
nxvlice02:15
* nxvl checks02:15
nxvlnice*02:15
kirklandnxvl: i'm doing all of my work upstream, with the maintainer's git repo02:15
kirklandhe's responsive (and a friend of mine), i submit patches to the list, he applies to the upstream repo02:16
kirklandwhen he rolls a new version, the debian maintainer creates a new debian package02:16
nxvlsound good02:17
kirklandnxvl: i'll ping the debian maintainer if it lags a week or so02:17
nxvljust code not packaging02:17
nxvl:D02:17
kirklandnxvl: well, actually, the next thing to do is MIR for ecryptfs-utils02:17
kirklandnxvl: have you done MIR's before?02:17
jjesseis a MIR a main inclusion request?02:17
kirklandjjesse: yes02:18
jjessetrying to learn the lingo02:18
jjesseheard that a lot in here02:18
nxvlwe will need to work on some firefox, ssh and gpg packaging for the .$package directories02:18
nxvlkirkland: i have participate in some02:18
kirklandnxvl: cool, so i think we need to MIR ecryptfs-utils, and two of its dependencies, trousers and pkcs11-helper02:19
kirklandnxvl: links on the https://wiki.ubuntu.com/EncryptedPrivateDirectory page02:19
kirklandnxvl: i have placeholder MIR pages for all 3, not filled out yet02:19
kirklandnxvl: can you help with that?02:19
nxvlok02:20
nxvli have 2 hours in a really boring class02:20
nxvlso i have 2 hours to work on it02:20
nxvl:D02:20
* nxvl starts02:20
kirklandnxvl: ;-)02:21
nxvlkirkland: you have just copy & paste the template, didn't you?02:23
kirklandnxvl: yup02:23
nxvlbtw, did you got any answer from the hotel about you camera?02:23
ajmitchmore lost/stolen stuff from UDS?02:24
kirklandnxvl: they don't have it :-(02:24
kirklandajmitch: yeah, missing camera, left on the piano on the 3rd floor02:24
ajmitchit could be worse, like montreal02:25
* ajmitch lost laptop bag during breakfast, left table for only a minute or so02:25
jjesseajmitch: sorry to hear about that, that sucks02:25
ajmitchjjesse: yeah, it was more than 2 years ago now, rather annoying at the time02:26
jjesseah missed scroll02:26
jjessethought it was breakfast today02:26
ajmitchnope, my laptop is on the desk beside me here :)02:26
ajmitchI was just recalling UDS back in montreal02:27
jjessewow you have had terrible luck with uds02:28
kirklandajmitch: did you have your drive encrypted?02:28
ajmitchno, so I got gpg keys revoked & replaced02:28
ajmitchat least I had people around who could sign a new key02:29
ajmitchthis is a good reason for the spec mentioned above :)02:29
kirklandajmitch: you would have benefited from an encrypted ~/Private directory, with your gpg keys there ;-)02:29
ResistolHi all - I've never worked with a server before, and I have to set one up at my job that will serve about 10 PCs for now - Think a linux server would be as easy to setup/work with as windows server 2003?02:31
kirklandResistol: serve what?02:31
kirklandnxvl: okay, i've subscribed to all 3 of those MIRs...  you wanna do the same, so that we stay in sync?02:32
jjesseResistol: depends on what you want it to do02:32
ResistolFor right now, it would really just have shared folders and permissions to take care of, with an office housing about 10 windows pcs02:32
jjessewith samba you could do it02:32
jjessethough sharing would be natively done w/ windows 2003 server02:32
Resistolso it would be a file server, maybe a printer server02:32
jjessedepends on if you have an extra license of server 2003 or not02:33
nxvlkirkland: yep i will in a minute02:33
kirklandResistol: yup, samba02:33
nxvlppc is still supported?02:33
ResistolThe thing with windows is the licenses are thousands of dollars, which is crap02:33
kirklandnxvl: by the community02:33
nxvlkirkland: i mean officialy (that's what we care about)02:33
jjesseResistol: that's why i asked if you had the extra license or not02:33
kirklandResistol: you're looking in the right place, then.  Linux is free ;-)02:34
jjesseif you odn't then yes you can meet the needs of sharing files and folders out via samba02:34
kirklandnxvl: yeah, not for our purposes02:34
nxvlkirkland: so only i386 and amd6402:34
Resistolthanks guys - here's i guess the more important question then - which linux distro makes setting up a simple server easiest?02:34
nxvldidn't it?02:34
kirklandnxvl: right02:34
kirklandResistol: well, we're a bit biased here ;-)02:35
kirklandResistol: perhaps this wiki page will help you: https://help.ubuntu.com/community/SettingUpSamba02:35
Resistolhah i figured kirkland, i've seen a lot of forums mentioning fedora - but i mean I only have about 4 months experience with linux, and i just used Ubuntu Hardy as a desktop - no server stuff02:36
kirklandResistol: if you're using Ubuntu on the desktop, and it's going well for you, you should be able to handle the server fine too ;-)02:37
jjesseif you feel more comfortable with needing a GUI then you could use a hardy desktop install and then could configure samba that way if you wanted to02:38
ResistolThanks kirkland - is the file sharing and permissions stuff all working now in hardy?  When I tried the "right click -> share this folder" method using a Hardy Beta version a few months ago, none of it was working right02:39
nxvlbrb02:39
ResistolOh, and is there a GUI for setting up an FTP server?02:39
ResistolI used Serve-U on my windows 98 box about 9 years ago, but haven't touched anything like it since then.02:41
jjesseResistol: with the installation of ubutnu server there is no desktop, no gui02:41
jjesseResistol: so if that is important, you can install ubuntu-server then sudo apt-get install ubuntu-desktop to get all the graphical stuff02:42
Resistolthanks jjesse - could i do it the other way around?  Start with desktop and add in server after?02:43
kirklandResistol: sure, you can just install the server packages you need02:43
nxvlkirkland: i have no ecryptfs-setup-confidential binary02:47
ResistolIs it easy to setup virtual machines and "play network admin" ?  I think it would help me to practice by having maybe 5 virtual PCs that I could try to create a network for02:47
nxvlkirkland: or i need to reboot my computer or something02:47
ResistolAnd can Linux do roaming users?02:47
JessicaHi Folks.  I'm trying to get vnc up and running.  I've found this:  http://www.ubuntu-unleashed.com/2007/10/setup-vnc-server-for-ubuntu-gutsy.html, and it seems to work well except it needs me to start a session -after- i log in.  I'd like to be able to connect using VNC, and then login.  Can anyone help?02:47
ajmitchJessica: I believe it may be possible to configure gdm to allow remote access with Xvnc02:53
Jessicaok, so "sudo gdmsetup"?02:53
* ajmitch isn't sure how supported that option is, it's been a few years 02:54
ajmitchyeah, you can look in there02:54
Kamping_Kaisernot really a server question is it?02:54
ajmitchKamping_Kaiser: depends, it's setting a system up as a terminal server of sorts02:55
Jessicakamp, i'm running it on server.  sorry if I'm in the wrong place.02:55
Kamping_Kaiserajmitch, by the time is 'go configure gdm' i dont think heres the place anymore ;) (thats just imo of course ...)02:56
Jessicabut regardless, think of it this way.  I'm one more user you can sway away from Darth Gates...  "feel the force, Jessica"....02:56
nxvlkirkland: nevermind i was testing on my hardy machine, just found it02:56
Jessicaso, does one of you nice jedi knights want to help me get it working?02:57
* ajmitch has given the extent of his outdated knowledge on that topic :)02:57
Jessica*smiles*02:57
ViTahi03:09
ViTaenyone talk un spanish?03:09
kirklandnxvl: yeah, this is intrepid only03:12
Kamping_KaiserViTa, #ubuntu-es ?03:13
kirklandnxvl: but there's a newer version03:13
nxvlkirkland: i have my intrepid image up and running03:14
kirklandnxvl: i'm waiting on the debian maintainer to package the -46 version03:14
nxvlkirkland: so i'm testin there03:14
nxvltesting*03:14
kirklandnxvl: cool, there's some better features/fixes in the 46 version03:15
kirklandnxvl: check out the git repository03:15
nxvlok03:15
nxvlwill check03:15
kirklandnxvl: you could really just pull those scripts out of the git repo03:18
kirklandnxvl: or just wait for the package sync's to happen03:19
kirklandnxvl: i emailed the debian packager today03:19
nxvlit's a problem to be the only packager in my country03:29
nxvli will be the only one running the Global Bug Jam while teaching the people how to package03:29
keeswell that's why I got work done today, my virus scanner broke and 4xx'd all my afternoon email.  *sigh*04:19
nealmcbkees: it's a feature....04:20
keesnealmcb: heh, totally04:20
ajmitchI've heard that one before...04:20
keestotal PEBCAK too.04:20
emgenthello04:45
=== lamont` is now known as lamont
aslanhey all....   anyone know of an app/script that will diff files on two remote servers?06:01
owhaslan: Are both the files on the same server, or are you trying to diff between two servers?06:06
aslanowh: between two servers.06:16
aslanI had a perl script at one time that did it.06:16
aslanbut I can't find it again...06:16
pteagueat work it looks like i'm going to have to use vmware server to set up *buntu as my desktop at work... winders is required as the base OS :(  anyways, i was wondering if jeos kernel might cause any problems with being used for the desktop?06:45
owhpteague: Interesting question. Never tried it.06:47
milestonehi all06:47
milestonehow can i determin the character encoding of a textfile06:48
milestonelike iso or utf06:48
pteaguewas just wondering because somebody mentioned to me that server kernel probably wouldn't be a good idea for a desktop due to the differences in the way they handle instructions or something06:48
owhpteague: Hmm, well, first of all the JEOS kernel != server kernel. Second, a kernel is generally compiled based on the hardware on which it is expected to run, so you might not expect a web-cam or a graphic tablet on a server, but you would on a workstation. As for handling instructions, I'm not sure what you or "somebody" was trying to say.06:52
=== _ruben__ is now known as _ruben
=== klaf is now known as afk_away
=== afk_away is now known as klaf
=== klaf is now known as folke
krautmoin08:41
CrummyGummyHi all, I have a process running /USR/BIN/CRON. Now that file doesn't exist anywhere. Is that normal?09:40
CrummyGummyI think I've got a reinstall coming my way.09:41
InsomniaCityCrummyGummy: to me that would be a sign my box has potentially been compromised..09:55
CrummyGummyInsomniaCity: Thanks, I'm treating it like that at the moment. Somehow my one eth has been renamed as well. Its all very suspicious.10:00
_rubenmessages with /USR/BIN/CRON in the logs are cronjobs10:13
CrummyGummyMessages in ps aux?10:18
_rubenmost likely the same .. not have that many long-running cronjobs .. so cant double check atm10:19
CrummyGummyI'm  watching for more but this job has been running since May 6.10:52
CrummyGummy_ruben: Your right,  its a stuck cron job. Wierd though.11:00
RockHoundhi everyone ... a little off topic, but how do you manage your ssl certificates sanely?11:06
=== folke_ is now known as folke
folkeIs there any news about vmware-tools and hardy?12:22
folkeOr must we still use any-any patch?12:24
folkeOr perhaps is it more safe to use gutsy12:32
ivokshi all12:35
sommermorning ivoks12:39
ivokssommer: it's almost 2PM :p12:39
sommerheh, feels like the day is just beginning12:41
MDFCola alguem poderia me ajudar na insalação do ubutu13:17
ivoksright...13:20
MDFCleft13:20
RockHoundfolke: vmware-tools can be used with openvmtools ... vmware server modules is a different story.13:20
RockHoundivoks: any news about the openldap update/patch?13:21
MDFCdo you speak portuguese13:21
MDFCgood vmware it?s crazy...very crazy13:21
MDFCshet...13:22
MDFCsee...13:22
MDFCatention..13:22
ivoksRockHound: zul is taking care of it...13:22
RockHoundthx13:22
ivoksRockHound: i'm not sure what's the decission :/13:23
MDFCsomebody would know here to say as I install ubutu somebody says Portuguese here13:24
ivoksMDFC: english only; try ubuntu-br13:24
MDFCyes13:25
MDFCface thanks a lot plus you saying only in English I do not obtain to understand everything I go to look a room in Portuguese13:27
ivoksMDFC: ubuntu-br should be a good start13:28
MDFCwhich its country13:29
ivoksbrasil13:29
MDFCfala em português13:30
MDFCou melhor escreve em português13:30
MDFCok obliged until more seeing13:31
_rubenhmm .. iscsi is sweeet .. now to figure out how to properly get them targets automounted :)13:46
ScottK-palmWhat time is ther server team meeting today?14:00
ivoks15 UTC14:00
ivoksin 2 hours14:01
* ScottK-palm got called away for $WORK.14:01
=== jjesse_ is now known as jjesse
* ScottK-palm will read the logs and hopes specs will get discussed even though je's not there.14:02
ScottK-palmje's/he's14:02
lukehasnonamebe there14:03
lukehasnonameit's that simple14:03
* ScottK-palm may be able to get online at the customer site, but definitely don't wait.14:04
ogra$WORK is overrated ... just fills your fridge and you have to see how to get rid of all that stuff again :P14:04
ScottK-palmGood luck.  See you later.14:05
_rubenah .. changing the order of bootscripts did the trick14:06
leonelogra: the other way is to wait for the fridge stored things evolve an get out by them selves ..14:11
ograuuuh14:12
ograthe problem with that is that you cant really use the fridge during that growing period14:12
leonelright14:12
lukehasnonameIt's quiet14:45
lukehasnonametoo quiet14:45
lukehasnonameWatch out, Fox, it's a trap!14:45
pteague_worki don't like using windows as a base, but at work i'm currently stuck with it...  the box is a core 2 duo... any ideas as to whether i should set up my linux virtual machine under vmware as having 1 cpu or 2?14:46
lukehasnonameDoes vmware have trouble running multicore VMs?14:47
_ruben2 hardly ever gives performance improvement over 1, it actually decreases performance most of the time14:47
pteague_worki don't know on vmware with multicore14:48
_rubenstart with 1 vcpu, and if performance is a problem, you could try with with 2 vcpus, but dont expect wonders or even anything from it14:49
pteague_workk, sounds like you know what you're talking about, which was what i was looking for :)14:49
lukehasnonameouch :(14:50
_rubenpteague_work: its rather logical ... 1 vcpu : your vm only requires 1 real cpu to be avail .. 2 vcpu : your vm requires 2 real cpus to be available ... available as in free cpu cycles14:52
_rubenquite a difference is scheduling overhead14:52
pteague_workwell here's the issue... at work i'm forced to use windows because somebody else may have to use my machine (i'm not sure how they'll be able to figure out to get vmware out of full screen mode, but that's another issue)...  so i'll be using vmware to install ubuntu & then using that as my desktop14:53
pteague_worknot sure if i'll set up any other virtual machines or not14:54
Zubbbhello, someone is using hardy php5 (version 5.2.4-2ubuntu5.1)? it seems like it has a bug interpreting HEREDOC string syntax... can someone try and see if this ( http://pastebin.org/42803 ) runs well on it?14:55
psufanis there a command to regenerate the stock ftp or http urls for sources.list14:56
_rubenpteague_work: 1 or more vms isnt really the issue (but does mittigate it a bit), the vm will also have to compete with your host os for cpu cycles14:56
psufanI want to fire off the command at the last minute during the install in my kickstart14:57
psufanelse the stupid kickstart or ubuntu installer makes sources.list point to the local pxe boot server which won't be around14:57
_rubenpsufan: why not just stash the default sources.list on ur http/ftp/nfs/whatever server and copy it over ?14:57
psufani'm afraid of having to document those steps :P14:58
psufanbut I guess if I got no choice14:58
_rubenpsufan: im guessing the file's created by the installer, and those commands might not be available in a running system14:58
CrummyGummy:q14:58
CrummyGummyeish14:58
_ruben:q!14:58
psufanwell I don't know that but it would be easier to give them a working install14:58
CrummyGummywrong window14:58
lukehasnonameWould it be beneficial to me to use JeOS on a xen environment? It's touted as omptimized for KVM and VMware.15:00
_rubenlukehasnoname: i'd say it does .. it uses a kernel with virtualization in mind, and a very small (disk and memory) footprint15:01
lukehasnonamecool, I figured its slim size would help in any case. Now, it still has all server functions available, just a minimized footprint due to less drivers, streamlined kernel?15:02
_rubenlukehasnoname: yeah .. and low HZ and stuff15:04
pteague_workah, JeOS... that brings up a question i asked last night... would the kernel be ok to run a desktop?  i.e. should i set up my vmware desktop using jeos & 1 of the desktop live CDs?15:05
_rubenpteague_work: that'd be a bit of a corner case .. im *guessing* it'd work, but wouldnt know for sure15:06
pteague_workk, i'll stick with the desktop then15:07
lukehasnonameAlso, xen vs. kvm: Your opinion.15:07
lukehasnonameor abstain, but back up your statements if you can15:08
_rubenthe choice between any virtualization product depends on both personal preference, technical requirements and budget15:08
lukehasnoname_ruben: google is my friend. Looking at http://kvm.qumranet.com/kvmwiki/FAQ, kvm supports live migration, which is good. It also seems to be less blky (so it claims).15:14
lukehasnonameits advantage is that it's supported (as in advocated) by the core linux community. However, I have a book on xen, soooo... >_>15:14
lukehasnonameblky/bulky.15:15
owhHow quaint, lukehasnoname has a book.15:16
owh<grin>15:16
lukehasnonameerm, ebook o_o Seriously, I learn better from books that are professionally written and on paper. eBooks are alright, but real books are just better for me. FreeBSD 6 Unleashed, Ubuntu Server Administration, C# 2.0...15:18
lukehasnonameNot that I don't have some really helpful ebooks... about 300 of them15:18
_rubenlukehasnoname: im more of a vmware person myself, but like already stated: its a matter of personal taste among other things15:18
* owh put all books into storage before starting a trip around Australia, now all books are on a mobile phone :)15:19
_rubenstill hoping on getting a decent arrangement with vmware for their esx hosting product .. otherwise we might have to resort to using m$ hyper-v or some shit15:19
owh_ruben: I have been a VMware "person" for a while also, but since support seems to be decoupled from the kernel version, I'm beginning to regret it.15:20
_rubenowh: not sure what you mean?15:20
owh_ruben: Well, from a maintenance perspective it needs to be apt-get installable, but the lag between release is getting ridiculous.15:21
lukehasnonamebut omgz0rz vmware isn't FOSS!!!111!!one! I would like to keep in line with the "libre" philosophy, whenever practical. Owh: Ya, That's why my paper:ebook ratio is about 1:10. I move a few times a year.15:21
lukehasnonameHave either of you TRIED xen or kvm before? Had any experience to reflect on?15:21
_rubentried both, but never on decent hardware .. didnt like them very much15:21
_rubenvmware is *very* strong in its management toolset15:22
owhI realise that there are those who install from source, but the skill of developers leaves me with little confidence that their make install doesn't overwrite stuff without notification.15:22
owh_ruben: Yes, I'll grant you that.15:22
* owh suspects that since Ubuntu has gone the kvm route, some stuff will begin to happen there too.15:22
_rubentrue15:23
* owh has not yet had a spare moment to actually start looking at kvm in anything other than a cursory fashion.15:23
cemoihi15:23
_rubenbut xen and kvm are still a bit "tricky" when it comes to virtualize windows systems15:23
cemoidon't speking in french here?15:23
owhcemoi: CaVa?15:23
CrummyGummyHi again. Any ideas why udev would keep renaming my nics?15:23
_rubenonly english here15:23
cemoimm15:24
_rubenCrummyGummy: under which circumstances does the renaming happen ?15:24
cemoino french suport for the ubuntu server15:24
cemoi?15:24
lukehasnonamexen has a better name though. The letter "x" represents "coolness". Point taken, owh, and my point as well. kvm is now an official part of the kernel, so it should be supported and documented well.15:25
owhcemoi: Well, if you have a question and you're French, then we can help you.15:25
cemoiok thank's a lot15:25
owhcemoi: Even if you we're Canadian :)15:25
owhcemoi: Or Dutch even.15:25
cemoiuu o_O15:26
cemoipas français alors?15:26
=== folke_ is now known as folke
owhNope, je parle une petit Francais, but my keyboard doesn't support it :)15:26
cemoimm ok15:27
owhs/petit/petit peu/15:27
Deeps!fr15:27
ubottuCe canal est en anglais uniquement. Si vous avez besoin d'aide ou voulez discuter en francais, merci de rejoindre #ubuntu-fr ou #kubuntu-fr15:27
* _ruben hasnt spoken french since high school, even that hasnt been *that* long15:27
owhC'est bien Deeps :)15:28
owhMy French is from the same schooling system as yours _ruben :)15:28
_rubenowh :)15:28
owhAnd German too :)15:28
_rubengerman class i dropped the moment i had a chance15:29
Deepsje ne parle francais15:29
_rubenfrench was next15:29
cemoimm ok ok15:29
CrummyGummyI've update /etc/udev/rules.d/70-persistent-net.rules but it doesn't seem to be assigning the right names to network cards.15:29
cemoiI try to learn more about the introduction of quotas on a server webdav es que ubuntu server expect something?15:29
owh_ruben: Ditto.15:29
_rubenDeeps: indeed, since even that line is wrong :)15:29
lukehasnonameParla vos anglese?15:29
_rubenits: je ne parle pas francais15:29
_rubenafaik15:29
* Deeps shrugs15:29
Deepsi can understand better than i speak ;)15:29
_rubenhehe15:29
Deepsmy gf's belgian and her family only speaks a bit of english and spanish, so i've had to learn a lot15:29
Deeps(cuz they speak french)15:29
_rubenbelgian's are "odd" that way :)15:30
Deepsvery easy to understand though15:30
Deepsmuch easier than the french i've found15:30
Deepsthe accent, at least15:30
Deepsfrom an spanglish perspective, anyway15:30
cemoiwe don't no?15:30
cemoiyou don't no sorry15:30
_rubenCrummyGummy: nuking that file will have it recreated at next boot .. and shouldnt change unless there's any hardware changes15:30
owhcemoi: To get to the point, what issues are you having?15:31
CrummyGummyWow, huge lag.15:33
CrummyGummyreading...15:33
CrummyGummyI just restarted udev and it renamed eth0_rename to eth0_rename_ren15:34
CrummyGummyThat should've been eth0 in the first place. The mac address is right.15:35
cemoiowh, It can not inherit quotas on the file system by users as an FTP server. The webdav does not support it we can not therefore not limit users in quantities of data through the quotas.15:35
owhAnybody got any suggestions for cemoi about this?15:35
uvirtbotNew bug: #238872 in php5 (main) "php5 fails to interpret a valid script using heredoc string syntax" [Undecided,Confirmed] https://launchpad.net/bugs/23887215:36
* owh has not played with quota's15:36
* _ruben never worked with quotas15:36
_rubenheh15:36
owhI'm intrigued by that bug report.15:36
_rubenCrummyGummy: restarting just udev is a tad tricky .. a full reboot usually does a better job at renaming such things15:36
CrummyGummyI though I had it fixed. Rebooted and it was back to wierdness.15:37
cemoithe problem is that a user just very well overwhelm the disc then it has no limits15:37
CrummyGummyhttp://www.pastebin.ca/104388415:38
CrummyGummyGonna reboot and see what happens.15:38
owhHmm, well that php bug seems to also not work for me, that's a first :)15:38
cemoithere are people who have servers webdav under ubuntu here?15:42
uvirtbotNew bug: #238878 in likewise-open (main) "Change likewise-open default Domain separator" [Undecided,New] https://launchpad.net/bugs/23887815:46
cemoimm :,(15:48
owhcemoi: Don't despair. Send your question to the ubuntu-server list and see what response you get.15:49
cemoiforum exist?15:49
lukehasnonameubuntuforums.org15:50
cemoifor servers only15:51
lukehasnonamealso the mailing list, ubuntu-server@lists.ubuntu.com15:51
cemoithis will be equivalent to this but for openoffice15:51
cemoihttp://workspace.officelive.com/?lc=1036&cloc=fr-FR15:51
cemoiok15:51
CrummyGummy_ruben: This is like a lottery. Every time I reboot my if devices are named differently.15:51
lukehasnonamea lot of server devs read that list15:51
_rubenCrummyGummy: strange15:51
cemoiok ok thank's15:51
CrummyGummyIt worked last time. The last 2 times its different.15:52
* owh wonders if there is a log that shows what is renaming things for CrummyGummy15:57
nealmcbserver team meeting in #ubuntu-meeting now16:00
CrummyGummynealmcb: Are you involved in the commercial side of things?16:01
ScottK2Maybe dendrobates will come to the meeting and talk about specs since mathiaz bailed out on us.16:04
owhScottK2: Actually bailed, or just freenode fun?16:05
ScottK2All the same to me.16:05
ScottK2nijaba claims he's coming.16:05
owhWell, one is intentional :)16:05
CrummyGummyis #ubuntu-meeting  closed?16:06
lukehasnonameno16:06
CrummyGummyso I can lurk?16:06
owhCrummyGummy: You bet16:06
CrummyGummycool16:06
ograyou can even speak if you want:)16:06
CrummyGummymore cool16:07
CrummyGummyaaarg, nuf with the udev renaming already.!!!!16:07
thefishanyone here use fwbuilder?16:23
InsomniaCityplayed with it many years ago16:24
thefishits really useful most of the time! im getting some pain from it, trying to send a firewall, and its adding ? to the command :/16:27
InsomniaCitywell, you could always post-process it and strip the ?s16:30
jerohi16:32
jerodoes anyone know why apache2 is not honoring "HostnameLookups Off" on 8.04 ?16:35
jerothus logging with ip resolved to names16:36
thefishInsomniaCity, ye, not ideal though :/16:36
InsomniaCityjero: are you doing it in the right vhost/dir/whatever?16:38
jeroInsomniaCity: it is in the global section16:38
mathiazjdstrand: could you drop by #ubuntu-meeting16:39
mathiazjdstrand: ?16:39
keeskirkland: I actually think a more correct fix (for the next upload, I just uploaded your other patch now), would be to do a 2>/dev/null || true on the "." lines16:48
keesi.e.   . ~/.selected_editor 2>/dev/null || true16:48
keesin both places where it's done16:48
kirklandkees: interesting....  okay16:48
kirklandkees: i was purposefully trying to avoid touching sensible-editor again16:49
kirklandkees: but that looks clean too16:49
keesthat way it'll catch stupid race conditions where -r is true, the file is deleted, and then it sources it.16:49
keesyeah, do it for the next upload, or keep it on the TODO list -- getting it into the "best" possible shape is fine even if it takes a few uploads.  :)16:50
kirklandkees: i have the source in front of me16:50
kirklandkees: i'll just debdiff again16:50
jeroanyone has apache2 running and noticed it does not respect the HostnameLookups directive ?16:51
matrixhello16:52
kirklandkees: patch attached to the bottom of https://bugs.edge.launchpad.net/ubuntu/+source/debianutils/+bug/238879 fixing the issue you just mentioned17:04
uvirtbotLaunchpad bug 238879 in debianutils "sensible-editor fails when there is only one alternative" [Low,Fix released]17:04
kirklandkees: (potential issue)  :-)17:04
mathiazKoon: not problem17:05
mathiazKoon: the color means how long since the last merge IIRC17:05
mathiazKoon: or may the priority of the package17:05
mathiazKoon: anyway - it's not so relevant17:05
matrixhow can i block avi files with FilesMatch  on ubuntu ?17:05
mathiazKoon: I'd suggest that you start by the universe list of outstanding merge17:06
mathiazKoon: and pick a package that you're interested in17:06
Koonmathiaz: sure17:06
mathiazKoon: I'll go through the list today and send a selection of packages you could start working on17:07
mathiazKoon: some of the merges are easier than others17:07
keeskirkland: doing that in ()'s means the "." would happen in a sub-shell17:07
kirklandkees: ew, and not bubble up17:07
Koonmathiaz: ok, I'll catch your mail when I start tomorrow17:08
Koonsee you all tomorrow17:08
keescya Koon17:08
psufanis there a command to regenerate the stock ftp or http urls for sources.list17:09
psufanI want to fire off the command at the last minute during the install in my kickstart17:10
psufanelse the stupid kickstart or ubuntu installer makes sources.list point to the local pxe boot server which won't be around17:10
kirklandkees: testing it out here, looks like I can just remove the parens17:10
kirklandkees: order of operations holds as is17:10
keeskirkland: okay, cool17:13
kirklandkees: updated patch attached to that bug17:13
kirklandkees: thanks for the immediate reviews ;-)17:13
keeskirkland: no problemo :)17:13
keeskirkland: changelog has "hardy" rather than "intrepid".  :P17:15
kirklandkees: arrggggggg, sorry17:16
kirklandkees: vim really needs to be patched :-/17:16
keesvim?  "dch -i"  :P17:17
kirklandkees: attached to bug17:19
kirklandkees: well, vim is still highlighting "intrepid" as erroneous17:19
kirklandnxvl has a bug and a patch for that one17:19
keeskirkland: hm, my vim doesn't do that...17:26
kirklandkees: are you running intrepid or hardy?17:26
keesintrepid17:27
kirklandkees: well, i'm still on hardy on my laptop17:27
keesah-ha, okay17:27
kirklandi'll be switching to intrepid soon17:27
mathiazkirkland: you can use chroots to do your work17:28
kirklandmathiaz: i set up pbuilder, but I ran into some issues17:29
kirklandmathiaz: i need to give that another shot17:29
mathiazkirkland: I'm using schroot17:29
keesmk-sbuild-lv!  :)17:29
kirklandmathiaz: wiki page for setup instructions?17:30
mathiazkees: do you have more than one chroot per release ?17:30
mathiazkees: ie have an intrepid and intrepid-sbuild chroot ?17:30
mathiazkirkland: https://help.ubuntu.com/community/SbuildLVMHowto?highlight=(Sbuild)17:30
kirklandmathiaz: ah, yes, sbuild17:31
keesmathiaz: I have 1 chroot per release per arch, so i386 and amd64 of dapper, feisty, gutsy, hardy, intrepid17:31
mathiazkees: I've started to use chroots to work in it but found that it lacks some tools17:31
keesmathiaz: and the same again in kvm.  :P17:31
mathiazkees: so I've started to install the default tools in the chroot -source17:31
keesmathiaz: ah-ha, yeah17:31
mathiazkees: but then build dependencies can be wrong and not detected17:32
keesmathiaz: since my main machine is intrepid, I just do dev work there17:32
eixany idea why I can only see 438MB of RAM when having a 1GB module installed?17:32
keesmathiaz: I like that approach.  even more disk space used!  :P17:32
eixwell..various modules up to 1GB17:32
mathiazkees: such as - I have debhelper installed in my -sources but I'd like to have sbuild use a minimal chroot17:32
mathiazkees: how do you do dev work for -dapper for ex ?17:32
mathiazkees: or to put it another way - have you ever been bitten by the fact that your -source chroot have more packages than the ones installed on the buildds ?17:34
eixthis is my "free -m": http://rafb.net/p/zGSQxJ23.html17:34
keesmathiaz: almost all the work I do for non-devel is patching, so the deps don't change.  if I'm in a situation where I need to repeatedly build stuff, I'll just enter a schroot and install the deps first and do work until I'm done.17:35
keesmathiaz: my workflow for those things isn't improved much by having a separate chroot with lots of stuff pre-installed17:35
mathiazkees: ok - but your -intrepid chroot is minimal17:36
keesmathiaz: right17:36
keeseix: a lot of things could contribute to that.  I'd start by finding the "Memory:" line in your dmesg or /var/log/kern.log file17:37
keeseix: Memory: 8100612k/9109504k available (2466k kernel code, 204488k reserved, 1309k data, 316k init)17:37
keessee if "reserved" is huge17:37
keesif that's the case, check your BIOS settings17:37
keesbeyond that, it's pretty hardware-specific17:37
eixkees: let me check that17:37
keeseix: also, see "sudo lshw" and look for DIMM entries17:38
danshearerhello all. Has the topic of 'should we install syslog-ng as default syslogger' ever come up?17:38
mathiazdanshearer: I've looked into that some time ago17:38
mathiazdanshearer: I'd rather go with rsyslog17:38
eixkees: Memory: 441072k/457664k available (2255k kernel code, 16052k reserved, 1032k data, 384k init, 0k highmem)17:39
mathiazdanshearer: syslog-ng syntax is not compatible with sysklog17:39
mathiazdanshearer: and the license is a bit of a problem (dual licensed)17:39
mathiazdanshearer: the licensing is a minor issue though17:39
danshearermathiaz: not quite so, the license is a problem because it is GPLv2=17:39
eixkees: in lshw I can see some UNCLAIMED memory blocks...that looks creepy17:40
danshearermathiaz: so it is difficult to integrate components from projects like Samba17:40
mathiazdanshearer: OTOH rsyslog is GPL and the syntax is compatible with the current syslog syntax, which means it's easier to upgrade17:40
mathiazdanshearer: GPLv2= for rsyslog ?17:40
danshearermathiaz: I didn't realise rsyslog was a contender, at a quick look it does what I'm looking for17:40
danshearermathiaz: there are two main points I think: backends into databases and very simple active-active failover config17:41
mathiazdanshearer: I've looked into rsyslog last year when fedora went with it17:41
mathiazdanshearer: there are a couple of threads on the fedora mailing list when they compared syslog-ng and rsyslog17:41
eixkees: lshw -> http://rafb.net/p/tWj9yb95.html17:41
danshearermathiaz: I think Ubuntu Server should be shipping as many active-active failovers as possible out of the box17:42
mathiazdanshearer: both are available in ubuntu universe17:42
danshearermathiaz: I'll go and look!17:42
eixANY IDEA why I have a disabled CPU and RAM?17:43
danshearermathiaz: btw in the context of syslog active-active means all systems log to all sysloggers, but no duplicates are stored17:43
eixok, the CPU slot is empty - that's ok17:43
danshearermathiaz: and all nodes compare new messages with all other nodes so all nodes should have a complete log17:43
danshearermathiaz: haven't done this with n > 2 though but still it is a very useful very simple facility17:44
danshearermathiaz: the trick being not to have an infinite logging loop :-17:44
keeseix: I'd guess BIOS settings or motherboard incompatibility.17:44
eixkees: yes17:44
mathiazdanshearer: well - there is a scalability problem with n > 217:44
eixkees: it's a pretty new server, so I also fear MB incompatibility17:44
eixkees: the 2nd 512MB DIMM block is clearly not being seen17:45
mathiazdanshearer: I think it makes more sense to store all the logs on all the nodes and than use a tool to do post-processing of logs17:45
danshearermathiaz: sure, in any service. But there are well-known algorithms for addressing this.17:45
mathiazdanshearer: when you want to visualize the logs, then you can correlate the events.17:45
danshearermathiaz: and with syslog, n=2 is pretty good and a lot better than most people have today17:45
mathiazdanshearer: sure - the algorithms exists, but have problem when scaling to more than 217:46
danshearermathiaz: and that's the issue "use a tool" is where most people fall down17:46
mathiazdanshearer: there is more and more overhead17:46
keeseix: check your mobo documentation, you may need to use matched pairs, specific locations, etc, etc.17:46
danshearermathiaz: and given that you can do n=2 for no noticeable cost, why not?17:46
mathiazdanshearer: sure17:46
danshearermathiaz: ah, this is in the context of centralised logging though.17:47
mathiazdanshearer: I'm not convinced that figuring out an infrastructure so that you log to every node and you make sure that events are stored only once is worth17:47
danshearermathiaz: in my experience most centralised logging gets very messy over time. Even that word 'time' is a big problem!17:47
psufaneix17:47
psufanis this a i810 or i815 chipset by chance17:48
psufansdram or ddr?17:48
danshearermathiaz: Nevertheless, do you agree that if keeping two logging servers exactly in sync costs nothing, that it is a useful facility?17:48
mathiazdanshearer: what do you mean by in sync ? there won't be any duplicates logged ?17:49
eixkees: mmh17:49
mathiazdanshearer: or that all the messages will be stored on both servers ?17:49
danshearermathiaz: no duplicates, no omissions. syslog is generally udp, but the two servers can talk tcp to each other.17:49
eixpsufan: my lshw http://rafb.net/p/tWj9yb95.html17:49
danshearermathiaz: in practice in a large and busy network, and given the nature of udp, if you have all devices logging17:50
danshearermathiaz: to both servers, most of the time one of the two (or both) will receive syslog message.17:50
psufannope a6417:50
eixpsufan: DIMM17:50
psufandimm has been since sdram :P17:51
psufanactually there was fpm and edo dimms17:51
danshearermathiaz: the important thing about centralised logging is that you point *everything* at it, down to printers and physical security systems.17:51
eixok people, thanks - I'll be back tomorrow for this17:51
psufannvidia chipset is NOT a server17:51
eixpsufan: you say?17:51
eixpsufan: why?17:51
mathiazdanshearer: right - I'd make more sense to make sure the messages are stored at least once, rather then only once17:51
psufancause that wasn't nvidia's target market17:51
eixpsufan: I really don't know which cheap server this is17:51
psufandoesn't support a lot of server stuff like ecc or registered17:52
eixpsufan: they bought to me, for free17:52
eixpsufan: but, still, it should work, no?17:52
psufanmabye17:52
eixpsufan: yet this missing RAM is weird17:52
mathiazdanshearer: implementing the logic to make sure that messages are stored only once is probably better done in log analysis tools than at the log storage level17:52
eixpsufan: I will have more informations tomorrow about the BIOS configuration17:52
eixI'll probably also look into the mobo manual17:53
mathiazdanshearer: /stored/processed/17:53
psufanok17:53
eixthanks kees and psufan17:53
psufannp17:53
jo_hi everybody. could someone of you tell me, whether the packages needed for using a D-Link G-520+ WLAN-Adapter (Chip: TI ACX-111) (probably linux-restricted-modules-386 or parts of it) are installed with the hardy server edition?17:57
danshearermathiaz: then you don't have an active-active failover solution.17:59
efjHi everyone18:00
efjI have a question regarding DHCPD configuration18:00
efjand multiple subnets :-p18:00
danshearermathiaz: this is part of some thinking I have been doing, trying to answer this question:18:01
efjI don't know if anyone knows a bit about this ?18:01
efjand could eventually help me ?18:01
ivoksefj: will you just ask18:02
efjSo I got a server running DHCPD18:02
efjwith 2 subnets declarations18:02
efjDHCPD responds on both interfaces18:02
efjbut provides the right information regarding DNS, routers to only one of them18:03
efjlet's day that I have 192.168.1.0/24 and 192.168.2.0/2418:03
efjwith appropriate definition for both of them18:03
efj1.0 is the domain home.lan18:03
=== jjesse_ is now known as jjesse
efj2.0 is the domain home.wifi18:03
danshearermathiaz: "what services can I very easily roll out in active-active configuration?"18:03
keesdanshearer: DNS, DHCP18:04
danshearermathiaz: that is, without expensive clusters or other very special-purpose solutions18:04
danshearerkees: LDAP18:04
* kees doesn't know LDAP yet :)18:04
efjFor 1.0:18:04
efjoption domain-name "home.lan.";18:04
mathiazdanshearer: how-do you define active-active ?18:04
efjoption broadcast-address 192.168.1.255;18:04
efjoption routers 192.168.1.1;18:04
efjoption domain-name-servers 192.168.1.1;18:04
danshearerkees: syncrepl18:04
ivoksefj: it would be easier if you would paste you config file on pastebin18:04
efjoption ip-forwarding off;18:04
efjfor 2.0:18:04
mathiaz!pastebin | efj18:04
ubottuefj: pastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic)18:04
efjoption domain-name "home.wifi.";18:04
efjoption broadcast-address 192.168.2.255;18:04
ivoks... and not here18:04
efjoption routers 192.168.2.1;18:04
efjoption domain-name-servers 192.168.2.1;18:04
efjoption ip-forwarding off;18:04
danshearermathiaz: the simple way that the boss can understand: when one server goes down the other keeps going, and18:05
efjSorry about that18:05
danshearermathiaz: when the first server comes back there is still no difference in either server, and18:05
danshearermathiaz: it never matters which server you connect to.18:05
efjSo the thing is that on 1.0, I get the right domain name, gateway and DNS18:05
ivoksefj: pastebin18:06
efjfor 2.0, it answers with the proper IP address, meaning something like 192.168.2.3018:06
mathiazdanshearer: right - you can either go for a failover scenario of a load-balancing scenario18:06
danshearermathiaz: One thing you don't want to have to guarantee is that any given transaction will succeed, that's another topic :-)18:06
efjbut DNS is 1.0, ditto for gateway18:06
efjand I just don't know why this keeps happening18:06
ivoksmathiaz: are you guys talking about redhat cluster suite? :)18:06
efjit also says that it's from the home.lan domain18:06
mathiazivoks: nope - it started with syslog18:06
ivoksefj: for the last time; paste your config on pastebin18:06
ivoksmathiaz: oh...18:07
danshearermathiaz: well when it comes to load-balancing you're talking about constructing a robust network with great care18:07
mathiazivoks: how to provide an high available logging infrastructure18:07
danshearermathiaz: I like to show people that actually a lot of components can be very robust without much thinking at all18:07
efjhttp://paste.ubuntu.com/19100/18:07
efjdone18:07
danshearermathiaz: like kees says, DNS and DHCP can do this and we don't think about it much, but the concept can be extended to18:07
ivoksmathiaz: with two machines with drbd master-master disk, and VIP over the redhat cluster suite? :D18:07
danshearermathiaz: other services and I think more people would if it was (a) easier and (b) better promoted18:08
mathiazdanshearer: by load-balancing I mean that all the nodes are active at the same time - by failover I refer to one node being active, the others in stand-by mode18:08
danshearermathiaz: a great way to address (b) is to ship configs ready-to-go :-)18:08
ivoksdanshearer wants glory for low cost :D18:08
danshearermathiaz: I don't agree with your definitions really, because to me load-balancing implies some degree of selection18:09
danshearermathiaz: with the services I'm talking about there is explicitly no load management logic. Whoever answers first wins.18:09
mathiazdanshearer: well - let's call it an active-active and active-passive scenario18:10
danshearermathiaz: I just tell the senior officials in the company "Look, for not much disruption things are more likely to work than before"18:10
danshearermathiaz: Whereas if you introduce a comprehensive solution you have to disturb other parts of the network, or at least introduce more components18:11
danshearermathiaz: that do things like distribute load or guarantee integrity of an individual transaction.18:11
ivoksefj: let's take a look18:11
efjthanks18:12
jo_is there a package list for the ubuntu server install cd?18:12
ivoksefj: which dhcp server is this?18:12
danshearermathiaz: Personally it ridiculous that most of the time people have to choose between individual servers and complicated cluster solutions18:12
mathiazjo_: http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-server-i386.list18:12
efjdhcp318:12
mathiazjo_: has the list of all the files on the ubuntu-server cd18:13
jo_ok, thanks18:13
danshearermathiaz: whereas you can get what ivoks just said, almost: *most* of the glory for *little* extra cost.18:13
danshearermake sense?18:13
efjI have 2 network interfaces18:13
mathiazdanshearer: sure - the next step is to list the services then18:13
efjwith appropriate definitions18:13
ivoksdanshearer: redhat cluster suite isn't complicated18:13
ivoksdanshearer: it even has graphic tool for configuration18:14
danshearermathiaz: That's right. And I was doing that in my head really, and got to syslog, and asked the question I did :-)18:14
ivoksdanshearer: clusters by default are hard to understand for newbies18:14
efjhere is my /etc/network/interfaces file: http://paste.ubuntu.com/19103/18:14
ivoksefj: so, remind me, what doesn't work?18:15
danshearerivoks: that's my point: a lot of the time there is an inbetween, pragmatic answer18:15
danshearerivoks: and what's more, you can do this service-by-service on existing machines18:15
efjDHCP clients from network wifi get a proper IP address18:16
efjbut get 192.168.1.1 as DNS and gateway18:16
danshearermy point is thinking practical, backwards-compatible, simple, while also greatly improving networks18:16
ivoksdoh, too many buzzwords for a non english listener18:16
efjinstead of 192.168.2.118:16
efjalso, they get domain-name="home.lan"18:16
efjinstead of "home.wifi"18:16
danshearerivoks: what I mean is, there are simple things you can do to existing networks that give you more robustness18:17
keesefj: is it possible you have other devices on the wifi serving DHCP?18:17
danshearerivoks: take my earlier question about syslog: many networks have a central syslog server.18:17
efjkees: none18:17
danshearerivoks: We can tell them "run this on two servers, and suddenly you have much more reliable solution"18:18
ivoksefj: this looks ok to me...18:18
efjif I list the interface's information on the client, it is clearly 192.168.2.1 that gives the lease18:18
ivoksdanshearer: i understand what you *want*, but this is not very easy to achive with a simple 'click'18:18
ivoksefj: is eth2 a wifi interface18:19
* kees thinks about his attempts to make mailman clustered. what a hoot.18:19
ivoksdanshearer: there are too many variables...18:19
danshearerivoks: I wasn't worrying about the "click" part for now :-)18:19
efjit is an ethernet interface18:19
efjconnected to an AP18:19
danshearerivoks: I'm not so sure I agree with you, which is why I'm writing down the possibilities :-)18:19
ivoksdanshearer: for syslog on two machines, the way to do it is easy18:20
ivoksdanshearer: set up an DRBD (network raid of partitions), create GFS (or even some non-cluster FS)18:20
danshearerivoks: I am speaking of a central syslog service receiving up to 1000 messages per second18:20
ivoksdanshearer: and setup a vitural IP that will move from one to the other when first one fails18:20
danshearerivoks: DRDB is definitely not the answer, it spreads corruption instantly :-)18:21
danshearerivoks: nope, GFS is absolutely not the answer for someone who wants a simple solution that fits his current needs18:21
danshearerivoks: I'm getting parts of what I'm writing from working networks, thanks for the input, I'll come back with more questions!18:22
ivokssorry, phone18:22
ivoksGFS is very simple solutions18:22
ivoksOCFS is not, tough :D18:23
danshearerivoks: GFS is simple if that's what you're looking for. At the moment, for most networks, it isn't an option.18:23
* danshearer interrupt, back later18:23
ivoksefj: anyway, this looks ok18:23
efjivoks: thanks for looking at my config18:23
efjI somehow don't understand why I get this result18:24
ivokssyslog shows no errors when starting dhcpd?18:24
nealmcbhmm - I "helped" some folks in Boulder out and did an upgrade of clamav on a dapper machine for the first time in a while.  It asked about the config file, and I thought it would be safe to keep the old config file, but it seems that I broke it.  They've got it fixed now, but I wonder how often that happens, and what options we have for helping and warning folks about incompatible upgrades.18:25
ivoksnealmcb: we offer diff, which you should've check :)18:26
sommerheh18:26
sommernealmcb: did you grab the clamav from backport?18:27
nealmcbI looked at the diff, but don't recall it saying "!!warning - incompatible upgrade!!"18:27
sommerclamav is a beast, especially if you haven't upgraded for a while18:27
efjivoks: no it doesn't18:29
nealmcbIf it weren't for the fact that they were dealing with a mail problem alread and were tight on time I would have taken more time to look at it then.  as it was I just put it on the "look at soon" pile...18:29
ivoksnealmcb: well, it saved your old config18:30
ivoksso you can still do a diff18:30
sommernealmcb: ya, the big issue with clamav is that they change their library api between versions... it may be getting better since they were bought by sourcefire though18:30
ivoksand check what's changed18:30
sommernealmcb: but for packaging questions ScottK knows much more than I do18:31
nealmcbivoks: again, it is fixed now.  I'm asking about the human factors of how we can help prevent upgrades from  breaking things18:31
sommernealmcb: until clamav has a stable API, I'm not sure... aside from asking to replace the configs18:34
efjivoks: I got it !18:37
efjThe issue was that the MAC address I gave to the ethernet port of the wifi computer was the wifi one ...18:37
efjso there was a match in the first subnet18:37
efjnot in the second18:37
ivoksinteresting...18:38
efjThe thing is that there was an allow unknown-clients clause in the wifi subnet18:39
efjmeaning that it would respond18:39
efjhowever it seems the match on the hardware address made the thing screw up18:39
efjAnyway, thanks for your time18:40
* ivoks wasn't here during specs talk18:41
ivoksbut, /me has one spec too :D18:42
ivokshttps://blueprints.edge.launchpad.net/ubuntu/+spec/migrate-off-ssl-v218:43
jjessewas there another team meeting i missed?18:45
nealmcbjjesse: this morning at 15:00 UTC18:45
jjesseah bummer18:46
nealmcbwe assigned everything to you :)18:46
jjessenealmcb: figured18:47
jjessemeans more won't get done18:47
folkeAnyone know the status of vmware-tools and 8.04?18:58
folkeIs the any-any patch necessary? Or should I stick to 7.1018:59
mathiazkirkland: The MIR items in Outstanding issues should be moved the implementation section19:06
mathiazkirkland: remove the encrypted swap reference as this is out of the scope of the spec19:07
kirklandmathiaz: well.... some argue that without encrypted swap, encryption is useless, as passphrases can leak from memory to disk via swap19:08
kirklandmathiaz: i'd like to at least mention it, in the interest of full disclosure19:08
mathiazkirkland: right - makes sense then19:08
kirklandmathiaz: i disagree with the "useless" argument19:08
kirklandmathiaz: but I recognize that encrypted swap is necessary for further (complete?) protection19:09
kirklandmathiaz: i'll move the MIR's to Implementation19:09
mathiazkirkland: having a section about testing would start the documentation effort19:09
kirklandmathiaz: actually, regarding MIRs, those are still pending, so wouldn't they be considered "Outstanding"?19:09
kirklandmathiaz: i was using "Implementation" to track what's been completed19:10
kirklandmathiaz: okay, i noted that encrypted swap is beyond the scope, moved down a bit to a separate list19:11
mathiazkirkland: hm... Usually I use implementation to describe what needs to be done19:11
kirklandmathiaz: I'll start a testing section now19:11
mathiazkirkland: and then add a big OK when it's implemented19:11
kirklandmathiaz: okay, if that's "Implementation", what's "Outstanding"?19:11
kirklandmathiaz: i was equating "implementation" with DONE, and "outstanding" with TODO19:12
nealmcbseems to me it would "outstanding" from the spec writing standpoint - what is still unclear19:12
mathiazkirkland: see https://wiki.ubuntu.com/AppArmorGutsy19:13
nealmcb...unresolved issues....19:13
ScottKIf anything clamav API instability is getting worse, not better with clamav19:14
kirklandmathiaz: hmm, okay.  i can follow that guideline, but i think i would prefer separate sections for TODO and DONE, call them what you will19:15
mathiazkirkland: makes sense19:16
mathiazkirkland: the Spec format is not so rigid19:16
kirklandmathiaz: i can put two sections under Implementation, if that helps you out19:16
kirklandmathiaz: one for DONE and the other for TODO19:16
kirklandmathiaz: and I'll copy/cut/paste as I complete such items19:17
mathiazkirkland: what's important is to be able to figure out what needs to be done, and what has been done19:17
mathiazkirkland: wfm19:17
kirklandmathiaz: and I'll save Outstanding Issues for things like Encrypted Swap19:17
kirklandmathiaz: ie, stuff that's not done, and probably won't be done as part of this effort, but should be tracked for completeness19:17
ScottKnealmcb: The Debian/Ubuntu clamav package ships pretty sane defaults.  If you change from them, then you do take on having to understand configs on upgrades.  It's part of the cost of doing business.19:17
mathiazkirkland: that seems reasonable to me19:17
ScottKStick with the default and the package maintainer handles it for you.19:18
kirklandmathiaz: cool, thanks for the review19:18
nealmcbScottK: the issue here was that the new version couldn't parse the old config.  would it help to add some comments in the conf file saying in effect "API version x.y - WARNING - IF THIS SHOWS UP IN A DIFF LINE YOU NEED TO FIX THINGS!!"19:19
mathiazkirkland: np :)19:19
nealmcbin addition, apt-get upgrade doesn't seem to indicate at the end when things fail during the upgrade19:20
nealmcb...like the daemon startup....19:22
ScottKnealmcb: That's generally true anytime the diff shows up.19:25
lukehasnonameDid soren die?19:39
BrazenSo what does the server team think of ovirt?  I noticed it's not on the Roadmap.19:51
Brazen...just asking since it's slow in here.19:52
Deepslooks like a vm appliance19:53
Deepsbeing developed and maintained for use in a fedora based vm19:53
Deepslooks nice too19:54
lukehasnonameI want to check it out at some point... getting that to work with Ubuntu/JeOS and KVM (or xen) would be awesome.19:55
Deepsumm, it's an extra vm that you'd run on your vm server (whatever os it is) by the looks of things19:56
Deepswhatever linux os, anyway, i guess19:56
lukehasnonameovirt is a vm manager19:57
lukehasnonameI thought19:57
lukehasnoname>_>19:57
Brazenit's a vm manager, but Redhat is distributing a vm with it all set up.  I'm pretty sure that is just for testing though, and in production I'm sure it is intended to be installed on bare metal.19:58
lukehasnonamehttp://ovirt.org/documentation.html19:59
BrazenHave you (anybody) ever used VMWare ESX Server with Virtual Center?  It looks like ovirt is supposed to be the equivalent of Virtual Center.20:02
Deepsoh,, i see20:04
DeepsBrazen: you could just ask20:04
BrazenDeeps: ask what?20:05
Deeps20:03:59 [freenode] Brazen [n=chatzill@wsip-70-167-48-6.ks.ks.cox.net] requested CTCP VERSION from Deeps:20:05
lukehasnonameBrazen: Ya, I've seen what you're talking about, a nice GUI to manage and watch VMs across physical hosts20:05
Deepsoh,chatzilla, nm20:05
BrazenIt's just really be nice to have easy-to-use gui to manage vms and hosts remotely20:09
BrazenI could go on and on, there are a lot of nice features in Virtual Center that would be a boost to open source virtualization.20:11
BrazenThere is another project called Enomalism, but ovirt has, imo, a much better looking interface, and it's an advantage to ovirt being backed by a known, reliable organization like Redhat.20:13
lukehasnonameok, I was mistaken about oVirt, and now I am not so fond of it. I thought it was a web program, not something I'd have to dedicate a machine to.20:17
Brazenlukehasnoname: how would rather have it?  I don't see why you couldn't install it on a machine that is ALSO a vm host, but I would prefer to put it on a dedicated machine.  I could just be used to how Virtual Center does it, though.20:19
lukehasnonamewell, hmm. I guess I expected it to have less requirements than what it's asking for. In the "bundled" install, it requires the "admin node" (the one hosting the oVirt vm) to have two network cards, with a dedicated NIC for the oVirt network20:21
Brazenuh, I missed that part.20:23
Brazentwo nics20:23
Deepsvlan20:23
Deepsvirtual nic20:23
Brazenyeah, that's my thought20:23
BrazenVMWare wants you two have two nics, too, with one dedicated to VMotion20:25
kirklandmathiaz: testing section added to https://wiki.ubuntu.com/EncryptedPrivateDirectory20:26
JaxxMaxx__well, I guess that guarantees some bandwidth...20:26
kirklandmathiaz: after tomorrow's sync with Debian, let me do a couple of sniff-tests, then I think you can point people to that in your blog for testing20:26
BrazenI actually have two nics, in all my vm servers, but I bind them and use LAG on the switch for redundancy, then use vlans to split it into virtual nics20:26
lukehasnonameAhHhHhHh20:27
lukehasnoname*goes to PM*20:27
JaxxMaxx__if I wanted to let www-data (apache2) have read access to the syslog, what permissions would I have to change/add ?20:30
\shJaxxMaxx__: read permissions for others20:31
mindframe-i would create a syslog group and add www-data to that group... set read only for that group20:32
mathiazJaxxMaxx__: you can also put the www-data user in the adm group20:32
mindframe-640 most likely20:32
mathiazkirkland: great - reading through the testing instructions, why do you need to enter a mount passphrase ? Could it be set to a automatically generated passphrase ?20:33
mathiazkirkland: since the user doesn't need to remember it and it's is strongly suggested to use some long, difficult to guess passphrase20:34
mathiazkirkland: would it make sense to generate the passphrase automatically (or at least provide a default)20:35
mathiazkirkland: so that we're sure that the passphrase is some long, difficult to guess20:35
kirklandmathiaz: yes, true, but, remember the remote backup case20:36
kirklandmathiaz: where you're just rsyncing your encrypted data to offsite storage20:36
kirklandmathiaz: you want to restore that data, and mount it again elsewhere20:36
kirklandmathiaz: you need the mount passphrase20:36
kirklandmathiaz: let me put it another way....20:37
kirklandmathiaz: if you lose the mount passphrase, and you don't remember it, you cannot access your data20:37
mindframe-are you guys working a full disk encryption option into the intaller?20:37
kirklandmathiaz: i should probably update that line in the wiki to be more clear20:37
kirklandmathiaz: it's misleading, perhaps, as is20:38
kirklandmindframe-: no, a per-user encrypted directory in ~/Private20:38
mindframe-oh20:38
mindframe-neat20:38
kirklandmindframe-: https://wiki.ubuntu.com/EncryptedPrivateDirectory20:38
mathiazkirkland: hm... isn't that the same use case your private ssh key protected by a passphrase ?20:38
kirklandmindframe-: full disk encryption is more or less provided by LVM+LUKS in the installer20:39
mathiazkirkland: because you'd have to remember two things - and the hardest one to remember, you'd never use it20:39
mindframe-yeah i wasnt sure if the server installer had it as well20:39
kirklandmathiaz: well, there's a big difference in my mind...  with ssh, you need to create a new key and give it out to everyone, if you forget your passphrase20:39
kirklandmathiaz: in this situation, you may have valuable data/pictures/keys tied up in an encrypted directory never to be accessed again20:40
kirklandmathiaz: that amounts to data loss20:40
mathiazkirkland: well - I'm not an expert in that area. So what about providing a default long, difficult to guess passphrase20:40
mathiazkirkland: so that people can write it down before creating the directory ?20:40
mathiazkirkland: My point is that asking user to come up with a long hard to guess passphrase doesn't work well.20:41
mindframe-i think it should force a minimum complexity/length and have the user create it20:41
kirklandmathiaz: hmm, well, the prompt just says, "Enter your mount passphrase"20:42
kirklandmathiaz: it's my own commentary in that wiki page that suggests that it should be long/difficult20:42
mindframe-people will complain that it's too hard to remember their 20 digit alphanumeric passphrase20:42
kirklandmathiaz: i'm fixing that in the wiki now20:42
InsomniaCitypasspoem20:42
keesmathiaz: I've fixed the ECHO problem in flex, so hopefully we shouldn't see those errors any more.20:42
InsomniaCity20 stanzas long20:42
mindframe-heh20:42
mathiazkees: \o\ /o/ \o/20:43
keesheh20:43
mathiazkees: /o\20:43
mathiazkees: (h5)20:44
mathiazkirkland: hm.. what is the passphrase used for ?20:44
mathiazkirkland: to unlock the private key used to encrypt the data ?20:44
kirklandmathiaz: refresh your view of that wiki page, i fixed the text there20:45
kirklandmathiaz: the mount passphrase *is* the key to the encrypted mountpoint20:45
kirklandmathiaz: that passphrase is encrypted/decrypted by PAM when you login to the system20:45
kirklandmathiaz: so if you change your system passphrase, PAM only needs to rewrap your mount passphrase20:46
kirklandmathiaz: and not comprehensively re-encrypt every file in the mountpoint20:46
mathiazkirkland: so why not use the login password directly ?20:46
mathiazkirkland: right20:46
kirklandmathiaz: same reason as above....20:46
kirklandmathiaz: re-encrypting a huge directory on password change would *suck*20:47
kirklandmathiaz: we could default the login and mount passphrases to be the same thing20:47
mathiazkirkland: to me that looks similar to my ssh key, where I use ssh-keygen to generate the private key ( => mount passphrase) and then protect it with a passphrase ( => Login password)20:47
mathiazkirkland: could a similar workflow be implemented ?20:48
kirklandmathiaz: perhaps we can do that, if we can inform users to backup their ~/.ecryptfs/wrapped-passphrase to offsite storage (and trust that they do so)20:51
kirklandmathiaz: in case a user inadvertently deletes ~/.ecryptfs/wrapped-passphrase, access to their data in Private/ is gone.  permanently20:52
kirklandmathiaz: if it was a randomly generate mount passphrase and they don't remember it, or have a backup20:52
mathiazkirkland: well - I think you have the same issue with gnupg - you're not asked to generate your private key20:53
kirklandmathiaz: if we can trust our users (and paying customers) to follow instructions and make an offsite backup of ~/.ecryptfs/wrapped-passphrase, then perhaps that's okay20:53
mathiazkirkland: if you loose your gpg key, you won't be able to recover your data20:53
mathiazkirkland: so your point for asking the user to enter a passphrase is that they will see at least *once* the passprhase20:54
mathiazkirkland: and hopefully remember it20:55
kirklandmathiaz: and will have at least somewhat consciously chosen it20:55
mathiazkirkland: whereas if the passphrase a automatically generated and if it lost, every thing is lost.20:55
kirklandmathiaz: true.20:55
mathiazkirkland: *consciously* chosen -> weak passphrase20:56
kirklandmathiaz: wrt to ssh keys, that simply means you can't sign your ssh connections any more20:56
kirklandmathiaz: wrt to ecryptfs, that means you can't access your data20:56
kirklandmathiaz: which would be the same with gnupg20:56
mathiazkirkland: exactly - and gnupg doesn't ask you to enter your private key20:57
kirklandmathiaz: except the amount of data people encrypt with gnupg pales in comparison to the amount of data they can trivially copy into ~/Private20:57
kirklandmathiaz: personally, i use gpg -c (passphrase) for anything I'm backing up20:57
kirklandmathiaz: in that I'll always remember my passphrase(s)20:57
mathiazkirkland: right - but that's the isn't an easy way to encrypt stuff with gnupg20:57
kirklandmathiaz: really?   echo foo | gpg -c20:57
mathiazkirkland: I'm refering to the target users of the Private directory.20:58
mathiazkirkland: I know you (and I) can do it easily20:58
kirklandmathiaz: ;-)20:58
mathiazkirkland: that's why I question the necessaty to enter a mount passphrase wrt to the target audience20:59
kirklandmathiaz: i agree that your suggestion would certainly increase the security of the matter20:59
kirklandmathiaz: and would definitely make it easier on the target audience when executing normal usage vectors21:00
mathiazkirkland: Ubuntu - linux for human beings21:00
kirklandmathiaz: we would definitely need a GIANT FLASHING WARNING that your .ecryptfs/ directory needs to be backed up offsite, or you will not be able to access your data in ~/Private if you ever lose it21:00
kirklandkees: jdstrand: can one or both of you weigh in?21:01
mathiazkirkland: right - that would probably part of the documentation21:01
keeskirkland: flashing warning?  Hrm, docs certainly, but I can't think of a non-annoying way to do it other than docs.21:04
kirklandkees: oh, i meant more fundamentally to the handling of this....21:04
keeskirkland: which part?  (scroll back is long...)21:05
kirklandkees: jdstrand: here's the nutshell....21:05
kirklandkees: jdstrand: the ecryptfs ~/Private directory must be mounted with a passphrase (or key).  i'm using a pam module to use the login password to "unwrap" that mount passphrase21:06
kees(that sounds like how luks works)21:06
kirklandkees: jdstrand: when setting up the mount, i ask the user for both a login and a mount passphrase21:06
kirklandkees: jdstrand: mathiaz has suggested randomly generating the mount passphrase21:06
kirklandkees: jdstrand: my concern with that is that if the user loses .ecryptfs/wrapped-passphrase, there is no way to recover their encrypted data21:07
kirkland(assuming the encryption is any good)21:07
keesI think prompting for a passphrase that will never be used isn't a good idea.21:08
kirklandkees: jdstrand: on the normal usage vector, this makes things easier...  user only needs to remember login passphrase, we can generate a long/hard mount passphrase21:08
keesif they corrupt their filesystem and lose that file, they're going to be toast anyway21:08
keesI would agree about the randomized mount passphrase -- this is was LUKS does AIUI, so best to stick with one "way" of handling things.21:09
kirklandkees: jdstrand: mathiaz: okey doke, good enough for me21:09
lukehasnonameBrazen: Enomalism looks freaking amazing21:11
* lukehasnoname reads more about it21:12
Brazenyeah, it's feature set looks good, but ovirt is backed by Redhat, so I expect it get more recognition, the interface looks nicer, and it will likely get all the same features as Enomalism.21:14
keesI'm committing a giant merge of apparmor to current svn.  we can't upload it to intrepid yet because the AA kernel module is the wrong version (2.1 vs 2.3)21:14
keesmathiaz: ^^21:14
mathiazkees: wfm21:14
ScottKkees: Are you aware we have an issue with apparmor and akonadi?21:14
lukehasnonameBrazen: Maybe I didn't see the right screens of oVirt, but Enomalism looks fine to me. Opinion, I know. Being backed by Redhat almost makes me more skeptical. I understand your point, but I wonder if it will have an intentionally low amount of .deb documentation.21:15
mathiazScottK: the bug has an answer to the problem21:16
* lukehasnoname didn't see the right screens of ovirt.21:16
ScottKmathiaz: OK.21:16
lukehasnonameoVirt needs higher res screenshots, but it looks clean as well.21:16
Brazenlukehasnoname: I think that will depend on whether or not the Debian (Ubuntu) community embraces it.21:16
lukehasnonamePerhaps we can integrate oVirt and eBox (or similar) into a mega-super-enterprise level server management tool. *couch scottk cough*21:17
lukehasnoname*cough not couch, cough, cough*21:17
Brazenlukehasnoname: and a lot of high-quality stuff comes out of RedHat.  libvirt and virt-manager, which are embraced by Ubuntu, to name a few.21:18
Brazenlukehasnoname: I really don't like ebox though :-(21:18
a13xplease help people, i am not able to set up ubuntu server21:18
lukehasnonameI haven't had experience with it, but I do know a lot of people are suggesting using eBox as the basis for Ubuntu's server gui21:18
lukehasnonameX based is out of the question, and webmin doesn't have as much popularity here, apparently21:19
a13xwhen i test the cd it tells me that some random file (may be different every time) is corrupted21:19
lukehasnonamewhats up a13x21:19
a13xi tried to redownload21:19
lukehasnonamemd5 check the ISO, reburn the CD at slower speed?21:19
lukehasnonameOr if the server is non-critical, continue with install.21:20
a13xi tried regular cd, cd-rw, dvd21:20
lukehasnoname>_>21:20
a13xtried 3 different cd roms21:20
Brazenlukehasnoname: yes, yes they are.  I still like Webmin better though.  Personally, I think a fork of Webmin, to fix the config file issues, would be better, but I'm no developer.21:20
a13x3 different ide cables21:20
a13xmd5 checksum checks out21:20
ScottKlukehasnoname: I've got more than I can handle on my plate already.21:20
Brazena13x: what is the problem you are having?21:20
lukehasnonamea13x: download iso from different source21:20
a13xi tried using a cd that i KNOW works21:21
lukehasnonameScottk: What are you working on, if I may ask.21:21
Brazena13x: does it not boot the cd?21:21
a13xno, it boots21:21
a13xwhen i run a check21:21
Brazena13x: oops, I see, farther up...21:21
lukehasnonameOO! Idea! An ubuntu social networking site to replace the personal profiles on wiki.ubuntu.com21:21
a13xit tells me that some random file is corrupt21:21
a13xand its different every time21:21
a13xor almost every time21:22
InsomniaCitylukehasnoname: ooh! with rounded corners! and tagging! and screenshots!21:22
a13xi ran memtest86, no problem there21:22
a13xbut its like random file corruption21:22
Brazena13x: I would try burning it at lower speeds.  I burn everything at 4x.21:22
a13xi verified cds after recording21:22
ScottKlukehasnoname: For Ubuntu, https://wiki.ubuntu.com/ServerFlavorSpec, getting clamav and spamassassin into main, motu-release and motu-sru teams, Kubuntu development, plus I maintain a bunch of packages.21:23
a13xi recorded my cd-rw at 4x (tried 2x and it wasn't supported by the drive)21:23
lukehasnonameInsomniaCity: Don't get sassy.21:23
lukehasnonameheh21:23
a13xi never had this type of problem before21:23
Brazena13x: I think I remember having this exact same issue, and had to replace my burner.21:23
lukehasnonameScottk: Who's working on the server admin project?21:24
a13xok, heh, tried 2 different burners21:24
ScottKlukehasnoname: Dunno.  I've got way more than I can do on my plate as a volunteer.21:24
* ScottK looks around for some funding ...21:24
a13xif its the burner then why is different file gets corrupted21:24
Brazen? oh.  you got me then.21:24
a13xits almost random21:24
lukehasnonameI thought you worked for Canonical21:24
Brazena13x: Try blowing on it?  *Sorry, bad NES joke.21:25
a13xi even tried that21:25
a13x...21:25
Brazenhaha, yeah I still try that sometimes, too :D21:26
a13xthis problem is driving me crazy, what is my next step?21:26
lukehasnonameScottK: Set up an NPO to fund open source development21:26
lukehasnonamesomething witha good name21:27
lukehasnonamelike "Free Software Foundation"21:27
Brazenand grow a beard21:27
a13xis there a net install version of ubuntu server?21:27
lukehasnonameI bet.21:27
lukehasnonamea13x: I bet21:28
lukehasnonameCheck for minimal installs in the cdimage site.21:28
a13xurl?21:28
lukehasnonamea13x: Searching21:29
Brazena13x: https://help.ubuntu.com/community/Installation21:29
a13xthanks a lot21:30
kirklandmathiaz: kees: mhalcrow is here from ecryptfs21:30
keesyay upstream!  :)21:30
kirklandmathiaz: kees: mhalcrow believes strongly in a chosen mountpassphrase21:30
kirklandkees: ;-)21:31
mhalcrowAdding dependencies on extra files as an absolute prerequisite to recovering eCryptfs encrypted data is asking for trouble.21:31
lukehasnonamegj brazen21:31
* delcoyote hi21:31
Brazena13x: lukehasnoname: no problem, don't know the cd wouldn't work, but maybe with stuff in that link you can get around it.21:31
keeskirkland: you just wanted my opinion.  ;)21:31
kirklandkees: ;-)  yeah, no offense21:32
kirklandkees: i'm just trying to implement this in a way that keeps Ubuntu from going to far off the mark from upstream21:32
keeskirkland: if we prompt for a passphrase that only gets used in extreme situations, then that should be explained during the prompting "do not lose this passphrase" etc etc21:32
mhalcrowExactly.21:32
mhalcrowJust makes sure the user has this secret value stowed away in a secure recoverable location.21:33
keeskirkland: cool -- I'm happy to throw in a tie-breaking vote, but if there's a "right" way to do it, go for it.21:33
Brazena13x: lukehasnoname: for a little shameless self-promotion, I looked up that link here: http://forums.anandtech.com/messageview.aspx?catid=34&threadid=207314321:33
kirklandmathiaz: are you around?21:33
* lukehasnoname likes enomalism because it's purely web based and seems well documented. Damn, if only he had internet at home!21:33
mhalcrowIt can be auto-generated, but just make sure the user has it stored in a separate, secure, reliable location from the encrypted data too.21:33
mhalcrowA user-selected passphrase is much less likely to leave the user with unrecoverable backups, for instance.21:34
kirklandmhalcrow: so that's exactly what the suggestion was, to flash a message to the user telling them that they MUST have a remote backup of .ecrypfs/* to ensure that their ~/Private data is recoverable21:35
mhalcrowYes. But only if the wrapped value is not user-selected. However, can we realistically expect users to remember that message and act on it dutifully?21:35
jdstrandkirkland: I think I mentioned this another day-- I like the idea of a strong random password for encryptfs21:35
jdstrandecrypts21:36
mhalcrowThe chain of secrets is only as strong as its weakest link.21:36
mhalcrowThe login passphrase would be the weakest link in that regard.21:36
mhalcrowHaving the user select his own mount passphrase introduces an opportunity for the user to select a passphrase that is weaker than the login passphrase.21:37
mhalcrowIs that worth the unrecoverable backups that are likely to result?21:37
mhalcrow(if the mount passphrase is auto-generated, that is)21:38
kirklandmhalcrow: well, we won't remove the opportunity for users to select their mount passphrase21:38
kirklandmhalcrow: this is really more of a question about what the default behavior should be21:38
kirklandmhalcrow: understanding that 95% of all Ubuntu users will take the default behavior21:38
mhalcrowMaybe there can be a "generate a passphrase for me" button.21:38
mhalcrowNext to the textfield.21:39
kirklandmhalcrow: well, i was thinking more like: "Enter your mount passphrase: [leave blank to generate a random one]"21:39
Brazenlukehasnoname: well, I'll for sure give a look when it goes gold release.21:39
kirklandmhalcrow: but i think that's functionally equivalent, right?21:40
mathiazkirkland: yes my friend !21:40
kirklandmhalcrow: and a command line option for automating it21:40
mhalcrowkirkland: I would make the user either enter a passphrase or click a button to generate, and then show the generated passphrase to the user and tell him to write it down and store it in a secure location.21:40
Brazenlukehasnoname: I also have to admin, I'm a little partial to a project using RubyOnRails, also, because Ruby is the only programming language I know, so it's something I could actually contribute to.21:41
mhalcrowI would not just generate a secret value and use it under the user's nose.21:41
kirklandmathiaz: mhalcrow is here (upstream for ecryptfs) to defend his opinion that a conscious mount passphrase is better than a random one21:41
* mathiaz reads the backlog21:41
Brazenlukehasnoname: oops, I meant "admit" not "admin"21:41
mhalcrowWell, what I am saying is that a passphrase that the user has stored safely away is better than an unknown secret value tucked away in a .*/ directory.21:41
kirklandmhalcrow: ecryptfs-setup-confidential prints ALL values to screen before running its guts21:42
kirklandmhalcrow: including both mount and login passphrases21:42
mhalcrowWhatever encourages the user to keep that secret value written down on paper and locked in a desk drawer is what I would suggest.21:42
kirklandmhalcrow: okay, i can enhance the echo'ing part of the script accordingly21:43
kirklandmhalcrow: you have one patch from me changing s/Confidential/Private/21:43
kirklandmhalcrow: i'll work on another one to modify the mount passphrase generation and instructions to the user accordingly21:43
kirklandmhalcrow: one more thing, speaking of weakest link in the chain....21:44
kirklandmhalcrow: what about making mount passphrase = login passphrase (by default) ?21:44
mhalcrowThat's fine, but users may change their login passphrases at will.21:44
mhalcrowThat is an easy way to introduce confusion.21:44
mhalcrowSince the wrapped passphrase will remain the original login passphrase from when the machine was first configured.21:45
kirklandmhalcrow: hmm, okay21:46
kirklandmathiaz: any questions for mhalcrow?21:46
mhalcrowOnce users start encrypting their data and copying their data around to different media and machines, they must have a notion of "the secret to get to my data" and "the secret to login to my machine."21:46
mathiaznot really - I think we aggree on most of the points21:47
mathiazThe reason to have a long and difficult to guess password is to make the encrypted data stronger.21:47
mhalcrowReally, passphrases are a necessary evil that do not work against a sufficiently equipped attacker.21:48
lukehasnonameBrazen: Ya, I've heard RoR is handy. I'm pretty rusty on most languages nowadays, I used to know PHP damn well.21:48
mhalcrowThat's why eCryptfs has key modules (OpenSSL, TPM, etc.)21:48
mathiazIMO asking the user to generate a passphrase is too much. generating one that can be kept around is a good option.21:49
kirklandmhalcrow: mathiaz: what if we offered to email the user their wrapped-passphrase?21:49
kirklandmhalcrow: mathiaz: it's already encrypted21:49
mathiazkirkland: there isn't a MTA installed by default on a desktop21:50
jdstrandemail?21:50
kirklandmathiaz: that is, if an MTA is found on the system, and the user has an email address, and wants an emailed copy21:50
jdstrandno no21:50
kirklandjdstrand: mathiaz: okay, we just have to *trust* that users are going to backup this wrapped-passphrase file21:50
jdstrandkirkland: I have only kept half an eye on this, but what is wrong with displaying the passphrase to the user at setup?21:50
mathiazI think either printing the passphrase or which files should be backuped.21:51
mhalcrowThat's what I recommend.21:51
mhalcrowThe user should know what the mount passphrase is.21:51
kirklandmathiaz: mhalcrow: jdstrand: okay, we're in agreement then21:51
jdstrandkirkland: eg 'Your encrypted files are in foo, your encryption passphrase is bar, please keep track of these offline in case of problems'21:51
kirklandgenerate a random passphrase, show to the user and encourage that they record it, and backup wrapped-passphrase to offsite media21:51
ScottKMaybe even offer to write it to a memory stick for them?21:52
mathiazkirkland: wfm - show the generated passphrase and list the file that should be kept safely.21:52
kirklandmathiaz: cool21:52
kirklandmhalcrow: thanks for joining21:52
kirklandmhalcrow: you're welcome to hang around, or join us again sometime ;-)21:52
mhalcrowNo problem. Just expect users to forget and lost keys, and be prepared to tell them that they're screwed. ;-)21:53
InsomniaCitywait... you expect users to READ!?21:53
kirklandi'll just open a bug in Launchpad describing the problem and marking all of the bug reports duplicates there of ;-)21:53
mhalcrowLosing your crypto key is necessarily a "no-fix" situation.21:54
kirklandmhalcrow: right, mathiaz asked how this was different from losing gpg keys or ssh keys21:54
kirklandmhalcrow: the main difference i saw was that your data is essentially gone in this situation21:55
mhalcrowIt's not; it's just easier for users to run into the problem, since the encryption is so transparent and integrated.21:55
mhalcrowPlan 'B' is for Canonical to offer key escrow services.21:57
kirklandLoL  :-)21:57
mhalcrowBut I don't think I want to open that can of worms. ;-)21:57
mhalcrowJust tell users to downgrade to a previous version of OpenSSL and use the OpenSSL key module. That should take care of it.21:58
mhalcrowI'm actually not entirely joking wrt key escrow. Some business users would probably go for that.21:59
mhalcrowAs protection against their own bureaucracy, at a minimum.21:59
kirklandmhalcrow: you have a recommended length for random passphrase?21:59
kirklandmhalcrow: 1024 bytes of hex digits sound reasonable to you?21:59
mhalcrowThe same number of bits as the symmetric key length.22:00
mhalcrow128 is sufficient.22:00
kirklandmhalcrow: 128 characters of hex digits?22:00
mhalcrowToo long; there are 4 bits per hex digit22:00
mhalcrow32 hex digits22:00
kirklandmhalcrow: head -c 128 /dev/urandom | md5sum | awk '{print $1}'22:01
kirklandmhalcrow: work for you?22:01
mhalcrowSure.22:01
mhalcrowAlthough md5 output isn't as uniformly distributed as previously thought.22:02
mhalcrowJust grabbing raw /dev/urandom should be a little more random.22:02
kirklandmhalcrow: that's going to be far to messy to print out (and write down)22:03
mathiazkirkland: uuidgen | sed 's/-//g'22:03
kirklandmhalcrow: ^ ?22:03
mhalcrowI don't know how uuidgen does its magic; I really only trust the kernel rng these days.22:04
mathiazkirkland: or add the -r switch to make sure it's random22:04
kirklandmhalcrow: i was md5summing it to make it printable and readable (rememberable?)22:04
mhalcrowRight, but md5 is not collision-resistant.22:05
mathiaz-r requires a high quality  random  number  generator,  such  as /dev/random22:05
kirklandmathiaz: okay22:05
kirklandmathiaz: that sounds reasonable22:05
mhalcrowOkay; then use uuidgen if can produce good random values. But I won't officially endorse it until I've inspected its code.22:05
a13xi am back, ubuntu mini cd failed, random download errors, "Loading libntfs-3g23-udeb failed for unknown reason"22:05
kirklandmhalcrow: fair enough22:05
mathiazmhalcrow: it's part of the e2fsprogs package22:06
kirklandmathiaz: can you point us to other high-security things that uuidgen is used for?22:06
* ScottK concludes that a13x's hardware is cursed.22:06
kirklandmhalcrow: do you have something else you recommend I pipe /dev/urandom through to make it readable?22:06
mhalcrowod?22:06
a13xmemtest86 didn't fail22:06
mathiazkirkland: nope - I've just uuidgen to get some random strings22:07
kirklandmathiaz: gotcha22:07
mathiazkirkland: I have no clue whether it's good at it (from a cryptographic point of view)22:07
kirklandmathiaz: okay, we'll stick with /dev/urandom then22:07
Brazenre: key escrow:  What about a system where businesses can maintain their own key escrow, something like certificate signing?22:08
a13xi think something is wrong with the distribution, i am going to try debian22:12
kirklandmhalcrow: what do you think of: `head -c 15 /dev/urandom | od | sed "s/^0000000//" | sed "s/\s*//g" | head -n 1`22:13
Brazena13x: try one of the "Installation without a CD" methods on that page.22:13
JaxxMaxx__Hmmm.  Is there an easy way to figure out why my apache2  is not starting properly upon reboots?  I have to use the script in /etc/init.d/apache2   to launch it manually after a  reboot -now22:14
mhalcrowkirkland: Those are octet vals22:14
mhalcrowod -x22:15
mhalcrowoctal22:15
mhalcrowUse the -x flag to get hex22:15
kirklandmhalcrow: okay22:15
lukehasnonamea13x22:16
kirklandmhalcrow: head -c 15 /dev/urandom | od -x | sed "s/^0000000//" | sed "s/\s*//g" | head -n 122:16
lukehasnonametry FreeBSD22:16
lukehasnonameamuse me22:16
kirklandmhalcrow: that's 32 hex digits, 128 bits22:16
a13xi tried mini cd22:16
mhalcrowkirkland: That only takes 120 bytes from /dev/urandom, no?22:17
mhalcrowbits22:17
a13xBrazen: i tried mini cd and i got download errors, i think this is hopeless22:17
kirklandmhalcrow: -c 16, sorry, typo on my part22:17
kirklandmhalcrow: head -c 16 /dev/urandom | od -x | head -n 1 |sed "s/^0000000//" | sed "s/\s*//g"22:17
mhalcrowkirkland: That looks good to me.22:18
kirklandmhalcrow: cool22:18
lukehasnonamea13x: Try Debian or OpenBSD22:18
a13xburning debian now22:18
vikramIs there like a turn key switch to get SELinux enabled instead of apparmor?22:19
vikramor do we have to do it the hard way?22:19
vikramcan i just boot with selinux=1?22:19
vikram(obviously i'll have compiled policies ready to go)22:20
kirklandvikram: you have to install the selinux kernel22:20
vikramthe server kernel doesnt have selinux?22:20
kirklandvikram: the server kernel has apparmor22:20
vikramseems to have selinux22:21
vikramgrep selinux /boot/System*22:21
mathiazvikram: assuming your using hardy - https://wiki.ubuntu.com/HardySELinux22:21
mathiazvikram: both selinux and apparmor are available in the hardy kernels22:22
kirklandvikram: i stand corrected....  sorry22:22
lukehasnonamepvvn3d22:23
keeskirkland: all the LSMs are compiled in -- one just has to select the one they want at boot time.22:26
keesvikram: sudo apt-get install selinux should get you on your way.  :)22:26
kirklandkees: learn something new every day ;-)22:27
keeshehe22:27
mhalcrowkirkland: You may want a utility that dumps the wrapped passphrase to stdout, for maintenance purposes.22:28
kirklandmhalcrow: agreed22:29
vikramI only want the kernel selinux policies, i've got my own userspace stuff, tools, compilers, policies etc...22:29
kirklandmhalcrow: we'll need something like that if we set this up automatically in the installer, say22:29
vikramthanks22:29
kirklandmathiaz: mhalcrow: jdstrand: kees: how's this for syntax?  http://ubuntu.pastebin.com/m47eda7eb22:36
a13xdebian: failed to copy file form CD-ROM. Retry?22:36
a13xi am going to shoot myself22:36
keeskirkland: hahah  sure, that works.  :)22:37
keesperhaps explain *why* they need to store it, etc.22:37
kirklandkees: yeah22:38
kirklandmathiaz: mhalcrow: jdstrand: kees: http://ubuntu.pastebin.com/m3d9366cc  better?22:43
keessure, good for now.22:44
lukehasnonameyour IDE bus is messed up?22:44
lukehasnonamea13x that is22:44
lukehasnoname...22:50
mathiazkirkland: wfm - now you just need to i18n it ;)22:51
kirklandmathiaz: later22:51
lukehasnonameI g2g, see you guys later. a13x, it is a hardware problem of some kind, I can't see it being anything else. Try a non-deb distro if you want to be sure, but that's just weird.22:56
a13xhair pulling does not come close to describing this problem22:59
uvirtbotNew bug: #234367 in apache2 (main) "If many queries come in too quickly, apache2 freezes." [Undecided,New] https://launchpad.net/bugs/23436723:33
ScottK^^^ Happens to me too.23:37
uvirtbotScottK: Error: "^^" is not a valid command.23:37
ScottKOops.23:37

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