[00:02] <Chriys> Ok thanks for your help guys
[00:03] <Chriys> tonyyarusso i will be back in 10min and i will mp you to get that
[00:44] <adam_g> zul: Daviey jamespage http://people.canonical.com/~agandelman/folsom/glance/ + http://people.canonical.com/~agandelman/nova/ . need a +1 so we can get to staging and fast tracked out to -updates. both security updates
[00:48] <jdstrand> adam_g: do those correspond to: http://www.ubuntu.com/usn/usn-1710-1/ and http://www.ubuntu.com/usn/usn-1709-1/ ?
[00:50] <jdstrand> adam_g: well, I'm eod, but I did updates for those already
[00:51] <adam_g> jdstrand: yes this are precise rebuilds of your updates for the ubuntu cloud archive
[01:03] <Chriys> tonyarusso you still there ?
[01:05] <Chriys> tonyyarusso you still there ?
[01:06] <TheLordOfTime> he shows up as away
[01:12] <Chriys> ok because he said that he got some config about the postfix
[01:12] <TheLordOfTime> doesn't mean he's here though :p
[01:22] <Chriys> TheLordOfTime can you help me with.
[01:22] <Chriys> you seem to be very good with postfix
[01:23] <zul> adam_g: looks good
[01:24] <sarnold> Chriys: irc tends to work best if you ask specific questions rather than asking people if they will help you :)
[01:25] <sarnold> .. afterall, there are ~360 others here, someone's liable ot be awake..
[01:27] <Chriys> ok thanks sarnold. basically i want to tell to my server to user my gmail account to send email. on web application hosted on my server
[01:28] <Chriys> and i also want gmail to receive email from info@ahidjodesign.com
[01:31] <sarnold> Chriys: you may wish to look at 'msmtp', I use it to have a /usr/bin/sendmail program that sends From my address
[01:32] <sarnold> Chriys: setting up receiving is slightly differen,t you'll need to look into google services for domains or something..
[01:32] <Chriys> it will gona work if i use mail() on a php page on my server.
[01:34] <sarnold> Chriys: it should, if the mail() routine uses /usr/sbin/sendmail. if it connects to smtp servers itself, no. (I seem to recall that both behaviors are available with various php modules..)
[01:36] <Chriys> ok. so i use what will be the sender address in the email
[01:37] <sarnold> your gmail address
[01:40] <Chriys> and about redirecting info@mydomain.com to gmail.com
[01:43] <sarnold> Chriys: http://www.google.com/enterprise/apps/business/pricing.html
[01:45] <Chriys> i think it will be better to have my own fix ip address
[01:45] <Chriys> thanks again for your help
[01:46] <sarnold> Chriys: another option is to pick another smtp host, e.g. sendgrid
[01:49] <Chriys> ok. sarnold do you think that if i use different port like 1234 it work ?
[01:49] <sarnold> Chriys: probably; or you could set up a vpn between your host and your smtp host..
[01:49] <Chriys> sarnold what do you mean ?
[01:51] <sarnold> Chriys: from what I vaguely recall of your problem, you've got a web host and you've got an smtp host, and your web host can't contact your smtp host, right?
[01:51] <Chriys> because the most important for me is to being able to send email from my domain with web app on my server
[01:59] <Chriys> sarnold if i send an email to info@mydomain.com it doesn't work. and if i send an email from my server it still doesn't work except if i send it to another user on my server.
[02:01] <Chriys> i tried to use mail() on phpscript same issue. and i cant connect to the server using a mail client. but all of my website hosted on the server work
[02:03] <Chriys> i tried telnet gmail 465 and telnet gmail.com 25 it says unable to connect to remote host: Network is unreacable
[02:11] <zul> hallyn: yeah i need to understand whats going on first
[02:27] <jdstrand> adam_g: ah, I thought you were wanting to provide those updates for the archive :)
[02:31] <dragoonis> Can someone help me? "sudo apt-get update" -- every line returns 404
[02:31] <dragoonis> Err http://archive.ubuntu.com maverick-updates/universe amd64 Packages  404  Not Found [IP: 91.189.92.200 80]
[02:31] <dragoonis> or
[02:31] <dragoonis> W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/source/Sources.gz  404  Not Found [IP: 91.189.92.200 80]
[02:31] <patdk-lap> well, what did you expect?
[02:32] <patdk-lap> something besides 404?
[02:32] <patdk-lap> support for maverick ended a long time ago
[02:32] <dragoonis> patdk-lap: i see
[02:32] <dragoonis> are you saying my distro version is no longer supported? :)
[02:32] <patdk-lap> I'm saying your using something that is only supported for 18months
[02:33] <patdk-lap> and it came out in 10.10
[02:33] <patdk-lap> well, october 2010
[02:33] <patdk-lap> switch to using the old repo's archive
[02:34] <sarnold> dragoonis: probably best to run a do-release-upgrade to upgrade to a supported distribution
[02:38] <dragoonis> sarnold: thanks for the suggestion. this is a production box so I can't do anything drastic right now
[02:38] <dragoonis> is there a workaround to let me run apt-get update against my distro version ?
[02:44] <bradm> dragoonis: use old-releases.ubuntu.com
[02:45] <bradm> dragoonis: but, really, you need to upgrade to a LTS - maverick isn't supported anymore
[02:45] <dragoonis> bradm: i understand i actually just need to use apt-get to install "tcl8.5" package
[02:46] <bradm> dragoonis: right
[02:46] <dragoonis> it's stopping my redis-server's "make test" from being successful
[02:46] <bradm> dragoonis: well, its been answered twice now
[02:49] <dragoonis> ok thanks.
[02:50] <dragoonis> bradm: did you mean to update my apt-get sources.list file with "old-releases.ubuntu.com"
[02:50] <bradm> you'll have to remove the security deb lines too
[02:50] <bradm> dragoonis: yes
[02:52] <dragoonis> bradm: it seems to be doing something :)
[02:52] <dragoonis> yay \o/
[02:53] <bradm> excellent
[02:53] <dragoonis> 'make test' on redis passed.
[03:00] <Chriys> sarnold i'm going to reinstall postfix what config do i need to send email throught my isp smtp server
[03:08] <dragoonis> I have a binary at "/home/paul/redis-stable/src/redis-cli"
[03:08] <dragoonis> i'd like this to just execute by running 'redis-cli'
[03:08] <dragoonis> i tried the 'alias' command, but when i run my shell script it says 'command not found'
[03:10] <SpamapS> dragoonis: mkdir /home/paul/bin ; ln -s /home/paul/redis-stable/src/redis-cli /home/paul/bin/redis-cli
[03:10] <Chriys> i'm going to reinstall postfix what config do i need to send email throught my isp smtp server
[03:10] <SpamapS> dragoonis: when you have a ~/bin , it will be added to the path (you have to logout and back in, or re-source your bashrc)
[03:11] <SpamapS> Chriys: postfix will ask you for those settings on installation
[03:11] <SpamapS> Chriys: or just 'dpkg-reconfigure postfix'
[03:11] <Chriys> oh good thanks :p
[03:13] <dragoonis> SpamapS: i didn't know ~/bin was magic
[03:13] <dragoonis> SpamapS: apache is going to execute this shell script so that might be problematic
[03:13] <azbyin> hi all..
[03:13] <SpamapS> dragoonis: indeed it will be problematic
[03:14] <SpamapS> dragoonis: why don't you install it in a system location like /usr/local/bin ?
[03:14] <azbyin> do you guys know how i can identify the processes that are eating up my memory?
[03:14] <patdk-lap> ps axl
[03:14] <patdk-lap> smem?
[03:14] <dragoonis> SpamapS: that sounds better
[03:14] <dragoonis> usr/local/bin/redis-cli ?
[03:14] <azbyin> i allocated 1GB to a virtual machine and installed spamd+postfix+courier+mysql and have gitlab running
[03:15] <patdk-lap> well, spamd is going eat 100-500megs
[03:15] <SpamapS> I use 'ps auxw O r' to see the biggest process at the bottom
[03:15] <azbyin> so it ended up eating almost all of that 1GB. So I thought this is not very good and decided to allocate an additional 1GB
[03:15] <patdk-lap> smem is nicer cause it takes shared ram into account
[03:15] <patdk-lap> azbyin, how do you define, EATING RAM?
[03:15] <azbyin> everything was peachy for a while, now everything has been eaten up again.. 17BM free memory
[03:16] <patdk-lap> ah, so you have no idea
[03:16] <azbyin>              total       used       free     shared    buffers     cached
[03:16] <azbyin> Mem:       2041028    2022876      18152          0      58896    1010272
[03:16] <patdk-lap> and the next line?
[03:16] <azbyin> -/+ buffers/cache:     953708    1087320
[03:16] <patdk-lap> 1087MB free
[03:16] <patdk-lap> nice
[03:16] <patdk-lap> how did you figure 17MB?
[03:17] <azbyin> first line.. col 3 (free)
[03:17] <patdk-lap> ya, that is how much WASTED RAM you have
[03:17] <patdk-lap> it is only use for interrupt processing and stuff in the kernel
[03:18] <patdk-lap> that is not how much FREE PROGRAM ram you have
[03:18] <patdk-lap> please read the free program manual next time
[03:19] <azbyin> SpamapS, ps auxw O r   shows gitlab    3180  0.1  6.3 2959144 129304 ?  ... right at the bottom
[03:19] <azbyin> is this VSZ being reported in KB ?
[03:19] <patdk-lap> vsz is how much the program asked for, not how much it's using
[03:19] <dragoonis> SpamapS: that helped a lot :)
[03:20] <dragoonis> good night
[03:20] <patdk-lap> it's actually only using 129MB
[03:20] <azbyin> but it actually asked for 2GB ?
[03:20] <patdk-lap> 3GB
[03:20] <patdk-lap> that is normal
[03:20] <patdk-lap> lots of programs do that
[03:20] <azbyin> ok
[03:21] <patdk-lap> happens a lot with memmap files
[04:43] <red82> I am trying to optimize the performance of a magento installation on an ubuntu server.  can anyone suggest a good link for me to read?
[04:43] <red82> there's tons of stuff online, but I don't knwo whats good advice and what isn't
[05:01] <qman__> red82, the important question to ask is, why?
[05:02] <qman__> are you experiencing slowness? are you hitting a hardware bottleneck, or is the software not utilizing your hardware to keep up with requests?
[05:02] <red82> oh, I see
[05:03] <red82> I am hosting with a vert. on media temple, and was running out of memory with just a couple of test users.  this seemed bad
[05:03] <qman__> if you used built in packages, it's already set up for the way most people will use it
[05:03] <qman__> ok
[05:03] <red82> http://mediatemple.net/webhosting/ve/pricing.php <- the lowest priced one there.  seems to me that 1GB should be fine
[05:04] <red82> I upgraded to the 2GB one, and that helped my memory problems (at various points I couldn't even ssh into the box because it couldn't get mem )
[05:04] <Corey> red82: There are magento specific hosting places.
[05:04] <Corey> They earn their money. :-)
[05:04] <qman__> red82, while I'm not experienced with magento, from what I'm reading, it's a resource heavy application, and that doesn't surprise me
[05:04] <Corey> red82: It's worth mentioning that Mediatemple runs Virtuozzo, which is a chroot on steroids; it tends not to play well with Magento.
[05:05] <red82> Corey: thats very interesting
[05:05] <red82> do you have a recommended host for future reference ?
[05:06] <red82> qman__: it does seem heavy and slow, but you'd think it could handle one user.
[05:06] <qman__> red82, from one article, it's recommended that in order to run magento, PHP's maximum memory per-process should be adjusted to 512MB
[05:07] <qman__> common defaults are 8MB or 16MB
[05:07] <qman__> just to give you an idea
[05:07] <red82> thats astounding
[05:08] <qman__> not that it will use that much on every process, but because of that, it doesn't surprise me that 1GB was not enough for more than a couple users
[05:10] <red82> that seems crazy high
[05:11] <qman__> there's probably a big initial investment, with better scaling
[05:11] <qman__> as in, 4GB would serve a lot more than 4 users, probably more like 50
[05:12] <qman__> that's just a guess though
[05:37] <adam_g> hi, is there an alternative to 'ctrl-middle click'  to select the 'Operate Controller now' option on a fader or button, to select midi control?
[08:14] <linocisco>  I want network monitoring tool like PRTG but should be free of charge and full version
[09:04] <greppy> linocisco: you are certainly welcome to build one.
[09:19] <yolanda> hi, i'm receiving that error trying to boot a nova instance: ProcessExecutionError_Remote
[09:19] <yolanda> any idea?
[09:36] <linocisco> greppy, what do you mean to build one?
[09:41] <RoyK> linocisco: have you tried munin?
[09:42] <RoyK> there are several monitoring tools around, and some are highly configurable, or you can script up something yourself with rrdtool or similar
[09:51] <linocisco> RoyK, not yet
[09:52] <linocisco> RoyK, is it good?
[10:04] <RoyK> linocisco: http://munin.karlsbakk.net/munin/
[10:09] <greppy> linocisco: I mean that someone built/wrote PRTG, you are welcome to build/write your own.
[10:19] <JonEdney> I created a user on Ubuntu Server 12.10, and added that user to the sudoers file as username ALL=(ALL) NOPASSWD: ALL
[10:20] <JonEdney> I'm still prompted for a password when I sudo with the username, in addition to I can't run apt-get upgrade, as it says I dont have permission.
[10:20] <RoyK> JonEdney: perhaps that user is part of a group with sudo access, parsed before the line you added
[10:21] <linocisco> greppy, if I knew programming, I would not ask here and started writing code
[10:23] <JonEdney> RoyK, thanks for the tip, still learning the ropes.
[10:23] <RoyK> linocisco: did you check out munin?
[10:24] <linocisco> RoyK, still checking
[12:47] <freakynl> hi, i'm trying to install ubuntu 12.10 server on a pre-existing hardware
[12:47] <freakynl> it has several md raid sets, 12 disks in total, I only want to recreate the OS partitions on the first 2 disks
[12:47] <freakynl> I can see it on the cli, but since that has no fdisk/cfdisk/gdisk/parted I can't do much there either
[12:47] <freakynl> <insert above last line> The problem is, it doesn't show sda in the partition toolie
[12:47] <freakynl> any ideas?
[12:48] <xnox> advanced partitioning -> activate raid volumes should tell you which md devices you have made up of which disks
[12:49] <xnox> as well as to [dis]assemble them.
[12:51] <freakynl> hmm can I see what /dev/sda is?
[12:51] <freakynl> booted ubuntu from cd mounted through impi (like drac/ilo), there's no less on the console :(
[12:53] <freakynl> nvm it has more there's a virtual disk presented by the ipmi, besides a cdrom, dunno why it does that
[12:55] <freakynl> can the installer use/recognize gpt? It says sdc has no partitions, but it has 4 - all 4 part of md sets which it did start (well kernel auto detect probably did (.9 superblock))
[12:55] <RoyK> freakynl: unplug all non-root drives :P
[12:55] <RoyK> freakynl: that's pretty safe
[12:56] <freakynl> sdc is a root drive
[12:56] <freakynl> and it has partitions ... the partitioning tool however says it wants to create a new one (now I only care about the last partition not dying :))
[12:57] <RoyK> freakynl: with 12.04 (which I would *really* recommend for servers, since it's the latest LTS), the installer screen turns up in b&w if gpt is detected
[12:57] <freakynl> oddly enough it seems to recognize the partitions made by windows on one of the raid sets just fine (which are gpt (8TB vol))
[12:57] <RoyK> freakynl: if you want that thing stable over time, use lts
[12:57] <RoyK> if it's a toy, well, do as you please ;)
[12:58] <freakynl> RoyK: It'll only do iSCSI and LIO with 3.5 is much much MUCH better than 3.2 with iet ever will be :)
[12:58] <RoyK> ah
[12:58] <RoyK> ic
[12:58] <freakynl> can I partition myself on the cli, mount them somewhere and continue with the installer?
[12:59] <RoyK> you can partition manually from the installer
[13:00] <freakynl> the installer doesn't recognize the current partitions on sdc
[13:00] <RoyK> can you nuke it?
[13:01] <freakynl> no the last partition needs to be safe only want to repartition cuz ubuntu hogs /boot like crazy and doesn't clean it up
[13:01] <RoyK> oh, why? don't you have a raid for your data?
[13:01] <freakynl> my gentoo install has a 50M /boot with 12 kernels on it, and free space, this install has a 66M /boot partition with 2 kernels and craps out on regenerating initramfs every time
[13:02] <freakynl> RoyK: Yea I do, since they're 2 TB disks however and the OS is quite small the majority of the disk is still exported through iscsi
[13:02] <freakynl> in ubuntu's defense btw - I don't use initramfs on gentoo so that saves quite a bit
[13:03] <freakynl> I just want to make /boot and / 1 partition now and save me the hassle of having to clean up /boot all the time :)
[13:03]  * RoyK usually uses a 1GB /boot
[13:05] <freakynl> I'll see if I can create the partitions / raid with parted magic and see if the installer picks those up - it sees the existing raid sets just fine (which is funny since several of them use partitions from sdc which it doesn't see but are part of the raid)
[13:07] <freakynl> it's a replacement disk too - probably just used sfdisk -d /dev/sda | sfdisk /dev/sdb
[13:08] <xnox> freakynl: have you read ubuntu server - advanced installation - raid setup documentation?
[13:09] <xnox> https://help.ubuntu.com/12.04/serverguide/advanced-installation.html#software-raid
[13:11] <freakynl> Nope, don't quite see how that'll make the installer recognize the partitions either :)
[13:18] <freakynl> whilst on the subject of raid, would you recommend swap on raid 1 or just add 2 swap partitions?
[13:19] <freakynl> The latter is often advised, but they don't seem to take into consideration if 1 disk dies, so does 1 swap part (and thus potentially you loose a piece of memory and that's pretty bad)
[13:19] <freakynl> then again, usually it doesn't use swap :D
[13:36] <xiaoy> Which is the ubuntu equivalent for  perl-Net-SSLeay.i686 perl-IO-Socket-SSL pkgs?
[13:37] <xiaoy> Which is the ubuntu equivalent for  perl-Net-SSLeay.i686 perl-IO-Socket-SSL pkgs?
[13:38] <xiaoy> those should be perl SSL auth modules... i guess it's possible to use cpan, but i don't know which modules to install
[13:51] <jamespage> xiaoy, libnet-ssleay-perl and libio-socket-ssl-perl
[13:51] <freakynl> xnox: gparted complains on the disk too - kernel sees the partitions fine, fdisk lists them (but claims there's gpt on it - normally it doesn't list anything then)
[13:51] <jamespage> xiaoy: you can probably see a pattern :-)
[13:51] <freakynl> gparted says a fake msdos partition doesn't exist, but there's no backup gpt header either
[13:52] <freakynl> now the big q will be, is that gpt partition it thinks it sees data from one of the raid sets? :D
[13:53] <xiaoy> jamespage, tahnk you. I'm tring to use my gmail account with sendEmail... but gives me some errors
[13:54] <jamespage> xiaoy, np
[13:55] <xiaoy> auth with gmail smtp srv it's a bit tricky :)
[14:25] <zul> jamespage/yolanda: https://code.launchpad.net/~zulcss/cinder/cinder-failed-tests/+merge/145614
[14:25] <zul> adam_g: +1
[14:26] <yolanda> let me take a look
[14:33] <Linuks83> good morning all. i've got a rosewill SATA card with a Silicon Image chip model of Sil3114CTU. the 64bit server installer sees it and all the drives on it, but the 32 bit installer does not. any ideas?
[14:33] <Linuks83> the system is a 32 bit machine, otherwise i'd just roll with 64.
[14:38] <patdk-wk> Linuks83, why bother with 32bit installs?
[14:38] <dragonious> good morning everyone
[14:38] <dragonious> I have a few questions if anyone has time
[14:39] <Linuks83> patdk-wk, the machine i have on hand is a 32 bit machine. further, why would the 64 bit install detect the card and not the 32 bit install of the same release??
[14:40] <patdk-wk> well, the driver might not be pae compatable, and since the non-pae kernel was dropped
[14:40] <patdk-wk> only thing I can think of
[14:41] <dragonious> I have Ubuntu server 12.04 /w kubuntu desktop installed onit, what I want to know is how to create a user and give him only access to 3 folders on the server , his home folder nad 2 folders in www?
[14:43] <dragonious> I have sufed the firums but I can only find help on giving user full control of server and that wont work in this case
[14:43] <Linuks83> patdk-wk, when was the non-pae kernel dropped, becuase it doesnt get detected with either of the 12.04.1 disks either
[14:43] <patdk-wk> 11.10 I believe, maybe 11.04
[14:44] <Linuks83> patdk-wk, ok. going out on a limb here...  do you know if it is still supported by Debian proper?
[14:44] <patdk-wk> actually, I don't think that should make a difference
[14:44] <patdk-wk> the sill3114 should be using the normal AHCI driver
[14:45] <patdk-wk> not a special driver, and that is supported fine
[14:45] <Linuks83> so is there a boot string i can add to the 32 bit installer to get it detected?
[14:46] <patdk-wk> it's already added if 64bit sees it
[14:46] <Linuks83> i checked the ubuntuforums, but dont see anything on this particular issue.
[14:46] <Linuks83> the boot string should be the same between the 32 and 64 right?
[14:49] <dragonious> can anyone assist me with giving user only access to specified folders on the server ?
[14:50] <freakynl> dragonious: the specified folders being?
[14:50] <patdk-wk> lunuks, it's suppost to use the sata_sil module
[14:50] <dragonious> frakyni: his Home, and 2 folders in www
[14:51] <dragonious> freakyni: sorry his home and 2 folders in www
[14:51] <dragonious> I can not type today im sorry
[14:51] <freakynl> dragonious: hmm that's scattered over the file system... I don't use ubuntu much, but you might want to look into mounting (-o bind) the folders on his home folder and chroot'ing it
[14:51] <freakynl> dragonious: fr<tab> if you have a descent client :)
[14:52] <dragonious> freakynl: Im very new to ubuntu still getting used to the commands
[14:52] <Linuks83> patdk-wk, is there a way i can specify to load that at boot to be sure?
[14:53] <patdk-wk> modprobe
[14:53] <freakynl> dragonious: I'm not used to the ubuntu 'way' of things. Root jail is probably the easiest (chroot) in combination with mount -o bind
[14:53] <dragonious> freakynl: do you know of any walkthroughs available for this procedure
[14:54] <dragonious> freakynl: thanks for the tab tip ;0
[14:54] <freakynl> mount -o bind being for the www folders. Don't know what your permissions are though, you might need extended acl's (beyond user/group/other)
[14:54] <freakynl> dragonious: https://help.ubuntu.com/community/BasicChroot
[14:54] <dragonious> freakynl:  ty very much
[14:55] <freakynl> np
[14:55] <dragonious> freakynl: im going to check that out on my pc thanks again, I may be back ;)
[14:58] <zul> jamespage/yolanda: one more https://code.launchpad.net/~zulcss/nova/nova-fixes/+merge/145624
[15:05] <yolanda> zul, i'll take a look
[15:07] <freakynl> I get a blank screen after grub, editing (e) in grub and adding nomodeset doesn't help
[15:07] <Linuks83> patdk-wk, how do you pass modprobe to text mode the installer?
[15:07] <freakynl> it doesn't have the splash nor quiet options, any ideas?
[15:08] <patdk-wk> run it in the shell
[15:11] <Linuks83> i understand running it from the shell 'modprobe sata_sil' but how do i get shell during the actual installation. i'm trying to use a drive which is on that controller to install to.
[15:18] <Linuks83> patdk-wk, i understand running it from the shell 'modprobe sata_sil' but how do i get shell during the actual installation. i'm trying to use a drive which is on that controller to install to.
[15:19] <patdk-wk> select shell from the install menu
[15:19] <Linuks83> patdk-wk, oh! ok, so when i use the 'go back' option and am presented with the menu, it will be there? gotcha.
[15:19] <patdk-wk> ya
[15:20] <Linuks83> patdk-wk, thanks!! i will try that!
[15:20] <freakynl> Hmm oddly enough ubuntu desktop boots just fine (also 12.10) from live cd (parted magic cd's have same issues - nomodeset doesn't help there either)
[15:30] <zul> hallyn: pinger
[15:34] <hallyn> zul: hey
[15:34] <hallyn> sorry had rackspace host issues last night, got disconnected :)
[15:35] <zul> hallyn: just getting libvirt 1.0.2 ready...still need to look at the qemu stuff fyi
[15:35] <hallyn> (didn't feel like xferring to local)
[15:35] <hallyn> which qemu stuff?
[15:35] <zul> the qemu-nbd stuff i am having problems with
[15:35] <hallyn> oh right
[15:35] <hallyn> (thought you menat something related to libvirt version)
[15:36] <zul> hallyn: nope :)
[15:37] <hallyn> zul: cool.  do note i pushed a libvirt to raring yesterday, trivial but please don't lose that debdiff :)
[15:38] <hallyn> zul: shall i try to reproduce the nbd bug?
[15:38] <hallyn> i've got to change locales, but will try when i'm settled
[15:39] <zul> hallyn: not yet i think openstack might something stupid so ill let you know when i get stuck
[15:39] <hallyn> ok
[15:39] <hallyn> i've gotta follow up on some tests about /dev/kvm+udev
[15:40] <hallyn> but, if you want me to run a qa-regression-test today lemme know.  (i'll be out tomorrow)
[15:40] <hallyn> biab
[15:44] <zul> hallyn:  ack
[15:51] <Demosthenex> so i'm relocating my root filesystem to a new drive. I've already got the copy in place, but each time i reboot it goes to the old one. I've manually updated /etc/fstab and /boot/grub/grub.cfg, and the grub menu at boot uses root=new so... where am i missing the reference to the old?
[15:55] <freakynl> Just installed ubuntu 12.10 server. The installer is fine, 12.10 desktop live (running from cd is fine), the just installed 12.10 server however goes black after grub
[15:56] <freakynl> adding nomodeset in grub doesn't make a difference, it's a matrox vga card. Any ideas?
[16:10] <freakynl> hmm it's initramfs
[16:15] <jamespage> adam_g, nova and glance copied to proposed for the folsom CA
[16:15] <jamespage> adam_g, do you want todo a test run prior to -updates?
[16:38] <dragonious>  ok guys I was in here earlier and I think I was asking the wrong questions
[16:40] <dragonious> I want to host websites from my ubuntu server but I want to make sure that as I add users that they can not get into root or modify other usres data. How would I go about doing that is there an app or software that would do this ? I also have Kubuntu desktop installed . thank you in advance for any assistance
[16:40] <qhartman> dragonious, there are a lot of different ways to do this
[16:41] <dragonious> qhartman: Im looking for the eisiest way to do this as I am very new to linux/ubuntu
[16:41] <dragonious> qhartman: although im not afraid to learn ;)
[16:41] <qhartman> dragonious, one of the simplest ways is to set the user's home directory to be the webroot of their site, and then make it so that all the user's home directories are set so only the user has access
[16:42] <qhartman> dragonious, something like mode 0700 on them would do the trick
[16:42] <dragonious> qhartman: could you explain further pls
[16:42] <qhartman> dragonious, what web server are you using?
[16:43] <dragonious> qhartman: ubuntu server 12.04 ls
[16:43] <dragonious> qhartman: I have Kubuntu desktop installed as well
[16:43] <qhartman> dragonious, That's the distro on the server itself, but what web server program? Apache2? nginx?
[16:44] <dragonious> qhartman: sorry it is a Lamp environment
[16:44] <qhartman> dragonious, ok, then you are using apache2
[16:44] <qhartman> That's the "a" in lamp
[16:44] <dragonious> qhartman: I will be using ssh to give users sftp access
[16:44] <qhartman> good
[16:45] <qhartman> I don't have time to give you more direct help right now, but googling around for "multi user apache web hosting config" and similar things will probably get you what you need.
[16:45] <dragonious> qhartman: I think you may have helpped me more then you realize thank you ! :)
[16:46] <qhartman> sure thing, I was hoping I could just point you down the right road
[16:46] <qhartman> also, this will be useful: http://httpd.apache.org/docs/2.2/howto/public_html.html
[16:48] <dragonious> qhartman: thanks again will look that stuff up. Might be back :)
[16:48] <qhartman> You may end up not wanting to use that setup, but it's a good starting point, and it will be conceptually important to understand what's going on there for what you are doing.
[17:16] <freakynl> qhartman: didn't read the whole thing, but 700 on your web directory will make apache unable to access it, unless you run mod_ruid2 or mpm-itk so the vhost runs as the user (or some really fancy reverse proxy thing with a shitload of of webservers on different ports (at least 1 for every vhost)
[17:19] <qhartman> freakynl, true
[17:19]  * qhartman didn't account for that
[18:14] <Demosthenex> so i've got a system with encrypted lvm for root, and an unencrypted /boot. i've run update-grub2 and update-initramfs and now booting just hangs
[18:15] <Demosthenex> wow, it appears my crypttab is not in the initramfs (i'm at busybox)
[18:15] <Demosthenex> wtf.
[18:30] <paco1> hello masters!
[18:30] <paco1> i have a warning message in my log > snmpd: error on subcontainer 'ia_addr' insert (-1)
[18:30] <paco1> what does it mean?
[18:30] <paco1> thanks!
[18:35] <chriys> paco1 give more info on your system
[18:37] <paco1> ubuntu-server 12.04 | 3.2.0-35-generic | 8Go ram | it's the host for VM by kvm
[18:46] <chriys> paco1: i'm not expert on KVM but this what i found on google hope it might http://www.novell.com/support/kb/doc.php?id=7005030   help http://sourceforge.net/p/net-snmp/bugs/1807/
[18:47] <paco1> chriys: ok, thanks. The second one already i read. But the first one not yet.
[18:48] <chriys> your are welcone :)
[18:48] <chriys> welcome*
[19:11] <chriys> how to verify opened port on my network and the one that my ISP blocked ?
[19:12] <Demosthenex> so after running update-initramfs i am no longer prompted for password (cryptsetup), and manually setting up raid, crypto, then lvm, it stays hung when i exit busybox.
[19:12] <sweettea> Hi guys, long time centos user here. Pondering migration to ubuntu server. Can anyone advise on 12.04 vs 12.10?
[19:12] <sweettea> The primary use will be as a virtd host on amd abu dhabi procs
[19:19] <mysteriousdarren> sweettea: i'm running 12.10, I also run 12.04 LTS on a server that needs that stability. What are you looking for?
[19:22] <sweettea> mysteriousdarren: I really want to do live archive of running virtd guests
[19:22] <sweettea> dont know if thats even possible
[19:23] <sweettea> 12.10 is unstable? I was leaning towards using it
[19:23] <Demosthenex> sweettea: i think he means the long term patchign support
[19:23] <sweettea> ah
[19:24] <mysteriousdarren> yes I mean that, thanks Demosthenex
[19:26] <sweettea> I feel like I am picking blind, and would like to educate myself more :)
[19:26] <mysteriousdarren> chriys: https://www.grc.com/x/ne.dll?bh0bkyd2
[19:26] <sweettea> ive used ubuntu on my laptop for years but never really administered much on it
[19:27] <mysteriousdarren> just install webmin or something similar and it will work well. Or without a gui works too
[19:30] <chriys> mysteriousdarren: i didn't well understood
[19:30] <Demosthenex> so the initramfs isn't even trying to decrypt. i've unpacked the initramfs cpio archive and crypttab isn't even copied onto it, though several of the crypt scripts are
[19:33] <chriys> CTCP: mysteriousdarren: you lost me
[19:33] <mysteriousdarren> chriys: were you not trying to test a port?
[19:34] <chriys> i was try to
[19:35] <chriys> mysteriousdarren: but i didn't understood the link you provided me, i just need little explanation
[19:37] <dragonious> ok guys I could use a lil input here
[19:37] <mysteriousdarren> oh shields up scans ports and does other things on checking for security
[19:37] <mysteriousdarren> dragonious: with what? explain your problem please
[19:38] <dragonious> I have added a user via kuser, I then set his home directory to his main sie folder inside /var/www/"hisfolder"
[19:38] <chriys> ok thanks mysteriousdarren
[19:38] <dragonious> but when I log in through sftp to see if he can get at any other folders it apears as if the whole server is open to him ?
[19:39] <dragonious> the new user is only a member of his group which was created upon creating the user
[19:40] <dragonious> I want to "lock" him into his own site folder so he can not get at any other folders
[19:40] <sarnold> dragonious: if your directory permissions are world read and execute, he can traverse them.
[19:41] <dragonious> but can he "break" my server by doing so ?
[19:41] <sarnold> dragonious: if you want to further confine your user, you'll need to use a tool such as apparmor
[19:41] <dragonious> sarnold: can you elaborate for me?
[19:41] <sarnold> dragonious: depends; if you've granted more read access than you should have, he might read secrets that allow him to do more dangerous things. if you've granted write accesses more than you should have, he might be able to do things more directly...
[19:42] <sarnold> the standard unix permissions are a bit difficult to have widely-different levels of trusted usrs on a machine...
[19:42] <dragonious> sarnold: Im very new to this server , and ubuntu so bear with me please
[19:43] <sarnold> dragonious: apparmor allows you to apply permissions on a per-program basis. you could either give this user a unique login shell and confine that shell, or you could use the full-blown apparmor PAM support: http://wiki.apparmor.net/index.php/Pam_apparmor_example
[19:44] <dragonious> sarnold: I want the user to be able to work in just one folder, so say hes building a joomla site it works but he can get out side of the folder I assign him to , also I gave the user no shell abilities
[19:46] <dragonious> sarnold: apparmor sounds like it will lock down the progams he will need for say Joomla! builds
[19:48] <sarnold> dragonious: you can either allow those to execute unconfined (alright, if you trust this guy), confine them themselves (good if you don't trust the joomla programs to execute "sanely" in the face of adversity), or allow him to run them while still confined ("inherit" his permissions -- probably the best fit for what it sounds like you want)
[19:50] <chriys> mysteriousdarren: the port 993 doesn't even appear in the test but the 143 is closed even if i opened it on my router
[19:51] <chriys> and what does mean stealth in the result test from grc.com
[19:53] <escott> http://serverfault.com/questions/18324/stealthed-vs-closed-port
[19:54] <dragonious> sarnold: sorry I step away for a sec inherit sounds like what I want
[19:55] <dragonious> sarnold: I know the guy ,and know him to be a tinkerer, he will get into it and break it lol :)
[19:55] <sarnold> hehe
[19:56] <jrib> dragonious: you can just use the chroot feature in sshd_config
[19:57] <dragonious> sarnold: also as this is a "server" tower and not just a old bow runing a server os I may try to offer small scale hosting to some of my cutomers if I can figure out how to keep them out of things they dont need to see ;)
[19:59] <dragonious> jrib: I printed out some info on chroot, but didnt fully understand it, not realy good with all the sytax as I am a newb to ubuntu server
[19:59] <sarnold> dragonious: indeed :) one apparmor contributor has a few thousand customers, with their separation enforced by apparmor :)
[20:00] <dragonious> sarnold: is apparmor used via a gui or through shell
[20:00] <sarnold> dragonious: shell
[20:01] <dragonious> sarnold: terminal may be the right word sorry my newbness is shining through
[20:02] <jrib> dragonious: you just specify the directory with ChrootDirectory and you can restrict the line to affect only one user
[20:02] <sarnold> dragonious: hehe :) there's not much point quibbling over the little bits like shell vs terminal in this case -- the tools aren't gui. :) (SUSE ships a GUI front-end to the tools, but I'm not confident (a) that it works :) (b) that it actually improves the tools. :( )
[20:03] <dragonious> jrib: so if the directory is /var/www/dr I would use what string of text chroot it correctly?
[20:04] <jrib> dragonious: something like: Match user USERNAME_HERE; ChrootDirectory /var/www/dr    (where USERNAME_HERE is replaced by the actual username and ';' denotes a newline)
[20:05] <jrib> dragonious: you can add ForceCommand  internal-ftp too.
[20:06] <dragonious> jrib:  ty I will try that and get back to you in a sec
[20:06] <dragonious> jrib: im using sftp through ssh
[20:06] <jrib> dragonious: yeah, it should read "internal-sftp"; this keyboard sucks
[20:07] <escott> dragonious, sftp chroot is easy. see the minstrel.org isntructions
[20:07] <escott> dragonious, http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CDUQFjAA&url=http%3A%2F%2Fwww.minstrel.org.uk%2Fpapers%2Fsftp%2F&ei=fH0JUeK-FuqDyAHyhYDADg&usg=AFQjCNHxH7TmMoSAcc0RUb5kb0PBfK9pVw&sig2=aOpCLO9NLKFjG-8SVu_wOQ&bvm=bv.41642243,d.aWc
[20:07] <jrib> dragonious: there is one caveat though.  The chroot directory needs to be owned by root
[20:10] <dragonious> escott: ty for that link I will look it over jrib ty for all your help as well, you to sarnold. It is appreciated. You may see back again in a bit lol
[20:21] <Demosthenex> ok, just because i ended up frothing at the mouth, perhaps this irc channel has a history, here it is for posterity.
[20:23] <Demosthenex> if you boot to repair your ENCRYPTED root, and you end up manually running cryptsetup, whatever crypt device name you specify to luksOpen MUST match the encrypted device name in /etc/crypttab, or else when update-initramfs runs it will omit crypto support because it couldn't isolate that the boot device requires it.
[21:38] <dragonious> escott: I followed that walkthrough you linked and now I cannot connect through ssh at all :(
[21:39] <dragonious> escott: I followed all the steps, all my settings apear correct to me, Im not sure what to do at this point
[21:47] <hallyn> jdstrand: does http://paste.ubuntu.com/1590858/ as a qa-regression-testing/scripts/test-libvirt.py l ook at all familiar to you?
[21:47] <hallyn> my guess would be virtinst needs to be linked against a new library...
[21:47] <hallyn> was hoping you'd recognize it offhand :)
[21:58] <jdstrand> hallyn: eek, no. I wonder if virstinst needs to be updated to work with the new libvirt? (wild guess)
[21:58] <jdstrand> hallyn: it possible mdeslaur has seen something like this ^
[21:59] <mdeslaur> nope, haven,t seen that before
[22:00] <hallyn> jdstrand: mdeslaur: ok, thanks.  I"ll look deeper into it.
[22:00] <mdeslaur> and I just ran test-libvirt yesterday
[22:04] <hallyn> mdeslaur: this is happening with zul's proposed libvirt 1.0.2
[22:04] <hallyn> which does move virGetLastError to a new source file
[22:07] <mdeslaur> hrm, not sure what needs to be done without investigating
[22:10] <hallyn> mdeslaur: yup, np, i'll look int oit
[22:42] <dragonious> ok guys im back lol
[22:45] <dragonious> I found my problem with Chroot and now am able to login to the server via sftp and have the user "locked" into the folder I want them in . Now I have a different problem, I need the user to be able to write and modify any files or folders within  his  Chrooted folder.
[22:46] <dragonious> How are host companies able to do this ? does anyone know
[23:16] <Linuks83> dragonious, ?? chmod -R #### /path ??
[23:16] <Linuks83> peace