/srv/irclogs.ubuntu.com/2010/12/09/#ubuntu-server.txt

SpiritusLike Obiwan :)00:00
SpiritusPondering Aragorn freeze.00:01
SpiritusYompa: So, what do you do here ? Talk about why servers arent updated and breaches are made ?00:03
SpiritusThe US military wanted some coding so i did that, but didnt even get a lousy t-shirt in return. Sure it was cool, but come on! I spent 3 days on those changes, day and night wo sleep.00:07
SpiritusAnd all i asked for was a t-shirt to hang on my wall.00:08
SpiritusOoh, i see a lack of empathy.00:11
SpiritusAh, theusgas00:12
SpiritusReport: The only sign of intelligent life is called "Yompa" :)00:14
jeeves_mosshow can I script a way of moving a file from the input directory to an output directory, however, leave a "touched" file with the same file name in the input directory?00:18
Spiritusmv PATH/oldfile PATH/newfile |00:20
Spiritusmv PATH/oldfile PATH/newfile | echo @1 ... if this -> @$1 or $1 gives the path/filename you can use $2 etc00:22
SpiritusDepends on what shell youre scripting it in..00:22
jeeves_mossSpiritus, I'm guessing it's bash.  it's the standard one00:23
Spiritus#!/bin/bash or #!/bin/sh -> tcsh etc00:23
jeeves_mossSpiritus, #!/bin/sh00:24
SpiritusAlways let the runtime shell know what file its trying to compile. At top of the file give the origin: #!/bin/bash (Newline here)00:24
* RoyK packs up to thaw up a little in Reykjavík00:25
SpiritusUse bash, the docs arent good for sh00:25
SpiritusRoyK: Rockinvik! /greetz00:25
RoyK:)00:26
Spiritusjeeves_moss: stdout doesnt work well with #sh as with #bash if its for example a forked process in some cases.00:28
SpiritusOn Gotland we have Rouks! :)00:28
SpiritusIm from the mainland though00:28
SpiritusRauks00:29
Spiritusqbric ... thats a sucky network trying to keep the truth from the people, aka RealPlayer.00:30
SpiritusThey also feed us with false information on a daily basis since 2003.00:30
SpiritusIE: The Swedish government tv garbage00:31
Spiritus90% of what they show is disecting humans and or blowing them up (NCIS, some murering idiot and some doctor guy with a caine etc etc etc)00:33
SpiritusOr that fucking chef thats all about "JallaJalla/YallaYalla" or whatever stress they can put their young under.00:34
Spiritusthe f-word idiot00:34
SpiritusI like Simpsons, Seinfeld, Absolutely Fabulous, SG and fishing programs. I hate opera, mtv and anything stressfull00:37
Spiritus-1l00:37
SpiritusWhy hasnt mtv been cancelled yet ?00:37
The_Tickbecause it generates tons of revenue00:37
SpiritusComplete garbage.00:37
SpiritusSo idiots watch that, really ?00:38
The_Tickthere's some decent shows on it I suppose00:38
The_Tickbut it doesn't matter00:38
The_Tickif the show can generate viewers00:38
The_Tickthen the ads go from 40k to like 300k00:38
The_Tickfor a single 30 second clip00:38
The_Tickor even higher00:38
The_Tickso if a show has what, 3 or 4 ads00:38
The_Tickper break00:38
The_Tickand 2-3 breaks00:38
The_Tickand gets rerun, what, 30 times a week?00:39
The_Ticktons of cash00:39
The_Tickyou go tell mtv to shut the doors and they'd just laugh at you00:39
The_Tickbecause you don't get it :)00:39
The_Tickin the US when the whole late show problem occured with conan and jay leno00:40
The_Tickjay went to an earlier time slot00:40
The_Tickalmost nobody watched it00:40
SpiritusI have watched it, couldnt find anything good on it "Oh i got a lipsucktion those balls" :)00:40
SpiritusMTV sucks arse!00:40
SpiritusI actually have to pay for it wether i want to or not. Thats the really odd part.00:40
The_Tickthe ads STILL generated 40k per ad00:40
The_Tickper showing of the ad00:40
The_Tickwith almost nobody watching00:40
Spiritus90% of the money i pay for my tv license goes to needy people in the under developed countries. Why cant i just go there with some companies and build them some wells ?00:41
The_Tickyou pay to watch tv?00:41
SpiritusMTV blows00:41
The_Tickwoah, what?00:41
The_Tickyou actually pay?00:41
SpiritusYou do too, tv-license00:41
The_Tickthat's hilarious00:41
The_Ticknope00:41
The_Tickthere's no licensing in the US00:41
The_Tickand I live in the US00:42
The_Tickso I do not pay00:42
SpiritusSwedes pay billions each year to watch tv we ourselves made.00:42
Doonzhey does anyone use byobu here?00:43
The_Ticksilly swedes00:43
SpiritusThen again, we are the richest country on earth right now... i doubt it.00:43
The_Tickrichest because you pay dumb taxes like that one00:43
SpiritusThe_Tick: Wanna play with the fjords of doom ? :) /You make me so happyfied :)00:43
Spiritus!Entail ^^00:44
SpiritusYou have entered a database of doom, want to climb out ?00:44
The_Tickyou hate mtv and yet consider this entertaining?00:45
Spiritus!Envicathiem est00:45
SpiritusYou seem nice00:45
SpiritusThe_Tick: Isnt chatting with people better then mindnumbing brainlessness ?00:47
The_Tickno00:47
SpiritusIF you think not, then why are you here ?00:47
The_TickI think there's room for both00:47
SpiritusLOL00:47
The_Tickbut I think bitching about it forever is annoying00:47
SpiritusYoure as fun as a sack of old potatoes00:47
SpiritusYoure rubber im glue... whatcha gonna do ? :)00:48
SpiritusWe are fun to the onlooking crowd. Im liking it.00:48
SpiritusThe_Tick: Dont you think IRC can also be fun, like it was before 2003 ?00:49
SpiritusI for one liked that betterwebs00:50
The_TickSpiritus: I think it can't be like it was in 95, no00:51
SpiritusThe_Tick: Ill settle for 2000, atleadt then crazy manicas didnt roam freely as ops (jokes where ok ans so where discussions). Then Idiots entered by governmet policy and removed all the fun, so we had to have fun with the evils.00:53
SpiritusAnd it was indeed fun.00:53
SpiritusSo if i see anyone saying !ot again anywhere ill know its a microsoft employee amongst a few other tell tell signs.00:54
The_TickSpiritus: but you're from sweden00:55
SpiritusWe dont like those ;)00:55
The_Tickyour opinions on irc do not matter00:55
SpiritusExplain ?00:55
The_Ticktoo close to norway00:55
SpiritusSo then finland is crap as well ?00:55
Doonzdoes anyone know how to add more hard drives to the status line in byobu?00:55
SpiritusTo you ?00:56
SpiritusThe_Tick: So Mrs tick :) ... Do you live in US ?00:56
The_TickDoonz: they don't have good docs?00:57
Doonzno actually00:57
The_Tickbla00:57
lifelessDoonz: have you checked out 'man byobu' ?00:57
The_Tickany config file?00:57
Doonzhttp://manpages.ubuntu.com/manpages/maverick/en/man1/byobu.1.html00:58
Doonzthis is what im reading00:58
Doonzbut what the man pages are saying the config file isnt really lining up00:58
SpiritusI miss the US inputs. I talk to my coders by phone instead.00:58
Doonzit doesnt really say how to add more disk monitoring in it00:59
The_TickDoonz: what kind of monitoring does it provide anyhow?00:59
SpiritusBut talking to people on irc tells if people are good or not so i prefer hireing them here granted good test results or very good credentials.01:00
Doonzbasically on the status line it just shows free space of the drive01:00
Doonz106GB,3%01:00
Doonzthats what it shows for my main drive but i have 3 others that i would like to monitor01:00
Spiritusdf -hP /01:00
The_TickSpiritus: unless you know what the hell he's asking01:01
The_Tickwhich you don't based on that answer01:01
The_Tickplease be quiet01:01
kirklandDoonz: so you want to monitor multiple drives?01:01
DoonzSpiritus: yeah trying to avoid typing that01:01
Doonzkirkland: yea01:01
Doonzi have sd[a-d]01:01
SpiritusThe_Tick: Yes sir! :) /rotfls01:01
The_TickDoonz: why do you need to know that constantly? :)01:01
kirklandDoonz: okay, do this ... "mkdir ~/.byobu/bin"01:01
Doonzcause my wife has a habit of filling up the hdd's01:01
The_Tickheh01:01
Doonzshe loves photography01:02
The_TickDoonz: besides this I'd add a cronjob to run every 15 minutes, and if you're at 10% email yourself01:02
Doonzbut 10Gb of pictures of our vase in the kitchen......01:02
The_Tick10% left01:02
Doonzyeah i have that set up now01:02
Doonz:)01:02
kirklandDoonz: cp /usr/lib/byobu/disk ~/.byobu/bin/17_disk01:02
kirklandDoonz: then edit ~/.byobu/bin/17_disk01:02
kirklandDoonz: and have it monitor each of your disks01:02
Doonzok let me try01:02
kirklandDoonz: that's how you create a "custom" byobu status script01:03
kirklandDoonz: you could make that script do whatever you want01:03
SpiritusThe_Tick: http://en.wikipedia.org/wiki/Brigadier_General .. :)01:03
Doonzuuh01:04
Doonzhmm01:04
Doonzin the original if statment do i just change it to a 201:04
Doonzand then set the mp to where ever that drive is mounted01:05
SpiritusThe_Tick: By helping to specify and construct the GNU and in coding Linux i think i could possibly know what im doing sir :) .. It means Freedom!01:05
The_TickDoonz: sounds like you'll have to play with it01:06
Doonzyeah wish me luck woot01:06
Doonz!!!01:06
Doonzbbl01:06
SpiritusI think freedom can be whiffed. The freedom to know.01:07
SpiritusI like this new bounce vpn via wirelsss01:10
SpiritusPackets embedded via subnet broadcast PEBCAK's bounced from lands to seas. Its fairly cool.01:12
SpiritusIm on wireless atm, but the interchanging HUBs pass the traffic on via SO_LINGER and reconnects under the timeouts. Im loving it01:14
SpiritusHas anyone tried headerpassing ?01:15
Spiritusportknocking, but thats bound to fail at some point..01:15
SpiritusWhy... Consider a max amount of knocks=65535 (IANA registered port range) .. Hack the kernel and you have 0-infinite almost.01:17
SpiritusHackers today are so confined01:17
SpiritusSame goes for subnetting and adressing. Otherwise youre playing ... on the fields of barley ... :)01:19
SpiritusNot to say Barley isnt cool, because it is my friends ;)01:19
SpiritusOn the fields of barley! ... nananna!01:20
fluvvellSpiritus, move it to ubuntu-offtopic please01:20
Spiritusfluvvell: Would you say that barley is raw sugar, or stronger then raw sugar sir ?01:21
SpiritusOr did you wnt to ask a computer related question ?01:22
PiciSpiritus: Could you please try to stay on topic here.  If you want to chat about randomness, there is #ubuntu-offtopic01:25
Spirituschar c = 'x';01:26
Spiritus    while((c = cin.get()) != '\n' && c != '\0'); ?01:26
sbeattiePici: thank you. I think you were the 4th person to ask Spiritus to respect the channel topic.01:28
=== jjohansen is now known as jj-afk
april__i'm trying to move a bunch of files from one folder to it's parent folder. I tried 'for f in *; do mv /path/to/directory/"$f"; done' and i get the error "mv: missing destination file operand after '/path/to/directory/filename.zip' what am i missing?01:56
qman__april__, mv * ../ ought to work02:05
qman__and you're missing a source or destination file02:07
qman__you only have one file listed after the mv command02:07
DaethzThat pici seems way gay.02:15
mike01has anyone configured honeyd on ubuntu server?  i'm testing it out via 127.0.0.1 - my virtual honeypots respond to pings, but not TCP connections03:00
i0nictrying to restart ssh but its not in /etc/init.d/ssh ?03:14
dragoon123Hi, I just installed Hibernate and rebooted my server know it is stuck @ the loading screen I tried recovery mode but it's the same. How do I get around this?03:17
twbi0nic: in 10.04, /etc/init.d/ssh.conf provides sshd normally, so run "restart ssh".03:18
twbSorry, /etc/init/ssh.conf03:18
twbi0nic: the sysvinit /etc/init.d/ssh is provided by disabled by default, because the upstart version can't handle some ssh configurations.03:18
hansini0nic: I am not sure if I am getting this right (twb, correct me if I am wrong), but with many "init scrips" moving from sysvinit to upstart, there are changes happening. And right now some scripts are native upstart style and some still sysvinit. Sounds like SSH uses an upstart script, but supplies the sysvinit (in /etc/init.d/) as backup.03:21
i0nictwb ahh thanks03:21
twbhansin: openssh-server is unusual03:22
twbNORMALLY when an upstart job is provided, a backwards compatibility symlink is placed in /etc/init.d03:22
i0nicso im trying to setup a reverse dns between a tablet and my server and I keep getting03:22
hansinI'm just sort of figuring this all out, so if what I say is obvious, just ignore. Okay, I think I get it.03:22
i0nicssh_exchange_identification: Connection closed by remote host03:23
i0nicssh_exchange_identification: Connection closed by remote host03:23
i0nicssh_exchange_identification: Connection closed by remote host03:23
i0nicssh_exchange_identification: Connection closed by remote host03:23
i0nicssh_exchange_identification: connection closed by remote host03:23
i0nicouch, sorry for spamming03:23
i0nicmy keys look to be right.. would this be logged somewhere?03:23
hansinMost cases if there is a native upstart script, then /etc/init.d/ just contains a symlink to native upstart script. *But*, because SSH upstart script has limitations, a true native sysvinit script (not a symlink) is also included as well. This is what you are saying, right?03:24
dragoon123Anyknow any fast ways of troubleshooting a kernel loading prob?03:27
Doonzis there a bandwdith monitoring program for the cli?04:11
twbi0nic: ssh access issues are logged in auth.log *on the server side*.04:14
twbi0nic: by design, the client is not told WHY it was refused access.04:14
twbi0nic: I'm gonna guess that the problem is insecure permissions on ~/.ssh or ~/.ssh/authorized_keys04:14
hansinDoonz: I found this link; it might be close to what you are looking for. Both listed packages are in the Ubuntu repos: http://www.surlyjake.com/linux/linux-command-line-bandwidth-monitor/04:34
twbHmm, free -m is reporting04:50
twb-/+ buffers/cache:        680       728304:50
twbBut nothing in top has mem% above 0.004:51
twbSo what's using all that 680MiB?04:51
Cromulenthmm what does the mysql_secure_installation command actually do? I forgot to run it and would like to take the hardening steps myself05:25
The_Tickhttp://dev.mysql.com/doc/refman/5.1/en/mysql-secure-installation.html05:28
The_Tickhttp://dev.mysql.com/doc/refman/5.5/en/mysql-secure-installation.html05:29
The_Tickand that's just by using google05:29
Cromulentah thanks I assumed that was an ubuntu thing for some reason05:29
The_Tickmost things are not05:29
Cromulentseems I have already done that05:30
The_Ticksome things are, but bleh05:30
=== cmdshftn is now known as whatever
=== whatever is now known as calexico
uvirtbotNew bug: #687681 in postfix (main) "package postfix 2.7.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 75" [Undecided,New] https://launchpad.net/bugs/68768106:11
=== cmdshftn__ is now known as cmdshftn
kaushalhi09:16
kaushalCan some one please suggest me about which Raid Controller Card is http://pastebin.ubuntu.com/541366/09:16
garymcHi anyone know where my php error logs are stored? Im using PHP5.310:31
kaushalHi10:37
kaushalis there hpacucli available for 10.04 ?10:38
jpdskaushal: I believe you have to use the RPMs.10:48
kaushaljpds: oh ok10:48
kaushaljpds: Thanks10:48
jpdsalien and all that jazz.10:49
kaushaljpds: sure10:49
kaushalwill update you now10:49
qman__garymc, php errors are normally logged through the web server, which for apache would be /var/www/apache2/error.log by default10:53
qman__err10:53
qman__ /var/log/apache2/error.log10:54
qman__not www10:54
kaushaljpds: hi again10:55
kaushali get http://pastebin.ubuntu.com/541402/10:55
kaushalPlease suggest further10:55
=== ogra_ac is now known as ogra
=== ogra is now known as Guest42462
kaushaljpds: got it now11:15
kaushalit worked11:15
kaushalfine11:15
=== ogra_ is now known as ogra
uvirtbotNew bug: #687985 in nut (main) "[FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/68798511:51
uvirtbotNew bug: #687977 in ibmasm-utils (main) "[FTBFS] package 'ibmasm-utils' (3.0-1ubuntu10) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/68797711:52
uvirtbotNew bug: #687979 in jug (main) "[FTBFS] package 'jug' (2.0.0-1) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/68797911:52
uvirtbotNew bug: #687983 in librdmacm (main) "[FTBFS] package 'librdmacm' (1.0.10-1) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/68798311:52
uvirtbotNew bug: #687968 in bacula (main) "[FTBFS] package 'bacula' (5.0.2-2ubuntu1) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/68796811:53
uvirtbotNew bug: #687971 in eucalyptus-commons-ext (main) "[FTBFS] package 'eucalyptus-commons-ext' (0.5.0-0ubuntu2) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/68797111:53
uvirtbotNew bug: #687974 in groovy (main) "[FTBFS] package 'groovy' (1.7.0-3ubuntu1) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/68797411:53
uvirtbotNew bug: #687988 in quagga (main) "[FTBFS] package 'quagga' (0.99.17-2) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/68798811:56
=== oubiwann is now known as oubiwann_
piquadratHi! I just installed phpmyadmin on maverick, and it pulled in apache as a dependancy. But phpmyadmin works perfectly fine with other http servers like nginx or lighttpd. Is that dependancy really warranted?13:17
patdk-wkheh, it depends on mod-php :)13:28
patdk-wkthat would be the bug I suppose13:29
ilovegrolscmy server keeps getting password attack ssh root login13:29
ilovegrolscdozens of different ip's13:29
patdk-wkinstall fail2ban :)13:29
ilovegrolsci have 10 login attemps per second13:29
binBASHchange ssh port13:31
ilovegrolschow13:31
ilovegrolscat the moment im manually doing iptables -s mofo'sip -j DROP13:31
patdk-wkif you install fail2ban it will do the drops itself for you :)13:31
patdk-wkno config needed13:31
ilovegrolscoh13:31
ilovegrolsci'll google it thx13:31
patdk-wkunless you want to ban more than just craploads of failed ssh logins13:31
ilovegrolscit would be nice if instead of just deny or drop there was like a 'fuckYou+deny' option13:32
patdk-wktarpit :)13:32
patdk-wkthat would require editing how fail2ban adds rules, and compiled the xtables modules13:33
Davieypatdk-lap: Best to raise a bug :)13:34
Daviey(re apache with phpmyadmin, via mod-php)13:34
patdk-wkdaviey, heh, a quick look shows a crapload of packages require mod-php, some even mod-php413:34
Davieypatdk-lap: eeeeeeek13:35
ilovegrolscwhat does this mean13:35
ilovegrolscDec  9 08:34:14 vps1098 sshd[9525]: Did not receive identification string from UNKNOWN13:35
ilovegrolsconly entry after i blocked the hacker13:35
ilovegrolscin my log13:35
Davieyilovegrolsc: Looks like you were probed.13:36
Daviey(it's common)13:36
ilovegrolscyea im not panicking or anything13:36
ilovegrolscactually i dont care if ppl try to login they would never guess my password13:36
ilovegrolscbut i care if that 10 attemps per second slow down my server13:36
ilovegrolscuse resources13:36
patdk-wkI had it overload a t1 line13:37
ilovegrolscmust've been alot13:37
ilovegrolsci'll install fail2ban sounds good13:39
patdk-wkiptables -L fail2ban-ssh -nv13:40
jpdsilovegrolsc: Remove the password and use SSH keys only?13:40
ilovegrolscthat sounds good but i dont know how to do it13:40
patdk-wkjpds, that still wouldn't help not overload a t1 with invalid requests13:40
ilovegrolsci dont even know how to change the ssh service port13:41
jpdspatdk-wk: Set up an SSH TARPIT.13:41
patdk-wkthat is all editing /etc/ssh/sshd_config13:41
jpdspatdk-wk: A la http://www.outflux.net/blog/archives/2010/11/10/tarpit-iptables-target/13:41
patdk-wkjpds, that is what I did, just fail2ban is esay and simple for the detection to manage the tarpit :)13:41
ilovegrolscin 24 hour period i have like 20 different ip's doing 10 logins per second13:41
ilovegrolscmost from China13:41
jpdsilovegrolsc: Yeah, normal.13:42
ilovegrolscseems simple if i only need edit sshd config13:44
patdk-wkya, as much as changing the port helps and stuff, it's still only security through obscusion13:45
patdk-wkmain reason I don't bother13:45
jpdsilovegrolsc: https://help.ubuntu.com/community/SSH/OpenSSH/Keys13:45
patdk-wkkeys will make sure pretty much, you aren't brute forced via password13:46
patdk-wkbut they can still chew up bandwidth13:46
ilovegrolscyea im certain they would never guess my pass13:46
ilovegrolsci'll get fail2ban and stop them from trying13:46
patdk-wkor login from a virus infected machine?13:46
tdnHow do I make a bootable Ubuntu server installer from USB via ssh from another old ubuntu server?13:47
ilovegrolscpki might be wort it if i was assange and the gov wanted into my server ;)13:48
ilovegrolscworth*13:48
jeremyAwith lucid 2.6.32-26-server on an Athlon64 X2 (AMD-based motherboard), I am experiencing frequent system hangs -- video goes dead, no kbd LEDs work, only hitting the restart button brings the machine back.  This is a server box without X running.  Nothing is logged.  Any tips for troubleshooting?  I have verified that RAM and cpu cooling are good, using memtest86+ and cpuburn.  No SMART errors are reported by the drives.13:48
jeremyAI have also tried the 2.6.34 mainline kernel, with little luck.13:49
jeremyAit lasted longer before hanging up -- 10 hours, when run with clock_source=hpet, but it still hung up.13:49
patdk-wkheh, I find pki logins nice, it's so fast :)13:49
ScottKDaviey: Next time you do a mass bug file for FTBFS, you might review the logs first to see if the build failures are actual package problems.13:51
ilovegrolscjust wondering what to type in console to download direct2ban13:51
ScottKI just checked all your failures that weren't also in http://udd.debian.org/cgi-bin/ubuntu_ftbfs.cgi and a large fraction of them were artifacts of how you did the rebuild.13:51
DavieyScottK: If there is a next time i probably will... this was an experiment.13:52
ScottKOK.13:52
jeremyAilovegrolsc:  I use pubkey authentication all over the place13:52
DavieyScottK: Are you interested in being more involved the standard daily triage of the package set?13:52
jeremyAit's tons better than password, even for low-security things13:52
ilovegrolsci'm already using it on my server for openvpn13:53
ScottKDaviey: Not for "fun" in my free time, no.13:53
ScottKI'm more interested in not getting bogus bugs landing in my inbox.13:53
DavieyScottK: Do you find investigating Invalid FTBFS bugs fun?13:53
Daviey(seriously)13:53
ScottKNo.13:53
ilovegrolscwith a beer on hand it might be fun13:53
ScottKDaviey: No.  I'm seriously annoyed you filed the bugs without even looking at the logs, thus wasting my time.13:54
DavieyScottK: I did look at that log actually, i mean't to pluck it out.13:54
DavieyScottK: However, i don't understand why you wasted time looking at them?13:54
tdnHow do I make a bootable USB to isntall Ubuntu server?13:54
ScottKDaviey: The first one I looked at because it landed in my inbox, was Python related, and we've got a Python transition going on.13:55
DavieyScottK: It would be really useful to know what part of the server you do find fun, it might be better use of the teams time as a whole - and allowing us to help present the stuff you do find fun.13:55
ScottKDaviey: The rest I looked at after I saw your email to ubuntu-server and I didn't want new contributors getting discouraged when asked to look into crap bugs.13:56
patdk-wkilovegrolsc, apt-get install fail2ban13:58
DavieyScottK: I really don't want you to waste your time on these, if you feel that it's of no benefit.13:58
=== oubiwann_ is now known as oubiwann
ScottKI think it would have been a fine effort to involve new people if the bugs had represented actual failures.  IMO an unreasonable fraction of them didn't.13:59
smoserhallyn_, https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/687997 is there a bug in qemu-kvm's apport-hooks ? there is no qemu-kvm package version there.14:00
uvirtbotLaunchpad bug 687997 in qemu-kvm "XP Pro SP2 refuses to initiate graphical install phase" [Undecided,New]14:00
ScottKPersonally I use lists like http://udd.debian.org/cgi-bin/ubuntu_ftbfs.cgi and http://qa.ubuntuwire.com/ftbfs/ to work on FTBFS and not bugs in general to work on build failures, but I can see there value for others.14:00
smosernever mind, hallyn_ i see it.14:01
hallyn_smoser: ok14:01
smoserits not in the blobs in the summary14:02
smoserbut in related pacakges14:02
ilovegrolsc0.8.1 is latest version patdk?14:02
DavieyScottK: Initially, i wasn't going to share the results.. but some other members of the team were interested... I nearly sent them to the mailing list... but i had concerns with noise on there.14:02
patdk-wk0.8.4 on lucid14:03
hallyn_yeah, 'attach_related_packages'14:03
Ninjixanyone have any experience setting up 802.3ad bonding on Dell PowerConnect switches?14:03
ScottKMy problem isn't with the list or the sharing, just the lack of QA before doing so.14:03
DavieyScottK: Getting an extra 23 bugs in my Inbox, i didn't consider to be a big deal - perhaps i was wrong.14:03
patdk-wkninjix, lots of netgear and cisco :)14:03
ScottKDaviey: If they are valid bugs it's not.14:04
zertyuhi14:04
zertyuis there any script to disable plymouth ?14:04
DavieyScottK: This was purely a first cut.. i don't know if i'll do it again14:04
Ninjixpatdk-wk: I'm only seeing one interface getting used14:04
patdk-wkhow did you configure it?14:05
patdk-wkdynamic or static? I found dynamic isn't very reliable14:05
patdk-wkand you need to configure it on both ends14:05
Ninjixpatdk-wk: I've setup LACP static14:05
patdk-wkon both switchs?14:05
patdk-wkor is this switch to computer?14:06
Ninjixswitch to computer14:06
patdk-wkhow do you know it's only using one?14:06
NinjixI'm running bmon14:06
patdk-wkwhat is bmon?14:06
Ninjixhandy interface monitoring tool for console14:07
patdk-wkok, but that isn't a test14:07
patdk-wkI assume yo uattempt a file transfer or something while watching bmon?14:07
consumerismi have written some utility scripts i want to make available to users on several servers. i've never made a .deb before and the scripts are just a few files in a directory that have historically just been added to $PATH for people to use them. what's the best way to get these more easily packaged/installable?14:07
Ninjixfor test I'm running bonnie++ against NFS on 10g NAS14:07
patdk-wkwell, that will only use one interface, how 802.3ad works :)14:08
patdk-wkhow if you did a bonnie++ against 4 different nfs servers14:08
patdk-wkthen it should use both14:08
Ninjixahh...14:09
patdk-wk2 is probably enough, but just incase :)14:09
patdk-wkit's to solve the whole, tcp packets out of order thing14:09
patdk-wkone wire might be longer or slow than the other14:09
ilovegrolscok installed, in jail.conf i can put my static ip in the ignoreip list? just wanna make sure im not locked out14:09
patdk-wkso all ip -> ip traffic uses the same interface14:09
Ninjixgotcha14:09
Ninjixit's less magical than I had hoped14:10
patdk-wkwell, it depends what you want14:10
patdk-wkto access one very large nfs, kind of useless14:10
Ninjixthat's how obeys ethernet standards14:10
patdk-wkto serve to the internet, very useful :)14:10
NinjixI see different hash methods L2,L3 and L414:11
ilovegrolscwhy does it want my email address in the jail.conf patdk?14:11
ilovegrolscam i gonna get an email every time it blocks an ip?14:11
ilovegrolscthat would be bad14:11
patdk-wkNinjix, I forget, the hash methods might need to match the other side (the switchs)14:11
Ninjixis that negotiated by the kernel driver?14:11
patdk-wkilovegrolsc, it can email you each time it bans someone14:12
Ninjixpatdk-wk: thanks for the quit explanation. Now I know what to look for in the IEEE docs and have found more information14:14
Ninjixnow I just need to find better Linux docs covering the output of /proc/net/bonding/bond014:15
patdk-wkheh? it looks pretty straight forward :)14:16
=== jjohansen is now known as jj-afk
ilovegrolscone last Q about it... i changed ssh-iptables to true, thats all? cuz i also see ssh-tcpwrapper14:18
ilovegrolscand ssh-ipfw14:18
Ninjixshould the Aggregator ID equal the same integer I've assigned to the LAG on the switch? or is it internal to the server?14:18
patdk-wkNinjix, looks like the hash method doesn't matter much14:19
patdk-wkbut you would have to change it on the switch to affect your incoming hash method from other stuff to your machine14:19
patdk-wkso using the later3+4 hash method would use more than one interface if you mounted the same nfs server more than once14:20
Ninjixahh... so it has more to do with how the switch decides which line throw the packet down14:20
patdk-wkbut I think packets from nfs to your computer will still only use one interface :)14:20
Ninjixthat matches my test14:20
patdk-wkmost switchs don't let you change it14:21
ilovegrolschmm14:32
ilovegrolsci see fail2ban has added its own chain to iptables14:32
raubvogelilovegrolsc, I thought that is what it always does, so it is easy to find the rules it adds14:51
ilovegrolscits working14:54
ilovegrolsckicking ass and adding iptables rules14:54
cdubyais there a package available for spam/virus filtering? I read about the suggestion on wiki and talk about possibly doing something with tasksel or something like that, but has anything come of it?14:57
raubvogelcdubya, you mean besides spamassassin and the likes?14:57
cdubyayeah14:57
keyz182Hi all, I've got a question about vmbuilder. When I run it, once it's finished doing it's thing I get the directory ubuntu-xen as expected, and inside are the filesystems. They seem to have names based on "tmp" followed by a random string. Is there a way to control the names of the files?14:58
b0gatyranyone know of a way to make the terminal window "flash" when the audible bell goes off?15:05
=== mquin is now known as Mquin
zertyuhi15:11
zertyuis there any equivalent of rbash ?15:11
sorenJust use rbash.15:12
i0nicanyone running lighttpd/php  ?15:12
i0nicI could use a howto on this =)15:12
zertyurbash15:12
zertyui can't understand how it works15:12
sorenzertyu: Why do you think you need it, then?15:13
zertyuok i try to explain my problem15:13
zertyuwhat i try to do is : i got a user called user1 i want to restrict access on my server to /var/www/sitex only15:14
zertyurbash is the correct one ?15:14
=== Mquin is now known as mquin
sorenDepends.15:15
sorenBut probably not.15:16
zertyuso what tool i have to use ?15:16
zertyuwell15:20
pmatuliszertyu: what will that user be doing on the server?  based on the path you gave, probably uploading/downloading files.  in that case, consider a sftp chroot15:22
zertyui simply want to allow user1 just only on that folder /var/www/sitex and access to read and write15:23
pmatuliszertyu: maybe a ssh chroot then15:24
zulJamesPage: the groovy looks good im just trying to reproduce and then ill merge15:25
JamesPagezul: OK; ping me if anything is weird....15:25
zulJamesPage: i just had to fix the changelog but it looks good anyways15:39
JamesPagezul: I should try to remember what release I'm working on :-)15:40
JamesPagezul: thanks15:40
zulJamesPage: no probs thanks15:40
hallyn_smoser: so, just wondering - why is bug 687997 triaged?  you know what it is?15:47
uvirtbotLaunchpad bug 687997 in qemu-kvm "XP Pro SP2 refuses to initiate graphical install phase" [Medium,Triaged] https://launchpad.net/bugs/68799715:47
=== binBASH__ is now known as binBASH
hallyn_bc, i've not seen that myself with several recent windows installs...15:47
smoserhallyn_, i do not know the problem, but i believe there is enough information to reproduce.15:49
smoserdo you suggest a better state ?15:49
smoserthere is a kvm command line there also.15:49
* hallyn_ scratches his head15:50
hallyn_I guess I need to go re-read the bug status descriptions15:50
smoserhallyn_, i could be mistaken15:53
smoseror likely am. what would you have set it to ?15:54
hallyn_well, not sure - i guess i'd leave it at New until someone can confirm with the recipe15:54
hallyn_thing is, if it's Triaged I assume that means upstream knows about it and has an idea how to fix it15:55
hallyn_(or, we have an idea how to fix it)15:55
hallyn_which means - I'll ignore it when scanning bug lists15:55
hallyn_which is why i need to figure out whether i'm doing that wrong :)15:55
\shivoks: pingeling...lucid + drbd .. where in father xmas name is drbd module?15:58
hallyn_smoser: all right, well i guess i'm misinterpreting.15:58
hallyn_sorry :)15:59
smoserhallyn_, well, 'New' is definitely not righ.16:00
smoserbut i dont really know what it should be there. ...16:00
hallyn_smoser: no, you were 100% right16:00
hallyn_Triaged means precisly that you think there's enough info there that someone can work on it, and it looks like a real bug16:01
ivoks\sh: in kernel16:01
\shivoks: it isn't16:01
hallyn_now, i think several of the qemu bugs are dups - i think there is a problem with the i386 emulator16:01
\shhttp://packages.ubuntu.com/lucid-updates/amd64/linux-image-2.6.32-25-generic/filelist <- look for drbd16:01
ivoks2.6.32?16:01
ivoksah, not in 2.6.3216:02
\shWHOOOT16:02
ivoksit got in in 2.6.3316:02
ivoksdrbd8-source16:02
\shthis is not the truth?16:04
\shlucid without drbd?16:04
\shby default i mean16:04
ivoksdrbd8-source package has dkmsed module16:04
ivoksi don't see where is the problem16:04
\shno16:04
\shmodule-assistent dkmsed the module now16:04
SpamapShallyn_: re bug 687535 from yesterday.. I comented on it a bit.16:05
\shit doesn't do it automagically16:05
uvirtbotLaunchpad bug 687535 in openssh "upstart loses track of ssh daemon after reload ssh" [High,Confirmed] https://launchpad.net/bugs/68753516:05
ivoks\sh: it does, you need linux-headers-server (or -whatever server you use)16:05
ivoks\sh: after that, just installing drbd8-source will give you drbd module16:05
ivokswhich will be compiled on every kernel upgrade16:05
hallyn_SpamapS: oh, thanks - i didn't get notes about that, must have forgotten to subsribe16:06
ivoks(-whatever kernel you use)16:06
SpamapShallyn_: indeed you did16:06
raubvogelHow can I quickly check if cron.d is being read? Would the log files show it?16:06
hallyn_SpamapS: have i mentioned how happy i am this morning to have found pentadactyl?  :)  i can 'p' and 'y' in firefox again16:06
\shivoks: why don't we have a dep on the linux headers when I install drbd8-source?16:06
ivoks\sh: we do: linux-headers-server | linux-headers-generic | linux-headers16:07
RFlemingGreetings and salutations16:08
RFlemingCould someone shed some light on how to calculate how much space a partition will take based on a raw disk's total capacity?16:09
hallyn_SpamapS: i agree with the guy - your 'invalid' comment was weird.  did you mean a dup of the other bug?16:10
aloh, great16:10
alexim is giving away root shells for free16:10
ivoksyou deserved it16:11
\shivoks: hmmm....http://paste.ubuntu.com/541505/ <- have a look16:11
alhttp://www.exim.org/lurker/message/20101207.215955.bb32d4f2.en.html16:11
ivoksfor playing with exim :)16:11
ivoks\sh: i know, i can't help you; you need to install headers first16:11
\shivoks: http://paste.ubuntu.com/541507/ <- the headers were already installed16:11
SpamapShallyn_: Ugh, I meant Invalid in Upstart only.16:11
\shthat's my problem16:11
ivoksyou are not looking right \sh16:12
hallyn_SpamapS: now that you're leading the upstart community :) what's your expert opinion on his pidfile suggestion?16:12
ivoks\sh: you don't have -server headers installed16:12
\shivoks: right, I'm having a -generic kernel16:12
SpamapShallyn_: the trouble with pidfiles is race conditions16:14
ivoksBuilding for 2.6.32-25-server and 2.6.32-26-server16:14
ivoksdoesn't look like16:14
SpamapShallyn_: so lets say sshd forks on SIGHUP, then the new process writes its own pid to the pidfile, so upstart sees that and begins tracking the new pid great. But meanwhile, the old parent has exitted, and upstart has gone "uh oh, parent exitted" .. and started a new one, which failed..16:15
\shivoks: oh crap16:16
SpamapShallyn_: I actually think pidfiles would be fine, but they've been rejected with aggressive hand waving multiple times by keybuk, and I'm sure he has a long winded good reason for it as well.16:17
zulSpamapS: not just keybuk as well16:18
hallyn_SpamapS: zul: sometimes a hammer doens't work right, but sometimes it's the only thing htat will16:19
adamzaphey guys im trying to do an ubuntu server install with only ubuntu-minimal packages, so ubuntu-standard. is there a trick to this? thanks16:19
\shivoks: gotcha16:19
zulhallyn_: hammer is not the right tool in this case...seldgehammer would be better16:19
adamzap*no ubuntu-standard16:19
hallyn_zul: do you have another suggestion for the sshd case?16:20
zulhallyn_: no unfortunately16:20
hallyn_zul: so, i marked it low prio, meaning i think it can wait for a design.  SpamapS marked it high priority, in which case i think waitint for the perfect design is irresponsible16:21
SpamapScjwatson: re bug 687535 , I was wondering if you had any thoughts on why we chose to use 'expect fork' instead of sshd -D in openssh's upstart config.16:21
uvirtbotLaunchpad bug 687535 in openssh "upstart loses track of ssh daemon after reload ssh" [High,Confirmed] https://launchpad.net/bugs/68753516:21
RFlemingDoes anyone know how to calculate the amount of usable disk space after a disk is partitions based on the raw disk size?16:22
SpamapShallyn_: if sshd -D works, then thats the fix until we switch to proc connector / cgroups / whatever.. (and if its either of those, they can't be backported to lucid anyway AFAIK)16:22
RFlemingIE: I have 20TB of raw space, and want to calculate what the total space is AFTER partitioning.16:22
hallyn_RFleming: i usually use df (or df -h)...16:22
ivokshallyn_: usually? :)16:23
RFleminghallyn_, that works but I'm trying to calculate it before I purchase the hardware :)16:23
SpamapSRFleming: fdisk will tell you how much it was able to use before writing.16:23
hallyn_ivoks: other times i write a script to fill up the disk with '.', and then run wc to see how man '.'s there are :)16:23
SpamapSRFleming: ahh based on the geometry?16:23
RFlemingyep16:23
ivoksmy guess is that he thinks that partitioning reduces disk size16:23
RFlemingivoks, partitioning does reduce partition size :)16:24
hallyn_really it's the fs metadata that can punish you the most16:24
ivoksyou do know that manufacturers lie about disk sizes?16:24
SpamapSRFleming: should be "damn close to 20TB"16:24
ivoks120 GB isn't really 120GB... it's more like 10016:25
RFlemingthe whole GB/GiB thing16:25
SpamapSivoks: they do not lie. They merely force reading every bit of microscopic fine print on their website and on the box the drive comes in to make sure it means 20*1024*1024*1024*1024 and not 20,000,000,000,000 ;)16:25
hallyn_SpamapS: so i'm still trying to figure out why your pidfile scenario makes sense in any case other than pathologically mis-behaving application16:25
SpamapShallyn_: Me too actually16:25
ivoksSpamapS: right16:26
hallyn_i don't tthink cgroups work16:26
SpamapShallyn_: why not?16:26
hallyn_well, then when you log in you'll be in that cgroup too :)16:26
hallyn_and really, it doesn't help any more than your pidfile objection - if sshd forksand then crashes, upstart again will just think the child is the running task16:27
Psi-Jackchkconfig doesn't work with Ubuntu 10.04.1 really, does it?16:27
Psi-JackEverytime I try to use it with lsb scripts, it just ... throws a bunch of crap and doesn't even do anything.16:27
hallyn_SpamapS: now i suppose we can have PAM move you back out of the ssh cgroup, but then if that fails things will get exciting16:27
RFlemingSpamapS, the reason I ask is I'm creating ~830TB volume.16:27
hallyn_can i have an account?16:28
SpamapShallyn_: agreed, following forks is difficult. Letting the process tell you which pid to track is a good idea. I guess the question is, does a pidfile do a good job of that?16:28
RFlemingsorry, we're not like Exim ;)16:28
hallyn_:)16:28
RFlemingthat 830TB is raw.  The partition table is going to be larger than a few gigs :)16:29
hallyn_SpamapS: well, the pidfile lets you know if there is a mismatch between what the service said and reality.  which you can flag as pathological, kill, and restart16:30
hallyn_now i dunno, maybe we should seriously follow up on the cgroup idea.  though i thought Keybuk hated that16:30
SpamapShallyn_: I believe he does. ;)16:30
hallyn_SpamapS: oh, the ohter problem with cgroups:16:30
hallyn_SpamapS: they're new and fun enough that ppl are using them in funky ways, and their moutnts setup might interfere with what we want16:31
hallyn_though i guess we can just mount an empty cgroup named upstart16:31
SpamapShallyn_: seems systemd uses cgroups16:34
hallyn_SpamapS: yeah, though i don't know exactly how16:36
hallyn_i'll go take a look i guess16:36
SpamapSRFleming: I'd just make sure its 20TiB and not 20 trillion bytes.16:36
SpamapSRFleming: the geometry loss should be minimal.16:36
SpamapShallyn_: The way I understand the pidfile argument is simply that we shouldn't trust the daemon ever. I see the point in this, and I think I'd rather patch in --dont-daemonize cmdline options into each daemon than try to get pidfile creation working on all of them.16:37
uvirtbotNew bug: #327084 in satega "session -> access denied" [Medium,Fix released] https://launchpad.net/bugs/32708416:37
SpamapShallyn_: interestingly enough, many (most?) newer daemons have this built in because there are a lot of people running process trackers like upstart, runit, or daemontools16:38
cjwatsonSpamapS: I think I was basically just trying to avoid changing too much at once16:38
cjwatsonSpamapS: and I hadn't audited precisely what -D did16:39
hallyn_SpamapS: but i thought just doing -D and ditching expect fork was not suficient?16:39
SpamapScjwatson: given that sshd does this fork->re-exec on SIGHUP, I don't think 'expect fork' will work, unless we can somehow tell upstart to expect fork every time we send SIGHUB16:40
SpamapSHUP16:40
SpamapShallyn_: it is16:40
cjwatsonSpamapS: if you're happy to test it to make sure everything still works, feel free to make that change16:40
SpamapShallyn_: with -D, there's no fork->exec .. it just execs itself again.16:40
hallyn_SpamapS: i thought the bug poster had a case where it wasn't, looking16:41
hallyn_don't just tell me "it is"  :)16:41
l3dxif I have two disks in software raid, do I have to do something in order to detach them and use them separately?16:41
cjwatsonRFleming: partition table sizes are typically measured in bytes or kilobytes, not gigabytes.  perhaps you're thinking of something else16:41
hallyn_SpamapS: oh, i see, he was talking about your suggestion about following the children16:42
SpamapScjwatson: indeed, the sshd man page seems to suggest that -D is intended exactly for this purpose: "-D      When this option is specified, sshd will not detach and does not become a daemon.  This allows easy monitoring of sshd.16:42
kirklandsmoser: yo16:43
SpamapScjwatson: but its important enough to test thorougly.16:43
smoseroy16:43
cjwatsonSpamapS: I think it's more likely that "monitoring" there refers to a sysadmin running it in a tty for testing purposes, actually16:43
cjwatsonbut sure16:43
hallyn_cjwatson: SpamapS: so any objections to taking that route?16:43
cjwatsonhallyn_: as I said above, none from me provided that somebody else tests it16:43
cjwatson(to -D)16:44
cjwatsonI definitely don't want to use pidfiles wiwth upstart16:44
RFlemingcjwatson, then I am lost.16:46
RFlemingI know drive manufacturers report space as XB not XiB, so a 1TB drive is really 0.9313TiB16:47
RFlemingstring 28 of those together and you get 26.077TiB, but after the disk is partitioned, the size is 25.4TiB.  Where did the ~690GiB go?16:48
cjwatsonRFleming: that's just different units, nothing to do with partitioning.16:48
cjwatsoner, wait, /me rereads16:48
cjwatsonyes, it's units.  your disk manufacturer is lying to you more than you think.16:49
Davieyjdstrand: If you have a moment, i could really do with talking to you about apparmor :)16:50
cjwatsonRFleming: 1000 * 1000 * 1000 * 1024 bytes is 0.9313TiB, yes.  However, 1000 * 1000 * 1000 * 1000 bytes is 0.9095TiB.  Multiply that by 28 and you get 25.47TiB.16:50
RFleminggrr16:51
RFlemingbut then the unit is wrong, because it's not base 216:52
RFlemingwe're back to base 1016:52
RFlemingso it's not 25.47TiB but 25.47TB16:52
jdstrandDaviey: sure16:55
cjwatsonRFleming: indeed.16:55
cjwatsonRFleming: disk manufacturers do indeed typically quote base-10 sizes.16:55
RFlemingcjwatson, ok, I just plugged in a single 1TB drive.  Windows reports it as 931.39GB16:56
cjwatson(this is why for example the Ubuntu installer's partitioner uses base-10 sizes throughout.)16:56
RFlemingwhich really is 931.39 GiB16:56
cjwatsonyes, you won't find the same names used consistently everywhere16:56
cjwatsonsadly if you really care about the distinction you have to get things to show it to you in bytes16:56
RFlemingcjwatson, but that brings back the original problem.16:56
cjwatsonwhich original problem?16:57
RFlemingif windows shows a 1TB drive as 931.39 GiB then 28 of those strung together is 25.47 TiB16:57
RFlemingD'oh!16:57
RFlemingmy math sucks16:58
resnoif i am looking to just add a drive to a machine, what mount point should i use?16:58
resnothe drives main purpose is media stroage16:59
resnomy current storage drive uses /home16:59
RFlemingcjwatson, so does yours... curious how that happened16:59
cjwatsonRFleming: hmm?17:02
RFlemingcjwatson, your numbers all base 10 (909.5 GB * 28 / 1000) does equal 25.46 TB not TiB.  My NEW number of (931.39 GiB * 28 / 1024) gives 25.46 TiB17:03
RFlemingunits suck17:03
cjwatsonNo17:04
cjwatson1TB base-10 == 0.9095TiB base-2; 28TB base-10 == 25.47TiB base-217:04
RFleming1TB base-10 == 0.93132 TiB base-217:06
cjwatsonthat is incorrect, sorry17:06
cjwatson1TB (base-10) == 1000 * 1000 * 1000 * 1000.  To convert that to TiB (base-2), divide by (1024 * 1024 * 1024 * 1024)17:06
cjwatson$ bc -lq17:06
cjwatson1000 * 1000 * 1000 * 1000 / (1024 * 1024 * 1024 * 1024)17:06
cjwatson.9094947017729282379117:06
cjwatsonthe only way your calculation comes out the way you say is if you take 1TB == 1000 * 1000 * 1000KiB, i.e. 1000 * 1000 * 1000 * 1024, which is an odd hybrid unit that probably mainly serves to confus17:08
cjwatson*confuse17:08
SpamapSlook at what you've done to cjwatson .. you've confus'd him17:08
ilovegrolscany1 here able to ssl into a server?17:08
ilovegrolscssh17:08
SpamapSilovegrolsc: I'd say most of us are able tos sh into a server. ;)17:09
SpamapSor to ssh either way ;)17:09
RFleming1TB = 10^12, 1 TiB = 2^4017:10
cjwatsonYes.17:11
cjwatson$ bc -lq17:11
cjwatson10^12/2^4017:11
cjwatson.9094947017729282379117:11
RFlemingcjwatson, this is nuts.  why does a 1TB drive show up as .93139 GiB then?17:13
RFlemingyour math is sound17:13
RFlemingbut the reporting says otherwise17:13
patdk-wkheh, it should report ATLEAST .909gigs17:15
patdk-wkwell, .909 terrabytes17:15
cjwatsonRFleming: because units are hopelessly inconsistent17:15
patdk-wkdrive makes use 1000 units17:16
cjwatsonfind out the size in bytes and don't worry about the "friendly" presentation17:16
patdk-wkcomputers use 1024 units :)17:16
patdk-wknow if everything used 500byte sectors :)17:16
RFleming.90949470177292823791 TiB = 1000000000000 B17:18
cjwatsonI have no knowledge of how Windows computes disk sizes17:19
RFlemingbizzare17:20
RFlemingI think patdk-wk made a good point, it's at least .909, with some extra thrown in for 1024 units.17:21
patdk-wkna17:21
patdk-wkit normally depends on the lba mapping17:21
patdk-wkthe drive might physically have 1.2tb of space17:21
patdk-wkbut can only map it to the bios as 1.1tb, or 1.0tb depending on settings17:22
patdk-wkI dunno exactly how it works these days, I stopped caring at around 4gb drives :)17:22
RFleming1000 * 1000 * 1000 * 1024 will make a nice 1,024,000,000,000 B or .93132 TiB17:22
patdk-wklike I can buy two 36gig sas drives, one is 36.7gigs, another is 37.2gigs17:22
patdk-wkRFleming, they might of done that, keep simple 4k or 512 sectors17:23
patdk-wkbut the the firmware limits it to 1000*1000*1000 of them17:23
=== ahs3 is now known as ahs3-afk
=== cmdshftn is now known as curious_bystande
=== curious_bystande is now known as cmdshftn
zulSpamapS: ping can you have a look at https://bugs.launchpad.net/ubuntu/+source/php5/+bug/316441 when you are around17:54
uvirtbotLaunchpad bug 316441 in php5 "PHP session garbage collection" [Low,Confirmed]17:54
dravekx_what does it mean when your server says "There is 1 zombie process"17:57
bluethundrI am attempting to install sudo-ldap on a couple of machines (10.10 and 10.04LTS).. but I get the same error on each machine18:08
bluethundrhttp://pastebin.ca/201494218:08
bluethundrdoes anyone know how I may get around this error?18:08
dravekx_rofl18:18
DavieySpamapS / kirkland: Do either of you want to action the email to debian re bug #56679.. I see kirkland has been involved so far, but also SpamapS has a WI for that?18:21
uvirtbotLaunchpad bug 56679 in netcfg "provide a method to use a specified MAC-address as the installation device" [Wishlist,Triaged] https://launchpad.net/bugs/5667918:21
=== ahs3-afk is now known as ahs3
jdstrandDaviey: whenever you file that bug, feel free to assign it to me18:26
SpamapSDaviey: seeing as Dustin is assigned I'll let him take it. I do think we need to find a way to work w/o that. I have some ideas beyond ARP btw. :)18:34
kirklandhmm, well i suppose i can;  i though cjwatson had asked Daviey to do so18:36
SpamapSround and round we go! :)18:37
SpamapSkirkland: can you confirm for me that cobbler does not have an API?18:37
Davieykirkland: he did... i'll do it... i just noted that both of you were also involved and thought you might want to18:37
kirklandSpamapS: https://fedorahosted.org/cobbler/wiki/CobblerApi18:38
SpamapSerr..18:38
SpamapSso..18:38
DavieySpamapS: we did talk about cobbler's API last night.18:38
SpamapSEdison has what on Cobbler then?18:38
DavieySpamapS: To me, the edison API looks easier to extend.  That is all...18:40
SpamapShrm18:40
SpamapSmy NIH avoidance alarm is going off18:41
=== DevoKun is now known as DasFaust
SpamapSDaviey: readint his CobblerApi, it already does everything we want...18:42
=== DasFaust is now known as DevoKun
DavieySpamapS: I didn't realise there was a py interface to the cobblerapi... i thought it was pure xmlrpc18:43
SpamapSeither way..18:43
SpamapSI'm polishing this proposal with references and examples.. and cobbler is kicking edison's ass18:43
DavieySpamapS: Well the py interface is pretty significant18:43
tonyyarussoAnyone know why 'vmstat' consistently gives me incorrect CPU usage numbers?  ie, it always shows the CPU as idle, across multiple platforms I've tried it on.18:44
DavieySpamapS: That seems fair...  I'm certain if Cobbler had the rot fixed, it would be fixed for good.18:44
SpamapSDaviey: ... crap.. here we go 'round agian.18:45
Davieyrot as in, Debian/Ubuntu host support and packaging18:45
DavieySpamapS: ack :)18:45
SpamapSDaviey: I'm writing up what we'd have to do to Edison to make it work..18:45
SpamapSDaviey: btw, its not a great django app.. lots of assumptions and hard coded stuff. :-/18:45
DavieySpamapS: It would be nice if Cobbler was fixed either way :)18:46
SpamapSDaviey: yeah, see, if we just fix cobbler, then we don't need to do anything else.18:46
DavieySpamapS: and solves the upstream support concern.18:46
SpamapSBut.. damn we seemed so excited about Edison yesterday. ;)18:46
SpamapSDaviey: heard back from them?18:46
DavieySpamapS: I've not chased it today.18:47
Davieyjdstrand: raised that bug #688186 .. thanks for your help.18:52
uvirtbotLaunchpad bug 688186 in isc-dhcp "apparmor profile denying access to /proc/*/net/dev" [Undecided,New] https://launchpad.net/bugs/68818618:52
DavieySpamapS: Do you think we should commit some more time to getting Cobbler into shape?18:53
RoAkSoAx Daviey http://www.threedrunkensysadsonthe.net/2010/07/installing-cobbler-on-ubuntu/18:54
DavieyRoAkSoAx: Thanks, aware of that :)18:54
RoAkSoAxok :)18:54
Davieyhe's the same author as edison fwiw18:54
RoAkSoAxoh I didn't know that :) thanks for enlightment18:54
DavieyRoAkSoAx: His fork still isn't quite there, but he has some good patches.18:55
RoAkSoAxDaviey:  better something than nothing ;)18:55
DavieyRoAkSoAx: Are you interested in helping out?18:56
* Daviey imagines RoAkSoAx pondering.18:56
RoAkSoAxDaviey: I would, but first need to get other things done (PowerNap) :). I'm hoping to get it done in the next couple of weeks. After that I can help18:57
Davieygroovy18:57
SpamapSDaviey: I do actually think we should focus *most* of our effort on cobbler.18:58
SpamapSDaviey: for some reason I thought it was being rejected because it was built poorly or something.18:58
SpamapSBut.. shoot.. whip it into Debian/Ubuntu shape.. and whats not to love?18:59
DavieySpamapS: The main concern we had was the weight, and Deb'/Ubuntu support... and enrichment.18:59
RoAkSoAxSpamapS: cobbler has been something it's been wanted in Ubuntu for quite a long time18:59
SpamapSDaviey: yeah.. I don't care about the weight.. Deb/Ubuntu support should be doable in a series of bug fixes.. and I think what I see is that it doesn't need enrichment to achieve our goals for deploying UEC19:02
DavieySpamapS: Aye.. i don't have a weighted opinion either way... :)19:03
kirklandSpamapS: Daviey: you guys duke it out and let me know what you decide19:03
Davieyboth /will/ work.19:03
SpamapSI just see it as the standard currently for provisioning19:04
Davieykirkland: Fancy throwing your package of cobbler into a ~ubuntu-virt bzr branch ?19:04
SpamapSwe're going to have to make it work anyway19:04
kirklandDaviey: sure19:04
kirklandDaviey: one sec19:04
Davieygroovy19:04
SpamapSYeah I think I'll take a look19:05
jdstrandDaviey: thanks, I should have an upload sometime today19:05
Davieyjdstrand: it's not a urgent for me, so don't prioritise it if you have other things.19:06
kirklandDaviey: SpamapS: pushing to lp:~ubuntu-virt/cobbler/ubuntu19:06
Davieyjdstrand: but rocking, thanks19:07
Davieykirkland: great19:07
kirklandDaviey: SpamapS: we could talk to LP about getting cobbler's get autoimported to lp:cobbler19:07
kirklandDaviey: as I started from a bzr import of the git tree19:07
kirklandDaviey: done.19:07
Daviey\o/19:07
kirklandDaviey: i've been tracking patches in debian/patches19:09
SpamapSbzr: ERROR: Invalid url supplied to transport: "lp:~ubuntu-virt/cobbler/ubuntu": No such project: cobbler19:09
kirklandDaviey: nothing big there yet, but at some point, i'd assume we'd have a handful that we'll want to send upstream19:09
kirklandSpamapS: Daviey: whoops ...  lp:~ubuntu-virt/+junk/cobbler19:10
Davieykirkland: I have a couple of patches19:10
SpamapSIts really hard for me to objectively test.. as the only other machine on my network is my wife's dell mini10.. :P19:11
DavieySpamapS: kvm baby!19:11
SpamapSunless.. I could try to use it to install powerpc on my G519:11
Davieyeeek... you are brave19:11
SpamapSDaviey: the networking on kvm scares me19:11
DavieySpamapS: fair comment :)...  virtualbox :)19:14
kirklandcjwatson: so i have a preseed with "d-i partman-lvm/confirm boolean true"19:18
kirklandcjwatson: but I'm being held at that question anyway19:18
kirklandcjwatson: any hints?19:18
kirklandcjwatson: full preseed at http://pastebin.com/ME2CDpnx19:19
SpamapSliboobs ... one of the greatest bazingas ever19:19
jdstrandDaviey: well, it is fairly urgent as you can't use dhcpd at all atm :)19:20
Davieyjdstrand: true! :)19:20
Davieykirkland: Interesting... just checked my preseed and that worked fine for me yesterday when i deployed natty :/19:22
kirklandDaviey: can you pastebin all or some of your preseed, then?19:22
kirklandDaviey: or tell me where mine differs?19:23
i0nicwould you guys say its best practice to generate a gpg keypair on your "master server" and any nodes sending files to this server use its pub key to encrypt?19:23
Davieykirkland: generated by uec-pro' http://pb.daviey.com/2sKc/raw/19:23
kirklandDaviey: weird ... nothing related in the diff19:25
SpamapSkirkland: impressive build-depends. :-P19:25
Davieykirkland: Although... i did notice that my hosts in /etc/apt/sources.list were not the values i preseeded... so something could be skewed19:25
kirklandDaviey: one thing that's strange ... this machine's hard disk was detected as sdb (when it should probably be sda)19:25
Daviey(same preseed used on maverick DID give the correct hosts)19:26
kirklandDaviey: yeah, i have 3 microscopic fixes to uec-provisioning so far19:26
kirklandDaviey: i'm trying to get it back to the point where it "just works" out of the box19:26
Davieykirkland: the itch i have is multi release support :)...  fancy tackling that? :)19:26
Davieykirkland / SpamapS: Also, http://pb.daviey.com/qELJ/raw/ \o/19:27
kirklandDaviey: sure, if we go with uec-pro as our backend;  though i'm not going to invest any time in new feature dev if we agree upon some other technology though19:27
kirklandDaviey: under active development?19:28
Davieykirkland: "lp:cobbler"19:28
kirklandDaviey: ah19:28
kirklandDaviey: cool19:28
kirklandDaviey: okay, my lvm-confirm issue is worked around by preseeding non-lvm disk partitioning :-P19:28
kirklandDaviey: i'll wait to hear back from cjwatson on that one19:29
Davieyyeah.. interesting :/19:32
Davieykirkland: on your dell laptop?19:33
kirklandDaviey: yup19:33
bobboauI've suddenly lost my ability to use SSH into my server I'm not sure when it happened because I usually don't need to get into it, but when I enter my password it just hangs, everything else seems to be working fine19:39
smt-mobilsince last apt-get upgrade on hardy server php isnt rendered anymore, any ideas?19:58
dravekxAnyone know how to enable tracking with phpmyadmin on 10.04LTS? I've done everything it says and it still fails.20:08
jiboumansi have the following line in my /etc/apt/sources.list: deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid restricted multiverse20:15
jiboumansthis works just fine. another machine has it in sources.list.d/us-east-1-ec2.archive.ubuntu.com and it appears to be ignored20:15
jiboumanswhat am i missing?20:15
jiboumans.. and strace provides the answer; file must end in .list20:17
SpamapSjiboumans: how did we ever live without strace?20:20
jiboumansSpamapS: i dont know, but ever since i have to deal with Erlang and java, it's been my best friend20:20
jiboumans'i cant read it or dont have the source..w tf is it doing???'20:20
SpamapSI don't know if they have it now, but it used to be the most annoying thing about admining *bsd20:22
jiboumansdtrace > strace though20:22
jiboumansbut you can't have it all20:22
SpamapSstrace named ... wtf.. cmd not found?!20:22
SpamapSdtrace is freebsd only isn't it?20:23
zulyou have run strace as root now dont you?20:28
SpamapSzul: you don't have to , but you haev to run strace -p as root (or change a sysctl)20:49
neopsychehi all.. quick question .. regarding squid.20:50
neopsychequestion.. I noticed youtube recently made some changes to the way their videos are streamed.. making it difficult for 3rd party sites and programs to 'grab' their videos.. im just wondering if this effect's squids ability to cache youtube videos also.. for ISP's ?20:50
fluvvelldravekx, what do you mean tracking?20:53
neopsyche?20:54
psyferre_hey folks.  I'm running ubuntu karmic with lvm and I'm trying to extend my root partition.  I've added unallocated space in vmware esxi, created a physical volume in the free space, added it to the volume group, and extended the logical volume to take up the free extents.  What I can't seem to figure out is how to get ubuntu to realize the volume is larger.  I'd like to use ext2online, but it appears to not be in the u21:06
psyferre_sorry about the wall of text =-/21:07
h3sp4wnresize2fs works21:09
psyferre_so boot from a desktop edition live cd and run that on the unmounted drive?21:09
h3sp4wnAnything will work (I would probably use grml dunno if there is a good ubuntu equivalent)21:10
h3sp4wnI take it you made a snapshot first ? (or a decent backup) if its important21:11
psyferre_not terribly important, but yes21:12
stevengok i dont know if i should ask this here or not....I'm running ubuntu server 10.10 in a virtualbox vm....all of a sudden when I type ifconfig....my eth0 is not there...any ideas?21:13
h3sp4wnwhy not - ifconfig -a21:14
Danawar2Heyaa guys I have a server with apache2 and ftp I want to allow users to upload their websites by ftp and be able to view them via http is there an easy way I can do this?21:14
h3sp4wnsteveng: Sometimes if you don't use -a then interfaces that are down won't be seen (No easy way for me to test it right this second though)21:15
stevengok adding -a I see an eth2....?21:15
stevengno ip address though21:15
stevengis there a reason it would get changed from eth0 to eth2?21:15
gholmssmoser: ping21:16
psyferre_h3sp4wn: thanks!  I appreciate it! :)21:16
h3sp4wnsteveng: Did you change the interface ? (I think udev makes them unique)21:16
h3sp4wnsteveng: also check the contents of /etc/iftab21:17
h3sp4wn(Might not exist)21:17
h3sp4wnsteveng: Should be able to dhclient eth221:17
stevengi did...in virtualbox....but I changed it back21:17
h3sp4wn(Thats if its in the default config)21:18
h3sp4wnsteveng: Have a look in /etc/udev/rules.d21:19
stevengok if I dhclient eth2 then I get an ip...but I want that set to static....I changed my settings in /etc/network/interfaces21:19
dravekxfile permissions: If i have 'root' as the owner, and 'bar' as the group, and I make 'steve' part of bar, why cant i access the files with steve? :( Does steve need to be the owner?21:19
h3sp4wngroup permissions21:20
dravekxoh right.21:20
h3sp4wnsteveng: You cannot just do that with virtualbox21:20
h3sp4wnYou need another interface type but I dunno what21:21
dravekxso 775 not 755.21:21
h3sp4wnyep or you can use acl's if you want21:21
h3sp4wnsteveng: There is annoyances with the other 2 as well (like have to configure routing on the host) or bridged has some other quirks as well21:26
stevengeh21:27
stevengill visit the vbox room to get them to help me with that21:27
stevengI got the eth2 up and back on static21:27
stevengI can access locall now21:27
h3sp4wnIs there a way to use a more minimal jeos (replace some stuff in ubuntu-minimal / standard with more minimal alternatives - its annoying it specifies certain packages not virtualks21:40
patdk-lapheh, I just have a large script I run, that does a more minimal system after I install the normal system21:46
patdk-lapapt-get purge ......21:46
patdk-lapmainly like ppp, pppoe, dhcp3-client, ...21:46
FunnyLookinHatAnyone here know how I could setup a cron job to be run by the apache2 user?21:49
remix_tjFunnyLookinHat: yeah, by setting it on /etc/cron.d/something22:00
remix_tjspecifying just after the time and just before the command www-data22:00
i0nicmy server just rebooted randomly, what can i check to see why?22:01
FunnyLookinHatremix_tj: cool thanks22:02
remix_tji0nic: sure, take a look to the /var/log/syslog22:03
FunnyLookinHatremix_tj: if I am editing cron like this - sudo crontab -e ... that means I'm editing root's cron, right?22:05
remix_tjyeah FunnyLookinHat22:05
FunnyLookinHatkk22:05
FunnyLookinHatWait - remix_tj  - couldn't I just sudo -u www-data crontab -e ?22:13
remix_tjFunnyLookinHat: is not a pretty way but you can,  i think22:13
FunnyLookinHat*crosses fingers as date approaches the next minute*22:14
l3dxI accidently delted /etc/apache2, how can I "reinstall" apache to get the default folder?22:49
hallyn_l3dx: you can apt-get purge apache2; apt-get install;  or you can grab the source (apt-get source apache2) and manually fetch them22:58
l3dxhallyn_: I tried22:58
l3dxbut now I see that it's coming from apache2.2-common :)22:58
l3dxguess that will work better22:58
hallyn_oops22:58
hallyn_that trips me up quite often22:59
ruben23hi guys any thought how to create a file server on an ubuntu server on a hosted server-and teh client accessing it is using windwos..? any idea..?23:16
DevoKunruben23: you need to install and configure Samba. You may want to check out TurnKey Linux, based on Ubuntu: http://www.turnkeylinux.org/fileserver23:21
h3sp4wnruben23: You mean the hosted server is not on the same network right ?23:22
ruben23its on the vast internet not local conenction.23:23
h3sp4wnOpenvpn and samba would work quite well23:24
h3sp4wn(openvpn has a windows client)23:24
h3sp4wnor openvpn and nfs would be ok if you use the windows built in nfs client (or SUA)23:24
jhansonxiruben23: You should not access Samba directly over the Internet - use either SSH or a VPN.23:26
ruben23 jhansonxi: the problem is defining one person who can crate folder and give permision for others to access it. im planning SFTP and mapped it directory to windows23:29
h3sp4wnruben23: You need to learn how to use ACL's23:31
DevoKunruben23: I've had success routing SMB connections over stunnel to Windows clients before.23:32
ruben23guys its a bit hard.huhuhuhuh23:36
ruben23:'(23:37
DevoKunIt will take a while to put together.23:37
DevoKunWhat specifically are you having problems with?23:37
bmxerhi. I'm on a AWS server running ubuntu and i've added the universe sources to sources.list but when i run update it doesn not retrieve list...it might be a network restriction?23:39
jiboumansbmxer: universe should be enabled by default. what AMI are you using?23:40
bmxerjiboumans, i've just added a prefix domain US and it worked deb http://us.archive.ubuntu.com/ubuntu/ lucid universe23:41
jiboumansthere's an ubuntu mirror inside ec2 - faster and lower cost. but again, those should all be enabled by default23:42
bmxerjiboumans, now i see...just had to change the prefix to aws mirror. thx!23:47
ruben23DevoKun: my company weants me to setup a file server on a hosted ubuntu server then, some how creat direcftrey folders with access permissions fo user or define a single person who can do all and create folders and set permision on it. thats all and be mappend on each remote cleint windows users23:51
twbFWIW, I use "deb mirror://mirrors.ubuntu.com/mirrors.txt lucid main universe"23:52
twbWhere mirrors.txt returns geoip-specific mirror list, and apt uses one (unfortunately, always the first).23:53

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