[00:00] Like Obiwan :) [00:01] Pondering Aragorn freeze. [00:03] Yompa: So, what do you do here ? Talk about why servers arent updated and breaches are made ? [00:07] The 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:08] And all i asked for was a t-shirt to hang on my wall. [00:11] Ooh, i see a lack of empathy. [00:12] Ah, theusgas [00:14] Report: The only sign of intelligent life is called "Yompa" :) [00:18] how 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:20] mv PATH/oldfile PATH/newfile | [00:22] mv PATH/oldfile PATH/newfile | echo @1 ... if this -> @$1 or $1 gives the path/filename you can use $2 etc [00:22] Depends on what shell youre scripting it in.. [00:23] Spiritus, I'm guessing it's bash. it's the standard one [00:23] #!/bin/bash or #!/bin/sh -> tcsh etc [00:24] Spiritus, #!/bin/sh [00:24] Always let the runtime shell know what file its trying to compile. At top of the file give the origin: #!/bin/bash (Newline here) [00:25] * RoyK packs up to thaw up a little in Reykjavík [00:25] Use bash, the docs arent good for sh [00:25] RoyK: Rockinvik! /greetz [00:26] :) [00:28] jeeves_moss: stdout doesnt work well with #sh as with #bash if its for example a forked process in some cases. [00:28] On Gotland we have Rouks! :) [00:28] Im from the mainland though [00:29] Rauks [00:30] qbric ... thats a sucky network trying to keep the truth from the people, aka RealPlayer. [00:30] They also feed us with false information on a daily basis since 2003. [00:31] IE: The Swedish government tv garbage [00:33] 90% 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:34] Or that fucking chef thats all about "JallaJalla/YallaYalla" or whatever stress they can put their young under. [00:34] the f-word idiot [00:37] I like Simpsons, Seinfeld, Absolutely Fabulous, SG and fishing programs. I hate opera, mtv and anything stressfull [00:37] -1l [00:37] Why hasnt mtv been cancelled yet ? [00:37] because it generates tons of revenue [00:37] Complete garbage. [00:38] So idiots watch that, really ? [00:38] there's some decent shows on it I suppose [00:38] but it doesn't matter [00:38] if the show can generate viewers [00:38] then the ads go from 40k to like 300k [00:38] for a single 30 second clip [00:38] or even higher [00:38] so if a show has what, 3 or 4 ads [00:38] per break [00:38] and 2-3 breaks [00:39] and gets rerun, what, 30 times a week? [00:39] tons of cash [00:39] you go tell mtv to shut the doors and they'd just laugh at you [00:39] because you don't get it :) [00:40] in the US when the whole late show problem occured with conan and jay leno [00:40] jay went to an earlier time slot [00:40] almost nobody watched it [00:40] I have watched it, couldnt find anything good on it "Oh i got a lipsucktion those balls" :) [00:40] MTV sucks arse! [00:40] I actually have to pay for it wether i want to or not. Thats the really odd part. [00:40] the ads STILL generated 40k per ad [00:40] per showing of the ad [00:40] with almost nobody watching [00:41] 90% 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] you pay to watch tv? [00:41] MTV blows [00:41] woah, what? [00:41] you actually pay? [00:41] You do too, tv-license [00:41] that's hilarious [00:41] nope [00:41] there's no licensing in the US [00:42] and I live in the US [00:42] so I do not pay [00:42] Swedes pay billions each year to watch tv we ourselves made. [00:43] hey does anyone use byobu here? [00:43] silly swedes [00:43] Then again, we are the richest country on earth right now... i doubt it. [00:43] richest because you pay dumb taxes like that one [00:43] The_Tick: Wanna play with the fjords of doom ? :) /You make me so happyfied :) [00:44] !Entail ^^ [00:44] You have entered a database of doom, want to climb out ? [00:45] you hate mtv and yet consider this entertaining? [00:45] !Envicathiem est [00:45] You seem nice [00:47] The_Tick: Isnt chatting with people better then mindnumbing brainlessness ? [00:47] no [00:47] IF you think not, then why are you here ? [00:47] I think there's room for both [00:47] LOL [00:47] but I think bitching about it forever is annoying [00:47] Youre as fun as a sack of old potatoes [00:48] Youre rubber im glue... whatcha gonna do ? :) [00:48] We are fun to the onlooking crowd. Im liking it. [00:49] The_Tick: Dont you think IRC can also be fun, like it was before 2003 ? [00:50] I for one liked that betterwebs [00:51] Spiritus: I think it can't be like it was in 95, no [00:53] The_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] And it was indeed fun. [00:54] So if i see anyone saying !ot again anywhere ill know its a microsoft employee amongst a few other tell tell signs. [00:55] Spiritus: but you're from sweden [00:55] We dont like those ;) [00:55] your opinions on irc do not matter [00:55] Explain ? [00:55] too close to norway [00:55] So then finland is crap as well ? [00:55] does anyone know how to add more hard drives to the status line in byobu? [00:56] To you ? [00:56] The_Tick: So Mrs tick :) ... Do you live in US ? [00:57] Doonz: they don't have good docs? [00:57] no actually [00:57] bla [00:57] Doonz: have you checked out 'man byobu' ? [00:57] any config file? [00:58] http://manpages.ubuntu.com/manpages/maverick/en/man1/byobu.1.html [00:58] this is what im reading [00:58] but what the man pages are saying the config file isnt really lining up [00:58] I miss the US inputs. I talk to my coders by phone instead. [00:59] it doesnt really say how to add more disk monitoring in it [00:59] Doonz: what kind of monitoring does it provide anyhow? [01:00] But 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] basically on the status line it just shows free space of the drive [01:00] 106GB,3% [01:00] thats what it shows for my main drive but i have 3 others that i would like to monitor [01:00] df -hP / [01:01] Spiritus: unless you know what the hell he's asking [01:01] which you don't based on that answer [01:01] please be quiet [01:01] Doonz: so you want to monitor multiple drives? [01:01] Spiritus: yeah trying to avoid typing that [01:01] kirkland: yea [01:01] i have sd[a-d] [01:01] The_Tick: Yes sir! :) /rotfls [01:01] Doonz: why do you need to know that constantly? :) [01:01] Doonz: okay, do this ... "mkdir ~/.byobu/bin" [01:01] cause my wife has a habit of filling up the hdd's [01:01] heh [01:02] she loves photography [01:02] Doonz: besides this I'd add a cronjob to run every 15 minutes, and if you're at 10% email yourself [01:02] but 10Gb of pictures of our vase in the kitchen...... [01:02] 10% left [01:02] yeah i have that set up now [01:02] :) [01:02] Doonz: cp /usr/lib/byobu/disk ~/.byobu/bin/17_disk [01:02] Doonz: then edit ~/.byobu/bin/17_disk [01:02] Doonz: and have it monitor each of your disks [01:02] ok let me try [01:03] Doonz: that's how you create a "custom" byobu status script [01:03] Doonz: you could make that script do whatever you want [01:03] The_Tick: http://en.wikipedia.org/wiki/Brigadier_General .. :) [01:04] uuh [01:04] hmm [01:04] in the original if statment do i just change it to a 2 [01:05] and then set the mp to where ever that drive is mounted [01:05] The_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:06] Doonz: sounds like you'll have to play with it [01:06] yeah wish me luck woot [01:06] !!! [01:06] bbl [01:07] I think freedom can be whiffed. The freedom to know. [01:10] I like this new bounce vpn via wirelsss [01:12] Packets embedded via subnet broadcast PEBCAK's bounced from lands to seas. Its fairly cool. [01:14] Im on wireless atm, but the interchanging HUBs pass the traffic on via SO_LINGER and reconnects under the timeouts. Im loving it [01:15] Has anyone tried headerpassing ? [01:15] portknocking, but thats bound to fail at some point.. [01:17] Why... Consider a max amount of knocks=65535 (IANA registered port range) .. Hack the kernel and you have 0-infinite almost. [01:17] Hackers today are so confined [01:19] Same goes for subnetting and adressing. Otherwise youre playing ... on the fields of barley ... :) [01:19] Not to say Barley isnt cool, because it is my friends ;) [01:20] On the fields of barley! ... nananna! [01:20] Spiritus, move it to ubuntu-offtopic please [01:21] fluvvell: Would you say that barley is raw sugar, or stronger then raw sugar sir ? [01:22] Or did you wnt to ask a computer related question ? [01:25] Spiritus: Could you please try to stay on topic here. If you want to chat about randomness, there is #ubuntu-offtopic [01:26] char c = 'x'; [01:26] while((c = cin.get()) != '\n' && c != '\0'); ? [01:28] Pici: thank you. I think you were the 4th person to ask Spiritus to respect the channel topic. === jjohansen is now known as jj-afk [01:56] 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? [02:05] april__, mv * ../ ought to work [02:07] and you're missing a source or destination file [02:07] you only have one file listed after the mv command [02:15] That pici seems way gay. [03:00] has 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 connections [03:14] trying to restart ssh but its not in /etc/init.d/ssh ? [03:17] Hi, 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:18] i0nic: in 10.04, /etc/init.d/ssh.conf provides sshd normally, so run "restart ssh". [03:18] Sorry, /etc/init/ssh.conf [03:18] i0nic: the sysvinit /etc/init.d/ssh is provided by disabled by default, because the upstart version can't handle some ssh configurations. [03:21] i0nic: 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] twb ahh thanks [03:22] hansin: openssh-server is unusual [03:22] NORMALLY when an upstart job is provided, a backwards compatibility symlink is placed in /etc/init.d [03:22] so im trying to setup a reverse dns between a tablet and my server and I keep getting [03:22] I'm just sort of figuring this all out, so if what I say is obvious, just ignore. Okay, I think I get it. [03:23] ssh_exchange_identification: Connection closed by remote host [03:23] ssh_exchange_identification: Connection closed by remote host [03:23] ssh_exchange_identification: Connection closed by remote host [03:23] ssh_exchange_identification: Connection closed by remote host [03:23] ssh_exchange_identification: connection closed by remote host [03:23] ouch, sorry for spamming [03:23] my keys look to be right.. would this be logged somewhere? [03:24] Most 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:27] Anyknow any fast ways of troubleshooting a kernel loading prob? [04:11] is there a bandwdith monitoring program for the cli? [04:14] i0nic: ssh access issues are logged in auth.log *on the server side*. [04:14] i0nic: by design, the client is not told WHY it was refused access. [04:14] i0nic: I'm gonna guess that the problem is insecure permissions on ~/.ssh or ~/.ssh/authorized_keys [04:34] Doonz: 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:50] Hmm, free -m is reporting [04:50] -/+ buffers/cache: 680 7283 [04:51] But nothing in top has mem% above 0.0 [04:51] So what's using all that 680MiB? [05:25] hmm what does the mysql_secure_installation command actually do? I forgot to run it and would like to take the hardening steps myself [05:28] http://dev.mysql.com/doc/refman/5.1/en/mysql-secure-installation.html [05:29] http://dev.mysql.com/doc/refman/5.5/en/mysql-secure-installation.html [05:29] and that's just by using google [05:29] ah thanks I assumed that was an ubuntu thing for some reason [05:29] most things are not [05:30] seems I have already done that [05:30] some things are, but bleh === cmdshftn is now known as whatever === whatever is now known as calexico [06:11] New 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/687681 === cmdshftn__ is now known as cmdshftn [09:16] hi [09:16] Can some one please suggest me about which Raid Controller Card is http://pastebin.ubuntu.com/541366/ [10:31] Hi anyone know where my php error logs are stored? Im using PHP5.3 [10:37] Hi [10:38] is there hpacucli available for 10.04 ? [10:48] kaushal: I believe you have to use the RPMs. [10:48] jpds: oh ok [10:48] jpds: Thanks [10:49] alien and all that jazz. [10:49] jpds: sure [10:49] will update you now [10:53] garymc, php errors are normally logged through the web server, which for apache would be /var/www/apache2/error.log by default [10:53] err [10:54] /var/log/apache2/error.log [10:54] not www [10:55] jpds: hi again [10:55] i get http://pastebin.ubuntu.com/541402/ [10:55] Please suggest further === ogra_ac is now known as ogra === ogra is now known as Guest42462 [11:15] jpds: got it now [11:15] it worked [11:15] fine === ogra_ is now known as ogra [11:51] New bug: #687985 in nut (main) "[FTBFS] package 'nut' (2.4.3-1ubuntu5) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/687985 [11:52] New bug: #687977 in ibmasm-utils (main) "[FTBFS] package 'ibmasm-utils' (3.0-1ubuntu10) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/687977 [11:52] New bug: #687979 in jug (main) "[FTBFS] package 'jug' (2.0.0-1) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/687979 [11:52] New bug: #687983 in librdmacm (main) "[FTBFS] package 'librdmacm' (1.0.10-1) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/687983 [11:53] New bug: #687968 in bacula (main) "[FTBFS] package 'bacula' (5.0.2-2ubuntu1) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/687968 [11:53] New 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/687971 [11:53] New bug: #687974 in groovy (main) "[FTBFS] package 'groovy' (1.7.0-3ubuntu1) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/687974 [11:56] New bug: #687988 in quagga (main) "[FTBFS] package 'quagga' (0.99.17-2) failed to build on natty" [Undecided,New] https://launchpad.net/bugs/687988 === oubiwann is now known as oubiwann_ [13:17] Hi! 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:28] heh, it depends on mod-php :) [13:29] that would be the bug I suppose [13:29] my server keeps getting password attack ssh root login [13:29] dozens of different ip's [13:29] install fail2ban :) [13:29] i have 10 login attemps per second [13:31] change ssh port [13:31] how [13:31] at the moment im manually doing iptables -s mofo'sip -j DROP [13:31] if you install fail2ban it will do the drops itself for you :) [13:31] no config needed [13:31] oh [13:31] i'll google it thx [13:31] unless you want to ban more than just craploads of failed ssh logins [13:32] it would be nice if instead of just deny or drop there was like a 'fuckYou+deny' option [13:32] tarpit :) [13:33] that would require editing how fail2ban adds rules, and compiled the xtables modules [13:34] patdk-lap: Best to raise a bug :) [13:34] (re apache with phpmyadmin, via mod-php) [13:34] daviey, heh, a quick look shows a crapload of packages require mod-php, some even mod-php4 [13:35] patdk-lap: eeeeeeek [13:35] what does this mean [13:35] Dec 9 08:34:14 vps1098 sshd[9525]: Did not receive identification string from UNKNOWN [13:35] only entry after i blocked the hacker [13:35] in my log [13:36] ilovegrolsc: Looks like you were probed. [13:36] (it's common) [13:36] yea im not panicking or anything [13:36] actually i dont care if ppl try to login they would never guess my password [13:36] but i care if that 10 attemps per second slow down my server [13:36] use resources [13:37] I had it overload a t1 line [13:37] must've been alot [13:39] i'll install fail2ban sounds good [13:40] iptables -L fail2ban-ssh -nv [13:40] ilovegrolsc: Remove the password and use SSH keys only? [13:40] that sounds good but i dont know how to do it [13:40] jpds, that still wouldn't help not overload a t1 with invalid requests [13:41] i dont even know how to change the ssh service port [13:41] patdk-wk: Set up an SSH TARPIT. [13:41] that is all editing /etc/ssh/sshd_config [13:41] patdk-wk: A la http://www.outflux.net/blog/archives/2010/11/10/tarpit-iptables-target/ [13:41] jpds, that is what I did, just fail2ban is esay and simple for the detection to manage the tarpit :) [13:41] in 24 hour period i have like 20 different ip's doing 10 logins per second [13:41] most from China [13:42] ilovegrolsc: Yeah, normal. [13:44] seems simple if i only need edit sshd config [13:45] ya, as much as changing the port helps and stuff, it's still only security through obscusion [13:45] main reason I don't bother [13:45] ilovegrolsc: https://help.ubuntu.com/community/SSH/OpenSSH/Keys [13:46] keys will make sure pretty much, you aren't brute forced via password [13:46] but they can still chew up bandwidth [13:46] yea im certain they would never guess my pass [13:46] i'll get fail2ban and stop them from trying [13:46] or login from a virus infected machine? [13:47] How do I make a bootable Ubuntu server installer from USB via ssh from another old ubuntu server? [13:48] pki might be wort it if i was assange and the gov wanted into my server ;) [13:48] worth* [13:48] with 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:49] I have also tried the 2.6.34 mainline kernel, with little luck. [13:49] it lasted longer before hanging up -- 10 hours, when run with clock_source=hpet, but it still hung up. [13:49] heh, I find pki logins nice, it's so fast :) [13:51] Daviey: 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] just wondering what to type in console to download direct2ban [13:51] I 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:52] ScottK: If there is a next time i probably will... this was an experiment. [13:52] OK. [13:52] ilovegrolsc: I use pubkey authentication all over the place [13:52] ScottK: Are you interested in being more involved the standard daily triage of the package set? [13:52] it's tons better than password, even for low-security things [13:53] i'm already using it on my server for openvpn [13:53] Daviey: Not for "fun" in my free time, no. [13:53] I'm more interested in not getting bogus bugs landing in my inbox. [13:53] ScottK: Do you find investigating Invalid FTBFS bugs fun? [13:53] (seriously) [13:53] No. [13:53] with a beer on hand it might be fun [13:54] Daviey: No. I'm seriously annoyed you filed the bugs without even looking at the logs, thus wasting my time. [13:54] ScottK: I did look at that log actually, i mean't to pluck it out. [13:54] ScottK: However, i don't understand why you wasted time looking at them? [13:54] How do I make a bootable USB to isntall Ubuntu server? [13:55] Daviey: 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] ScottK: 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:56] Daviey: 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:58] ilovegrolsc, apt-get install fail2ban [13:58] ScottK: I really don't want you to waste your time on these, if you feel that it's of no benefit. === oubiwann_ is now known as oubiwann [13:59] I 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. [14:00] hallyn_, 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] Launchpad bug 687997 in qemu-kvm "XP Pro SP2 refuses to initiate graphical install phase" [Undecided,New] [14:00] Personally 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:01] never mind, hallyn_ i see it. [14:01] smoser: ok [14:02] its not in the blobs in the summary [14:02] but in related pacakges [14:02] 0.8.1 is latest version patdk? [14:02] ScottK: 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:03] 0.8.4 on lucid [14:03] yeah, 'attach_related_packages' [14:03] anyone have any experience setting up 802.3ad bonding on Dell PowerConnect switches? [14:03] My problem isn't with the list or the sharing, just the lack of QA before doing so. [14:03] ScottK: Getting an extra 23 bugs in my Inbox, i didn't consider to be a big deal - perhaps i was wrong. [14:03] ninjix, lots of netgear and cisco :) [14:04] Daviey: If they are valid bugs it's not. [14:04] hi [14:04] is there any script to disable plymouth ? [14:04] ScottK: This was purely a first cut.. i don't know if i'll do it again [14:04] patdk-wk: I'm only seeing one interface getting used [14:05] how did you configure it? [14:05] dynamic or static? I found dynamic isn't very reliable [14:05] and you need to configure it on both ends [14:05] patdk-wk: I've setup LACP static [14:05] on both switchs? [14:06] or is this switch to computer? [14:06] switch to computer [14:06] how do you know it's only using one? [14:06] I'm running bmon [14:06] what is bmon? [14:07] handy interface monitoring tool for console [14:07] ok, but that isn't a test [14:07] I assume yo uattempt a file transfer or something while watching bmon? [14:07] i 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] for test I'm running bonnie++ against NFS on 10g NAS [14:08] well, that will only use one interface, how 802.3ad works :) [14:08] how if you did a bonnie++ against 4 different nfs servers [14:08] then it should use both [14:09] ahh... [14:09] 2 is probably enough, but just incase :) [14:09] it's to solve the whole, tcp packets out of order thing [14:09] one wire might be longer or slow than the other [14:09] ok installed, in jail.conf i can put my static ip in the ignoreip list? just wanna make sure im not locked out [14:09] so all ip -> ip traffic uses the same interface [14:09] gotcha [14:10] it's less magical than I had hoped [14:10] well, it depends what you want [14:10] to access one very large nfs, kind of useless [14:10] that's how obeys ethernet standards [14:10] to serve to the internet, very useful :) [14:11] I see different hash methods L2,L3 and L4 [14:11] why does it want my email address in the jail.conf patdk? [14:11] am i gonna get an email every time it blocks an ip? [14:11] that would be bad [14:11] Ninjix, I forget, the hash methods might need to match the other side (the switchs) [14:11] is that negotiated by the kernel driver? [14:12] ilovegrolsc, it can email you each time it bans someone [14:14] patdk-wk: thanks for the quit explanation. Now I know what to look for in the IEEE docs and have found more information [14:15] now I just need to find better Linux docs covering the output of /proc/net/bonding/bond0 [14:16] heh? it looks pretty straight forward :) === jjohansen is now known as jj-afk [14:18] one last Q about it... i changed ssh-iptables to true, thats all? cuz i also see ssh-tcpwrapper [14:18] and ssh-ipfw [14:18] should the Aggregator ID equal the same integer I've assigned to the LAG on the switch? or is it internal to the server? [14:19] Ninjix, looks like the hash method doesn't matter much [14:19] but you would have to change it on the switch to affect your incoming hash method from other stuff to your machine [14:20] so using the later3+4 hash method would use more than one interface if you mounted the same nfs server more than once [14:20] ahh... so it has more to do with how the switch decides which line throw the packet down [14:20] but I think packets from nfs to your computer will still only use one interface :) [14:20] that matches my test [14:21] most switchs don't let you change it [14:32] hmm [14:32] i see fail2ban has added its own chain to iptables [14:51] ilovegrolsc, I thought that is what it always does, so it is easy to find the rules it adds [14:54] its working [14:54] kicking ass and adding iptables rules [14:57] is 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] cdubya, you mean besides spamassassin and the likes? [14:57] yeah [14:58] Hi 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? [15:05] anyone know of a way to make the terminal window "flash" when the audible bell goes off? === mquin is now known as Mquin [15:11] hi [15:11] is there any equivalent of rbash ? [15:12] Just use rbash. [15:12] anyone running lighttpd/php ? [15:12] I could use a howto on this =) [15:12] rbash [15:12] i can't understand how it works [15:13] zertyu: Why do you think you need it, then? [15:13] ok i try to explain my problem [15:14] what i try to do is : i got a user called user1 i want to restrict access on my server to /var/www/sitex only [15:14] rbash is the correct one ? === Mquin is now known as mquin [15:15] Depends. [15:16] But probably not. [15:16] so what tool i have to use ? [15:20] well [15:22] zertyu: 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 chroot [15:23] i simply want to allow user1 just only on that folder /var/www/sitex and access to read and write [15:24] zertyu: maybe a ssh chroot then [15:25] JamesPage: the groovy looks good im just trying to reproduce and then ill merge [15:25] zul: OK; ping me if anything is weird.... [15:39] JamesPage: i just had to fix the changelog but it looks good anyways [15:40] zul: I should try to remember what release I'm working on :-) [15:40] zul: thanks [15:40] JamesPage: no probs thanks [15:47] smoser: so, just wondering - why is bug 687997 triaged? you know what it is? [15:47] Launchpad bug 687997 in qemu-kvm "XP Pro SP2 refuses to initiate graphical install phase" [Medium,Triaged] https://launchpad.net/bugs/687997 === binBASH__ is now known as binBASH [15:47] bc, i've not seen that myself with several recent windows installs... [15:49] hallyn_, i do not know the problem, but i believe there is enough information to reproduce. [15:49] do you suggest a better state ? [15:49] there is a kvm command line there also. [15:50] * hallyn_ scratches his head [15:50] I guess I need to go re-read the bug status descriptions [15:53] hallyn_, i could be mistaken [15:54] or likely am. what would you have set it to ? [15:54] well, not sure - i guess i'd leave it at New until someone can confirm with the recipe [15:55] thing is, if it's Triaged I assume that means upstream knows about it and has an idea how to fix it [15:55] (or, we have an idea how to fix it) [15:55] which means - I'll ignore it when scanning bug lists [15:55] which is why i need to figure out whether i'm doing that wrong :) [15:58] <\sh> ivoks: pingeling...lucid + drbd .. where in father xmas name is drbd module? [15:58] smoser: all right, well i guess i'm misinterpreting. [15:59] sorry :) [16:00] hallyn_, well, 'New' is definitely not righ. [16:00] but i dont really know what it should be there. ... [16:00] smoser: no, you were 100% right [16:01] Triaged means precisly that you think there's enough info there that someone can work on it, and it looks like a real bug [16:01] \sh: in kernel [16:01] <\sh> ivoks: it isn't [16:01] now, i think several of the qemu bugs are dups - i think there is a problem with the i386 emulator [16:01] <\sh> http://packages.ubuntu.com/lucid-updates/amd64/linux-image-2.6.32-25-generic/filelist <- look for drbd [16:01] 2.6.32? [16:02] ah, not in 2.6.32 [16:02] <\sh> WHOOOT [16:02] it got in in 2.6.33 [16:02] drbd8-source [16:04] <\sh> this is not the truth? [16:04] <\sh> lucid without drbd? [16:04] <\sh> by default i mean [16:04] drbd8-source package has dkmsed module [16:04] i don't see where is the problem [16:04] <\sh> no [16:04] <\sh> module-assistent dkmsed the module now [16:05] hallyn_: re bug 687535 from yesterday.. I comented on it a bit. [16:05] <\sh> it doesn't do it automagically [16:05] Launchpad bug 687535 in openssh "upstart loses track of ssh daemon after reload ssh" [High,Confirmed] https://launchpad.net/bugs/687535 [16:05] \sh: it does, you need linux-headers-server (or -whatever server you use) [16:05] \sh: after that, just installing drbd8-source will give you drbd module [16:05] which will be compiled on every kernel upgrade [16:06] SpamapS: oh, thanks - i didn't get notes about that, must have forgotten to subsribe [16:06] (-whatever kernel you use) [16:06] hallyn_: indeed you did [16:06] How can I quickly check if cron.d is being read? Would the log files show it? [16:06] SpamapS: have i mentioned how happy i am this morning to have found pentadactyl? :) i can 'p' and 'y' in firefox again [16:06] <\sh> ivoks: why don't we have a dep on the linux headers when I install drbd8-source? [16:07] \sh: we do: linux-headers-server | linux-headers-generic | linux-headers [16:08] Greetings and salutations [16:09] Could someone shed some light on how to calculate how much space a partition will take based on a raw disk's total capacity? [16:10] SpamapS: i agree with the guy - your 'invalid' comment was weird. did you mean a dup of the other bug? [16:10] oh, great [16:10] exim is giving away root shells for free [16:11] you deserved it [16:11] <\sh> ivoks: hmmm....http://paste.ubuntu.com/541505/ <- have a look [16:11] http://www.exim.org/lurker/message/20101207.215955.bb32d4f2.en.html [16:11] for playing with exim :) [16:11] \sh: i know, i can't help you; you need to install headers first [16:11] <\sh> ivoks: http://paste.ubuntu.com/541507/ <- the headers were already installed [16:11] hallyn_: Ugh, I meant Invalid in Upstart only. [16:11] <\sh> that's my problem [16:12] you are not looking right \sh [16:12] SpamapS: now that you're leading the upstart community :) what's your expert opinion on his pidfile suggestion? [16:12] \sh: you don't have -server headers installed [16:12] <\sh> ivoks: right, I'm having a -generic kernel [16:14] hallyn_: the trouble with pidfiles is race conditions [16:14] Building for 2.6.32-25-server and 2.6.32-26-server [16:14] doesn't look like [16:15] hallyn_: 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:16] <\sh> ivoks: oh crap [16:17] hallyn_: 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:18] SpamapS: not just keybuk as well [16:19] SpamapS: zul: sometimes a hammer doens't work right, but sometimes it's the only thing htat will [16:19] hey guys im trying to do an ubuntu server install with only ubuntu-minimal packages, so ubuntu-standard. is there a trick to this? thanks [16:19] <\sh> ivoks: gotcha [16:19] hallyn_: hammer is not the right tool in this case...seldgehammer would be better [16:19] *no ubuntu-standard [16:20] zul: do you have another suggestion for the sshd case? [16:20] hallyn_: no unfortunately [16:21] 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 irresponsible [16:21] cjwatson: 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] Launchpad bug 687535 in openssh "upstart loses track of ssh daemon after reload ssh" [High,Confirmed] https://launchpad.net/bugs/687535 [16:22] Does anyone know how to calculate the amount of usable disk space after a disk is partitions based on the raw disk size? [16:22] hallyn_: 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] IE: I have 20TB of raw space, and want to calculate what the total space is AFTER partitioning. [16:22] RFleming: i usually use df (or df -h)... [16:23] hallyn_: usually? :) [16:23] hallyn_, that works but I'm trying to calculate it before I purchase the hardware :) [16:23] RFleming: fdisk will tell you how much it was able to use before writing. [16:23] 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] RFleming: ahh based on the geometry? [16:23] yep [16:23] my guess is that he thinks that partitioning reduces disk size [16:24] ivoks, partitioning does reduce partition size :) [16:24] really it's the fs metadata that can punish you the most [16:24] you do know that manufacturers lie about disk sizes? [16:24] RFleming: should be "damn close to 20TB" [16:25] 120 GB isn't really 120GB... it's more like 100 [16:25] the whole GB/GiB thing [16:25] ivoks: 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] SpamapS: so i'm still trying to figure out why your pidfile scenario makes sense in any case other than pathologically mis-behaving application [16:25] hallyn_: Me too actually [16:26] SpamapS: right [16:26] i don't tthink cgroups work [16:26] hallyn_: why not? [16:26] well, then when you log in you'll be in that cgroup too :) [16:27] 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 task [16:27] chkconfig doesn't work with Ubuntu 10.04.1 really, does it? [16:27] Everytime I try to use it with lsb scripts, it just ... throws a bunch of crap and doesn't even do anything. [16:27] SpamapS: now i suppose we can have PAM move you back out of the ssh cgroup, but then if that fails things will get exciting [16:27] SpamapS, the reason I ask is I'm creating ~830TB volume. [16:28] can i have an account? [16:28] hallyn_: 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] sorry, we're not like Exim ;) [16:28] :) [16:29] that 830TB is raw. The partition table is going to be larger than a few gigs :) [16:30] 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 restart [16:30] now i dunno, maybe we should seriously follow up on the cgroup idea. though i thought Keybuk hated that [16:30] hallyn_: I believe he does. ;) [16:30] SpamapS: oh, the ohter problem with cgroups: [16:31] SpamapS: they're new and fun enough that ppl are using them in funky ways, and their moutnts setup might interfere with what we want [16:31] though i guess we can just mount an empty cgroup named upstart [16:34] hallyn_: seems systemd uses cgroups [16:36] SpamapS: yeah, though i don't know exactly how [16:36] i'll go take a look i guess [16:36] RFleming: I'd just make sure its 20TiB and not 20 trillion bytes. [16:36] RFleming: the geometry loss should be minimal. [16:37] hallyn_: 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] New bug: #327084 in satega "session -> access denied" [Medium,Fix released] https://launchpad.net/bugs/327084 [16:38] hallyn_: interestingly enough, many (most?) newer daemons have this built in because there are a lot of people running process trackers like upstart, runit, or daemontools [16:38] SpamapS: I think I was basically just trying to avoid changing too much at once [16:39] SpamapS: and I hadn't audited precisely what -D did [16:39] SpamapS: but i thought just doing -D and ditching expect fork was not suficient? [16:40] cjwatson: 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 SIGHUB [16:40] HUP [16:40] hallyn_: it is [16:40] SpamapS: if you're happy to test it to make sure everything still works, feel free to make that change [16:40] hallyn_: with -D, there's no fork->exec .. it just execs itself again. [16:41] SpamapS: i thought the bug poster had a case where it wasn't, looking [16:41] don't just tell me "it is" :) [16:41] if I have two disks in software raid, do I have to do something in order to detach them and use them separately? [16:41] RFleming: partition table sizes are typically measured in bytes or kilobytes, not gigabytes. perhaps you're thinking of something else [16:42] SpamapS: oh, i see, he was talking about your suggestion about following the children [16:42] cjwatson: 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:43] smoser: yo [16:43] cjwatson: but its important enough to test thorougly. [16:43] oy [16:43] SpamapS: I think it's more likely that "monitoring" there refers to a sysadmin running it in a tty for testing purposes, actually [16:43] but sure [16:43] cjwatson: SpamapS: so any objections to taking that route? [16:43] hallyn_: as I said above, none from me provided that somebody else tests it [16:44] (to -D) [16:44] I definitely don't want to use pidfiles wiwth upstart [16:46] cjwatson, then I am lost. [16:47] I know drive manufacturers report space as XB not XiB, so a 1TB drive is really 0.9313TiB [16:48] string 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] RFleming: that's just different units, nothing to do with partitioning. [16:48] er, wait, /me rereads [16:49] yes, it's units. your disk manufacturer is lying to you more than you think. [16:50] jdstrand: If you have a moment, i could really do with talking to you about apparmor :) [16:50] RFleming: 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:51] grr [16:52] but then the unit is wrong, because it's not base 2 [16:52] we're back to base 10 [16:52] so it's not 25.47TiB but 25.47TB [16:55] Daviey: sure [16:55] RFleming: indeed. [16:55] RFleming: disk manufacturers do indeed typically quote base-10 sizes. [16:56] cjwatson, ok, I just plugged in a single 1TB drive. Windows reports it as 931.39GB [16:56] (this is why for example the Ubuntu installer's partitioner uses base-10 sizes throughout.) [16:56] which really is 931.39 GiB [16:56] yes, you won't find the same names used consistently everywhere [16:56] sadly if you really care about the distinction you have to get things to show it to you in bytes [16:56] cjwatson, but that brings back the original problem. [16:57] which original problem? [16:57] if windows shows a 1TB drive as 931.39 GiB then 28 of those strung together is 25.47 TiB [16:57] D'oh! [16:58] my math sucks [16:58] if i am looking to just add a drive to a machine, what mount point should i use? [16:59] the drives main purpose is media stroage [16:59] my current storage drive uses /home [16:59] cjwatson, so does yours... curious how that happened [17:02] RFleming: hmm? [17:03] cjwatson, 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 TiB [17:03] units suck [17:04] No [17:04] 1TB base-10 == 0.9095TiB base-2; 28TB base-10 == 25.47TiB base-2 [17:06] 1TB base-10 == 0.93132 TiB base-2 [17:06] that is incorrect, sorry [17:06] 1TB (base-10) == 1000 * 1000 * 1000 * 1000. To convert that to TiB (base-2), divide by (1024 * 1024 * 1024 * 1024) [17:06] $ bc -lq [17:06] 1000 * 1000 * 1000 * 1000 / (1024 * 1024 * 1024 * 1024) [17:06] .90949470177292823791 [17:08] the 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 confus [17:08] *confuse [17:08] look at what you've done to cjwatson .. you've confus'd him [17:08] any1 here able to ssl into a server? [17:08] ssh [17:09] ilovegrolsc: I'd say most of us are able tos sh into a server. ;) [17:09] or to ssh either way ;) [17:10] 1TB = 10^12, 1 TiB = 2^40 [17:11] Yes. [17:11] $ bc -lq [17:11] 10^12/2^40 [17:11] .90949470177292823791 [17:13] cjwatson, this is nuts. why does a 1TB drive show up as .93139 GiB then? [17:13] your math is sound [17:13] but the reporting says otherwise [17:15] heh, it should report ATLEAST .909gigs [17:15] well, .909 terrabytes [17:15] RFleming: because units are hopelessly inconsistent [17:16] drive makes use 1000 units [17:16] find out the size in bytes and don't worry about the "friendly" presentation [17:16] computers use 1024 units :) [17:16] now if everything used 500byte sectors :) [17:18] .90949470177292823791 TiB = 1000000000000 B [17:19] I have no knowledge of how Windows computes disk sizes [17:20] bizzare [17:21] I think patdk-wk made a good point, it's at least .909, with some extra thrown in for 1024 units. [17:21] na [17:21] it normally depends on the lba mapping [17:21] the drive might physically have 1.2tb of space [17:22] but can only map it to the bios as 1.1tb, or 1.0tb depending on settings [17:22] I dunno exactly how it works these days, I stopped caring at around 4gb drives :) [17:22] 1000 * 1000 * 1000 * 1024 will make a nice 1,024,000,000,000 B or .93132 TiB [17:22] like I can buy two 36gig sas drives, one is 36.7gigs, another is 37.2gigs [17:23] RFleming, they might of done that, keep simple 4k or 512 sectors [17:23] but the the firmware limits it to 1000*1000*1000 of them === ahs3 is now known as ahs3-afk === cmdshftn is now known as curious_bystande === curious_bystande is now known as cmdshftn [17:54] SpamapS: ping can you have a look at https://bugs.launchpad.net/ubuntu/+source/php5/+bug/316441 when you are around [17:54] Launchpad bug 316441 in php5 "PHP session garbage collection" [Low,Confirmed] [17:57] what does it mean when your server says "There is 1 zombie process" [18:08] I am attempting to install sudo-ldap on a couple of machines (10.10 and 10.04LTS).. but I get the same error on each machine [18:08] http://pastebin.ca/2014942 [18:08] does anyone know how I may get around this error? [18:18] rofl [18:21] SpamapS / 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] Launchpad bug 56679 in netcfg "provide a method to use a specified MAC-address as the installation device" [Wishlist,Triaged] https://launchpad.net/bugs/56679 === ahs3-afk is now known as ahs3 [18:26] Daviey: whenever you file that bug, feel free to assign it to me [18:34] Daviey: 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:36] hmm, well i suppose i can; i though cjwatson had asked Daviey to do so [18:37] round and round we go! :) [18:37] kirkland: can you confirm for me that cobbler does not have an API? [18:37] kirkland: he did... i'll do it... i just noted that both of you were also involved and thought you might want to [18:38] SpamapS: https://fedorahosted.org/cobbler/wiki/CobblerApi [18:38] err.. [18:38] so.. [18:38] SpamapS: we did talk about cobbler's API last night. [18:38] Edison has what on Cobbler then? [18:40] SpamapS: To me, the edison API looks easier to extend. That is all... [18:40] hrm [18:41] my NIH avoidance alarm is going off === DevoKun is now known as DasFaust [18:42] Daviey: readint his CobblerApi, it already does everything we want... === DasFaust is now known as DevoKun [18:43] SpamapS: I didn't realise there was a py interface to the cobblerapi... i thought it was pure xmlrpc [18:43] either way.. [18:43] I'm polishing this proposal with references and examples.. and cobbler is kicking edison's ass [18:43] SpamapS: Well the py interface is pretty significant [18:44] Anyone 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] SpamapS: That seems fair... I'm certain if Cobbler had the rot fixed, it would be fixed for good. [18:45] Daviey: ... crap.. here we go 'round agian. [18:45] rot as in, Debian/Ubuntu host support and packaging [18:45] SpamapS: ack :) [18:45] Daviey: I'm writing up what we'd have to do to Edison to make it work.. [18:45] Daviey: btw, its not a great django app.. lots of assumptions and hard coded stuff. :-/ [18:46] SpamapS: It would be nice if Cobbler was fixed either way :) [18:46] Daviey: yeah, see, if we just fix cobbler, then we don't need to do anything else. [18:46] SpamapS: and solves the upstream support concern. [18:46] But.. damn we seemed so excited about Edison yesterday. ;) [18:46] Daviey: heard back from them? [18:47] SpamapS: I've not chased it today. [18:52] jdstrand: raised that bug #688186 .. thanks for your help. [18:52] Launchpad bug 688186 in isc-dhcp "apparmor profile denying access to /proc/*/net/dev" [Undecided,New] https://launchpad.net/bugs/688186 [18:53] SpamapS: Do you think we should commit some more time to getting Cobbler into shape? [18:54] Daviey http://www.threedrunkensysadsonthe.net/2010/07/installing-cobbler-on-ubuntu/ [18:54] RoAkSoAx: Thanks, aware of that :) [18:54] ok :) [18:54] he's the same author as edison fwiw [18:54] oh I didn't know that :) thanks for enlightment [18:55] RoAkSoAx: His fork still isn't quite there, but he has some good patches. [18:55] Daviey: better something than nothing ;) [18:56] RoAkSoAx: Are you interested in helping out? [18:56] * Daviey imagines RoAkSoAx pondering. [18:57] Daviey: 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 help [18:57] groovy [18:58] Daviey: I do actually think we should focus *most* of our effort on cobbler. [18:58] Daviey: for some reason I thought it was being rejected because it was built poorly or something. [18:59] But.. shoot.. whip it into Debian/Ubuntu shape.. and whats not to love? [18:59] SpamapS: The main concern we had was the weight, and Deb'/Ubuntu support... and enrichment. [18:59] SpamapS: cobbler has been something it's been wanted in Ubuntu for quite a long time [19:02] Daviey: 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 UEC [19:03] SpamapS: Aye.. i don't have a weighted opinion either way... :) [19:03] SpamapS: Daviey: you guys duke it out and let me know what you decide [19:03] both /will/ work. [19:04] I just see it as the standard currently for provisioning [19:04] kirkland: Fancy throwing your package of cobbler into a ~ubuntu-virt bzr branch ? [19:04] we're going to have to make it work anyway [19:04] Daviey: sure [19:04] Daviey: one sec [19:04] groovy [19:05] Yeah I think I'll take a look [19:05] Daviey: thanks, I should have an upload sometime today [19:06] jdstrand: it's not a urgent for me, so don't prioritise it if you have other things. [19:06] Daviey: SpamapS: pushing to lp:~ubuntu-virt/cobbler/ubuntu [19:07] jdstrand: but rocking, thanks [19:07] kirkland: great [19:07] Daviey: SpamapS: we could talk to LP about getting cobbler's get autoimported to lp:cobbler [19:07] Daviey: as I started from a bzr import of the git tree [19:07] Daviey: done. [19:07] \o/ [19:09] Daviey: i've been tracking patches in debian/patches [19:09] bzr: ERROR: Invalid url supplied to transport: "lp:~ubuntu-virt/cobbler/ubuntu": No such project: cobbler [19:09] Daviey: nothing big there yet, but at some point, i'd assume we'd have a handful that we'll want to send upstream [19:10] SpamapS: Daviey: whoops ... lp:~ubuntu-virt/+junk/cobbler [19:10] kirkland: I have a couple of patches [19:11] Its really hard for me to objectively test.. as the only other machine on my network is my wife's dell mini10.. :P [19:11] SpamapS: kvm baby! [19:11] unless.. I could try to use it to install powerpc on my G5 [19:11] eeek... you are brave [19:11] Daviey: the networking on kvm scares me [19:14] SpamapS: fair comment :)... virtualbox :) [19:18] cjwatson: so i have a preseed with "d-i partman-lvm/confirm boolean true" [19:18] cjwatson: but I'm being held at that question anyway [19:18] cjwatson: any hints? [19:19] cjwatson: full preseed at http://pastebin.com/ME2CDpnx [19:19] liboobs ... one of the greatest bazingas ever [19:20] Daviey: well, it is fairly urgent as you can't use dhcpd at all atm :) [19:20] jdstrand: true! :) [19:22] kirkland: Interesting... just checked my preseed and that worked fine for me yesterday when i deployed natty :/ [19:22] Daviey: can you pastebin all or some of your preseed, then? [19:23] Daviey: or tell me where mine differs? [19:23] would 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] kirkland: generated by uec-pro' http://pb.daviey.com/2sKc/raw/ [19:25] Daviey: weird ... nothing related in the diff [19:25] kirkland: impressive build-depends. :-P [19:25] kirkland: Although... i did notice that my hosts in /etc/apt/sources.list were not the values i preseeded... so something could be skewed [19:25] Daviey: one thing that's strange ... this machine's hard disk was detected as sdb (when it should probably be sda) [19:26] (same preseed used on maverick DID give the correct hosts) [19:26] Daviey: yeah, i have 3 microscopic fixes to uec-provisioning so far [19:26] Daviey: i'm trying to get it back to the point where it "just works" out of the box [19:26] kirkland: the itch i have is multi release support :)... fancy tackling that? :) [19:27] kirkland / SpamapS: Also, http://pb.daviey.com/qELJ/raw/ \o/ [19:27] Daviey: 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 though [19:28] Daviey: under active development? [19:28] kirkland: "lp:cobbler" [19:28] Daviey: ah [19:28] Daviey: cool [19:28] Daviey: okay, my lvm-confirm issue is worked around by preseeding non-lvm disk partitioning :-P [19:29] Daviey: i'll wait to hear back from cjwatson on that one [19:32] yeah.. interesting :/ [19:33] kirkland: on your dell laptop? [19:33] Daviey: yup [19:39] I'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 fine [19:58] since last apt-get upgrade on hardy server php isnt rendered anymore, any ideas? [20:08] Anyone know how to enable tracking with phpmyadmin on 10.04LTS? I've done everything it says and it still fails. [20:15] i have the following line in my /etc/apt/sources.list: deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid restricted multiverse [20:15] this works just fine. another machine has it in sources.list.d/us-east-1-ec2.archive.ubuntu.com and it appears to be ignored [20:15] what am i missing? [20:17] .. and strace provides the answer; file must end in .list [20:20] jiboumans: how did we ever live without strace? [20:20] SpamapS: i dont know, but ever since i have to deal with Erlang and java, it's been my best friend [20:20] 'i cant read it or dont have the source..w tf is it doing???' [20:22] I don't know if they have it now, but it used to be the most annoying thing about admining *bsd [20:22] dtrace > strace though [20:22] but you can't have it all [20:22] strace named ... wtf.. cmd not found?! [20:23] dtrace is freebsd only isn't it? [20:28] you have run strace as root now dont you? [20:49] zul: you don't have to , but you haev to run strace -p as root (or change a sysctl) [20:50] hi all.. quick question .. regarding squid. [20:50] question.. 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:53] dravekx, what do you mean tracking? [20:54] ? [21:06] 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 u [21:07] sorry about the wall of text =-/ [21:09] resize2fs works [21:09] so boot from a desktop edition live cd and run that on the unmounted drive? [21:10] Anything will work (I would probably use grml dunno if there is a good ubuntu equivalent) [21:11] I take it you made a snapshot first ? (or a decent backup) if its important [21:12] not terribly important, but yes [21:13] ok 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:14] why not - ifconfig -a [21:14] Heyaa 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:15] steveng: 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] ok adding -a I see an eth2....? [21:15] no ip address though [21:15] is there a reason it would get changed from eth0 to eth2? [21:16] smoser: ping [21:16] h3sp4wn: thanks! I appreciate it! :) [21:16] steveng: Did you change the interface ? (I think udev makes them unique) [21:17] steveng: also check the contents of /etc/iftab [21:17] (Might not exist) [21:17] steveng: Should be able to dhclient eth2 [21:17] i did...in virtualbox....but I changed it back [21:18] (Thats if its in the default config) [21:19] steveng: Have a look in /etc/udev/rules.d [21:19] ok if I dhclient eth2 then I get an ip...but I want that set to static....I changed my settings in /etc/network/interfaces [21:19] file 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:20] group permissions [21:20] oh right. [21:20] steveng: You cannot just do that with virtualbox [21:21] You need another interface type but I dunno what [21:21] so 775 not 755. [21:21] yep or you can use acl's if you want [21:26] steveng: There is annoyances with the other 2 as well (like have to configure routing on the host) or bridged has some other quirks as well [21:27] eh [21:27] ill visit the vbox room to get them to help me with that [21:27] I got the eth2 up and back on static [21:27] I can access locall now [21:40] Is 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 virtualks [21:46] heh, I just have a large script I run, that does a more minimal system after I install the normal system [21:46] apt-get purge ...... [21:46] mainly like ppp, pppoe, dhcp3-client, ... [21:49] Anyone here know how I could setup a cron job to be run by the apache2 user? [22:00] FunnyLookinHat: yeah, by setting it on /etc/cron.d/something [22:00] specifying just after the time and just before the command www-data [22:01] my server just rebooted randomly, what can i check to see why? [22:02] remix_tj: cool thanks [22:03] i0nic: sure, take a look to the /var/log/syslog [22:05] remix_tj: if I am editing cron like this - sudo crontab -e ... that means I'm editing root's cron, right? [22:05] yeah FunnyLookinHat [22:05] kk [22:13] Wait - remix_tj - couldn't I just sudo -u www-data crontab -e ? [22:13] FunnyLookinHat: is not a pretty way but you can, i think [22:14] *crosses fingers as date approaches the next minute* [22:49] I accidently delted /etc/apache2, how can I "reinstall" apache to get the default folder? [22:58] l3dx: you can apt-get purge apache2; apt-get install; or you can grab the source (apt-get source apache2) and manually fetch them [22:58] hallyn_: I tried [22:58] but now I see that it's coming from apache2.2-common :) [22:58] guess that will work better [22:58] oops [22:59] that trips me up quite often [23:16] hi 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:21] ruben23: you need to install and configure Samba. You may want to check out TurnKey Linux, based on Ubuntu: http://www.turnkeylinux.org/fileserver [23:22] ruben23: You mean the hosted server is not on the same network right ? [23:23] its on the vast internet not local conenction. [23:24] Openvpn and samba would work quite well [23:24] (openvpn has a windows client) [23:24] or openvpn and nfs would be ok if you use the windows built in nfs client (or SUA) [23:26] ruben23: You should not access Samba directly over the Internet - use either SSH or a VPN. [23:29] 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 windows [23:31] ruben23: You need to learn how to use ACL's [23:32] ruben23: I've had success routing SMB connections over stunnel to Windows clients before. [23:36] guys its a bit hard.huhuhuhuh [23:37] :'( [23:37] It will take a while to put together. [23:37] What specifically are you having problems with? [23:39] hi. 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:40] bmxer: universe should be enabled by default. what AMI are you using? [23:41] jiboumans, i've just added a prefix domain US and it worked deb http://us.archive.ubuntu.com/ubuntu/ lucid universe [23:42] there's an ubuntu mirror inside ec2 - faster and lower cost. but again, those should all be enabled by default [23:47] jiboumans, now i see...just had to change the prefix to aws mirror. thx! [23:51] DevoKun: 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 users [23:52] FWIW, I use "deb mirror://mirrors.ubuntu.com/mirrors.txt lucid main universe" [23:53] Where mirrors.txt returns geoip-specific mirror list, and apt uses one (unfortunately, always the first).