/srv/irclogs.ubuntu.com/2010/11/03/#ubuntu-server.txt

=== _Techie_ is now known as _TechAway_
=== bastidrazor is now known as bastid_raZor
coleanyone have a 10.10 box (physical) that would be willing to test a script for me on?00:28
=== _TechAway_ is now known as _Techie_
jdimatteo1good evening02:16
jdimatteo1how can I configure nsswitch.conf to not timeout with the error "YPBINDPROC_DOMAIN: Domain not bound" before logging in as a local user on a client configured with NIS with no connection to the NIS server?  I'm trying to make logging in to a local user work without long timeouts when the connection is lost to the NIS server02:18
jdimatteo1the problem seems to be with the group line of nsswitch, group:   files nis02:19
twbjdimatteo1: not using NIS would be the most obvious way02:19
twbListing files before nis SHOULD suffice to allow local users to log in prior to issuing nis requests.  pastebin your whole nsswitch.conf.02:20
jdimatteo1twb: thanks, but I want NIS to normally work.  I am trying to better handle the unusual case where the network connection is not working and someone needs to login as a local user (e.g. root needs to login to update the networking configuration).02:20
jdimatteo1twb: one sec regarding pastebin02:21
twbThere are also a bunch of options you can put in [square brackets] in nsswitch.conf; I think they're documented in the libc or coreutils info pages...02:22
jdimatteo1http://pastebin.com/SAqs2uGq02:24
jdimatteo1twb: your help is greatly appreciated... this problem just drive me nuts02:24
jdimatteo1I'm reviewing man libc now02:25
twbjdimatteo1: ah, start with man nsswitch.conf02:27
twbAlso, are you broadcasting for the YP server, or are you hard-coding its IP?02:28
jdimatteo1twb: I already read man nsswitch.conf.  from what I understand, [SUCCESS=return] should be the default anyway, and the other statuses (notfound, unavail, tryagain) don't seem any better02:29
jdimatteo1twb: I'm sorry, can you please explain what you mean by broadcasting?  I have the YP server hostnames set in /etc/yp.conf, and the ypserver IP addresses defined in /etc/hosts.  Maybe broadcasting is setup as well, but I'm not sure (I didn't originally configure this NIS configuration)...02:31
jdimatteo1twb: does that sufficiently answer your question about broadcasting?02:31
twbHmm?02:32
twbI mean do you have "server 1.2.3.4" in /etc/yp.conf (IIRC)02:32
jdimatteo1yes, I do.  (specifically, I have http://pastebin.com/hi05CCRp)02:32
twbIf you don't, IIRC it basically causes it to "ask around" (i.e. broadcast) to find a yp server, which probably takes a while02:32
twbYou can also try turning off / removing nscd02:33
twbAlso, if Network Manager is installed, get the fuck rid of it.  It causes more network problems than anything else short of a backhoe02:33
jdimatteo1twd: I'm not familiar with nscd, and I don't think it is installed on my system (e.g. "whereis nscd" shows no path)02:35
jdimatteo1twb: I think Network Manager is installed... I agree with you that it is annoying on a server, so I'm uninstalling it now to simplify things02:36
twbIn 8.04, if you had NIS and NM installed the damn thing would take twenty minutes to netboot02:37
twbEr, to boot at all.02:37
rdw200169jdimatteo1: i agree, manual is much easier.  seems pointless to have any kind of NM on a server ;)02:37
twbrdw200169: NM is pointless everywhere02:37
rdw200169twb: double-agree02:38
twbdouble-plus-un-good!02:38
jdimatteo1:) something we all agree on, thats nice02:38
rdw200169i never thought it was that hard to understand /etc/networking/interfaces... but then again, i'm not normal i guess02:40
twbNormal users don't DESERVE computers02:41
* twb is a sysadmin02:41
Nafalloyou guys still use interfaces?02:41
* Nafallo uses vtysh for that ;-)02:41
twbNafallo: that's not in Debian.02:42
jdimatteo1twb: OMG, that fixed the issue :) now let me update my nsswitch to actually work for shadow too and see if it is completely solved02:42
twbjdimatteo1: fucking typical :-/02:42
Nafallotwb: quagga02:44
twbOh, yeah, there it is in apt-file02:44
twbI haven't switched to IPv6 yet, so I haven't bothered.02:44
Nafalloneither have I02:45
twbI mean, it's not like I have an AS...02:45
Nafallowhen I do add IPv6 I'll do dual-stacking though02:45
NafalloI do :-P02:45
twbI did think about it, but I decided it wasn't worth the hassle just to improve multi-path routing to my office02:45
jdimatteo1twb: I really hardly believe that fixed it... but it really did...  seems unbelievable...02:45
twbI mean, most outages are caused by telstra not fixing their copper, which will fuck BOTH my ISPs.02:46
twbAnd of course we were talking about NIS clients, which tends to imply leaf nodes on the network, i.e. BGP is not relevant.  YMMV, etc.02:46
_Neytiri_can i get some help with ldap i am getting this error03:02
_Neytiri_root@Pandora-Eywa-DC1:~# ldapadd -x -W -D "cn=admin,dc=xray-hope,dc=local" -f ~/people_group.ldif03:02
_Neytiri_Enter LDAP Password:03:02
_Neytiri_ldap_bind: Invalid credentials (49)03:02
_Neytiri_root@Pandora-Eywa-DC1:~#03:02
_Neytiri_it never asked me to set a password when i set it up03:02
jdimatteo1twb: fyi, I must have been confused earlier because it turns out network-manager had nothing todo with the issue.  I really couldn't believe network-manager caused my NIS issue, so I reverted to saved snapshot of the system, updated the nsswitch file, and the yp timeout errors are no longer occurring... I guess it is getting too late for me, since I'm not sure why it is working now, but I just wanted to point out ne03:05
jdimatteo1goodnight all.  my problem is fixed and I have no idea why.  good enough for me03:07
=== jdimatteo1 is now known as jdimatteo1_afk
twbjdimatteo1_afk: still there?03:15
twbjdimatteo1_afk: what VM technology are you using (e.g. KVM)?  Are you bridging the VMs to the main network, and are you using proxy arp?  IME VMs often have trouble with even simple things, like getting UDP to work reliably.03:15
_Neytiri_anyone here can tell mow how to get ldap working on ubuntu 10.403:18
c0nv1ct_Neytiri_, set the password in slapd.conf03:20
_Neytiri_where do i find that file?03:20
twb_Neytiri_: client or server side?03:20
_Neytiri_serverside03:21
c0nv1ct_Neytiri_, /etc/ldap03:21
_Neytiri_slapd.cond doesent exist03:21
c0nv1ctyou should know where to find that file since you need to edit it to setup your ldap server03:21
_Neytiri_.conf*03:21
_Neytiri_the only .conf file is a ldap.conf03:22
c0nv1ctlook in there then, you should see lines for rootdn and rootpw03:22
twb_Neytiri_: is slapd installed?03:22
_Neytiri_twb, it should be i am following this tutorial http://www.debuntu.org/ldap-server-and-linux-ldap-clients03:23
c0nv1ct_Neytiri_, but you just said it never asked to setup a password03:24
_Neytiri_slapd is already the newest version.03:24
_Neytiri_it didnt03:24
c0nv1ct_Neytiri_, look at the 3rd step in the guide you just posted03:24
_Neytiri_did that it only asked 3 things03:25
_Neytiri_omit ldap config, pure db and allow ldapv203:25
c0nv1ctif you didnt omit the ldap config, you should of been asked those other questions03:26
c0nv1ctshould have*03:26
_Neytiri_i dinty omit it and it never asked me03:27
_Neytiri_didnt*03:27
c0nv1ct_Neytiri_, have you tried the guide for ldap in the ubuntu server guide?03:31
c0nv1ctthe one i'm looking at looks nothing like that guide you posted03:31
_Neytiri_where do i find that?03:31
c0nv1ctdoc.ubuntu.com03:31
c0nv1ctor help.ubuntu.com actually03:32
_Neytiri_i did a remove on everyting i installed from that tutorial and am working off of https://help.ubuntu.com/10.04/serverguide/C/openldap-server.html03:35
_Neytiri_where would i set the actual domin name?03:43
twb_Neytiri_: you mean the LDAP DN?03:44
_Neytiri_ya03:44
twbIt's just the (root)binddn and rootbindpw in the LDAP client03:48
twbAnd the objects themselves in the LDAP server03:48
overriderUsually when i log into my Ubuntu 10.04 Server, at least every other day there is something for me to upgrade using apt-get upgrade. Since about 9 days, it always reports 0 packages can be updated.04:19
overriderThis is on two different 10.04 Servers the same, can it be or is there something wrong?04:19
twb10.04 has been released.04:20
twbThat means the only updates for it are security updates04:20
twbIt's actually bad that you were getting updates every other day -- it meant there were lots of vulnerabilities in the original 10.04 release04:21
overridertwb: so you mean i also will not receive updates to already installed packages should there be any?04:21
twbThere are two kinds of updates04:21
twbSECURITY updates fix bugs.04:21
twbFEATURE updates introduce bugs.04:22
twbReleased versions of Ubuntu only get the former.04:22
overriderWhat i am saying is, say Dovecot will release a new version of itself. Will that show up when i run apt-get upgrade?04:22
twbIt will not.04:22
overriderHmmmm04:22
overriderWhat if the update fixes a security hole?04:23
twbThen the security team will (usually) backport that security patch to the earlier version.04:23
twbThere are exceptions to this, such as Mozilla products.04:23
overriderSorry to be numb, somehow i feel nervous that nothing was there to update since days...04:24
twboverrider: but change is bad!04:24
overriderits 10.04 server lts, and runs apache, dovecot and postfix and the likes.04:24
fij0anybody has used kernel direct boot ?04:24
overridertwb: yeah sure, just wanted to make sure i still receive the security updates;04:24
twbfij0: never heard of it.04:24
fij0im trying but the VM donsent boot04:25
fij0twb, http://www.mail-archive.com/libvir-list@redhat.com/msg15128.html04:25
twboverrider: unfortunately I don't know a way to be confident about that; you could certainly check that -security is still listed in your sources.list, and that "apt-get update" works.04:25
fij0twb, you pass to the VM the kernel of the host .........basicaly04:25
fij0sorry mi inglish is realy poor04:26
fij0english04:26
twbI don't see how that could ever work04:26
fij0twb, libvirt support that - http://libvirt.org/formatdomain.html04:26
fij0twb, it is realy healfull with lvm , so you cant exec the VM in an lv in the host04:27
fij0like xen04:27
twbSurely it assumes that either you're running a module-less kernel, or that neither host nor guest EVER changes kernel04:27
twbOh, I see what they're saying.04:27
twbThey just mean the equivalent of qemu -kernel and -initrd -- as opposed to having a bootloader inside the virtual disk.04:28
fij0twb, yes04:28
fij0twb, work, im sure, but i cant doit :S04:28
twbI have done that before with qemu, a lot.  I haven't ever done it with libvirt04:28
twbAll you do is copy the kernel and ramdisk out of the guest's /boot04:29
twbYou probably shouldn't put the guest's kernel and ramdisk in the host's /boot, though04:29
twbIn what way is it not working?04:30
fij0twb, when is booting , crash and say04:33
fij0boot args (cat /proc/cmdline)04:33
fij0check rootdelay= (did the system wait long enought?)04:34
twbOK, so it can't find the root filesystem.04:34
fij0twb, yes04:34
twbPlease pastebin your libvirt config file (the XML file), and the full boot transcript.04:34
fij0twb, the xml - http://pastebin.com.ar/632004:36
twbI don't think the " should be there04:36
fij0twb, the /var/log/libvirt/qemu/base.log - http://pastebin.com.ar/632104:37
fij0twb, what quote ?04:37
twbOops, ignore that, it should be there.04:37
twbNo, I change my mind again, it shouldn't :-)04:37
twbInside <cmdline />, you have a " on each end.  Try removing it04:37
twbYou can see those quotes aren't present in the CMDLINE example at http://libvirt.org/formatdomain.html#elementsOSKernel04:38
fij0twb, yes, i dont know why put that :S , anyway , i remove and happend the same thin04:39
twbOK, try specifying the root filesystem by device name instead of UUID04:42
twbAlso, in the fallback initrd you get, try catting /proc/partitions04:42
twbAnd also in there, look at /dev/disk/by-*/04:42
fij0sorry but i dont understand04:43
twbAfter it talks about rootdelay, it should give you a busybox shell04:44
fij0twb, yes04:44
twbOK, in there, run "cat /proc/partitions"04:45
fij0252 0 4194304 vda04:47
twbOK, so try root=/dev/vda instead of root=UUID=...04:47
fij0something like this ?     <cmdline>root=/dev/vda ro</cmdline>04:48
fij0twb, it work !!! thanks a lot !04:49
DanInOzhey sorry for the noob question, i jsut did a fresh install of 10.10 server and i accidently mistyped the proxy server on the installation. How do I reenter the corrent info?04:50
twbOK.  Either you got the UUID wrong, or you can't rely on udev UUID/NAME labelling.04:51
twbfij0: because it's a VM, it should be pretty safe to just use root=/dev/vda forevery04:51
twb*forever04:51
twbDanInOz: when it fails, hit "back" or "reconfigure" or whatever the option is04:51
DanInOzi've already completed the install04:51
twbDanInOz: oh, then go to /etc/apt/apt.conf04:52
DanInOzyeap, changed that. still uses old setting for some reason04:52
twbThat shouldn't happen.04:52
DanInOzi'll just04:52
twbwhat is the value of $http_proxy?04:52
DanInOzdouble check it quick but04:52
DanInOzi dunno how to change that ><04:52
twbDanInOz: you don't know how to change what?04:52
DanInOzlike i said, i a a noob haha04:52
DanInOzsystem variables04:53
twbI don't know what you mean by "system variables"04:53
DanInOzsorry i been reading articles off google trying to fix it I could completely have my wires crossed04:53
DanInOzok i checked apt.conf and it has defiantly saved the change i made04:54
DanInOzapt still is trying to use the first value though04:54
twbThen check the environment variable $http_proxy.04:54
DanInOzhow do i do that?04:55
twbecho $http_proxy04:55
DanInOzit just comes up blank04:56
twbThen I don't know where you're getting the "wrong" proxy value from.04:56
twbHm, I suppose you should also check /etc/apt/apt.conf.d/*, but I'm not aware of the installer touching that.04:56
DanInOzok i will look04:56
twbAlso, I'm assuming you're using either "sudo apt-get" or "sudo aptitude"; if you're using something like synaptic, I can't help you.04:56
twbIf all else fails, you can try grepping recursively over /etc for the bad proxy string.04:57
DanInOzok thank you :) i'll try those things04:58
DanInOzthanks for your patiance!04:58
* pennyless is away: Gone away for now05:17
eagles0513875hey guys i have a quick question for anyone. does it matter waht order i configure dovecot + postfix?06:47
twbI shouldn't think so, but I haven't done it.06:47
eagles0513875ok :-/06:49
eagles0513875prior install i was able to get all incoming email then  no outgoing then at a point i couldnt get incoming emails either06:50
twbThat was weird.  I just noticed that all my alternatives-managed files in /usr/bin weren't symlinks.06:50
eagles0513875O_o06:53
eagles0513875im apprehensive to follow the setup guides for dovecot and postfix again06:53
eagles0513875to end up with the same result as before :(06:53
twbeagles0513875: so go through your /etc history to find out what changed?06:53
eagles0513875already purged and reinstalled just havent configured yet06:54
eagles0513875atm not sure what would be worse having postfix not working right or having to deal with a microsoft exchange server06:55
eagles0513875hey twb07:02
eagles0513875im wondering if the issues i was having could be dovecot related07:03
eagles0513875dovecot in lucid is old stable version 1.1.207:03
eagles0513875lates is 2.0.607:03
uvirtbotNew bug: #670250 in dovecot (main) "upgrade to latest stable version 2.0.6" [Undecided,New] https://launchpad.net/bugs/67025007:11
eagles0513875hehe ^^ i reported that07:13
eagles0513875any email experts in here this morning?07:13
_rubentry asking more specific questions instead07:14
twb_ruben: I'm ignoring him, FWIW07:15
eagles0513875_ruben: my question is doesnt it matter what order i confgure postfix or dovecot07:15
_rubenit doesnt, you should "glue 'em together" yourself anyway07:17
eagles0513875ok07:18
eagles0513875interesting07:18
eagles0513875thanks07:18
lifeless.win 6707:20
eagles0513875?07:21
kaushalhi07:23
kaushalI have been facing issue about collectd MySQL Plugin for configuring Multiple DB,It defaults to root user inspite of other user being hard coded in the config,Please advice07:23
kaushalI am using collectd 4.10.107:23
noaXessgood morning07:28
noaXesshave a 8.10 installation.. and saw now, that there are no updates..07:28
noaXesscan't make updates now, cause on http://ch.archive.ubuntu.com/ubuntu/dists/ there is no intrepid ... grrr07:29
twbIsn't 8.10 EOLd by now?07:33
twbnoaXess: you should probably upgrade to a release that's still supported, see https://help.ubuntu.com/community/UpgradeNotes07:34
eagles0513875i think it is twb07:34
noaXesstwb: EOL i think yes.. but don't i need first update to the latest packages on 8.10?07:35
kaushalnoaXess: https://wiki.ubuntu.com/Releases07:35
twbnoaXess: I don't know; read the notes I linked to07:35
noaXessok07:35
=== _TechAway_ is now known as _Techie_
kaushalCan some one please help me about my query ?07:43
twbSorry, MySQL is boring07:44
kaushali see07:44
kaushalwhat makes you say so07:44
twbBecause it's not very good at being a real database (cf. postgres), and it's not very good at being an easy-to-use, lightweight toy database (cf. sqlite).07:48
twbWhich is the position of every DBA I've ever met; the only people that like it are PHP users, which is kind of an anti-recommendation.07:49
owhkaushal: What do you mean when you say hard-coded in the config?07:59
kaushalowh: shall i pastebin the collectd.conf ?08:01
owhNo.08:01
kaushalwhen i run the mysql command i am able to connect08:01
owhSo, what is the actual problem?08:02
kaushalwhereas when i use collectd, it maps to root@localhost by default08:02
kaushalinspite of setting user other than root user08:02
kaushalI could see in the collectd debug log08:03
twbIIRC mysql has some broken thing where referring to either "localhost" or "127.0.0.1" actually makes it use a socket instead of a port08:03
owhNot having ever used collectd, I suspect you might have a syntax error in your config. Can you increase the vebosity? Did you reload/restart collectd after updating the config?08:04
owhtwb: You appear to be referring to a network/non-network connection parameter which changed default behaviour for security purposes in v4 of MySQL.I don't think it's relevant.08:04
twbOK, that was just a shot in the dark08:08
twbThe last couple of times someone was in here, that turned out to be the problem08:08
owhThe problem being described appears to be an authentication issue.08:09
owhtwb: If you make a shot in the dark, that's fine, but it would be smart to let your audience know that it's a shot in the dark. There's nothing wrong with firing off ideas, but you need to provide some context since not everyone knows everyone in this place.08:10
twbsorry08:10
owhBRB08:12
kaushalI have increased the verbosity08:16
kaushalto debug08:16
kaushalit still not worked08:16
kaushal[2010-11-03 01:17:26] mysql_real_connect failed: Access denied for user 'root'@'localhost' (using password: NO)08:17
kaushal[2010-11-03 01:17:26] read-function of plugin `mysql' failed. Will suspend it for 10 seconds.08:17
kaushali get that error08:17
twbkaushal: that's from collectd's log?08:18
kaushalyes08:19
kaushalhttp://pastebin.ubuntu.com/524931/08:19
twbkaushal: that doesn't look like root@localhost08:21
owhkaushal: Is that the complete configuration file for collectd?08:22
kaushalowh: nope08:22
owhDoes mysql have a nagios user?08:22
kaushalyes08:22
kaushalLet me pastebin it again08:22
owhDid you reload privileges?08:23
kaushalhttp://pastebin.ubuntu.com/524934/08:23
kaushalthat will explain the details08:23
owhIt is possible/probable that you have a syntax error in your config, or that collectd doesn't use the credentials the way you expect.08:24
kaushalDo you want me to pastebin the collectd.conf ?08:25
owhIs there an /etc/default/collectd file which perhaps overrides stuff?08:25
kaushalI have compiled collectd from source08:26
kaushalI am using collectd 4.10.108:26
owhWell, at that point you lost all support really. Is there not a ubuntu packaged version?08:26
kaushalok08:27
kaushalbut it does not support multiple instances08:27
kaushalI am using 8.0408:27
owhThe reason I say that is because when you use a ubuntu package, things are stored in certain places and people like me expect things to be in those places.08:27
kaushalok08:28
owhIs multiple instances support a compile option?08:28
kaushalnope08:28
owhSo, you hacked it?08:28
kaushalhttp://collectd.org/wiki/index.php/Plugin:MySQL08:28
owhLet me get this straight. You're just trying to collect stats from mysql?08:30
owhDoes it work for one database?08:32
kaushalyes08:33
owhWhy are you then showing a different socket?08:35
kaushalIt has been configured like that08:43
owhA different socket for a different database?08:43
kaushalyes08:44
owhWhat happens if you create two plugin sections, rather than two database sections in the same plugin section?08:44
kaushalok08:47
kaushalowh: Let me try it out08:47
kaushalThanks for the hint08:48
kaushalwill update you now08:48
kaushalstill the same08:49
owhSo, why are you doing this with two different sockets again?08:50
kaushalIts multiple MySQL Instances08:51
owhI think you're going to have to ask the collectd developers about this one.08:52
kaushalok08:52
kaushalowh: i can pastebin the collectd.conf08:52
owhAs I said before, I'm not a user of collectd. I'm asking silly questions to get you to say :"Doh, aha!"08:53
jmazaredoi will be installing bacula but it ask me to use dbconfig-common will this erase my other databases?08:57
kaushalowh: Thanks for the support08:57
kaushalnp08:57
owhkaushal: Not that we got to an answer, but sometimes that happens :)08:58
kaushalyes an attempt is crucial in life08:58
kaushalisnt it08:58
kaushalThats much appreciated08:58
owhYup08:58
kaushalowh: the irony is that no one responds on #collectd08:59
kaushalI have been following it rigorously08:59
kaushalfor quite some time08:59
owhI'd see if there is a mailing list and send an email there.08:59
kaushalI have tested it with the older version too and then i used the latest under the impression that it would be working fine09:00
kaushalbut it did not worked either09:00
Callum__ugh, postfix doesn't want to work with clamav-milter at all09:00
Callum__give it the right name for the socket = still says socket file doesn't exist, even though it does and clamav-milter is running09:01
Callum__postfix/smtpd[8781]: warning: connect to Milter service unix:/var/run/clamav/clamav-milter.ctl: No such file or directory09:03
Callum__definitely does exist, and is a valid socket09:03
twbGrumble09:09
twbI get annoyed every time I see clamav on a server, using up all the free CPU and memory09:10
twbI think "if they didn't have Windows desktops, I could get rid of this stupid scanner"09:10
uvirtbotNew bug: #670289 in rabbitmq-server (main) "Laptop won't shut down with rabbitmq running" [Undecided,New] https://launchpad.net/bugs/67028909:32
Callum__twb: our business itself doesn't have any Windows machines, but all of our staff do at home so yeah its required09:34
twbStupid staff09:34
twbI jump on their heads!09:34
Callum__it frustrates me how little about computers they know >_>09:35
Callum__but we don't pay them haha we're a non-profit organisation of course09:35
twbThey should need a license to use them09:36
twblike automobiles and forklifts and handgus09:36
twb*handguns09:37
Callum__heh09:39
evelyettehey: I'm having problems with: https://help.ubuntu.com/10.04/serverguide/C/kerberos-ldap.html does anyone care to help ?09:59
twbevelyette: you need to describe the problem first.10:05
dubphilHello10:12
evelyettetwb, hi10:23
evelyettewell the problem is with step 5: the command I try to issue says: ldap_bind: Invalid credentials (49)10:23
evelyetteit's  because I don't have cn=admin,cn=config10:23
twbAre you on 10.04?10:24
evelyette10.1010:24
evelyettetwb, ^10:24
twbThen why aren't you reading the 10.10 server guide?10:24
evelyettedoes it exist?10:25
evelyettewell it should be the same ...10:25
twbTIAS10:25
evelyetteyes it's the same10:26
evelyetteso, do you have any idea why that happens10:26
evelyettebecause I've read this: http://www.openldap.org/doc/admin24/slapdconf2.html and there's no mentioning of "cn=admin,cn=config"10:26
evelyetteso why should that even be there?10:26
twbIIRC cn=admin,cn=config is where Ubuntu moved the database config from slapd.conf into the database itself10:28
twbI've only dealt with slapd on 8.04, so I don't know much about it10:28
evelyetteno it's the cn=config ...10:29
evelyettenot the cn=admin,cn=config10:29
evelyettehttp://www.openldap.org/doc/admin24/config_dit.png10:29
evelyettethere's cn=module,cn=config and cn=schema,cn=config. ...10:29
evelyettebut no cn=admin,cn=config10:29
twbDunno, man10:35
rdw200169i hated it when they moved to cn=config10:46
twbI hated pretty much every change from 8.04 to 10.0410:53
twbIf joeyh's cuts get off the ground, I will just switch to it and tell the customers I'm running the "reliable" version of ubuntu10:53
twbThe only reason I adopted ubuntu was because of the "when it's NOT ready" release schedule10:54
ScottKtwb: Take a look at what's in Debian and not of the security hardening features in Ubuntu first.11:00
ScottKw.u.c/Security/Features IIRC11:01
twbYeah, you have a point there11:01
twbPoor kees, he tries so hard to get traction there11:01
twbI just get so angry when simple stuff like booting from NFS doesn't work in an LTS release because of cyclic dependencies in the upstart jobs11:02
kinygoshi...what is a good program to pipe log files to on my ubuntu server?  primarily i'd like to feed it logs from apache2 and postgres8.4, and would like the rolled every 24 hours11:09
qman__kinygos, this is done by default, though the rotation is usually longer than 24 hours11:10
kinygosbugger...it's always the way, i've literally just found an article on LinuxLogFiles on ubunt.com (sorry about that)11:11
kinygosqman__: thanks for that...i'll check what's going on in my server at the moment :)11:12
twbkinygos: what you pipe them into really depends on what you're trying to achieve11:13
twbe.g. logcheck and denyhosts both work by reading logfiles, but they do different things11:14
ScottKtwb: It's clear that the boot work in the last LTS was not well considered for the server use case.  That's unfortunate, but I suspect a one off occurrence.  If you have suggestions on how to fix it, I'm sure if it's not too invasive, they'd be open for changes.11:22
kinygostwb: very good point...thanks :)11:23
Copehey11:24
twbScottK: I realize that specific case was a one-off, but there seem to be a lot of one-offs for server users11:24
Copetrying to debootstrap a lucid image for uploading to ec2 as an ami11:24
Copedo I need to install the ec2 kernel?11:24
Copein the chroot?11:25
twbAbout the worst thing Debian did to me was the motd fuckup11:25
ScottKtwb: I think NFS is sufficiently non-obscure that there would be interest in getting it fixed.  A large problem is that most server people don't test pre-release.11:25
twbNod.11:25
twbI tested 8.04 pretty extensively, but IIRC timing of 10.04 didn't tie in with the contracts I was working late 09 / early 1011:26
twb(i.e. I wasn't paid to start developing until June, and that was only because we discovered without warning that 8.04 didn't work with the Atom D510's GPU.)11:27
Copeany thoughts on the ami / ec2 kernel?11:27
Hatrix|awayI  was used to the IOSTAT command and at some debian installations the iostat utility give ma all information in one line, as in (vmstat 1) ... but now on lucid iostat gives me statistics vertically, it's so hard to read changes if you do a iostat 1 ... is there a way to change the format to be on one line again? I did not find anything in the man pages .... or is this a new iostat?11:28
twbHatrix|away: I've never seen a one-line iostat in linux.11:30
Hatrix|awaytwb: what is joeyh's cuts?11:30
twbHatrix|away: Joey Hess is talking about making time-based snapshots of Sid, called "cuts"11:31
Hatrix|awaytwb: hmm, and for what reason, is this ubuntu related or debian related?11:31
twbref http://kitenet.net/~joey/code/debian/cut/11:31
twbHatrix|away: I don't understand the question.11:32
twbHatrix|away: did you mean iostat output like this?  http://paste.debian.net/98916/11:33
Hatrix|awaytwb: yes, exactly11:33
twbThat's OpenBSD.11:33
twbon linux, it looks like this: http://paste.debian.net/98917/11:33
twb(And that's FC3, so it has been like that for a while.)11:34
Hatrix|awaywell, i have it on a debian machine, and was used to it, but all ubuntu machines i have have the long output11:34
Hatrix|awaytwb: like here: http://inetpro.org/pastebin/1047511:35
Hatrix|awaythis is a debian 5.0.311:36
twbI don't know how you got that.  Try looking at the manpage.11:36
kinygosomg....i've just looked in /var/log/auth.log for sshd logins, and it's packed with failed attempts from ip addresses i've not seen!!!  am i being naive??11:36
Hatrix|awayI did, I am not a linux newbie ... but I did not find out anything11:36
Hatrix|awaykinygos: haha, yes, for years i put my ssh logins to different ports (like, bigger 32000), that will not stop a determined person, but stops all those script kiddys and bot-net attacks11:37
qman__any SSH server listening on the default port will get hit11:37
qman__there are many ways to protect yourself11:38
kinygoswow...i think changing port is the first thing to do11:38
qman__changing ports can be very inconvenient, and isn't the only way11:38
Hatrix|awaytwb: ah, please forgive me, I never check the path of this iostat, it's a selfcompiled one from http://linux.inet.hr .... seems the prior admin loved the iostat onliner from bsd that much :-) haha, and I was searching my ASS off in the man pages11:38
qman__limiting firewalls and fail2ban will also negate these attacks11:38
c0nv1cti'm a big fan of port knocking for ssh access11:39
twbc0nv1ct: with -m pknock, or do you use some lame-ass userland implementation?11:39
Hatrix|awayqman__: yes, and that's why I said that I do it this way, of course there are million different ways, i like the port knockers though, but to much trouble for me11:39
c0nv1cttwb, lame-ass userland that works fine for me11:39
twbBah.11:39
twbIf anyone has a working -m hashlimit / -m recent implementation, let me know.11:40
c0nv1cttwb, what advantages does -m pknock give?11:40
qman__I use a -m recent11:40
twbI can get -m recent working, but -m hashlimit just sits on its ass matching every / no packet.11:40
twbc0nv1ct: it's in-kernel, so it'll still work when parts of your userland flake out.11:40
twbAnd obviously it means a purely declarative iptables-restore ruleset.11:41
c0nv1cti thought userland knockd just relied on iptables11:41
twbThe latter is less of an issue if your userland implementation is ipset(8)-based11:41
twbc0nv1ct: anything that calls iptables(8) directly is basically wrong and vulnerable to race conditions11:42
sorentwb: How do you figure that?11:43
twbsoren: based on the advice of the good folk of #netfilter, i.e. the guys who make iptables11:43
sorentwb: What would you use instead?11:43
twbBut also because I've *experienced* race conditions from scripts that weren't iptables-restore(8) based.11:43
sorenOh.11:44
soreniptables-restore is atomic?11:44
twb<customer> Hey I just restarted the server and the network isn't working so good. <me> hm, looks like you have four copies of most rules because all four ports on the NIC triggered the load-firewall script in your post-up.d11:44
twbsoren: it's atomic at the table level11:44
twbi.e. it doesn't load -t nat and -t filter together, but everything in -t filter is an atom11:45
sorenCool.11:45
twbufw uses iptables-restore, too, but in a slightly funny way11:45
* soren never realised11:45
c0nv1ctwhat does shorewall use? i've started playing with it here a few days ago11:46
twbsoren: part of the problem is that the kernel api for iptables is actually atomic at the table level no matter what you do11:46
twbsoren: so iptables -A is actually dumping the entire filter table, making a change, then restoring the whole table again11:46
sorentwb: "clever"11:46
twbWhich is OK if you're playing around, but a script shouldn't be doing it.11:46
twbc0nv1ct: shorewall's latest major release (4.x?) is iptables-restore oriented11:47
_rubenswitching from iptables to iptables-restore was quite noticeable for us .. firewall reloads went from 1-2minutes to a few seconds tops11:49
kinygosnaive question: i only have a dedicated server in the data-centre, no firewall that i can play with...would installing a firewall daemon on my server have a significant impact on performance?11:51
twbPlus it's a lot sexier11:51
twb#!/usr/sbin/iptables-restore -v FTW11:51
twbNone of this <<EOF crap11:51
twbJust have udev give your interfaces logical names.11:51
* kinygos feels foolish having just read a bit about ufw11:56
twbkinygos: Linux implements the (layer 3) firewall in-kernel; it isn't a daemon.11:59
twbAnything you see claiming to be "a firewall" (e.g. ufw, shorewall) is actually just a wrapper around the netfilter/iptables stack, intended to make it easier to use.11:59
kinygostwb: the last 20 minutes of dialog here have scared me...am i right in thinking that i should at the very least enable ufw on my server? then look at pknock?12:01
twbufw is a reasonable choice if you only need tcpwrappers-level flexibility12:02
* kinygos is a developer, not a systadmin...but he's on his own12:02
twbi.e. deny all, but allow port X to/from hosts Y and Z12:02
c0nv1cti'm having a hell of a time finding info on pknock12:02
twbc0nv1ct: it's part of xtables12:02
c0nv1cttwb, is it main line or do i need patches?12:02
twbUnfortunately it's currently not mainline :-(12:02
c0nv1cti just skimmed through the netfilter section of my kernel config and didnt see it, so i wondered12:03
twbAIUI xtables is the module that provides all the bits the netfilter guys think are cool, but haven't put into mainline yet12:03
twbit used to be called patch-o-matic IIRC12:03
c0nv1ctthx12:04
kinygostwb: just to be sure i understood correctly...ufw is enough if i only want to allow the world to connect on ports 80 and 443, but only my machines to connect on 22?12:05
twbkinygos: ufw suffices for that12:06
kinygostwb: awesome, thank you very much for your time and consideration :)12:06
twbIt's something like (from memory), "ufw enable; ufw allow http; ufw allow https; ufw allow ssh from 192.168/16"12:06
kinygosrofl....i was about to enable ufw over my ssh connection !!!  i only have remote access lol12:08
kinygospraise the developer that coded the warning...i could've lost my server completely12:08
twbIf it has any brains it'll (essentially) be connection-oriented, meaning that most of the time you have to hang up ssh to REALLY shoot yourself in the foot12:09
c0nv1ctkinygos, lol, that is one reason i liked `shorewall try`12:10
kinygosi actually have to think about this carefully...i don't have direct access to this server...if my local ISP decides to change my ip address (i'm on a home broadband setup), i'll be buggered completely12:12
kinygosis it possible to configure my ubuntu-server to boot up with ufw disabled?12:14
twbc0nv1ct: iptables-apply ?12:14
twbPersonally I don't like it because it was written by some ubuntu schmuck, yet it's shipped by upstream with all the upstart references intact...12:14
twbHm, my mistake.  It's restarting fail2ban, not upstart.12:16
twbHm, is it just me, or does it confuse exit(126) and exit(127)?12:17
kinygosrephrase my question: is it possible to have my server boot up without a certain rule enabled?12:17
twbIt's just me.12:17
twbkinygos: anything is possible12:17
twbAFAIK ufw is designed to be all-of-nothing.  You give it a ruleset (via "ufw allow" and "ufw deny"), then tell it to be on or off.12:18
kinygostwb: so i could potentially turn off the rule relating to ssh on reboot in a start-up script12:19
twbThat would be a little weird12:19
twbkinygos: what are you really trying to achieve?12:20
c0nv1ctkinygos, can you have the server rebooted without remote access?12:20
kinygostwb: i have no control over the ip address i'm assigned locally by my ISP.  if i restrict ssh access to my ip address, i could lose ssh access to my remote server12:20
kinygosc0nv1ct: yes, i have a lights-out board12:20
c0nv1ctkinygos, because you could just have a reasonable delay before the firewall is enabled12:20
twbkinygos: just restrict it to your ISP's /12, and ensure that password-based access is disabled?12:21
c0nv1ctthat would limit the vulnerability but still leave you an emergency out12:21
twbOr you could simply block everything except, say, alioth.debian.org, and then always ssh into your server via alioth12:21
twb(Where alioth is some well-known host that isn't actually alioth, because I don't want the alioth admins to come around and break my fingers.)12:22
kinygostwb: lol...i was wondering :)12:23
patdk-wkwhy not just use port knocking?12:23
=== JanC_ is now known as JanC
c0nv1ctpatdk-wk, twb scared us all away from userspace port knocking12:23
kinygosc0nv1ct: i like the idea of a delay12:23
patdk-wkuserspace?12:23
patdk-wkdunno, only used it in the kernel12:24
c0nv1ctas in knockd12:24
patdk-wkna, iptables can do it all by itself12:24
twbWhat I'd *really* like is just to have exponential backoff in the sshd itself12:24
twbBut the OpenBSD guys won't accept the patch "because it'd make logins slower"12:24
twbWell, duh!  That's the point!12:24
twbc0nv1ct: xtables has -j TARPIT, too12:25
jpdsI wish iptables had TARPIT.12:26
twbjpds: m-a a-i xtables-addons, iptables -A INPUT -j TARPIT12:26
kinygostwb: that is such a blindingly obvious solution12:26
jpdstwb: Is the patch maintained though?12:27
twbI don't remember the precise invocation because I'm not putting cc on my bastion router12:27
twbjpds: AFAIK it's the same guys that maintain the rest of netfilter12:27
patdk-wkheh port knocking is supported without xtables, all you need is the recent module, and that is on my 8.04 install12:29
patdk-wkexample: http://www.shorewall.net/PortKnocking.html12:29
patdk-wkshows pretty much the raw iptables lines12:30
twbThat's not a knock sequence12:31
twbThat's just one knock12:31
twbTo do a proper sequence of, say, four ports, you'd need four different -m recent --name's12:32
jpdstwb: http://pastebin.ubuntu.com/525018/12:32
patdk-wkheh?12:32
twbjpds: er, .35?  Are you running a non-LTS release?12:32
jpdsMaverick on the laptop. :)12:33
twbHumph12:33
twbBut yeah, I'd talk to #netfilter about that.  I'm just a user12:33
twbjpds: FWIW, compiled perfectly against debian's 2.6.32-5-amd6412:41
jpdsYeah, I don't have a box I can test it on at the moment.12:41
Dark-Sunhi every112:51
Dark-Suni have a firewall web panel, it uses perl and works with iptables. i was wondering if is it safe to run the perl script as a daemon using init scripts or not? (web server is apache, server ubuntu 10.04 lts)12:54
twbDark-Sun: that really depends on what the code actually does12:56
Dark-Suntwb: not a big deal, reads a text file (iptables's parameters), executes iptables based on that once a while.12:57
twbAh, I see you weren't around for the recent iptables discussion12:57
twbI'll /msg you a transcript.12:57
Dark-Suntwb: no12:57
dubphilDark-Sun : why the hell using perl for this ?12:57
_rubenhm, backporting haproxy from maverick to hardy aint gonna be trivial12:58
Dark-Sundubphil: it was an exercise for the collage. guess it's too bad in the real world, isn't it?13:00
dubphilDark-sun the straighter is the safer13:01
Dark-Suntwb: what's wrong with iptables?13:01
Dark-Sundubphil: and what do u mean by "straighter"? shell script?13:02
dubphilDark-Sun: yes of course, stacking block is the way to introduce security holes13:03
RoyKdubphil: perl is pretty safe, you know, even if you like it or not13:04
Dark-Sundubphil: that's right. but market demand is on GUIs.13:04
dubphilRoyK: yes but security depends on the way you code not on the language itself13:05
ScottKRight.  It's possible to write php in almost any language if you work at it.13:06
Dark-Sunagree. my code isn't safe at all! :( i'm on to secure it.13:06
Dark-Sunguys, please, now i may add it to init scripts beside apache ro i should take care of it?13:07
dubphilgiving apache the ability to start or stop the firewall, great !13:09
RoyKdubphil: indeed13:09
Dark-Sundubphil: oh, hell no! apache can't do anything to the script.13:09
Dark-Sunscript should being run as root.13:10
dubphilDark-Sun: sorry I didnot understand what you ment before then13:10
Dark-Sundubphil: np, i was just talking about execution at the startup before any user does login.13:11
ivoksttx: how's your new position? :)13:12
Dark-Sunif i add it to rc.local it would be like that, right?13:12
ttxivoks: so far, not very different :)13:12
ivoks:)13:12
dubphilDark-Sun: you can tweak this by giving a priority13:13
Dark-Sundubphil: humm.. and how may i do it?13:13
dubphilman update-rc.d13:13
Dark-Sundubphil: that's what i call a real nice answer. thanks dude ;)13:14
dubphillook at the NN or SS and KK13:14
=== MagicFab is now known as Guest14201
dubphilanyone using logcheck here ?13:23
twbdubphil: I am.13:23
twbWhat's your real question?13:23
dubphiltwb: I have put this in my ignore.d.server/local file : ^\w{3} [ :0-9]{11} hostname fetchmail\[[0-9]+\]: Query status=3 (AUTHFAIL) and it is always in my logs reported by logcheck, any idea why it is not taking in account ?13:26
twbdubphil: did you follow the logcheck documentation for creating new entries?13:26
twbdubphil: In particular, using egrep to test it, and the difference between normal and security local overrides?13:27
\shhmmm..does someone run couchdb behind an apache reverse proxy ? I see some very strange things happening with futon but no error in logfiles...13:28
dubphiltwb: perhaps not so, but because I had some other regex that where working I didnot understand why this one wouldn't13:28
dubphilso I will check the doc13:29
twbdubphil: I suspect because it has AUTH in it, you need to whitelist it in the security area13:29
twbEr, s/security/violations/13:30
dubphiltwb: ok I did it in ignore.d.paranoid without much success, ok I test it in violations.ignore.d13:31
twbThe other way, of course, is to actually fix the software so it doesn't generate that error13:36
hackeronhey, I have a /var/crash/linux-image-2.6.32-24-generic.0.crash - how do I get a traceback out of this file?13:37
dubphiltwb: I use fetchmail to retrieve all my emails from the junk isps so their mailserver are not so reliable13:38
twbDammit.  I just stepped through pbuilder --create --distribution, only to realize I forgot --architecture i386.13:41
dubphiltwb: arf how long it takes ?13:43
twbmaybe twenty minutes13:43
hackeronanyone? I have a /var/crash/linux-image-2.6.32-24-generic.0.crash - how do I get a traceback out of this file?13:48
dubphilhackeron: how did you get this file ?13:51
hackerondubphil: apt-get install linux-crashdump and wait for it to crash (which I assume is caused by the dvr card)13:52
jdstrandtwb: fyi, ufw upstream does not install an upstart job, or a sysv initscript for that matter. it states in the README that if installing from source you have to figure out how to integrate it into your system. it does ship an example upstart job and initscript13:53
twbjdstrand: re upstart & upstart, I was talking about iptables-apply13:53
jdstrandah13:53
twbBut it actually restarts fail2ban, via init.d13:54
jdstrandmissed the context from backscroll13:54
twbjpds: GODDAMMIT, you're right, xtables-addons doesn't build for me on lucid.  Stupid ubuntu13:56
jpdstwb: Built for me on a virtual machine.13:58
rdw200169who needs ufw anyway? this is -server we're doing here, not some easy-fied user stuff, why not just learn iptables... its not much different13:59
jpds(Lucid one that is).13:59
twbHm, it seems to be getting pissed because the host arch is amd64, but the chroot is i38613:59
hackerondubphil: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe says to do apport-retrace --stdout --rebuild-package-info /var/crash/linux-image-2.6.32-24-generic.0.crash but I just get IndexError: list index out of range14:00
dubphilhackeron: sorry I will not be of help on this anyone to help hackeron ?14:01
twbhttp://pastebin.com/nafC2C4Z is what I'm getting14:07
=== ivoks is now known as ivoks-afk
twbAh, the trick is to run "linux32 m-a ..." instead of just "m-a ..."14:15
hallynjdstrand: libvirt compiled locally, but not in my ppa, so i guess hold off on that merge request for a bit :(14:31
sorentwb: Yeah, the kernel build is kinda picky with the personality.14:33
twbHeh, shows how dumb I am -- I hadn't even noticed -j TARPIT needed -p tcp14:33
jdstrandhallyn: ok14:39
patdk-wktwb, your just funny :) you can't tarpit udp :)14:43
twbpatdk-wk: or, say, -p ah14:45
patdk-wkok, none-window-based-protocols :)14:46
twbActually only -p 6 is supported at this time14:51
twbOthers may be theoretically possible, of course14:51
twb(Patches welcome, I expect.)14:51
ScottKkirkland: RE packageselection-server-n-install-flavors - I thought for SSH we ended up on the idea of an installer question, but default to not installed so it doesn't have system policy implications.14:51
kirklandScottK: nope, I took the action item to take this to the tech board14:52
ScottKI know we said that at one point, but I thought there was more discussion afterwards.14:52
ScottKSimply having the installer question solves the "Oops, I forgot" problem.14:53
ScottKSpamapS or ttx: ^^^ do you recall this?14:53
kirklandScottK: installer question, yes, cursor hovering over "yes, install", but giving sufficiently ominous text that would convince the paranoid to move the cursor to "no, don't install"14:53
kirklandScottK: that part I remember14:54
ScottKRight, I recall more after.  Just as the session was ending.14:54
ttxScottK: we went back and forth on the subject, I tend to recall the same thing you did, but maybe it was hallway discussions just after14:55
ScottKCould be.14:56
ttxMaybe raising an RFC on ubuntu-dev before going to the TB would be a good idea14:56
ScottKkirkland: I'd suggest adding the question with default No for Natty and then re-assess.14:56
ScottKWe mostly need to get this right for the next LTS, so there's no need to push it too hard in this cycle.14:56
kirklandScottK: why?14:56
ScottKBecause adding a question that defaults to no will be completely non-controversial.  Let's do that step first and assess if more is needed.14:57
kirklandScottK: in that case, we can just add the question, no permission needed if we default to no;  and then simultaneously ask for permission to change that default to hovering over "yes"15:01
kirklandScottK: i don't see the point in wasting any more Ubuntu cycles with the default set to something sub optimal15:01
ScottKI think the case would be stronger if we could say "We tried defaulting to no for one cycle and people still have problems."15:01
ScottKkirkland: Part of the problem is that lots of people will consider a yes default sub-optimal.15:02
kirklandScottK: and they will be in a minority15:02
kirkland"are"15:02
kirklandIf you're installing a server, you need SSH, except in very specific circumstances, in which case you hit "<tab><enter>"15:03
kirklandinstead of "<enter>"15:03
ScottKIf ssh is installed by default, we will need process for dealing with short notice ISO respins if security issues in the package happen again.15:05
kirklandScottK: it wouldn't be "installed by default" ... it would take a conscious decision to hit <enter> while hovering over the button that says, "yes, i want to install ssh on this server and open port 22"15:12
kirklandsmoser: you might want to change the approver of https://blueprints.launchpad.net/ubuntu/+spec/cloud-server-n-desktop-images to robbiew15:12
ScottKIf the question defaults to yes, it's installed by default.15:13
kirklandScottK: "by default" means that you're not asked whether you want it or not;  like the -server kernel is installed "by default"15:13
ScottKI don't think you can assume a user always sees all questions.15:14
kirklandScottK: that's what I came into the session asking for, but we compromised on pulling the ssh-server part out of the tasksel, and giving it special treatment, devoting a question directly to it15:14
smoserkirkland, done15:14
sorenScottK: We choose which questions to ask.15:14
ScottKkirkland: I think a question is great, I just want it to default to no.15:15
kirklandScottK: we also agreed that if users are preseeding, then the default is "no"15:15
ScottKOK.15:15
kirklandScottK: if the default is "no", i refuse to put any effort into adding a question to the installer15:15
smoseri probably have to change all of those.15:15
kirklandScottK: completely defeats the point15:15
kirklandsmoser: yeah15:15
kirklandScottK: there's already such a question, in the tasksel15:16
kirklandScottK: its sufficiently buried already15:16
ScottKkirkland: I disagree.  The point is people forget to add the task, so it needs to be more obvious.  A question solves the problem IMO.15:16
kirklandScottK: and we'll continue to have an inanely "safe" default, at the expense of the vast majority of server users would benefit from us taking an intelligent stand, rather than an unreasonably staunchly conservative stand15:17
* patdk-wk likes selecting it from tasksel, and wouldn't like a seperate question15:18
kirklandScottK: it's like defaulting the networking stack to "disabled" by default, just to make sure someone doesn't accidently enable networking15:18
patdk-wkeither auto install, or in tasksel is good for me (a user)15:18
mathiazttx: o/15:18
mathiazttx: how are you doing today?15:18
ScottKkirkland: I see your point, but I think presenting the question is a sufficient solution.  We'll have to disagree then.15:19
kirklandpatdk-wk: thank you for your input.15:19
kirklandScottK: fair enough;  if i'm going to spend any time on this at all, i'm working to have a sane default, which is "SSH is an essential tool installed on most servers which are installed interactively; let's make this intuitive"15:21
patdk-wkI'm more under the understanding, if someone is security critical, they would inspect the installed packages, and remove anything not needed, or have their own preseed file they use instead15:21
SpamapSScottK: here now.. I do recall that there was a desire to put it in the first stage of the installer, and that there was considerable resistance to putting any "scary" language in the installer.15:21
kirklandScottK: if you're going to somehow veto that, then I'm not going to spend any effort on this and will abandon the idea entirely15:22
cradek(as just another user with 2c) it is a minor pain to have to remember to install sshd on each desktop machine I install.  I have no machines without ssh servers.  I am surprised that it is not default on a server install.  I am surprised it is controversial.15:22
ScottKkirkland: I don't have any veto power.15:22
pkstefwould anyone have any tips for setting up ubuntu-server as a personal seedbox?15:22
sorenWhat does a seedbox do?15:23
\shpatdk-wk: someone security critical would adjust the ssh default config to not listen on all interfaces/ips etc. and imho most server admins are installing sshd by default, or they do have another method of accessing the box remotely15:23
SpamapSkirkland: I'm 100% behind ScottK here. Security sits on the other extreme of the scale that ends with Convenience. We can tick it a little back toward convenience with a well thought out check box... going further means a bit too much exposure IMO.15:23
pkstefdownloads torrents then i can ftp them from a different location15:24
marruslI am also pro enabling sshd.  you should be setting up in a pretty secure environment in the first place.15:24
kamusinsorry for ask here but I am looking for a canonical sysadmin (our LocoContact need help)15:24
ScottKkirkland: Fundamentally, I think it's the Ubuntu Security team you have to convince (and at least one of them is a TB member - so doubly so for kees).15:24
Picikamusin: Try #canonical-sysadmin15:24
SpamapSkirkland: I also recall that another discussion was centered around enabling it after the second stage and after updates have been applied.15:25
kamusinPici, ;)15:25
\shwhat I would like to see during an interactive server setup is to provide a ssh user key to install by default and sshd should default to key auth15:25
pkstef?/15:25
kirklandScottK: i have discussed this at length with kees, having filed the blueprint after in-person discussions with him in September15:25
ScottKOK.15:25
ScottKI like \sh's idea.15:25
sorenHow would that work? You would type in your public key?15:26
ScottKUSB stick?15:26
\shsoren: or use an usb device and d-i will recognize it and push it to the installation target15:26
SpamapS\sh: you mean provide a means for the user to upload a public key right?15:27
\shSpamapS: yepp15:27
* diplo also likes that idea15:27
\shSpamapS: something like RH or SLES did for third party kernel modules during server install15:28
SpamapS\sh: cloud-init can do it by grabbing it from an LP account. It would be cool to be able to say in the installer "Grab my SSH keys from: x, y, z"15:28
SpamapSThis is why I like the 2 stage install idea so much.15:28
\shSpamapS: yes..but think about that during interactive server setup you mostly don't need any network connection...15:29
SpamapSGarners respect from experts by giving them "just the base system" quickly, but enables new users by guiding them into things like this.15:29
ttxmathiaz: well well15:29
patdk-wkoh ya, grabbing a public key from x,y,z is very secure :)15:29
* patdk-wk waits for x,y,z to be redirected15:29
marruslIsn't the issue about defaults?15:29
marruslrather than cool features.15:30
mathiazttx: would you mind triagging all the New,Undecided bugs for today Wednesday (as you used to) ?? ;)15:30
ttxmathiaz: hmmm15:30
\shpatdk-wk: we don't talk about public infrastructure x.y.z...it's more likely that you setup your server interactivly on local infrastructures..15:30
SpamapSpatdk-wk: x,y,z is on SSL and the key would be shown to the user, duh. ;) Thats why we have OCSP and CRL's15:30
kirklandScottK: kees said that as long as the user knows they're installing SSH, then it's fine by him;  hence the question in the installer15:30
ScottKOK.15:30
ttxmathiaz: as soon as I get to the "free time" I'm supposed to have in that new position, I will.15:31
\shpatdk-wk: regarding cloud installs this is a totally different matter...15:31
SpamapSwait, maybe I agreed with the wrong person. Did somebody NOT want the question in the installer?15:31
patdk-wkya, cloud is different15:31
mathiazttx: :D15:31
ScottKSpamapS: The only arguement was over default.15:31
SpamapSDefault *no*15:31
\shpatdk-wk: and most admins who are deploying their servers with automatic tools, they don't rely on d-i or tasksel, they deploy their users automatically and provide most of the times user keys by default15:32
SpamapSIn fact, IMO, checkboxes that are defaulted on are almost always subversive. Its like asking people double-negative questions.15:32
patdk-wk\sh, yes, but we aren't talking about that15:32
kirklandSpamapS: i believe ScottK and I are in agreement that an installer question about SSH would be an improvement over the one buried in tasksel15:32
ScottKSpamapS: I agree, but kirkland feels strongly the other way.15:32
ScottKkirkland: Absolutely.15:32
kirklandSpamapS: the only disagreement I *think* there is between ScottK and i is whether <yes, install SSH> or <no, don't install SSH> is highlighted by default in the installer15:33
SpamapSAlso would this checkbox do what we also discussed, which is to install it post-updates only?15:33
kirklandSpamapS: a 2-stage installer is probably 2+ Ubuntu releases away, IMHO15:34
\shpatdk-wk: fetching keys from a remote public site is always a security risk...and I woudln't want it..but fetching it from an USB device or from a local network location, this could be a good thing, especially regarding admins who are using preseeding or kickstarting ;)15:34
SpamapSkirkland: If highlighted means having to hit a key other than enter to leave it off then I am dubious as to why we are bothering to ask.15:34
kirklandSpamapS: adding a question to the installer is something we can do in a day or two, and vastly improve the ubuntu server install experience for thousands of users15:34
patdk-wk\sh, if I was preseeding, I would just have my own ubuntu package that contained my key, most likely, or make a package that installed it15:35
mdeslaurThe security team's stance is adding a checkbox to install ssh is okay, as long as it defaults to off15:35
SpamapSkirkland: add the question yes! highlight "No" and include 2 other answers.. "Yes enable SSH" and "Tell me more" with scary language behind that.15:35
jdstrandno scary language15:35
SpamapSjdstrand: BOO!15:35
jdstrand:)15:35
SpamapSor rather15:35
SpamapSBOO I scare you, not BOOOO your idea sucks. ;)15:35
kirklandmdeslaur: is that a unanimous decision?15:36
\shpatdk-wk: well, people are leaving the companies, so keys are changing, a package needs to be newly build everytime that happens...user assets in your assetmanagement are much better and faster, and you can add some magic to it to provide keys or other user settings which could be useful during preseeding15:36
SpamapSkirkland: On the 2-stager.. why is that so far away? What do we have to do to strip things out of the main installer and change motd?15:36
mdeslaurkirkland: as per the last discussion we had, yes. I can re-confirm with everyone if you'd like.15:37
kirklandmdeslaur: please do;  would be nice if that discussion happened here15:37
jdstrandI'm not sure it has to be unanimous15:37
mdeslaurkirkland: ok, wait until kees and sbeattie arrive, and we'll discuss it15:38
jdstrandbut regardless, mdeslaur stated my opinion as well15:38
kirklandSpamapS: because if there's this much disagreement about 1 page in the installer, imagine the complexity in rewriting it15:38
SpamapSkirkland: Fair enough. I don't think we can change much at all after this release though, so I'd almost rather see it changed radically in Natty according to what we discussed, and then let the response to that guide us on "O minus 1" so we get that right and change nothing in O.15:39
SpamapSkirkland: Also I don't think the "off by default but highlighted" option was clear while we were all talking. the "let the user choose" was though.15:40
SpamapSI do like a checkbox. I want it to stay off if the user just powers through the install though.15:41
mdeslaurUtimately, it changes the "no open ports by default" policy, which means it needs to pass tech board approval anyway15:41
marruslI think one issue is initial experiences.  people just trying ubuntu server or coming over from rhel/sles just *expect* it to be there.  and the tasksel is too easy to miss.15:41
SpamapSwhoa.. I just discovered "cmd-A" .. my windows .. they're.. flying around.15:41
kirklandmdeslaur: that policy is a mirage -> avahi15:41
SpamapSdoes avahi respond to unicast from other networks?15:41
jdstrandkirkland: it isn't a mirage15:42
* SpamapS actually doesn't know15:42
jdstrandkirkland: avahi is the exception that the TB voted on15:42
jdstrandkirkland: just like you want an exception15:42
kirklandjdstrand: yes, and I volunteered to take SSH to the TB for an exception too15:42
jdstrandthere is also language that the security team must approve it as well15:42
gholms|workHow are canonical's stock EC2 images created?  All the docs that I've seen so far involve rebundling the stock ones, not building them from scratch.15:43
jdstrandwith something as important as a login port hanging out there for anyone in the world to try to login with, I think the discussion with the security team should have been in the open. not with just one member somewhere else15:43
jdstrandif it was in the open and I missed it, I apologize15:44
SpamapSgholms|work: smoser can answer that pretty easily.15:44
SpamapSsmoser: ^^ how do we make the EC2 images?15:44
jdstrandbut at UDS, the members of the security team that attended that session for that bp said 'no'15:44
smosergholms|work, https://wiki.ubuntu.com/UEC/Images/Publishing has most of hte info15:44
\shmarrusl: well, they you could say this: "people coming from RHEL/SLES are expecting a 'root' user to be there" ;)15:47
\shs/they/then/15:47
marrusl\sh, touche.15:48
marruslStill, it's not like we're talking about telnet here.15:48
kirklandmarrusl: you'd think I was ....15:50
gholms|worksmoser: Are things like package selection, mirror locations, and whatnot all hardcoded?  Where does the actual configuration take place?15:50
\shmarrusl: but we are talking about defaults of an interactive setup...as said, most serious server admins in enterprise environments won't use any interactive setup, but devs on vmware boxes to test a new release or admins to test new ubuntu releases...(before they start to deploy a new release automatically) ;)15:50
gholms|workUser configuration...15:51
marrusl\sh, disagreed.  most serious server admins won't do that large scale, but many will use interactive setup during testing and prototyping.15:51
SpamapSSo you make it enabled by default. But then you a) leave password auth turned off, or b) risk compromise through brute force attack...15:51
kirklandThis is why the Ubuntu Desktop succeeds -- because they make sensible defaults and have the guts to make bold decisions15:52
marrusl\sh, well I guess we are agreeing to an extent there.15:52
SpamapSoption a means you need to get keys to the box somehow (some interesting possibilities there actually)15:52
\shmarrusl: that's what I said :)15:52
SpamapSoption b means you also need denyhosts, or iptables rules, or any number of things that don't work in some environments..15:52
mdeslaurkirkland: our bold decision is to not have openssh turned on by default, when other do15:52
mdeslaurs/other/others/15:52
smosergholms|work, cloud-init handles first boot configuration15:53
gholms|workHow about grub configuration?15:54
\shSpamapS: you could even ask for an IP from where you are allowed to connect to the ssh port...there are many possibilities15:54
smosergholms|work, well, it depends.  the code is all there in those repos listed from the link i gav eabove.15:55
patdk-wkhmm, ssh access to grub15:55
SpamapS\sh: yes, that would work. More options, though, is something others worked very hard to eliminate from the installer.15:55
smoserin image creation, we kind of hack in a grub2 config and a grub1 path.  grub1 is used by pv-grub on ec2, and grub2 is used by the 'loader' path on UEC.15:55
SpamapSpatdk-wk: Actually that would be *unbelievably helpful*15:56
smoseron first boot, cloud-init figures out where it is running and seeds grub2 debconf so that the user isn't prompted in the future when update-grub runs15:56
kirklandjdstrand: mdeslaur: so just to be clear, we're disagreeing over the placement of the cursor in the interactive server install, whether it's hovering over <yes> or <no>?15:58
=== khussein_ is now known as khussein
mdeslaurkirkland: yes. We want the person installing to make a deliberate choice to open ssh. (and, of course, this is only our opinion...tech board ultimately decides...)16:00
\shSpamapS: it's always the difference between easiness and security...most of the time security is not the top priority ;)16:11
jdstrandI'm not sure of the benefits of making it that much easier. sure, yank it out of tasksel and present a clear question so people know ssh is enabled or not. make it preseedable. this way people don't miss it and we don't open a port be default or fail compliance tests, etc16:13
SpamapS\sh: right, so its important to illuminate risks and never put anybody in harm's way without at least giving them a sword and shield in the fight. :)16:14
adsre16:14
adsok, third channel ...16:14
adsOk, who's responsible for the PHP mess in Ubuntu? ;-)16:14
gholms|worksmoser: So on Eucalyptus it uses grub1 to load grub2?  What eki/eri do you have to use for that?16:14
adsI can't get PHP to log parse errors even though I configured every known option and phpinfo() tells me all options are switched on.16:15
gholms|workJust one with grub2, or...?16:15
smosergholms|work, on eucalyptus, in maverick, there are patches in the ubuntu eucalyptus package that handle it16:15
SpamapSads: we're all responsible for it in some way.. unless we already filed that bug report. ;)16:15
ads;-)16:16
* gholms|work wishes deb sources had discrete patches16:16
smoserthe basic logic is "if a 'kernel' is a multiboot image, then put it on a floppy disk, boot from the floppy"16:16
SpamapSads: you're running it via libapache2-mod-php5 I presume?16:16
adsSpamapS: version 5.3.2-1ubuntu4.5, yes16:16
smoserthen, we publish multiboot images with our uec-images tarballs (named '-loader') that can be registered. those -loader files basically multiboot off of (hd0,0)/boot/grub/grub.cfg16:17
gholms|worksmoser: Is that all there to work around the lack of pvgrub?16:17
smosergholms|work, well, it provides the same function. and generally the same flow.16:19
SpamapSads: ok, so you just want to set something like 'error_log=syslog' and error_reporting=E_ALL   right ?16:20
gholms|worksmoser: How do you decide whether something is a multiboot kernel?16:20
smoserits just more flexible. outside of the floppy hack, its fairly clean.  we promise to the image creator, that if a kenrel is a multiboot image, then it will be loaded specially.16:20
smosergholms|work, its fairly determinable.16:20
adsSpamapS: display_errors is On, display_startup_errors is On, error_reporting is set to E_ALL16:20
smoserhttp://bazaar.launchpad.net/~ubuntu-virt/ubuntu/maverick/eucalyptus/2.0/annotate/head%3A/debian/patches/22-uec-multiboot-kvm.patch is the patch16:21
adsSpamapS: when I set error_log PHP does not even touch this file.16:21
SpamapSads: display errors doesn't "log" errors .. so you want them on the page?16:21
gholms|worksmoser: What does upstream think of it?16:21
SpamapSads: did you look in /var/log/apache2/error.log ?16:21
adsSpamapS: this was a test. In case of an parse error I just get a white website with no content at all.16:21
adsSpamapS: I did, nothing.16:21
smosereucalyptus is generally in favor, and we hope to have it (or something like it) into 2.1.  Daviey <---16:21
smosergholms|work, fwiw, the easiest solution woudl have been to just let kvm load the multiboot image16:22
adsSpamapS: basically I want to see my parse errors, that's all. This is my own dev system, no production system.16:22
smoserbut due to a bug/missing feature, that wasn't really possible16:22
gholms|worksmoser: If it's running on kvm, sure.16:22
smoserhttps://bugs.launchpad.net/ubuntu/+source/seabios/+bug/61114216:22
uvirtbotLaunchpad bug 611142 in qemu-kvm "seabios should have native scsi support" [Wishlist,New]16:22
adsSpamapS: and no, parse errors don't go into the apache logfile.16:23
adsSpamapS: It seems like php is just hiding them.16:23
\shads: you did set it in /etc/php5/apache2/php.ini ? (asking just to be sure)16:24
SpamapSand restart apache16:25
ads\sh: yes - and I checked the actual values with phpinfo()16:25
adsSpamapS: yes16:25
adsHell, I'm using PHP since version 3.something, configured a lot boxes, but never seen such a behaviour16:26
SpamapSads: and cli php does what you'd expect?16:27
adsLet's test16:27
adsNo. I get some startup warnings about deprecated stuff (because I have E_ALL), but I get no error message. The php file just contains one invalid line (random chars)16:28
\shAnyways..../me needs to go home now...and care for my baby ;)16:28
SpamapSads: this is lucid, yes?16:31
SpamapS(10.04)16:31
adsyes16:32
SpamapSads: with the default install I get parse errors in /var/log/apache2/error.log16:34
SpamapS[Wed Nov 03 09:33:49 2010] [error] [client 127.0.0.1] PHP Parse error:  syntax error, unexpected ';', expecting T_STRING or T_VARIABLE or '$' in /var/www/test.php on line 116:34
SpamapSads: and most things in phpinfo() show "No value"16:35
adsSpamapS: I would expect the same. Same configuration works on several boxes, just not on this one.16:35
SpamapSads: which means we're just using the SAPI default16:35
SpamapSads: can you post your phpinfo() somewhere?16:36
Steve[cug]does anyone happen to know if rsyslog supports ip spoofing like syslog-ng does?16:36
adsSpamapS: let me extract the details16:36
SpamapSSteve[cug]: thats just.. evil! ;)16:36
Steve[cug]what?16:36
SpamapSSteve[cug]: changing the IP of packets just because you can. ;)16:36
Steve[cug]lol16:36
Steve[cug]I need to send the messages to the correlation engine, and the only way for the engine to pick everything up properly is if i spoof the packet16:37
SpamapSSounds like a crappy engine. ;)16:37
Steve[cug]:-p  actually its prolly one of the best engines out there IMHO, but it doesnt expect to be the endpoint of another syslog aggregater16:38
SpamapSSteve[cug]: that always was syslog-ng's big crusade wasn't it?16:41
adsSpamapS: http://pgsql.privatepaste.com/ae7ea92913/w3e4rtfzg16:43
Steve[cug]SpamapS: to be a large aggregator...yes.16:43
Steve[cug]unfortunately for reasons unknwon to me I was asked if we could use rsyslog instead...as I have to recompile the syslog-ng package to enable ip spoofing16:44
SpamapSSteve[cug]: is syslog the only way you can get things into the engine? Maybe it has other ways of taking data that are more suitable to rsyslog.16:51
Steve[cug]SpamapS: its the only way we can get many things16:51
Steve[cug]so yes16:51
SpamapSads: weird!16:51
SpamapSSteve[cug]: but I mean, could it take the source from the content of the message rather than the source IP address?16:52
SpamapSSteve[cug]: I wonder if this might help.. http://www.rsyslog.com/doc/property_replacer.html16:53
=== Hatrix76 is now known as Hatrix
=== Hatrix is now known as Hatrix|away
ScottKJamesPage: The existing binary can be moved to Main, so rebootstrapping isn't required.17:15
kinygosapologies for the noob question....is it possible to configure fail2ban to not unban an address?  or should i just the ban time to a big number?17:16
adsre17:19
adsSpamapS: you name it!17:19
patdk-wkkinygos, comment out actionunban?17:20
zulSpamapS: ping [cilnt-fewbar] MySQL: investigate and resolve conflicts between mariadb and mysql's libmysqlclient: TODO <-- good luck on that ;)17:22
adszul: *fg*17:23
kinygospatdk-wk: i don't have an actionunban or anything that looks like it...i'll google17:23
patdk-wkdid you check out the actions directory?17:23
kinygospatdk-wk: awesome :)  thank you very much for your help17:25
SpamapSzul: what could they possibly be doing in their *client* library that doesn't make it *necessarily* a new libname ?17:25
SpamapSzul: my thinking is, if they've changed the API fundamentally, they should fork and not call themselves libmysqlclient17:25
zulSpamapS: binary compat is a bit big thing for them...but i agree with you17:25
SpamapSzul: riddle me this, can libraries be managed via alternatives?17:26
zulSpamapS: doubt it17:26
SpamapSyeah it would probably be a bad idea even if they ABI was compatible.17:27
ScottKSpamapS: It would be useful if mysql were packaged so that multiple versions could be installed along side for transition purposes (e.g. like postgresql).  If this were done, it would probably be easy enough to extend it to cover mysql-fork-of-the-day.17:32
SpamapSScottK: looks like what they've done is just call it something else. http://www.percona.com/downloads/Percona-Server-5.1/Percona-Server-5.1.51-11.5/deb/lucid/x86_64/17:35
ScottKOK.17:35
SpamapSScottK: not sure what maria is doing..17:35
SpamapSBut really they all want ownership of port 3306 .. so I'm not sure how they can really coexist. ;)17:36
patdk-wkheh, I do it just fine :)17:36
SpamapSTrue you can set a policy to not mess with those services, and then manually configure their listen ports/restart them/etc.17:38
SpamapSI kind of like the approach mtaylor was talking about doing for drizzle.. where it installs all of the software just fine, and the default configs come in packages that conflict with one another.17:38
SpamapSI haven't looked close enough at pgsql, but I think thats what it does too.17:39
ScottKThere's a postgresql-common package that manages it.17:43
ScottK(IIRC, something like that, YMMV)17:43
SpamapSno IANAL?17:43
ScottKTANSTAAFL too17:44
=== aliverius_ is now known as aliverius
Wise_how do I move folders exactly? just mv tells me "directory not empty" mv -R or -r tells me invalid option18:22
Wise_:|18:22
=== zhobbs__ is now known as zhobbs
krycek_does ubuntu 10.10 support Dell Poweredge T410 server? in the ubuntu page says it supports R410. But it almost the same machine.18:25
RoyKkrycek_: isn't the difference between the two just that T- is tower and R- is rack?18:25
krycek_should be, i guess18:26
krycek_but there is no reference of T410 in the ubuntu page18:26
RoyKkrycek_: just try it, if you have the box, that is18:26
krycek_not yet18:26
RoyKkrycek_: also, testing 10.04 first might be worth a thought as well, since 10.10 isn't LTS18:27
* RoyK only uses LTS releases on servers unless he's forced to do otherwice18:28
krycek_what will be the next LTS?18:29
Pici12.0418:29
RoyK12.0418:29
RoyKkrycek_: that is, there are new sub-releases every now and then18:29
RoyK10.04.1 is the latest18:29
krycek_hmm... ok18:30
krycek_tkz18:30
RoyKLTS releases are supported for 5 years, non-LTS for 18 months18:30
RoyKand IMHO most servers won't need cutting (or bleeding) edge versions for the most part18:32
uvirtbotNew bug: #670541 in mysql-5.1 (main) "Upgrade mysql5.0 -> 5.1 fails due to error on postrm script.  " [Undecided,New] https://launchpad.net/bugs/67054118:32
RoyKkrycek_: what sort of server is it you're setting up?18:32
krycek_web, dns, mail18:32
krycek_and some databases for some apps used here in the company18:33
RoyKI'd stick to 10.04 for that18:33
krycek_any recommended material for first time admins?18:33
RoyKkrycek_: and if someone needs the mysql 6 pre alpha something, use a VM for that to isolate it18:33
RoyK!guide18:34
krycek_no need for mysql 618:34
krycek_!guide18:34
RoyKhttps://help.ubuntu.com/10.04/serverguide/C/index.html18:34
Pici!guide is <alias> serverguide18:34
ubottuI'll remember that, Pici18:34
RoyKstupid bot didn't know that...18:34
Picinow it does.18:34
RoyKk18:34
RoyK!guide18:34
ubottuThe Ubuntu server guide may be found at http://help.ubuntu.com/10.04/serverguide/C/18:34
RoyKdanke18:35
Pici\o/18:35
krycek_hehe, thanks18:35
krycek_do you recommend to use another box to take care of the firewall/routing part? or using just one box for all is ok?18:36
RoyKkrycek_: depends on your needs - it's generally a good idea to use a separate box for firewalling, and if you're a newbie, something like pfSense might be worth a try18:37
RoyKit's really light-weight, all GUI and is easy to setup/manage18:37
krycek_pfSense, I'll take a look into that18:38
RoyKand based on freebsd, so if you're picky of the OS, maybe something linux-based might be better, but still, pfSense is very well tested18:38
krycek_you are very helpfull, RoyK , thanks again18:38
RoyK:)18:38
RoyKlol - pfSense can be setup to block windoze machines by passive fingerprinting :D18:41
pmatulisRoyK: runs openbsd's PF?18:42
RoyK*bsd pf, I guess18:42
pmatulisRoyK: right, that's from OpenBSD.  ported to FreeBSD18:43
RoyKpmatulis: I don't know too much about the details - check if there's another channel available if you want to dig into that...18:43
pmatulisRoyK: no need to dig18:43
RoyK:)18:43
* pmatulis runs OpenBSD at home (and uses PF quite a bit)18:45
* RoyK hasn't install obsd for _years_18:46
=== NG_ is now known as ng_
krycek_for a newbie is it ubuntu the right distro? or CentOS should be easier?18:51
joesuffcerenI need a little help with NTP. I am trying to get my ubuntu box to sync with my Windows domain controller. (I have also tried using us.pool.ntp.org servers with the same results described below). I can use ntpdate -u to sync the time just fine, but when I set them up as server entries in ntp.conf, they don't work18:51
RoyKkrycek_: I wouldn't recommend centos or that sort of thing - ubuntu has everything you'll need18:51
krycek_I ask because I've just read: http://www.twincling.org/node/68918:52
joesuffcerenntpq -p shows my servers that I configure in ntp.conf, but none of them ever has an asterisk beside it, which, if I understand, means it's not actually syncing with them18:52
krycek_and he says: CentOS provided the fastest configuration time, lowest learning curve, better ROI, superior package management system, and a good fuzzy feeling of stability.18:52
RoyKkrycek_: I somehow think the person that wrote that is a centosist without much regard for technology18:52
krycek_hehe18:53
RoyKkrycek_: we have about a hundred servers, most of them on solaris and different linux distros - we're moving most of those to ubuntu, for good reason18:53
krycek_it's a very hard decicion for a web developer to make hehehe18:53
RoyKfor a web developer, you won't find much difference between the two, except that there are perhaps 10x more packages available in ubuntu, meaning if you need this or that apache extension, or this or that special library, you just install it instead of having to compile it from source18:54
RoyKor find some obscure package at some site somewhere18:54
Steve[cug]krycek_: I typically handle it this way... Ubuntu LTS for any server except when a software vendor requires I run RHEL18:55
RoyKkrycek_: also, centos is not officially supported, and if you're paranoid, you can get ubuntu support from Canonical quite cheaply18:56
* RoyK hands Steve[cug] a beer18:56
Steve[cug]RoyK: ;)18:56
RoyKSteve[cug]: that's exactly what we are doing18:56
Steve[cug]I like Ubuntu/Debian's method of handling packages a lot better then RHEL/CentOS/SLES18:57
krycek_ok then, I'll use your expertise and use ubuntu LTS18:57
RoyKSteve[cug]: except some rare cases where this or that developer or researcher needs a special distro18:57
Steve[cug]krycek_: yeah stick to LTS's for servers18:57
Steve[cug]RoyK: oh we dont allow for that18:57
Steve[cug]you have a choice...Ubuntu, RHEL, or SLES (only for Telecom)18:57
krycek_do you own a hosting company?18:58
RoyKSteve[cug]: we need to sometimes - some projects use developers or scientists from other countries developing intstrument apps for certain distros - for those cases we have a few fedora machines. But then, I've managed to talk at least one of these groups to use ubuntu instead18:59
Steve[cug]most of my infrastructure is Ubuntu, some of our vendor stuff requires RHEL, so we have a small smattering of RHEL boxes, and Telecom uses SLES because the company we use for Voip is a german one18:59
RoyKkrycek_: I  work for nilu.no - dunno what Steve[cug] does18:59
Steve[cug]I work for a mid-size insurance co18:59
RoyKkrycek_: but still - if you need something that's not in 10.04, just setup a VM and install whatever you might need on that19:00
* RoyK hands krycek_ some MSDOS 6.22 floppies19:00
krycek_using what? KVM?19:00
RoyKkvm is the preferred, yes19:00
RoyKand using virt-install it's quite simple to use19:00
RoyKjust like your average windoze app19:00
RoyK:)19:01
Steve[cug]RoyK: but KVM isnt always the best option unfortyunately19:01
Steve[cug]*unfortunately19:01
RoyKSteve[cug]: imho it works well enough for most platforms19:01
Steve[cug]poor krycek_, we are confusing him19:02
RoyKSteve[cug]: what else? xen?19:02
RoyK:)19:02
krycek_I'm looking for a VPS provider, do you have any one to recommend?19:02
Steve[cug]RoyK: KVM sucks for large bandwith needs.  I need to use Xen in those cases19:02
krycek_Steve[cug], what would be the second option?19:02
krycek_ok19:02
Steve[cug]krycek_: depends on how much hand-holding you need IMHO19:02
RoyKkrycek_: with a new server, you can easily run the VMs in-house19:02
RoyKkrycek_: just use KVM19:03
RoyKkrycek_: if that becomes a problem, try something else, but mostly, it'll work well19:03
Steve[cug]krycek_: KVM is highly preferred because unless you in an edge-case (like my stuff tends to be) running a vanilla kernel ala KVM is much more beneficial than Xen's highly modified kernel19:03
Steve[cug]s/you/your/g19:03
RoyKSteve[cug]: I'm not sure if that's the case with paravirtualized block devices, as those you have on 10.04 guests19:04
krycek_all right, but i dont think i'll need to use it19:05
krycek_at least for now19:05
RoyKkrycek_: just use kvm if you need virtualization - you'll find out quickly if it fits your needs19:05
Steve[cug]RoyK: Xen has near-native networking performance, KVM (and VMWare) still take a heafty hit...esp when you are virtualizing passive network sensors ;)19:05
RoyKwell, I'm not :P19:06
Steve[cug]well I am ^_^19:06
Steve[cug]:-p19:06
RoyKSteve[cug]: then you're confusing a newbie :þ19:06
=== ng_ is now known as NG_
Steve[cug]i kow....it's what im good at.  I did say that unless you in an edge case, KVM is the way to go19:06
krycek_let's hope for no edge cases then :)19:07
RoyKkrycek_: if you're new at this, it'll take some years before you reach that point19:07
Steve[cug]now if only LXC didnt still suck in userland, then we wouldnt need heavily modified kernels for virt or containers anymore19:07
RoyKLXC?19:08
Steve[cug]krycek_: yeah, I'm a network Security Engineer, so I play with edge cases all the time19:08
Steve[cug]LXC == OpenVZ in vanilla kernels19:08
RoyKk19:08
Steve[cug]OpenVZ is a huge ugly patch on the kernels19:09
RoyKkrycek_: just to summarize this discussion - use KVM for virtualization - if or when something goes wrong, ask again19:09
krycek_k, i'll19:09
krycek_RoyK, what you company does exactly?19:10
krycek_i dont understand that language19:10
Steve[cug]yes19:10
RoyKkrycek_: press the English link at the top left corner :)19:10
Steve[cug]lol19:11
krycek_there it is, usually it is the top right corner ;p19:11
RoyKbasically NILU is Norwegian institute for air research, which means pollution measurments, cliate modeling, health research and a few more things19:12
krycek_suddently it all makes sense19:12
RoyKnot my fault - those windoze guys doing the web stuff aren't my cup of tea19:13
Steve[cug]agreed19:13
Steve[cug]esp when they mostly just use apache on wintel :-p19:14
Steve[cug]IIS *shudders* is just horrid19:14
RoyKit's quite nice to use against people you don't like, as in, hey, this IIS server has a problem, we can't have any downtime, though, can you try to fix it?19:15
kinygoslol19:15
Steve[cug]lol19:15
krycek_pfSense looks nice²19:17
RoyKthere should have been an ARM port for it, though19:19
krycek_maybe it is in their roadmap19:20
RoyKdoesn't look like it http://doc.pfsense.org/index.php/Does_pfSense_support_non-i386_hardware_platforms%3F19:20
krycek_damnit19:21
RoyKanyway - atom systems doesn't cost too much these days19:21
RoyKand it really doesn't matter to me what the arch is, so long as it works19:21
kinygosi've configured apache2 to generate my web app logs outside of /var/log...what would be the best practice way of rotating them?  using logrotate or piping them to rotatelogs?19:22
RoyKI'd use logrotate, but then, that's only my choice19:23
kinygosRoyK: do you know if it's possible for me to just point logrotate at my app's log directory, or do i need to do anything exotic?19:24
RoyKkinygos: take a look at the files under /etc/logrotate.d19:25
RoyKit's quite easy to configure that19:25
kinygosRoyK: i did, found an apache2 one...do i just create a copy of it for my app, with my app log directory?19:26
Steve[cug]you may need to modify the apparmor settings for logrotate as well19:26
RoyKSteve[cug]: really?19:27
* kinygos just looked at the AppArmor man page and his mind is boggling19:28
Steve[cug]lol, its not that bad19:28
RoyKkinygos: just try with logrotate - if it fails, cron will email root19:28
sbeattieThere's no apparmor policy for logrotate by default, in any event.19:28
RoyKthat's what I thought19:28
Steve[cug]good to know19:29
Steve[cug]I just always check just to be safe19:29
Steve[cug]hence i said you *may* need to :-p19:29
RoyKSteve[cug]: I'd say, better keep quiet unless you know something's going to fail - there's a lot of newbies that may panic (or at least get distressed) if a lot of new things come up19:30
RoyKand if things fail, they'll tell us anyway19:31
kinygoslol...my brain is fuzzing...i set out to configure rotating logs on my web app, starting learning about LinuxLogFiles (excellent do on help.ubuntu.com)...realised i had numerous spurious attempts to log in on ssh to my server...so had to learn about portknocking, the iptables config on my server, and generally battoning down the ssh hatches...configured fail2bin...and now i've got to learn about cron...19:32
* kinygos is a total noob19:32
Steve[cug]thats one way to handle it.  i've typically noticed that trying to cover all of the bases so that if it fails, they dont spend forever pulling their hair out thinking they did something wrong when it really wasnt their fault.19:32
kinygosbloody great fun learning this stuff though19:33
RoyKkinygos: fail2ban or denyhosts are good packages to block bots19:33
SpamapSkinygos: you seem to be having fun though. :)19:33
RoyKI think I'd recommend denyhosts since it works by distributing "bad" IPs19:33
kinygoslol...i meant fail2ban...and it is awesome :)19:33
RoyKdenyhosts is even better, though a bit more nazi on the rules (by default)19:33
SpamapSIts also a reasonly good idea these days to just run SSH on an alternate port. :-P19:34
_rubensecurity through obscurity ftw!19:34
kinygosat the same time, i'm developing an e-commerce web application that has to go live before christmas this year19:34
Steve[cug]SpamapS: I disagree with that, security through obscurity is no security at all19:34
SpamapSdenyhosts seems to catch about half of the ips that are brute forcing.19:34
RoyKSpamapS: not really - I always run on 22, but then, using denyhosts, people won't get much chance to brute their way in19:34
kinygosi read about running ssh on a different port, and there's a lot of people that think it's not worth the inconvenience19:35
SpamapSSteve[cug]: its not security at all, its convenience, for *me* to not have to attend to so many red flags in my logwatch. ;)19:35
RoyKkinygos: I agree19:35
SpamapSi have boxes on both setups19:35
* kinygos is googling denyhosts :)19:35
X-Sleepy-Xhow can i install 10.04 or 10.10 server on my armada e500 with 64 mb of ram19:35
RoyKkinygos: apt-get install ......19:35
Steve[cug]one of the best ways to lock down SSH is to just stick to the simplistics.  Disable interactive and password auth and sticking to just ssh keys, disabling root logins, and getting sudo setup with least priviledged access19:36
SpamapSon a CentOS box I admin that does have port 22 open.. $ sudo grep "Failed password" /var/log/secure*|wc -l19:36
RoyKkinygos: after moving to fail2ban/denyhosts I haven't had a single breakin except for some password that got leaked some time back, and that guy came in with ftp19:36
SpamapS8119:36
kinygosRoyK: wow...now that is what i like to hear :)19:36
SpamapS$ sudo grep "refused connect from" /var/log/secure*|wc -l19:36
SpamapS22719:36
SpamapSso I guess these days deny hosts is doing better than 50% :)19:37
RoyKSpamapS: :)19:37
SpamapS65248 /etc/hosts.deny19:37
Steve[cug]port knocking and non-std ports are just more trouble than they are worth, esp when running through more restricted networks19:37
Steve[cug]>.<19:37
SpamapSSteve[cug]: unless of course you are on a network that restricts port 22. ;)19:38
kinygosthe daemon to monitor the port knocks is a single point of failure19:38
RoyKSpamapS: wc -l ?19:38
Steve[cug]SpamapS: true, but typically that isnt restricted because of FTPS19:39
SpamapSRoyK: yeah19:39
RoyKthat's quite a few :þ19:39
SpamapSRoyK: thats denyhosts :)19:39
SpamapSI need to look into just configuring it to feed into iptables and just block all traffic. I don't see why I'd want to receive anything from these loathesome zombies. ;)19:40
* SpamapS heads to lunch19:40
RoyKdamn - I'm <300 on my private boxes - not that much traffic on those, though19:40
zulyou have to be careful with denyhosts you dont want to lock yourself out19:41
kinygosright...i've gotta go watch the arsenal game with my son...i may have questions about denyhosts when i return...thanks for your help everyone :)19:41
Steve[cug]zul: exactly19:41
Steve[cug]I have seen peopl to that on VPSs, quite funnly really19:41
kinygosand that's what i was worried about zul...i only have remote access to this server19:41
Steve[cug]*people19:41
RoyKkinygos: enjoy the game :)19:42
SpamapSI (shock) whitelisted my whole class C. Everybody in my neighborhood in Los Angeles *MIGHT* be able to brute force my SSH passwords! Oh noes19:42
Steve[cug]lol19:42
Steve[cug]SpamapS: thats ofcourse assuming that your DHCP range is restricted to that class C19:42
RoyKthe 192.168.x.x/24 for the open WLAN?19:43
Steve[cug]lol19:43
Steve[cug]prolly more like thatever public block he is on19:44
Steve[cug]*whatever19:44
_rubenssh passwords, yuck19:45
RoyK_ruben: keys can be lost too, you know19:48
_rubeni wonder if (open)sshd can be configured to require both a key and the local passwd19:49
Steve[cug]_ruben: actually I got a Yubikey that I use on my stuff.....works great.  then SSH keys aren't really needed19:50
Steve[cug]just need to make sure you have a coupld of keys incase you loose one setup in the system19:50
RoyK_ruben: I guess that's just a matter of PAM magick19:51
makomihi, anybody use netatalk with mac clients?20:02
TuxMinstall trouble: text during installation all scrambled. tried various boot options but to no avail... any suggestions?20:02
makomiif i select on my mac the afp server i see in logfile of netatalk: "AFP/TCP session from IP" and the next line "server_client PID done"20:04
makomihow could I use the credentials from my mac to connect to netatlak automatically?20:04
RoyKmakomi: I think the preferred way of sharing to Mac's is using samba or NFS these days - AFP is a little oldish20:06
makomibut it´s comfortable thru avahi :)20:07
makomibut i could use avahi with smb20:07
Steve[cug]samba + avahi is the way to go20:07
TuxMinstall trouble: text during installation all scrambled. tried various boot options but to no avail... any suggestions?20:11
RoyKTuxM: try vga16fb.modeset=020:13
RoyKkernel commandline20:13
RoyKor grub, even20:13
TuxMRoyK: You're my hero, kernel gave a message: modeset unknow command (or something like that) but it now works! thanks a million20:16
RoyK:)20:17
RoyKI got that from some list - trying to install ubuntu on Hyper-V was terrible - screen updates took for ever - that command did it20:18
TuxMit also works like a charm on this old VIA motherboard20:18
RoyKit should work with anything, really, since it basically turns off the framebuffer and uses the old ASCII thing instead20:19
TuxMi tried the fb=false parameter, but that didn't work...20:20
RoyKTuxM: I know20:23
ScottKkirkland: I think marking the entire spec obsolete is an over-reaction.20:30
kirklandScottK: would you like me to assign it to you?20:31
ScottKkirkland: Was the ssh part of the spec the only part you were willing to work on?20:31
ScottKI'd be willing to discuss getting the ssh question implemented in D-I with cjwatson or someone else appropriate, but I'm not qualified to do the implementation.20:32
kirklandScottK: the rest of my suggestions in that spec were killed as well (minimal install + better deluxe install)20:32
kirklandScottK: that doesn't leave a whole lot left20:32
kirklandScottK: in terms of what I had hoped to do with that spec20:33
cjwatsonI don't really want a separate question for it, TBH - you're already asked a question in the server install that includes installing openssh-server as one of its options20:33
cjwatson(if I'm understanding this correctly)20:33
ScottKkirkland: I thought that evolved into the idea of base install, reboot, and then add goodies as desired through some easy method (like ubuntu-init instead of cloud-init).  Was that another spec?20:34
ScottKcjwatson: The problem we have is that ssh-server gets a bit lost in tasksel so people forget it.  Having an explicit question in the installer was a compromise thought between leaving it where it was (often forgotten)  and installed by default (which a number of people didn't like)20:36
cjwatsonthat seems a bit like an arms race to me, TBH20:37
cjwatsonwe could perhaps adjust sorting in tasksel20:37
cjwatsonthat's probably relatively simple, file a bug on Ubuntu tasksel if you want that20:37
ScottKPerhaps, but ssh-server is a bit unique in that we (fsvo we) don't want it by default, but if it's forgotten it can leave people without access to a server.20:37
kirklandScottK: mathiaz suggested the 2-stage-installer in this session;  that was never my goal in this spec;  if we want a 2-stage server installer, that probably deserves a new spec of its own20:37
ScottKI don't know of any other packages that fit those criteria.20:38
ScottKkirkland: OK. I'm mixing the sessions then.20:38
kirklandScottK: no, it was the same session;  your memory is correct20:38
ScottKOh.  OK.20:38
cjwatsonsorting> I meant just putting openssh-server at the top of the list so that it isn't so easily forgotten20:39
kirklandcjwatson: I'm arguing that a server isn't much of a modern server without SSH, in the real world;  we have made an exception for avahi on the desktop in the interest of usability;  I proposed in this session that we pursue a similar exception for SSH on the Ubuntu Server as "the critical application required to get to your server *after* you've installed the darn thing"20:40
kirklandcjwatson: we do, by the way, install SSH and open a host of ports for Eucalyptus, if you click, "Install UEC"20:40
cjwatsonoh damn, I really didn't want to get into this now.  IMO the security team has had their say on this and that carries a lot of weight for me20:40
ScottKkirkland: WRT avahi, I'd argue that was an error even for desktops and not a great precedent to follow for servers.20:41
cjwatsonUEC is a very special case20:41
sorenI wish we some day will actually decide to do to Ubuntu Server what we did to Ubuntu Desktop.20:41
kirklandcjwatson: yup, they have;  which is why i just killed the spec20:41
ScottKcjwatson: We can defer the discussion to a later time.20:41
kirklandsoren: make it friendly and usable?20:41
sorenkirkland: Yes.20:41
cjwatsonanyway, this discussion implies to me that at least we ought to change the sorting.  that's easy to do.  can somebody please file a bug on Ubuntu tasksel for that?20:42
sorenI'm sure lots of then existing linux users disagreed with what we did to Ubuntu on the desktop.20:42
ScottKSure.20:42
sorenYet we decided to actually change things and be bold.20:43
sorenIt worked out pretty darned well, IMO.20:43
ScottKcjwatson: Bug #67061120:44
uvirtbotLaunchpad bug 670611 in tasksel "List SSH server first in tasksel" [Undecided,New] https://launchpad.net/bugs/67061120:44
cjwatsonthanks20:44
ScottKYou're welcome.20:44
sorenHave a "I'm new to this, please help me along a bit" option on the boot splash next to a "I don't care about your new fangled stuff. I'm old school" option would be fine.20:44
cjwatsonsoren: I think the pool of available Linux users who weren't being reached was a great deal larger on the desktop20:44
cjwatsonand the risk of pissing off established people rather smaller20:45
kirklandsoren: https://blueprints.launchpad.net/ubuntu/+spec/packageselection-server-n-install-flavors <--- that's what i was suggesting there, two options in the splash menu, one ultra-minimal, the other "deluxe"20:45
kirklandsoren: ultra-minimal geared at old school admins who want to apt-get install from a base install;  deluxe adding a lot more bells and whistles, friendlies, helpers and niceties20:46
sorencjwatson: A hypothesis that has yet to be tested properly.20:47
sorenkirkland: Look through the ubutnu-server ml archives and you will see lots of long, long, long e-mails about similar things.20:47
cjwatsonthe idea that I'll survive if I jump out of Millbank is also a hypothesis that has yet to be tested properly, but I'm not really keen to commit to it. :-)20:47
cjwatsonand BTW I think the risks associated with giving people unfamiliar with Linux an SSH server are rather greater than the risks of giving uneducated desktop users an open Avahi port; I disagree that those two are remotely similar20:48
kirklandcjwatson: the similarity is that an exception was evaluated and granted20:49
cjwatsonexcept in this case it was evaluated and denied ...20:49
kirklandfor open network port, by default20:49
cjwatson(for server, not for UEC - UEC is wildly different)20:49
JanCIMO server deluxe should have SSH running by default, with ufw connect-rate-limiting port 22 by default too of course  ;)20:54
sorenI'm not completely decided on the ssh-by-default question.  It was just an example of "hey, let's try to actually change something" that was thwarted by "no, that's not how we did it 10 years ago, why should we do it now?" sort of arguments.20:54
ScottKsoren: I don't think that's what the argument against it was at all and to characterize it as such is unfair.  I could equally accurately characterize those in favor arguing that only usability matters and security is irrelevant.  I don't think either is true.20:55
CarlFKwhere is the server version of http://archive.ubuntu.com/ubuntu/dists/maverick/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/20:56
sorenScottK: Sorry, I wasn't in the session at UDS, but it sounds to me to have been suggested as part of a set of changes that were rejected wholesale with those sorts of arguments.20:56
sorenScottK: If that's not the case... good! It's tiring.20:56
ScottKsoren: I think it was more nuanced than that.  I thought adding a question to the installer was a reasonable compromise as it would ~cure it being forgotten.20:57
sorenBoot splash.20:57
soren"Yes, I'm in favour of shininess" mode vs "Stubborn, old curmudgeon" mode. Right there.20:58
ScottKServer boot experience needs work.  Not sure we got an actual spec on it though.20:58
sorenI have plenty of situations where I'd choose the latter, don't get me wrong.20:59
sorenScottK: Not recently.20:59
sorenIt got old suggesting the same stuff over and over.20:59
* soren stops ranting for the day20:59
sorenOn this subject, at least.20:59
ScottKWhere we landed in Lucid and mostly carried forward into Maverick pleases approximately no one for servers IMO.20:59
ivoksa lot of work21:00
ScottKA bit betwixt and between with a large sprinkling of unreliablity.21:00
kirklandcjwatson: on the user account creation page, we could ask for a Launchpad ID, noting that if a) you have an LP ID, and b) you have a public SSH key on LP, and c) this machine is internet connected, then this machine would install SSH on the system, with SSH key auth only, and import your ssh key21:00
ivoksinstall-over-ipmi is unusable cause of all those flashy things21:00
kirklandcjwatson: using ssh-import-id to securely retrieve said keys21:01
ScottKkirkland: Doesn't that lean into the risk of being perceived as requiring registration?  IIRC robbiew said no on anything that did that?21:03
* kirkland consider jumping out of cjwatson's window to test his hypothesis for him21:04
kirklandScottK: it's totally opt-in;  nothing required;  just type in a URL in that field where your pubkey can be found, or for convenience, an easy to remember LP id21:05
ivoksdo not connect it to LP by default21:05
ivoksthat's a killer feature for ubuntu server, feature that will kill it21:05
kirklandScottK: to prevent MiM attack, you'd need SSL and a good cert, mind you21:05
* robbiew reads up21:06
ScottKkirkland: I think that sounds reasonable.  I'd also like it to take a USB stick.21:06
ScottK(as in my case SSL cert validation is rather difficult to arrange during install)21:06
owhI've just had a router decide for itself that when I told it that all traffic from a particular host needed to go to a particular WAN port, I was just kidding. Is there a way that I can force my server to cease sending traffic if it's going out via the wrong link?21:08
kirklandivoks: it's not required21:08
ivokskirkland: i doubt many people will use it21:09
ivokskirkland: it's like telling the LP that you are installing the server21:09
ivoksthat's how people will see it21:09
kirklandivoks: it's not at all like that21:09
ivoksi know21:09
ivoksbut, that would be perception21:10
ScottKGive a USB stick option and I think it's fine.21:10
ScottK(with the LP/wherever your key is option too)21:10
ivoksleave an lp option, but don't isolate it21:10
ivoksinstead of area for LP ID, put a single text area for everything21:11
ivokslp:id or usb:file.name url:http://blablabla21:11
ivoksthat way you'd get more usage of LP, imho21:11
ScottKAnd reduced risk of inference that LP was required.21:12
ivoksexactly21:12
patdk-wkwhy url:http:21:13
ivoksor http: ftp:21:13
patdk-wkurl is http://...., or usb:filename...., ...21:13
patdk-wkI would see everyone screwing up if you had to type url before a url21:13
ivoksi agree21:13
ivoksit was just to make distinction21:14
krycek_any other solution like pfSense? pfSense project looks dead (more than an year in beta)21:53
baggar11krycek_: clearOS, zentyal21:53
krycek_which one do you use, baggar11 ?21:56
baggar11i use a hardware solution21:56
* RoyK just uses core memory21:57
RoyKkrycek_: pfsense works well, even if it's a year old21:58
baggar11there is also monowall too21:59
krycek_it's good to take a look in the others just to make sure21:59
krycek_i have to go now... thanks for all the tips22:00
raubvogelHow is lvm autoloaded in 10.04?22:49
mconigliarocan anyone tell me whether do-release-upgrade will upgrade you to the next version or the latest version?22:52
mconigliaroi want to upgrade some machines from 9.10  to 10.04 LTS22:52
raubvogelmconigliaro, AFAIk to get to 10.10 you would need first to get to 10.04, so that should cover you.22:55
mconigliarook, cool22:55
mconigliaroraubvogel: thanks22:55
raubvogelAlso, there is some setting to only use the LTS upgrades22:55
mconigliarowell, i guess i'll find out for sure in a second ;-)22:55
mconigliarooh, thats interesting22:55
mconigliarowell, i mostly want to go to 10.04 just because i haven't gotten a chance to test 10.10 yet22:56
mconigliarobut that setting is something ill have to look into22:56
raubvogeledit /etc/update-manager/release-upgrades and set Prompt=lts22:56
raubvogelStolen from https://help.ubuntu.com/community/LucidUpgrades22:56
raubvogelJust something to think about22:57
mconigliaroah, perfect22:58
mconigliaroi see that's already set on my 10.04 machines22:58
mconigliarothanks again22:58
raubvogelCool22:58
jeeves_mosswhen running a cron job as a user, what would cause a premissions error when using wget?23:21
ChmEarlraubvogel, got answer about auto-lvm? dm-mod needs to be in /etc/initramfs-tools/modules23:24
ChmEarlraubvogel, rather make it dm_mod23:25
ChmEarlraubvogel, then of course, update-initramfs -u -k all23:28
cjwatsonCarlFK: there's no separate server version - the installer has the same core23:44
cjwatsonCarlFK: you could grab the server preseed file off the server CD23:45
CarlFKis this boot parameters?   "different Kernel options" somewhat described on https://help.ubuntu.com/10.10/serverguide/C/preparing-to-install.html#intro-server-differences23:46
cjwatsonwe use the generic kernel during installation on server too23:47
cjwatsondifferences are controlled by installer boot parameters, yes23:48
CarlFKthanks.  someone here was suggesting that there were different compile options. didn't sit well with me.23:48
cjwatsonthe kernel you get after installation is configured differently, certainly23:49
cjwatsonI don't think I would characterise it as "different compile options" as such23:49
cjwatson(to me, that means compiler flags)23:49
CarlFKdifferently configured at boot time, right23:50
CarlFKum, it has been years. sense I compiled a kernel.. what does "make menu config" write the settings to?23:51
cjwatsonCarlFK: .config23:55
CarlFKthats right.  so is that same or different for -server kernel?23:56

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