/srv/irclogs.ubuntu.com/2008/08/12/#ubuntu-server.txt

nxvlChipzz: i runed dch -i and it asked me what to use00:35
nxvlChipzz: that's why it's so awesomw00:36
nxvlzul: ping00:53
Chipzznxvl: yeah but still, dpkg -P nano is way easier, shorter, and more permanent (and has more effect on other things beside just dch)00:56
Chipzzbut, whatever works for you :)00:56
nxvlChipzz: actually no, what kirkland has do is a script that manages dpkg --reconfigure00:57
nxvlChipzz: so it's the same00:58
zulnxvl: yo00:59
uvirtbot`New bug: #257153 in openldap2.3 (main) ""TLS: peer cert untrusted or revoked (0x82)" error in Hardy's version of ldap-utils" [Undecided,New] https://launchpad.net/bugs/25715302:50
jmazaredowhen i plug my ubuntu server my network gets problematic, gets connection time out, i tried changing the lan card but no avail. it is working before03:09
=== RoAkSoAx_ is now known as RoAkSoAx
KaramonHello, when I run ( # named -g -p 53 ) it fails with "loading configuration: empty label"  .. I want to set up a local domain '.lan' and serve it for my dev server.  Are there some conf files that I can pastebin that would be helpful for troubleshooting?04:04
jmedinaKaramon: named-checkconf /path/to/named.conf04:04
Karamonjmedina: Would it return something if something didn't check out?  I run that and I don't even get a empty line, just another system prompt.04:06
jmedinammm04:06
Karamon(bash prompt, whatevah)04:06
jmedinaKaramon: could you pastebin your named.conf?04:06
KaramonSure04:07
Karamonhttp://pastebin.com/de816730   the lines with ---s aren't really in the files, just to denote which file it is04:08
jmedinaKaramon: im not sure if you need a second tld inyour zone definition04:11
jmedinanot .lan04:11
jmedinasomething like dev.lan04:11
KaramonHow would I access "http://foo.lan" from a computer in the network?04:12
KaramonOr is that not allowed?04:12
KaramonAnd wouldn't the conf checker return an error?04:14
jmedinamm you mean foo as the host part?04:14
jmedinaor foo as the domain04:14
Karamonfoo would be anything I defined in my db.local file04:15
Karamontest.lan, iloveubuntu.lan, bindsucks.lan04:15
Karamon:P04:15
jmedinaIm not sure, I always worked with fqdn04:16
jmedinanever tried that04:16
KaramonWell doing dev.lan did get named running then throw a whole bunch of errors about all the .lan domains I set up :P04:18
jmedinaKaramon: have you tried zone "lan"04:18
ajmitchKaramon: you don't want to have the . prefix on .lan, it should work with just 'lan'04:18
KaramonAhh04:19
KaramonLike magic04:20
KaramonOne little period (just like semicolons in programming)04:20
KaramonThanks!04:20
Hypnus9Hi room. I am running ubuntu server *.04 on my desktop, and when I try to access it via ssh, I get a connection refused message. What would cause this?04:22
ScottKHypnus9: Did you install the ssh server?04:22
KaramonWhere are bind9 log files kept?04:22
Hypnus9Yep. I have accessed it before from Windows vista, and from debian, but strangely enough, I can't access it when I am using Ubuntu desktop on my laptop04:23
Hypnus9I'm not sure where the bind9 files are kept.04:24
jmedinaKaramon: they are sent to your syslog04:24
Hypnus9where is the syslog kept?04:26
KaramonHypnus9: /var/log/syslog04:26
KaramonI am getting "Could not reliably determine server's [FQDN]" how do I make apache see my FQDN?  Should I post /var/hosts for troubleshooting?04:31
jmedinaadd the host to //etc/hosts04:35
KaramonI'm sorry, thats what I meant >.<  I do have a /etc/hosts file and have ( I think ) populated it correctly -- http://pastebin.com/d4f4b2a3a04:38
jmedinaafaik, drake.lan is not an fqdn04:41
KaramonIsn't it a FQDN if I set it up in bind? sorry that I'm a newb04:43
jmedinanot necesary04:44
jmedinahow is your /etc/resolv.conf04:45
jmedina?04:45
=== RoAkSoAx_ is now known as RoAkSoAx
=== veovis is now known as xiaopi
jmazaredowhenever i plug my server to the network my network becomes unstable, changed lancard and i put it in private and public network. it affects both06:39
ScottKI'd suggest trying to capture some data using tcpdump and see if it's doing anything unusual.06:39
jmazaredoother than that any other?06:44
jmazaredoseem all is fine06:44
krautmoin08:14
J_5is there a way to block an ip from my server?08:20
sorenJ_5: Sure.08:36
sorenJ_5: Check the ufw man page.08:36
gene-rhi, does any one know about samba?08:44
gene-ri installed ubuntu server for file share, but i need to make separate accounts for dif user, i dont want user see what other user store ther via samba. can some one helpme with a link or somthing, thanks08:46
gene-ri have tried a lot of configuration add new users but i cant get it work good or is there another way of sahre files in ubuntu server/08:50
gene-rr u in a meeting or something?08:54
thefishanyone got hold of an eee box? (not the eeepc laptop)09:41
thefishwould make a nice little low power home server09:41
edmoorethefish: agreed. though i just built a more powerful mATX box for about the same money10:21
thefishedmoore: mind giving some details? I want a low power nas box for around that price (£200)10:31
edmoorethefish: cool, I am uk too so I can talk to your in english10:33
thefishhuzzah!10:33
edmooredabs.co.uk - i got an intel e220010:33
edmoore2gb ram10:33
edmooregigbyte g31 s2l mobo10:33
edmoorea 250gb seagate barracude hdd10:34
thefishcool10:34
edmoorean antec nsk1380 case (really like it)10:34
thefishany idea of power consumption?10:34
edmooreand a pci wifi card10:34
edmooreno, though not much. The case comes with a high efficiency 350W psu10:34
edmoorewhich I don't think it at all taxed10:35
edmooreI also splashed out on a zalman cooler, though there's only just room for it10:35
thefishk10:36
edmooreI probably wouldn't bother with it if I had my time again10:36
edmooreand runs ubuntu server, but you could probably have guessed that given where we are :)10:36
thefishmm nice case10:37
edmooreI actually spent a little more on my box - I got a second idential hdd for software raid1, and 4gb of ram, but that's because it'll be running sims10:38
edmooreyeah - space is a bit tight inside but quite manageable10:38
edmooreand the psu comes with a 120mm fan which is a joy - totally silent10:38
thefishcool10:38
thefishrunning sims?10:38
edmoorephysics/engineering simulations10:38
thefishah ok10:39
edmoorechews up 100% of one core and about 2.2GB of ram for days at a time10:39
thefishye spose they run for a while10:39
edmoorethe other core and the rest of the ram is for the serving bit - files, websites, etc10:39
thefishill only want mine for really easy stuff10:39
thefishnas10:39
edmooreso my system came to £29710:39
thefishk10:39
edmoorebut if you loose the extra ram and hdd and other bits I bought (wireless pci, zalman fan) you'd probably be under £20010:40
edmooreand you'd have a lot more grunt than the eeebox10:40
edmooremobo has built in graphics, though I've not installed any flavour of X10:41
edmooreif you do go for a non-stock cpu cooler, check it has a 4-pin connector - the mobo has the newer 4-pin pwm speed control connectors, rather than the older 3-pin type which my zalman came with. I beleive the stock cooler is 4-pin, but don't quote me on that10:42
thefishah k10:42
thefishye for me though, low power has more weight than max grunt :)10:43
edmoorethey are compatible, but if you plug a 3 pin into a 4-pin mobo connector, it just runs at 100% all the time, which is a pain if you're in the same room as it10:43
thefishtasks: nas, screen/irssi, maybe a bt every now and then.10:43
edmooretrue - what's the psu on the eeebox do you know?10:43
thefishno not sure10:43
edmoorecertainly the atom will be more ecomonical to run than a core 2 duo10:44
thefishall i can find is marketing type stuff10:44
thefishhttp://www.nexus13.com/productcart/pc/viewPrd.asp?idproduct=1376&idcategory=0#details10:44
thefishye defs, at the moment i have a core2duo that i can WOL if i need it10:44
edmooreit really is a tiny thing isn't it10:44
thefishand a wrt that does the basics10:45
thefishye totally, and im thinking that thing tucked away in a corner somewhere just doing its thing10:45
thefishmight even be able to claim back the windows tax10:45
edmooreyeah that put me off10:45
edmooreI saw the eeebox on trusted reviews and though 'oooh yes please' but thn the more I looked into it the more I realised a DIY would be better for me, and a week later I bought my box, which I have now had for a week10:46
thefishcool10:46
thefishah actually theres a linux and a windows version10:47
thefishsame price10:47
thefish65W power adaptor10:47
thefishon the eee ^10:47
edmoorethefish: case closed then, I reckon :)10:55
thefishseems like it, thanks for telling me about the dev box though10:56
thefishreckon goals are slightly different10:56
thefishi would like to replace the "hog" with a box like that though10:56
edmoorethefish: cool, well I may well look at the eeebox when it's time to get a NAT10:58
edmoorestick openBSD on it and bob's your uncle.10:59
thefishi was reckoning jeos11:00
thefishjust cos its what i know11:00
thefishwhy bsd?11:00
* edmoore goolgles11:00
thefishjeos is a way cool stripped down ubuntu server ;)11:00
edmooreoh cool, looks neat11:01
edmooreI want to try openBSD just because it looks cool and everyone keeps hammering on about how secure it is. I like the idea of it on a set and forget gateway machine11:01
hadsALIX boards are good for that sort of thing.11:01
thefishye the bsd firewall looks really cool, seems to have built-in failover stuff11:04
edmoorehads: I'd not come across them, thanks for the recommendation. They I have some old bits lying around - 12GB hdd and a celeron and a gig or ram. that should be plenty for a nat, I hope11:04
busfahrerExcuse me, I'm trying to get a program that I installed manually to autostart at boot-time. What is the clean, correct way to do so?11:14
sorenbusfahrer: Either create an init script for it (see /etc/init.d/skeleton for an example) and add that to the the run levels you want to run it at, or you could just add a command to someone's crontab and set it to run "@reboot"11:24
ghalebhello, when I flush my iptables ( sudo iptables -F ) the firewall blocks everything11:58
erik78secheck your iptable default policy12:03
erik78seits probably set to "DENY"12:03
erik78seor DROP rather12:04
gargoyleQuick one, what's the meta package to perform the same actions as if I had chose LAMP from the installer?12:08
sommerKoon: good morning, I noticed that likewise-open and samba use secrets.db files in different locations... just wondering if there are any plans to combine them?13:30
Koonsommer: I confess I'm a little lost on samba/likewise-open combinations. I was hoping some enlightenment from jerry about this13:32
sommerKoon: that's cool, I was just working on documenting Samba and AD integration, and there's a pdf from likewise that instructs to symlink /var/lib/samba/secrets.db to /etc/samba/secrets.db13:35
sommerKoon: I don't mind documenting that, but is just didsn't seem to follow the "debian" way of doing things... not that big a deal though13:35
Koonwhich one uses the file in /etc ? Likewise-open, I suppose13:36
sommeryep likewise13:36
Koonhm. That should be fixed (even if not a regression)13:36
Koonyou cannot really consider it a "configuration file"13:37
sommerKoon: okay, I just noticed it on the version in your PPA... I tested leaving a domain, and didn't have any problems, just fyi13:37
Koonsoomer: cool. A new code drop is supposed to happen soon, dendrobates might be handling it though (I leave for vacation tomorrow morning)13:38
KoonI'll make sure he knows about that secrets.db thing13:39
sommercool, thanks man13:39
sommerit is pretty slick to configure samba with likewise-open, just need to get the kerberos and mount.cifs working :)13:40
moldyhi14:05
moldy(8.04.1) can i setup lvm+raid during installation?14:05
moldythe installer asks me for lvm, but i don't see any raid options14:05
sommermoldy: you can try out these instructions: http://doc.ubuntu.com/~mdke/test/serverguide/C/advanced-installation.html14:08
sommermoldy: that's the draft version of the serverguide so if you notice any problems, please let me know :)14:08
sommermoldy: being development they're geared toward intrepid, but the overall process is the same for hardy... just no boot degraded options14:09
moldysommer: thank you14:11
sommermoldy: np14:12
zulinfinity: ping when you are around can you look at the php5 ftbfs Im totally stumped14:14
moldysommer: hm. i configured sw raid. then i selected the sw raid device for "use as physival volume for lvm"14:14
moldybut how can i format/configure that device now?14:14
sommermoldy: I'm not sure of the exact process of combining software raid with lvm (mostly used them seperately), but you'll probably need to create a partition on the volume group14:15
sommermoldy: have you created a volume group?14:16
moldysommer: ah, i think i got it now14:16
moldycreated a vg and an lv now14:16
sommerya, that's it, then once you have an lv you can create a partition, then it's pretty much the same as a normal install14:16
sommererr... I think :)14:17
moldyhmmm, i cannot create more than one partition in the lv14:20
moldyah, this is normal?14:21
sommerI only have one per lv, guess I've never tried creating multiple14:21
sommerif you had multiple partitions per lv, then how could you expand the lv?  I don't think the system would know which partition to expand14:22
moldymakes sense14:23
moldyi wasn't sure anymore... i created multiple lv now14:23
moldyactually it's pretty straightforward14:24
moldy;)14:24
sommerheh, there starts to be a lot of terms to learn when you get into raid + lvm + partitions, and what not14:24
moldyya14:24
mok0What happened to JeOS?14:37
mok0Can't find it14:37
moldyhm, is it normal that ubuntu 8.04.1 server uses lilo in stead of grub?14:45
trakinashi all! Im having troubles with both cronjob and ssh.15:05
trakinasfirst, lets try to solve ssh... it simple cannot identify my keys.15:05
trakinas*simply15:06
thefishtrakinas: what error do you get?15:07
trakinasthefish: from putty that it rejected my key15:09
trakinassimply that15:09
thefishwhat error message?15:09
trakinasjust it: Server rejected our key15:10
trakinasnothing more.15:10
thefishok, it could be permissions on the server side15:10
thefishyou have put the public key into ~/.ssh/authorized_keys on the server?15:10
trakinasyep.15:10
thefishwhat are the permissions on ~/.ssh and ~/.ssh/authorized_keys15:11
thefishshould be 700 on .ssh and 600 on authorized_keys iirc15:11
trakinaspublic is -rw-r--r--15:12
thefish?15:12
trakinasthe public key15:13
trakinassorry!15:13
thefishok never mind the public key mate, please answer the question15:13
thefishthese dirs are on the server15:13
trakinasit is on the server side.15:13
trakinasyep15:13
thefishright15:13
trakinasand these are the properties for the key.15:13
* Deeps holds thefish's hand15:13
trakinas-rw-r--r--15:13
trakinasDeeps: =(15:13
thefishDeeps: :)15:13
thefishwhat are the permissions on ~/.ssh and ~/.ssh/authorized_keys15:14
thefishtrakinas: what are the permissions on ~/.ssh and ~/.ssh/authorized_keys15:14
thefishfor the main prize15:14
trakinasthe authorized_keys are -rw-------15:15
trakinasand that is 600, afaik15:15
thefishgood, thats what we want15:15
thefishok, have you checked in /var/log/auth.log for errors?15:15
thefishyou can turn up logging in /etc/ssh/sshd_config with the LogLevel directive if needed15:16
owhHmm, the meeting doesn't seem to be scheduled in #ubuntu-meeting, does that indicate that it's not happening?15:16
trakinasthefish: no error message with my user.15:17
trakinaswhat is annoying me is that some users can use the key, and mine cant.15:17
thefishok trakinas, have you modified the sshd_config file at all?15:17
trakinasthefish: only when installed it.15:17
thefishyou modified it, or just installed it?15:18
zulmeeting in a hour isnt it15:18
trakinasthefish: made only some changes on the port.15:18
thefishok fair enough15:18
trakinasthefish: in spite that, it is using both pass and keys.15:18
thefishis putty using this port?15:18
trakinasxyep15:18
thefishyou *only* changed port?15:18
owhzul, That's what I thought, well, 60-18=42 minutes :)15:18
trakinasi can login with password15:19
trakinasthefish: yep.15:19
trakinasquite sure. checked the conf already.15:19
zulowh: hourish ;)15:19
thefishok cool15:19
owhzul, next you'll be saying that 16 bit is like 32 bit :)15:20
thefishtrakinas: so you used puttygen to make the keys, then copied the public over to authorized_keys?15:20
zulowh: heh15:20
trakinasthefish: yes. didnt work. tried using keygen on the server side and importing to putty.15:20
trakinasdid not work either.15:20
thefishok trakinas, on the server: sudo tail -f /var/log/auth.log15:21
thefishthat is now watching auth.log for any changes (and we should see at least *something* from putt)15:21
thefishthen while thats runing, try to log in from putty, and see if any logs are made15:22
trakinasnothing... seriously...15:22
trakinasI will try from the begin. Let me remove all my keys and try it again15:23
thefishok, lets turn it up15:23
thefishok good plan15:23
trakinasuser keys, not server keys.15:23
thefishkeys are keys15:23
thefishmostly15:23
thefishso you will make the key with puttygen then copy across the public key?15:23
trakinasthefish: to be honest, Im kind lost.15:24
thefishtrakinas: ok no worries, i happen to have a windows machine here, and 10 mins to spare :)15:24
thefishso lets open puttygen15:24
trakinasthefish: should I copy the public key from /etc/ssh to my .ssh/  or simply generate my key?15:25
thefishno15:25
thefishtrakinas: you are on a windows machine, trying to ssh to a linux machine?15:25
trakinasokay! so i was on the right track, at least.15:25
trakinasthefish: using keys. password are okay.15:25
trakinasthefish: win to linux. correct15:25
thefishok cool15:25
thefishare you comfortable on how public/private keys work?15:26
trakinasthefish: kind of. lets say that this server wasnt my responsability but it became from a day to another.15:27
trakinasthefish: so i had to study really quickly all these things.15:27
thefishtrakinas: ok, i would read up a bit about public keys.15:28
trakinasim more of pythin programming on linux then with network.15:28
thefishnever heard of pythin15:28
thefishis it good?15:28
trakinasthefish: heck yes! is a fork of python! =P15:28
thefish:P15:28
thefishok cool, so pubkeys15:29
thefishwith this type of auth, we use keys. the keys have 2 parts: a public key and a private key15:29
trakinasthefish: Im cool with that. go on.15:29
thefishnow say we want to exchange data15:29
thefishi will need your public key15:30
thefishi will then use your public key to encrypt the data15:30
thefishafter this, only your private key can unlock it15:30
trakinasright.15:30
thefishthere is a lot more to it than that, but we use this for auth15:30
thefishso now i need to leave my public key on the server, and keep the private key very safe15:31
trakinasokay.15:31
thefishi will then ask the server to log in, and provide info that only the holder of the private key can have15:32
thefishthe server verifies this with thepublic key15:32
thefishso, your windows computer will have the private key, in putty or pagent i think15:33
trakinasyep.15:33
thefishand the public key from puttygen, will go into /home/{your-serverside-user-name}/.ssh/authorized_keys15:33
trakinasso far, so good.15:34
thefisha public key may look something like: ssh-rsa15:34
thefishAAAAB3NzaC1yc2EAAAABIwAAAgEA7/qSuP8VvUysxPp6ojwnML1v4w8rQ+9xY4npsFQkYA0kOZoGhfbrVf9tBxH6DyDLaa9pE/xd+vSP4IR+dL8mwM98w6uKne7Pdl7hBe5a/DM5EHS4cqOxa+t0CijsNR0i/tY177IqDrzJJxzBKXJm2V8ndXI8350job7+RwnphA+frvfcowSGxnT6eJ+i8N9fWlqUDv2CljOni4+Ti6ELXYjAb/NLGBv3nB16cvnhZgz17q9okegB0uuzgPLfRK7nLV2Rdxe0C7ArurP5IHz4IZ9OGlcMaqUKU+0mB1H7xrRPs6YXC8lWp3TYJKkN35Bm3y6V/3h62t8o2BpFVGOL3VezCO/ySeBjv6ur1GPySiG4OzGM7xQjvk6typZbTC30pOKOoFVfYKYuMfwLNI+yelMmoue6VKWN5/15:34
thefish7NOBGrdELSjVO4gt6vv4f2OMA9RhFvfXJcgwiBDIren4VXhw2CeDVq4ESWsBY4pYHryqWlCqS4CEiaO7/NfKGDlB5WTvAoKaYIPi8ofTYriSUj0S1tOM8dNAzrDqUnJzFVTubYua6dyzp+Z/GqqJkA5ND0sxrdLKwm7x9u+8Unn7KeZzSU3ODpxhsNRo8GUdvgn4tK3aBnqcTHQcwbeshuJhEXv7hMSHCMxxALYqvUKjy0NRt6D7uCTPncGNadW9selWOrgmk=15:34
thefishsorry for flood! that looked like a 1 liner from here...15:34
trakinasone sec! boss is calling15:34
dusty_Hey guys, I have a firewall script: http://rafb.net/p/52ujkq51.html and relevant entries in syslog.conf restarted syslog and in my firewall script i log ssh connections, so i made an ssh connection to my server and nothing appeared in /var/log/firewall.  I took the iptables script down, added one line to test logging which was: iptables -A INPUT -j LOG and then i hit 'dmesg' or tail /var/log/firewall and my logs are15:35
dusty_pounded with iptables traffic, so why does it not log with my current example what am I doing wrong ?15:35
trakinasthefish: Im alright with that.15:39
trakinasthefish: key generated, saved, uploaded to the server, chmoded to 600.15:39
trakinasthefish: the is also a ssh2 dir, should I upload it into there?15:40
thefishtrakinas: what distro is the server?15:40
trakinasthefish: not sure if it is 7.10 or 7.10 upgraded to 8.smth15:41
trakinasone sec15:41
trakinaskernel version helps15:42
trakinas?15:42
thefishok thats fine, no worries15:42
thefishyou have only the 2 computers?15:42
trakinasor is there any command to check the distro version:15:42
thefishtrakinas: its not needed, but a useful one is `lsb-release -a`15:42
trakinasthefish: no. a bunch of them. loggin through password works great.15:42
trakinaswith the quotes?15:42
thefishok so its just key login that we need to fix ye?15:42
trakinasyep15:43
thefishthose are backtics, and no15:43
trakinasthefish: thanks! did not know the name. "english are not me first language"15:43
thefishi guessed that trakinas ;)15:43
trakinas:]15:43
thefishtrakinas: please do "grep AuthorizedKeysFile /etc/ssh/sshd_config"15:44
thefishon the server15:44
thefishit should return just one line15:44
trakinasAuthorizedKeysFile      %h/.ssh/authorized_keys15:44
trakinasnot commented.15:45
thefishok cool, so this is the file that need to have the public key in it15:45
dusty_anyone ?15:46
trakinasthefish: i can paste bin it in somewhere.15:47
thefishyes please trakinas15:47
mok0How do you remove a public key from ~/.ssh/known_hosts?? It used to be that the host name was in the file, but no longer15:51
sommerssh-keygen -R hostname15:52
thefishmok0: with vi - :set nu15:52
thefishsommer: nice one, didnt know that, i always went to the file and searched for the line number :)15:52
owhsommer: Cool, I didn't know that :)15:52
sommer:-)15:52
owhthefish: Ditto :)15:52
Deepsor just :<line number: to jump to that line15:53
mok0thefish: how do I know the line number?15:53
owhmok0: It says so in the error :)15:53
thefishmok0: the error15:53
thefishpff fast typists15:53
mok0ah15:53
mok0heh you're right15:54
owhYou all know about ssh-copy-id while we're at it too?15:55
thefishowh: ye that saved me much caffeine :)15:57
thefishssh-add was like a religious experience15:57
thefishor however you spell that15:57
mok0owh: nope, but it's cool!15:58
thefishhows this for cool, discovered today: you can use "screen" to share a tty15:58
thefishand have many viewers or participants15:59
owhYup15:59
thefishdamn thats nice15:59
thefishi had to show a guy in another town how to do a specific ubu server setup15:59
thefishjust screened it15:59
owhAnd you can use it to log what you were up to, so you can log into a server maintained by someone else and fix their server while they make sure that you're not fsking with it :)15:59
thefishye16:00
thefishtheres some cool clipboard stuff as well, not played there yet though16:00
thefishowh: know any cool tricks for updating many servers at once?16:02
thefishapt-lots-of-them update...16:02
thefishfedora now has the super cool spacewalk16:02
thefishand i know theres landscape, but its pretty pricey16:03
owhDunno, but I'm in a meeting in #u-m16:03
mok0thefish: look at dsh16:03
owh(That's the ubuntu-server meeting BTW)16:03
thefishmok0: cool, will do16:04
mok0thefish: another gem from Junichi-san16:04
thefishcool16:05
[diablo]thefish, mish16:05
thefishmok0: i guess you mean Dancers' shell, not "Deliberate Self-Harm" ;P16:05
mok0heh16:05
thefish[diablo]: ello16:06
[diablo]thefish, that u mate?16:06
thefishpity people like [diablo] are allowed on this channel, it spoils it for the decent folks16:06
[diablo]ok, it's you16:06
thefishwhere do i report that [diablo] is trying to cyber me?16:06
[diablo]JAJA16:07
thefishmok0: cool, but i really would like something like landscape, that says what updates are available for each server, and shows any errors etc that may happen16:09
mok0thefish: landscape is not too expensive16:10
thefishcheck out http://www.redhat.com/spacewalk/16:10
thefishmok0: $150/year/node is too expensive here16:10
mok0thefish: oh, I didn't know it was per-node16:11
thefishye16:11
thefishfor an "important" server, i wouldnt go without it16:11
mok0thefish: well, then I stand corrected16:11
thefishbut most here are easily replaceable etc16:11
thefishmok0:  http://brainstorm.ubuntu.com/idea/6338/16:12
mok0thefish: interesting reading...16:13
thefishye totally16:13
mok0thefish: I rely on cfengine to do most distributed maintenance16:13
mok0thefish: you could set it to do apt-get dist-upgrade if you wanted to16:14
thefishmm, looks interesting16:14
thefishwill it report back and say server X needs this update, and server Y failed on update Z?16:15
mok0thefish: personally, I like to watch ;-)16:15
thefishhehe16:15
thefishrhn is really cool like that as well16:15
mok0thefish: no it is completely standalone16:15
thefishok16:15
mok0thefish: you mean the redhat cluster utils?16:16
thefishna rhn, for keeping the servers updated16:17
thefishsame as landscape pretty much16:17
thefishmok0: https://rhn.redhat.com16:18
mok0thefish: hm, google finds RedHat Network16:18
mok0ah thx16:18
thefishits really useful for big distributed missions16:19
thefishdoes alerts etc as well16:19
mok0thefish: costs money though16:19
thefishyep, costs, but for main servers its worth it16:19
thefishcomes with the subscription though16:19
mok0thefish: probably cant install .debs though :-)16:20
thefishhehe16:20
thefishi was thinking about that as a spacewalk addon16:20
mok0thefish: seems spacewalk is based on kickstart16:21
mok0thefish: ... another redhat thingie16:21
thefishk16:21
mok0thefish: I don't think kickstart is supported by Debian/Ubuntu16:22
thefishi doubt it16:22
thefishim using zenoss to monitor, so we get all that, but it would be really nice to add updates to that16:22
thefishso much less work16:22
mok0We just have a really simple script that does an ssh to all machines with "apt-get dist-upgrade"16:23
thefishdont you worry about that one day beating you up and stealing your lunch?16:24
mok0thefish: yes :-)16:24
thefishand what about config file updates etc16:24
thefishhehehe16:24
mok0thefish: it doesn't happen very often though16:24
thefishye16:24
mok0thefish: cfengine takes care of config files16:24
thefishaah ok16:25
thefishseems similar to puppet16:25
* mok0 looks 16:25
mok0yeah16:26
kpettitis there any good docs for keeping a internal repository for ubuntu?  Basically I have a slow network connection and a bunch of ubuntu server and want to avoid downloading when possible16:34
thefishkpettit: http://www.subvs.co.uk/apt-proxy_on_ubuntu16:36
kpettitthefish, looks perfect.  Thanks16:37
thefish:)16:37
thefishkpettit: one change:16:37
kpettit?16:37
thefishon the clients, dont change their sources.list16:37
thefishcreate a file /etc/apt/apt.conf.d/02proxy16:38
thefishinside, put: Acquire::http { Proxy "http://ip.of.server.box:9999"; };16:38
thefishthat assumes you use port 999916:38
kpettitah ok.  I'm going to go through it right now.16:39
kpettitI'm starting with a fresh office and machine, it's nice to get a chance to start from scratch16:39
thefishye totally16:40
thefishkpettit: you may also want to check out apt-cacher-ng16:40
* kpettit looking it up...16:41
thefishnot very much docs, but you may have less problems than apt-proxy16:41
kpettitok.  I'm install both packages.  I'll go the path of least resistance16:42
kpettitwould doing something like a nfs share of /var/cache/apt/archives work?16:43
infinityzul: pong...16:47
zulinfinity: hey I been fighting the php5 ftbfs without much success if possible can you take a look at it?16:48
infinityzul: That does look pretty stumpy.  I'll have to test locally.16:52
zulinfinity: thanks I was able to reproduce it locally though16:52
infinityzul: Well, yes, but local reproduction is the first step to then sorting out WTF. :)16:52
zulinfinity: heh16:53
kpettitthefish, sharing the cache directory over samba seems to be doing the trick.  I'm trying with 32 and 64bit machine.  Going to see if I can create colisions in the "partial" directory to see how it does with that16:53
thefishouch16:54
kpettitI'm going to be the one updating all the machines so I don't worry about a collision that much, but I'm curious what will happen16:55
thefishkpettit: apt-cacher-ng is seriously less work, and was built for purpose16:55
kpettitI just finished the download for that one.16:55
* kpettit checking it out16:55
thefishthe download?16:56
thefishsudo apt-get install apt-cacher-ng16:56
thefishdone16:56
thefishthen just add the 02proxy file to each client16:56
kpettityeah, it just took apt-get a bit to grab it.16:56
kpettitslow network connection here16:56
thefishk16:56
kpettityour right about the docs being sparse16:57
thefishkpettit: thing is you dont really need em, just install the server, config the clients and fire away16:58
thefishwith apt-cacher-ng, there is a http interface as well, shows you how much your cache is being used etc16:58
thefishmake sure the ports match though, i think apt-cacher-ng doesnt use 9999 as default16:59
kpettitah that's cool16:59
thefishkpettit: working?17:04
kpettitstill readying through the docs I found.  The had some HTML docs in /usr/share/doc17:05
* delcoyote hi17:08
kpettitthefish, I've got my apt-cache-ng server started on port 9999.  On the client I want to test I created that 02proxy file.17:10
kpettitDo I need to start apt-cacher-ng on the clients as well?17:10
thefishkpettit: no17:11
thefishjust apt-get update etc17:11
thefishdo one full upgrade, then on the next ones it will be lan speed17:12
kpettitok.  Doing that now.17:12
kpettithow can I tell if it's worknig?17:12
thefishyou can also import apt-cache if you have some17:12
thefishkpettit: i guess sudo netstat -untap will show you it listening/transferring17:12
thefishps will show on the server as well17:12
thefishbut on the client, sudo netstat -untap will show a connection to the apt-cacher-ng server17:13
kpettitThe client is listening like it wants to be a server17:15
thefishyou installed apt-cacher-ng on the client?17:15
kpettityes17:15
thefishits *just* for the server17:16
thefishremove from the client17:16
thefish1: install apt-cacher-ng on server17:16
thefish2: edit/create /etc/apt/apt.conf.d/02proxy on the clients17:16
thefish3: sudo apt-get update && sudo apt-get upgrade on the clients17:16
thefish4: profit17:16
kpettitah ok.  IN the html instructions it shows the 02proxy in the apt-cacher-ng directory.  That's what confused me.17:17
thefish:)17:17
infinityzul: Well, for starters, it doesn't help that config.sub is completely missing...17:25
zulhow the hell did that happen?17:26
infinityzul: Not sure.  It's not something we dropped in a patch, it should be copied into place in the build.17:28
zulinfinity: thats weird because I tried the previous version and the same thing happens17:28
infinityzul: Yep.  I'd assume autotools breakage.17:28
zulinfinity: lovely17:29
kpettitthefish, it's working!  Thanks allot for the help.17:30
infinity  * bin/autoreconf.in: Check whether libtoolize supports --install, if it17:30
infinity    does, libtoolize is safe to run at all times since it will not install17:30
infinity    new files unless --install is passed to it as well.17:30
infinityI might blame that change.17:30
* infinity rolls back autoconf to test his theory.17:30
kirklandmathiaz: are you reviewing dendrobates's landscape-client package today?17:34
mathiazkirkland: done already17:35
mathiazinfinity: zul: yes - it's libtoolize17:35
kirklandmathiaz: ah, cool, okay.  is there a debconf question that prompts for a launchpad key?17:35
mathiazinfinity: zul: you have to use the -i option so that it installs config.sub,guess17:35
mathiazinfinity: zul: -f will just delete the files, but not update them17:35
mathiazinfinity: zul: I've already fixed cdbs to do so17:36
mathiazkirkland: nope17:36
mathiazkirkland: are you looking for debconf examples ?17:36
infinitymathiaz: Ugh.  debian/rules doesn't libtoolize, it's the upstream source.17:36
infinitymathiaz: Yay, backward compat!17:36
kirklandmathiaz: i have read the debconf documentation17:36
* mathiaz tries to find an package that has a simple debconf setup17:37
infinityzul: s/--copy/--copy --install/ in debian/patches/033-we_WANT_libtool.patch should do the trick. Testing.17:39
infinityzul: Yup, that fixes it.17:40
infinityzul: I'll just upload this here.17:40
zulinfinity: cool thanks for the help I appreciate it17:40
mathiazkirkland: you may look at mysql-dfsg-5.017:40
infinityzul: Or... I would if FreeTDS worked.17:40
mathiazkirkland: especially mysql-server-5.0.config and mysql-server-5.0.templates17:40
kirklandmathiaz: yup, prompting for the root password, right?17:40
kirklandmathiaz: that's what I'm emulating17:40
mathiazkirkland: yes - there is such an example17:41
zulinfinity: I think there is a patch in debian about that17:41
mathiazkirkland: ah ok - there is also openldap17:41
kirklandmathiaz: okay, i'd like to work off of dendrobates' populated landscape-client package...  is it uploaded yet?17:41
mathiazkirkland: nope - there are some changes needed17:41
zulinfinity: I can fix that one if you want17:41
mathiazkirkland: the package is not ready for upload IMO17:41
kirklandmathiaz: okay....17:42
mathiazkirkland: the difference between mysql and openldap is that mysql keeps the root password in the debconf database while openldap wipes it out17:42
kirklandmathiaz: perhaps i'll just send him a patch17:42
infinityzul: Ahh, I see the Debian patch.17:45
zulinfinity: I can just apply it locally and upload the fi17:45
zulfix even17:46
infinityzul: Sure, go nuts.17:46
zulinfinity: again thanks for the help17:46
infinityzul: NP...17:46
infinityzul: 10-to-1 odds that the s/--copy/--copy --install/ will make the package non-backportable, BTW.17:47
infinityzul: So we'll need to add more logic to detect if --install is supported before using it, if you care.17:47
zulinfinity: ill mention it in the changelog then17:47
infinityOh, wait.17:49
infinityzul: Nevermind.  Unwait.17:51
zulk17:51
infinityzul: autoreconf has --install checking support built in.  But, of course, php doesn't USE autoreconf anywhere. :)17:51
zulheh silly rabbit17:52
* infinity shrugs.17:53
infinityzul: FWIW, autoreconf's test pretty much just consists of "grep -- --install `libtoolize --help`"17:54
infinityzul: Would be easy enough to add that to the libtoolize patch and make it backportable.17:54
infinityzul: (I can do that and submit a patch, if you like)17:54
zulinfinity: yes that would be nice17:55
zulim doing a test build anyways17:55
infinityzul: http://lucifer.0c3.net/~adconrad/18:02
zulinfinity: thanks18:03
* infinity should commit the same to Debian SVN...18:03
infinityzul: Committed to Debian SVN as well, so it's a patch you won't have to carry after -3 is out.18:12
zulinfinity: cool18:13
=== freaky[t] is now known as fReAkY[t]
zuli seriously hate php5 now18:30
zulinfinity: its bitching about dlsym now18:34
zulinfinity: http://pastebin.com/m3a41734818:34
lamontzul: it doesn't have to be 5 for me to hate it18:45
zullamont: im discovering that as well18:45
lamontPlease Hack Promptly18:46
lamontthough, to be fair, these days it's mostly other things that are still propagating the original "security-clueless php snippets"18:47
zulits just not building18:48
infinityzul: Can you bounce your patch to me?19:01
trakinaswhen trying to use keys for logging into the ssh i receive this: FATAL ERROR: Server unexpectedly closed network connection19:03
lamonttrakinas: the obvious-and-possibly-painful answer to that is: what does the error log on the server say?19:06
trakinasnothing...19:07
zulinfinity: people.ubuntu.com/~chucks/depreeciated_freetds_check.patch19:08
keeskirkland: ah, /dev/null for dev map, yeah, I get it now.  cool.19:16
kirklandkees: okay good19:17
kirklandare you looking at http://bazaar.launchpad.net/~kirkland/grub/33649b/annotate/841?file_id=grubinstall_better_r-20080808231927-tsz86l2dgjy6usoc-1 ?19:17
kirklandkees: that's the best, most current patch to look at19:17
keeskirkland: yeah19:17
keeskirkland: rockin' yeah, looks good.  I'd like to test it some, but it's probably good enough to upload if cjwatson has looked it over too19:18
kirklandkees: cjwatson is out on vacation19:19
kirklandkees: i've been working with slangasek on it19:19
kirklandkees: he was almost happy with it friday19:19
keeskirkland: ah! right, cool.19:19
kirklandkees: recommended one change, which had a trickle effect, the result is the current patch you're looking at19:19
kirklandkees: i'm hoping he'll ping me sometime today with a thumbs up19:19
kirklandkees: i've tested the heck out of it19:19
keeskirkland: I ran into him briefly, I'll check19:19
kirklandkees: thanks.19:20
kirklandkees: i'm trying to get this into alpha4, which probably necessitates action very, very soon19:20
keeskirkland: if you can prep the source.changes and associated files somewhere, I can upload them.19:22
kirklandkees: um, grub is managed in bzr19:22
kirklandkees: which is why i have a bzr branch19:22
kirklandkees: i have the changelog entry and stuff in that same branch19:23
juannicolasHi, can someone help me how to install postgresql8.0 in ubuntu hardy? apt-get can't find the pkg in the source list.19:42
juannicolasI'm trying to install postgresql 8.0 via source but is asking for to many libraries19:43
keeskirkland: right, but it still needs to be uploaded.  :)19:48
kirklandkees: interesting, okay...  so what do you need from me?19:49
kirklandkees: a debdiff, or a bzr branch?19:49
infinityzul: That's really, really weird... autotools isn't converting that one m4 snippet into shell... And only that one, afaict.20:02
zulremove it then?20:03
infinityzul: That would be the brute force option, but I'm more curious about the real bug here.20:03
* nxvl HUGS zul 20:04
zulhi nxvl20:04
nxvlzul: thank you for your comments!20:04
zulnxvl: no problems20:04
=== RoAkSoAx_ is now known as RoAkSoAx
infinityautoconf is rewriting aclocal.m4 ... That seems just wrong...20:09
infinityOh, no, the build system is doing that.20:11
infinityThat makes slightly more sense.20:11
infinityAnd the new libtool doesn't ship that macro in aclocal.20:11
infinity\o/20:11
infinityzul: Meh.  Fixing that just leads to more libtool failures later.20:24
zulheh20:25
infinityConfiguring libtool20:25
infinity../configure: line 135465: LTOPTIONS_VERSION: command not found20:25
infinity../configure: line 135466: LTSUGAR_VERSION: command not found20:25
infinity../configure: line 135467: LTVERSION_VERSION: command not found20:25
infinity../configure: line 135468: LTOBSOLETE_VERSION: command not found20:25
infinityEtc, etc.20:25
infinityzul: I'd recommend putting together a package that fixes the non-libtool bugs, then dropping it in Keybuk's lap with a big red bow and a tag marked "HALP!"20:25
zulfrig Ill do that first thing in the morning I have to go pick up my son from the day care20:26
=== antdedyet_ is now known as antdedyet
keeskirkland: a bzr branch plus a regular source.changes fileset to upload at the same time.  :)21:06
uvirtbot`New bug: #257411 in samba (main) "mount.cifs ignores iocharset even specified" [Undecided,New] https://launchpad.net/bugs/25741121:08
Guest45207need some smb.conf help, can't seem to authenticate at the group level21:39
Guest45207here's the smb.con http://pastebin.com/d146764bf21:39
sommerGuest45207: does %S map back to a group name?21:40
Guest45207how can i check21:41
Guest45207it did on the previous server i used the config file on, however that was not using ldap21:41
sommernot sure, probably in the log file...  you have have to set a higher log level21:42
sommererr, "may have to"21:42
sommerGuest45207: what group are you trying to force to?21:43
sommeryou might try "force group = @group_name" where group_name is a system group21:43
Guest45207ok, i'll give that a shot real fast21:44
Guest45207i though that's what the valid users thing took care of the "@bclab"21:44
sommeryep, but if %S isn't a system group, Samba isn't going to know which group you to authenticate to... at least if %S isn't a system group21:46
=== CochiseIRL__ is now known as CochiseIRL
Guest45207putting in force group = @group makes the share unusable21:53
kirklandkees: is this what you need? http://pastebin.ubuntu.com/36964/22:13
kirklandkees: looks like grub has released a few times... 0.97-29ubuntu3422:14
kirklandkees: my work would create grub_0.97-29ubuntu2922:14
kirklandkees: looks like benc and pitti have been active on grub22:14
infinityzul: php5 uploaded with several different FTBFS issues fixed.22:15
zulinfinity: ergh....22:25
zulthats good but meh..:)22:26
kirklandkees: also, i've been using liferea, with its data in ~/Private ... no problem ;-)22:27
infinityzul: Meh?22:28
kirklandkees: would you prefer a debdiff against 0.97-29ubuntu34?  I can do that too...22:30
kirklandkees: perhaps this is what you want: http://people.ubuntu.com/~kirkland/grub/22:38
kirklandkees: most notably: http://people.ubuntu.com/~kirkland/grub/grub.33649.debdiff22:38
kirklandkees: and http://people.ubuntu.com/~kirkland/grub/grub_0.97-29ubuntu35_amd64.changes22:38
keeskirkland: you'll want to use debuild -S (for a source .changes file).  that's the easiest to sponsor.23:36
zulinfinity: meh as being php is evil23:42
ScottKzul: Isn't that redundant.23:55

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