[00:08] <kees> hazmat: us-west-1
[00:09] <hazmat> kees, thanks
[00:10] <kees> np
[00:32] <airtonix> sigh, i had this problem long ago enough (and on such an iregular basis) that i forgot how to deal with it, but : https://forums.aws.amazon.com/message.jspa?messageID=257984
[00:34] <airtonix> SSH_AUTH_SOCK= <normal ssh connection command here>
[00:54] <zul> SpamapS: fyi https://lists.launchpad.net/openstack/msg06033.html
[00:59] <SpamapS> zul: yeah very cool. :)
[00:59] <SpamapS> zul: but does it blend?
[00:59] <zul> SpamapS: no it dices
[01:20] <airtonix> http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ seems to be missing
[01:22] <airtonix> i'm having a hard time searching google for a list of ec2 hosted offical ubuntu repos
[01:27] <airtonix> nvm it's up again
[02:52] <airtonix> um...wut? my keystrokes are suddenly being typed as japanese characters on my remote server terminal
[02:58] <airtonix> why would the character set suddenly change without any apparent reason?
[02:58] <airtonix> because now i can't configure anything
[03:07] <airtonix> sigh compiz
[03:16] <twb> Why would compiz be fiddling with input methods?
[08:03] <Jeeves_> kirkland: Someone is unhappy: http://deadmemes.net/2010/10/19/fear-and-loathing-in-debianubuntu-or-who-needs-etcmotd/
[08:07] <twb> Jeeves_: update-motd *was* a clusterfuck
[08:07] <twb> Jeeves_: it was rolled out in squeeze (or lenny?) DURING the freeze
[08:09] <twb> The author does seem to capture the feeling I get every time I deal with some new "feature" that has been introduced by Ubuntu
[08:10] <Jeeves_> :)
[08:10] <Jeeves_> Unfinished manpages
[08:10] <Jeeves_> Missing manpages
[08:11] <twb> A similar thing happens to me wrt. setting PATH correctly at login time
[08:11] <twb> For some reason when I log in from tramp, /sbin isn't in root's path
[08:11] <Jeeves_> Ubuntu seems to be focussing on dumb users too much
[08:11] <Jeeves_> THey don't need manpages
[08:12] <twb> Because some people might not log in with a sh shell, so PATH setting moved out of there to... somewhere.  Except pam_environment.so doesn't seem to be the culprit &c &c
[08:13] <twb> Or how they started with "gee desktops boot slowly" and ended up with "OK so now we have a whole new pid 1 and you need to rewrite all your init scripts in this new system where you can't even ask init to kill -9 your pid instead of -15'ing it, and HUP is assumed to DTRT, &c &c
[08:14]  * twb froths at mouth
[08:18] <twb> ``If you thought this was fun, here’s a cool project: figure out how a USB key gets mounted when it’s inserted and what program decides what options to pass to mount(8). Extra credit: change the default permissions used by all USB keys.''
[08:18] <twb> Oh my gods, I had to do that for hardy and lucid -- FOR FLOPPIES
[08:18] <twb> You would not believe how hard gnome makes that
[08:19]  * ersi shrugs
[08:19] <twb> Haha, looking at the source, the first line is
[08:19] <twb> apt-get install udisks=1.0.1-1build1 --force-yes # Avoid Ubuntu's "break floppy support" patch (1.0.1-1ubuntu1).
[08:20] <twb> (Prisons won't allow USB keys; you can't smuggle a floppy up your arse.)
[08:22] <twb> http://paste.debian.net/148690/ is the active ingredient
[08:23] <twb> You can't do the same trick as USB users do, because floppies (except LS120s) don't generate a udev event when they're inserted.
[08:51] <_Techie_> im having a problem with a compiled kernel module, whenever i load it, it outputs http://pastebin.com/HGctHeMC to the syslog
[08:52] <_Techie_> i have read that it may be caused by compiling against the incorrect kernel sources, is anybody able to verify this?
[09:09] <gappie> hi. I am runnnig a shell script on system startup using cron jobs, but the script stops running after 20 seconds. Why is it stopping?
[09:17] <koolhead11> hi all
[09:27] <lynxman> morning o/
[10:24] <_johnny> hi, i'm having some difficulties setting up iscsi. if i run -m discovery -p <ip>, it shows a record with the username and password (checked and rechecked, and reset, it *must* be correct)
[10:24] <_johnny> however, when adding -t sendtarget it can't login or auth
[10:24] <_johnny> let alone --login
[10:24] <koolhead11> Daviey: around?
[10:25] <_johnny> either for "discovery login to x.x.x.x rejected: initiator error (02/01)" (which should mean bad user/pw right?)
[10:25] <_johnny> or no record (although i can see a record printed out if i just do -m discovery -p <ip>
[10:25] <_johnny> any ideas as to what i might be doing wrong?
[10:31] <Randolph> hi all
[10:47] <koolhead11> zul: ping me once your around
[10:51] <lynxman> koolhead11: he's in the sprint with me :)
[10:51] <lynxman> koolhead11: (Daviey)
[10:52] <koolhead11> lynxman: dash has new home, just came to know via ttx https://github.com/openstack/horizon  all magic/updates happening here
[10:52] <lynxman> koolhead11: we know :)
[10:53] <koolhead11> lynxman: hehe. now i know why i was not able to see all the bug fixes as i was using 4P :(
[10:53] <koolhead11> cool!!
[10:56]  * koolhead11 just had a #facepalm moment
[14:27] <zul> if i could only spell
[14:41] <RoAkSoAx> smoser: did the change to LOCALBOOT -1 trick worked?
[14:42] <smoser> RoAkSoAx, don't knwo.
[14:42] <smoser> not tried. dont knwo what that is.
[14:42] <smoser> and can't spell, but at least its consistent.
[14:44] <esde> Hello, I have a question,  I'd like to setup a samba share on Ubuntu Server im using for a little test webserver on our intranet. It is Ubuntu 10.04 LTS, we have a Windows Server 2003 Domain setup. I would like to set up a samba share so that I can browse /var/www/ from my windows machine to make adding/editing files easier. Can anyone help with links, or possibly some assistance? Thanks in advance! :)
[14:45] <RoAkSoAx> smoser: the PXE booted machines swerent falling back to disk thingy... were there VM's?
[14:46] <RoAkSoAx> smoser: 17:07 < RoAkSoAx> smoser: if it is a VM, it might be becaus eof the recent change to the PXE file. so in  /var/lib/tftpboot/pxelinux.cfg/01-<mac-address> change KERNEL chain.c32 to LOCALBOOT -1
[14:47] <smoser> RoAkSoAx, real hardware.
[14:47] <RoAkSoAx> smoser: try that change and let me know
[14:48] <RoAkSoAx> smoser: though, is it latest cobbler  in precise?
[14:48] <smoser> oneiric.
[14:48] <smoser> i have to have something moderately stable to install other machines from!
[14:48] <smoser> :)
[14:49] <RoAkSoAx> smoser: heh, then its not that and have no idea what might be wrong
[14:49] <RoAkSoAx> maybe is better to try the KERNEL chain.c32
[14:49] <RoAkSoAx> and see if it works
[14:50] <RoAkSoAx> smoser: i've seen machines not being able to boot due to the "normal" way to tell it to fallback to disk when it PXE's
[14:50] <RoAkSoAx> smoser: the thing is this: 1. machines pxe boots and installs. 2. machine reboots. 3. machine pxeboots but pxe file tells it to boot from HD. 4. machine boots from HD.
[14:58] <ejv> i'm having some problems with my ubuntu box and apcupsd. "Error contacting apcupsd @ localhost:3551: Connection refused" Sometimes it works for the first few minutes of the server being on, then it stops responding. Suggestions?
[15:03] <zul> smoser: why am i getting "not a bootable disk" when trying to use the cloud images
[15:03] <smoser> how/what are you trying to boot?
[15:04] <smoser> RoAkSoAx, right. thats how it is supposed to work.
[15:04] <smoser> and that is (i thikn) how it worked in natty-ppa version of cobbler for me... but that system was far from clean.
[15:05] <zul> smoser: using nova on precise
[15:06] <smoser> RoAkSoAx, so this, right: http://paste.ubuntu.com/764976/
[15:06] <smoser> zul, can i see ?
[15:06] <smoser> what cloud-image did you try to boot ?
[15:06] <zul> oneiric
[15:06] <smoser> what
[15:06] <smoser> .tar.gz?
[15:06] <zul> smoser: yes
[15:07] <smoser> that is not a bootable disk
[15:07] <smoser> :)
[15:07] <zul> it isnt?
[15:07] <smoser> so it will complain "not a bootable disk"
[15:07] <smoser> you need a kernel for that.
[15:07] <smoser> but you can use the .img
[15:07] <smoser> and not deal with a kernel.
[15:07] <zul> ah ok
[15:07] <smoser> if you're on precise, use this:
[15:08] <smoser> cloud-publish-ubuntu --disk x86_64 oneiric my-bucket
[15:08] <smoser> and be happy
[15:08] <smoser> zul, how are you uploding to glance? with euca2ools ?
[15:09] <zul> smoser: yeah
[15:09] <smoser> so no keystone ?
[15:09] <smoser> or you have keystone?
[15:09] <tash> this is driving me crazy. I installed mysql-server on Ubuntu server 10.04.  ps auxf | grep mysql shows that the server isn't running, but when I /etc/init.d/mysql start it says "start: Job is already running: mysql" ... Furthermore, if I do mysql -u root -p and type the root pass I get: "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' " ... anyone got any tips?
[15:09] <smoser> ie, does that work ?
[15:09] <smoser> cause i want that to work.
[15:10] <zul> no keystone
[15:10] <RoAkSoAx> smoser: yeah, and you need to copy the chain.c32
[15:10] <smoser> where does it come from
[15:11] <zul> syslinux
[15:11] <RoAkSoAx> smoser: sudo cp /usr/lib/syslinux/chain.c32 /var/lib/tftpboot/
[15:11] <smoser> yep
[15:11] <smoser> gracias
[15:11] <RoAkSoAx> smoser: de nada
[15:12] <smoser> RoAkSoAx, so... as some small bit of information.
[15:13] <smoser> my crappy dell inspiron 531 desktop system works with the chain.c32 path, but not hte local -1
[15:13] <pmatulis> tash: does mysql use upstart on 10.04?
[15:13] <smoser> and i had probably found that before.
[15:14] <smoser> RoAkSoAx, how do i make that [semi]permenant
[15:15] <RoAkSoAx> smoser: apply the patch of precise's cobbler to oneiric package: 61_ubuntu_pxe_chainc32_default.patch
[15:17] <smoser> RoAkSoAx, ah. so in precise you've made this change.
[15:20] <tash> pmatulis: yes
[15:20] <tash> pmatulis: I tried 'start mysql' too
[15:20] <tash> # start mysql
[15:20] <tash> start: Job is already running: mysql
[15:20] <tash> ps auxf | grep mysql still returns nothing
[15:21] <raubvogel> tash, what if you netmap to find out who is using the mysql port?
[15:22] <RoAkSoAx> smoser: yes, this change has been made default in precise
[15:22] <tash> raubvogel: sorry, not familiar with netmap =\
[15:23] <raubvogel> Er, I meant netstat. I am a lousy typist ;)
[15:25] <raubvogel> netstat -apn | grep 3306
[15:25] <tash> raubvogel: nothing
[15:26] <tash> btw, this last time I did stop mysql I got 'mysql stop/waiting', then I did start mysql and it just sat there looking at me for 3-5 minutes, so I ctrl+c'd it
[15:26] <raubvogel> Anything on the logs?
[15:26] <tash> this is weird, b/c I set this up on another server, identical to this one. I should provide a little background that I left out ...
[15:28] <tash> I did apt-get install mysql-server.  Then, I created /data/mysql and copied 4 databases from another server to this location.  I did chown -R mysql.mysql /data/mysql ... then I cd /var/lib/ ... rm mysql ... ln -s /data/mysql mysql
[15:28] <tash> so, an ls -l on /var/lib | grep mysql shows something like this "mysql -> /data/mysql/"
[15:28] <tash> symlink to the datadir I created
[15:29] <tash> datdir in my.cnf = /var/lib/mysql
[15:29] <tash> but this is how I setup my other server, and I didn't have this problem that I can recall
[15:30] <pmatulis> tash: is this a fresh install of lucid?
[15:33] <tash> pmatulis: yes
[15:34] <pmatulis> tash: you installed lucid, then installed mysql-server, and it doesn't start?
[15:34] <tash> it appears so
[15:34] <tash> I could just remove it and try again I guess
[15:34] <pmatulis> tash: why 'appears' so?
[15:34] <pmatulis> tash: any other fiddling?
[15:34] <tash> b/c it isn't starting ... so a better answer from me would have been "yes"
[15:35] <robbiew> ttx: ping
[15:35] <tash> pmatulis: nope
[15:35] <tash> I've only installed it, php5, php5-mysql and copied some files from another server to this.
[15:35] <ttx> robbiew: pong
[15:35] <tash> I lied ... I fiddled with my.cnf to add slave configuration
[15:35] <pmatulis> tash: i'll be working with 10.04 later today and i'm going to test your claim
[15:35] <tash> but have since commented it out
[15:36] <tash> I did apt-get remove --purge mysql-server just now and am rebooting, I'll try to install again
[15:43] <tash> dang ... same thing. I rebooted after the remove and purge, then apt-get install mysql-server and then when I try to loging to cli I get that same socket error
[15:43] <tash> and a ps does not show it as running, wtf
[15:58] <tash> http://pastie.org/2991726
[15:58] <tash> so weird ... someone must have seen this before, no?  I'll go peruse google's search results I guess
[15:59] <pmatulis> tash: if mysqld is not running then don't bother trying to connect
[16:01] <tash> I can't seem to figure out why it won't start though ...
[16:01] <tash> nothing useful in logs
[16:01] <pmatulis> tash: maybe strace will help
[16:01] <tash> hmmm: http://ubuntuforums.org/showthread.php?t=1479310
[16:02] <tash> search for "There is a bug"
[16:02] <tash> if that is true it doesn't make sense ... no problems on my other server
[16:12] <edgy_> hallyn: hi, what's the status of spice support in kvm
[16:13] <hallyn> edgy: qemu-kvm-spice package in precise should work
[16:14] <edgy_> hallyn: I launched virt-manager and got Error starting domain: unsupported configuration: spicevmc not supported in this QEMU binary
[16:14] <hallyn> edgy_: right you need to use kvm-spice, not kvm.  I haven't looked at virt-manager and libvirt support
[16:15] <edgy_> hallyn: I also tried kvm-splice directly and faced a problem, let me try again
[16:16] <hallyn> ok
[16:16] <tash> pmatulis: I commented out bind-address in my.cnf and rebooted, and still nothing sighs
[16:17] <edgy_> hallyn: shall i launch the command like this: kvm-spice -vga qxl -spice port=5930,disable-ticketing precise.img?
[16:17] <hallyn> edgy_: yup
[16:18] <hallyn> then connect with spicec
[16:18] <hallyn> spice-gtk should work
[16:18] <hallyn> edgy_: feel free to open a bug about libvirt/virtmanager, btw, bc i do want to get htat working.  just haven't gotten to it
[16:19] <hallyn> (and not sure how it can work - need to figure out a way :)
[16:19] <edgy_> hallyn: i though virt-manager is using kvm instead of kvm-spice, why don't you only replace kvm with kvm-spice?
[16:20] <hallyn> edgy_: question is where, exactly?  qemu-kvm-spice is not in main (bc spice is not in main and not MIR-able).  libvirt is in main
[16:22] <edgy_> hallyn: I now launched kvm-spice and then followed by spicec -h localhost -p 5930
[16:22] <edgy_> hallyn: the problem is it's tooooooooooooooo slowwwwwwwwww
[16:23] <hallyn> hm - wonder if it got compiled without kvm support
[16:23] <edgy_> hallyn: the booting is very very slow and when I put my login info and logged to kde in precise the splash takes too much time to display the icons
[16:23] <edgy_> hallyn: and then it logs me off
[16:25] <PedroGomes> Hi, does anyone knows if I can in preseed define a user as sudoer? I have defined the creation of root and a normal user but the last as no root access
[16:25] <hallyn> edgy_: could you file a bug?  we switched the source package it came from, something mustve gone wrong
[16:25] <hallyn> (in the middle of breakfast with the kids, biab)
[16:27] <edgy_> hazmat: is there a log file or something you need me to attach to the bug?
[16:27] <edgy_> hallyn: ^
[16:28] <hallyn> edgy_: fraid not.  i'm pretty sure i'll be able to reproduce, just mention what the guest is, and the dpkg -l qemu-kvm-spice output
[16:29] <edgy_> hallyn: ok, by the way I am using precise for guest and host
[16:39] <pmatulis> tash: did you use strace yet?
[16:42] <edgy> hallyn: what's this qemu-linaro means?
[16:43] <hallyn> edgy: it's based on qemu.git, and generally builds all the emulators.  only kvm itself comes from qemu-kvm.
[16:44] <hallyn> edgy: it sits in universe, which is why it can link against spice, which qemu-kvm can't
[16:44] <hallyn> but the qemu-kvm-spice build is supposed to enable kvm
[16:44] <edgy> hallyn: and why spice is in universe not main?
[16:44] <hallyn> edgy: because it's dependencies have been refused for main
[16:45] <tash> pmatulis: no, sorry ... never used it, let me man it
[16:45] <hallyn> it picks some out-there image libraries which noone is maintaining which, frankly, i'd rather not maintain myself anyway, so i'm not too bothered by it
[16:46] <tash> pmatulis: how would you suggest I use it?
[16:48] <tash> pmatulis: interesting from syslog: http://pastie.org/2991954
[16:52] <edgy> hallyn: https://bugs.launchpad.net/ubuntu/+source/qemu-linaro/+bug/902237
[16:58] <kermit> how do i get spaces into a sysctl.conf value
[17:02] <hallyn> edgy: thx
[17:18] <JanC> hallyn: if by that image library you mean "libpixman", that seems to be in main already?
[17:39] <hallyn> JanC: cegui-mk2 xerces-c2 ois devil allegro4.2 dialog svgalib freeimage
[17:39] <hallyn> (dialog was already MIRd since i made that list, the rest not)
[17:42] <RoAkSoAx> rbasak: just uploaded the security fixes for cobbler, could you please subscribe 1 of the bug reports to ubuntu-security so its taken care of thorugh there?
[17:49] <RoAkSoAx> mdeslaur: ping. Hey I have a quick question. Do security updates now have to be uploaded to -proposed instead of -security?
[17:56] <mdeslaur> RoAkSoAx: no, security updates get uploaded to -security, unless it's something we're _really_ not sure about
[17:56] <mdeslaur> RoAkSoAx: are you talking about something specific?
[17:57] <RoAkSoAx> mdeslaur: I just sponsored an upload  (changelog is oneiric-security) and itrejected.. so I was wondering whether I should have uploaded to oneiric-proposed
[17:57] <RoAkSoAx> s/itrejected/it was rejected/
[17:58] <mdeslaur> RoAkSoAx: only the security team can handle security uploads
[17:58] <mdeslaur> RoAkSoAx: what bug #?
[18:00] <RoAkSoAx> mdeslaur: whole bunch of them really, but I uploaded the branch here: https://code.launchpad.net/~ubuntu-branches/ubuntu/oneiric/cobbler/oneiric-proposed
[18:00] <RoAkSoAx> the original one is: https://code.launchpad.net/~racb/ubuntu/oneiric/cobbler/security_201112
[18:01] <RoAkSoAx> though I think given the amount of patches, it would be best to get it to -proposed first
[18:02] <mdeslaur> RoAkSoAx: ok, so me or someone else on the security team needs to build it in the special security team PPA, and from there, we either QA it, or we can push it to -proposed if we're unsure
[18:02] <mdeslaur> RoAkSoAx: this is only for oneiric?
[18:03] <mdeslaur> RoAkSoAx: oh, hrm, there are security fixes mixed with regular fixes in there
[18:03] <mdeslaur> RoAkSoAx: so we have two options, we build the packages with only the security fixes, test them, and push them to -security, at which point the other bug fixes can be pushed to -proposed
[18:05] <mdeslaur> oh, wait a sec, I'm slightly confused
[18:06] <mdeslaur> RoAkSoAx: ok, so it's all security patches except for the trivial one that adds precise
[18:07] <tightwork> I am trying to install opennebula-sunstone and I get failure: http://dpaste.com/670890/ what is going on?
[18:07] <mdeslaur> RoAkSoAx: I'll build it in the public security ppa, and then we can decide if we QA and release or push to -proposed, is that ok?
[18:07] <RoAkSoAx> mdeslaur: that works for me
[18:07] <RoAkSoAx> mdeslaur: thanks :)!
[18:07] <mdeslaur> RoAkSoAx: I'll let you know once it's built
[18:07] <RoAkSoAx> mdeslaur: awesome! thanks!
[18:08] <mdeslaur> RoAkSoAx: you're welcome! Thanks for preparing it
[18:11] <tightwork> There seems to be a horrible problem with ruby, rails and the opennebula package
[18:15] <tightwork> meh, its only ruby who uses ruby anyway
[18:40] <zul> jdstrand: hey can you do a quick review of python-nosexcover for me?
[18:50]  * kees attempts to parse that package name
[18:50] <zul> kees: yeah...welcome to my life ;)
[18:51]  * ajmitch wasn't going to comment on that one, too easy...
[18:52] <ajmitch> so this is great, I have a php5 package that I can build in a PPA with a 12 hour queue, but not in pbuilder
[18:52] <kees> because nose-xmlcoverage is too long
[19:07] <mdeslaur> RoAkSoAx: actually, since there's already a version in -proposed, I'll wait until it gets released, and I'll build a security update on top of that
[19:12] <RoAkSoAx> mdeslaur: I bzr push that branch into -proposed, but haven't upload it yet. So should I just go ahead and make the upload to -proposed?
[19:13] <mdeslaur> RoAkSoAx: can't do that. security fixes need to go through -security, and -security needs to be built in a special way (without -updates)
[19:14] <mdeslaur> RoAkSoAx: revert your commit to -proposed, and wait until next week and I'll push the security fixes
[19:14] <RoAkSoAx> mdeslaur: cool, will do, thanks
[19:15] <mdeslaur> RoAkSoAx: security fixes are slightly complicated, because the -security pocket can be used by people without using the -updates pocket
[19:15] <mdeslaur> RoAkSoAx: so they need to be built in a special PPA that doesn't have -updates enabled to make sure the dependencies are calculated properly
[19:17] <RoAkSoAx> mdeslaur: understood :)
[19:35] <jdstrand> zul: I will give it a shot, it is possible it will be weekend/monday
[19:39] <RoAkSoAx> .win 2
[19:39] <zul> jdstrand: k thanks
[19:42] <tash> does anyone know how apparmor will allow mysql to start :(
[19:42] <tash> ec  9 13:37:59 cain kernel: [ 8321.348367] type=1503 audit(1323459479.937:1021):  operation="open" pid=20239 parent=1 profile="/usr/sbin/mysqld" requested_mask="rw::" denied_mask="rw::" fsuid=103 ouid=103 name="/data/mysql/ibdata1"
[19:43] <pmatulis> tash: what user is mysqld running as?
[19:43] <jdstrand> tash: you need to add /data/mysql/ to your profile
[19:44] <zul> Daviey: so i played a bit with setting the nova user to /bin/false but it caused a bit of havor
[19:44] <zul> havoc even
[19:44] <jdstrand> tash: eg, in /etc/apparmor.d/usr.bin.mysqld add:
[19:44] <jdstrand> /data/mysql/ r,
[19:45] <jdstrand> /data/mysql/** rwk,
[19:45] <jdstrand> tash: then do appamor_parser -r /etc/apparmor.d/usr.bin.mysqld
[19:48] <Daviey> zul: what happend?
[19:48] <zul> Daviey: permissions when changing files when creating the instance got all cockeyed
[19:49] <zul> glance has been switched over though
[19:50] <Daviey> zul: interesting..
[20:00] <stgraber> hallyn: starting to poke at mountall/lxcguest, hopefully can get that deprecate that part of lxcguest next week, then we can focus on finding a new home for lxc-is-container and the console stuff
[20:01] <stgraber> hallyn: that + shutdown/reboot patch and we should be good for 12.04 as far as lxcguest is concerned
[20:01] <hallyn> stgraber: cool - I'm fixing up the cgroup stuff right now
[20:02] <stgraber> hallyn: what part of the cgroup stuff are you fixing? :) nesting?
[20:02] <hallyn> yes, nesting, as well as moving a dead cgroup dir out of the way
[20:02] <stgraber> cool
[20:02] <hallyn> and putting lxc cgroups under /lxc while i'm at it
[20:03] <stgraber> cool, my cgroup filesystem will be less of a mess then :)
[20:06] <Zanzacar> I have a hdd mounted at /home and I was thinking about upgrading it at some point. From the best of my knowledge all I would need to do is cp /home to the new hdd and reboot is that correct?
[20:06] <SpamapS> Zanzacar: no
[20:06] <SpamapS> Zanzacar: you'd also want to change /etc/fstab to mount the new hard drive as /home
[20:07] <SpamapS> Zanzacar: and you're better off using rsync -a /home/ /mnt/new-home/ .. it will make sure all dates and file perms are exactly the same.
[20:08] <Zanzacar> ok that sounds good.
[20:08] <Zanzacar> I thought that it was going to be a nightmare but this seems like it will be pretty easy
[20:09] <Zanzacar> I just need to wait till I find a hdd that is larger then the one I have.
[20:09] <SpamapS> Zanzacar: the tricky part is that you will want to extract the UUID of the new filesystem..
[20:09] <SpamapS> Zanzacar: blkid /dev/xxxx
[20:10] <kpettit> Can anybody recommend a good helpdesk/troubleticket app?  I've seen a bunch but haven't found one that's opensource that isn't clunky yet.
[20:11] <jmedina> otrs
[20:11] <jmedina> it is in the repos
[20:12] <jmedina> it even has plugin for ITSM
[20:12] <kpettit> I was just looking at otrs.   I hadn't used it before and don't have any other perl apps so was still looking.  Do you like that one?  Easy to use?
[20:12] <Zanzacar> SpamapS: thanks for the input I might be back in a few months for further input.
[20:13] <jmedina> kpettit: let me search a good otrs presentation
[20:14] <kpettit> thanks.  if you were to install it would you use the deb package or install from source.  Looks like the one on the website is alot newer
[20:18] <jmedina> you can try with apt and test it, then you can trye the most recent version and trye its new features, it is in active development
[20:18] <kpettit> will do.  thanks for the suggestion.
[20:19] <jmedina> ohh they have a android app :)
[20:20] <hallyn> stgraber:  cat /proc/self/cgroup:  9:perf_event:/lxc/o1/lxc/o2
[20:21]  * hallyn ships it off to the m-l
[20:28] <stgraber> hallyn: nice!
[20:30] <esde> Hello, I have a question,  I'd like to setup a samba share on Ubuntu Server im using for a little test webserver on our intranet. It is Ubuntu 10.04 LTS, we have a Windows Server 2003 Domain setup. I would like to set up a samba share so that I can browse /var/www/ from my windows machine to make adding/editing files easier. Can anyone help with links, or possibly some assistance? Thanks in advance! :)
[20:39] <Tachyony> nano /ets/samba/smb.conf
[20:44] <smoser> RoAkSoAx, can i set orchestra to use a different proxy ?
[20:51] <RoAkSoAx> smoser: yes
[20:52] <RoAkSoAx> smoser: sudo vim /var/lib/cobbler/snippets/orchestra_proxy
[20:52] <smoser> k. i'm going to want to configure that in a apt-upgrade safe way
[20:53] <RoAkSoAx> smoser: you mean the clients?
[20:53] <RoAkSoAx> smoser: the server does not use the proxy
[20:53] <RoAkSoAx> as the server is the proxy
[20:53] <RoAkSoAx> only the clients use it
[20:54] <smoser> no i mean the server.
[20:54] <smoser> the server broadcasts itself as the proxy
[20:55] <RoAkSoAx> smoser: well he doesn't really broadcast himself, but yes, he tells the client's APT that he is the proxy, and upon instcallation, that gets recorded in /etc/apt/apt.conf
[20:55] <smoser> yes.
[20:55] <smoser> i was calling that broadcast. as essentially all installed nodes go to him.
[20:55] <smoser> but yeah.
[20:56] <RoAkSoAx> smoser: :) sometimes I'm pretty literal with english if you know what I mean
[20:56] <RoAkSoAx> smoser: i guess that the idea would be to have a config interface where we could configure who is the proxy, who is the logging server, etc etc in case its not the same as the provisioning server
[20:58] <smoser> i think its not unreasonable that osmeone might want a different proxy
[20:58] <smoser> and not want an apt-get upgrade to wipe away that choice
[20:58] <smoser> the case i'm looking at right now was the cobber-devenv
[20:59] <smoser> i have a proxy elsewhere on my network, and didn't want the cobbler guest vm to be caching stuff itself.
[20:59] <RoAkSoAx> smoser: right, but yes I do agree that eventually we would need to provide the server with those options. Whether its within cobbler or outside, dunno yet
[21:12] <hallyn> stgraber: I *had* planned to stick that patch into the package now, but now I'm thinking I'll wait for it to percolate through a new release.  Lemme know what you think. (re nested cgroups)
[21:17] <stgraber> hallyn: I'm fine with waiting as long as we get a new LXC upstream release with it before the sprint
[21:33] <stgraber> hallyn: removing lxcmount.conf really gives weird results, apparently doing so the container somehow manages to access to the outside /dev/console or /dev/tty
[21:34] <stgraber> hallyn: looking at /proc/mounts in both cases, the only difference that may explain this is the addition of devtmpfs on /dev
[21:35] <stgraber> http://paste.ubuntu.com/765336
[21:38] <hallyn> stgraber: ah yes, devtmpfs.  if the container access devices through that it'll get the host's.  This is where we really need a devices namespace :)
[21:39] <hallyn> i think smoser has been bitten by that before, and i've been expecting it to hit us
[21:40] <stgraber> right, so the fix we need in mountall is not to mount devtmpfs in a container?
[21:40] <smoser> thats really not a fix.
[21:40] <stgraber> smoser: the problem I'm trying to fix here is the need for lxcguest, so that'd be a fix for my problem
[21:41] <stgraber> the right magical fix is the device namespace
[21:41] <smoser> what's wrong with lxcguest ?
[21:41] <smoser> i agree its not the right fix either.
[21:41] <smoser> but simply not mounting devtmpfs is just asking for someone to mount it later (which lxcguest doesn't help with either)
[21:41] <stgraber> smoser: one of the goals for 12.04 is to be able to take a regular Ubuntu system and run it without any change in a container
[21:42] <smoser> good luck sirk
[21:42] <smoser> sir
[21:43] <stgraber> well, at this point, I have a working Ubuntu system in a container if I rsync a root filesystem and add lxcmount.conf to it, so we're definitely not far
[21:44] <hallyn> Let's officially put devices namespace on the map for 14.04 :)
[21:44] <stgraber> we don't pretend LXC is root safe at this point, so sure, someone can mount devtmpfs and break the console on their host, I just don't want it to do that by default :)
[21:44] <stgraber> though that'd be a good thing to add to our list of stuff to enforce with apparmor for now :)
[21:50] <pdtpatrick1> Question .. what's the equivalent of yum install --disablerepo=* ---enablerepo=<reponame>
[21:50] <hallyn> stgraber: isn't that covered by mount restrictions?
[21:51] <stgraber> hallyn: well, that particular restriction will be to make sure nothing is mounted there, but yeah, probably :)
[21:51] <pdtpatrick1> i've seen apt-get -t .. but thats not what i'm looking for. That seems to be for the os name itself.
[21:51] <stgraber> hallyn: also, apparently if add an entry for /dev in the container's fstab (outside of the container), then mountall doesn't try to mount /dev
[21:52] <stgraber> hallyn: so we may be able to do what we want without having to touch mountall
[21:52] <hallyn> jjohansen: will the apparmor mount restricitons be able to say "cannot mount devtmpfs at all" ?
[21:52] <hallyn> stgraber:  i wonder how that works.  does mountall just not remount anything that's already mounted?
[21:52] <jjohansen> hallyn: you will be able to specify device type so yes
[21:52] <hallyn> jjohansen: and "nowhere" will be an option?
[21:53] <stgraber> hallyn: I guess so, I'm getting a "mountall: Event failed" at boot time though, will see if I can make that one go away :)
[21:53] <stgraber> hallyn: everything else got mounted though (debugfs, securityfs, ...) so it seems to have done its work
[21:53] <jjohansen> hallyn: hrmm, it could be, I hadn't actually thought about that one
[21:55] <smoser> RoAkSoAx, i'm not sure of this, but i *think* that import-isos will block exit of apt
[21:55] <smoser> on orchestra install even though its done in the background. due to its stdin and/or stdout being still open.
[22:11]  * hallyn going outside to enjoy the tail end of a nice day - bbl
[22:18] <RoAkSoAx> smoser: i've never actually run into the problem, but yeah on installation it now has a question on whether you want import-isos to run or not
[22:18] <RoAkSoAx> smoser: which I was thinking it might be best to default it to False
[22:19] <RoAkSoAx> so that in upgrades it doesn't import again
[22:19] <RoAkSoAx> (or update)
[22:23] <smoser> RoAkSoAx, right. i answered "yes" (actually by mistake)
[22:23] <smoser> the rest of the installation proceeded , but then i seemed to be hung
[22:23] <smoser> i started killing 'wget' processes and eventually orchestra-import-isos
[22:24] <smoser> and immediately upon killing that, apt exited.
[22:24] <smoser> stgraber, since you're interested in fun lxc work...
[22:25] <smoser> i'd love it if you could make a cloud image .img file boot.
[22:25] <smoser> (its a partitioned disk)
[22:25] <smoser> ie, even support for very simple read disk partition table, get first disk, mount it, lxc-container that
[22:25] <RoAkSoAx> smoser: uhmmm i've personally never actually seen any issue. But yes, I do agree that having orchestra-import-isos running on install when someone doesn't want it, might be a PITA
[22:25] <utlemming> smoser: how important is that?
[22:25] <utlemming> smoser: I have proto-typed that
[22:26] <utlemming> smoser: with live-build
[22:26] <RoAkSoAx> smoser: but i guess that orchestra-import-isos is just pulling all the bandwidth
[22:26] <stgraber> smoser: running kpartx and then using the /dev/mapper entry as rootfs should work (once we get rid of lxcguest, that's)
[22:27] <smoser> RoAkSoAx, thats not the pro blem i'm saying.
[22:27] <smoser> i'm saying if they did say "yes" (even on intention)
[22:27] <smoser> you background the run, with the intent of not blocking
[22:27] <smoser> but you still block.
[22:27] <smoser> utlemming, i'm not sure i follow... what do you mean?
[22:28] <smoser> stgraber, well the images have lxcguest, so thats not an issue with me.
[22:28] <smoser> and yes, i could use kpartx to do this..
[22:28] <utlemming> smoser: making boot-able cloud image files....but I thought that they do boot
[22:28] <RoAkSoAx> smoser: oh you mean it doesn't really run in the background blocking apt from continueing the instllation process of other stuff?
[22:28] <utlemming> at least the QCOW2 are bootable
[22:28] <smoser> but for me... i'd rather it all go through libvirt and me not have to "officially" be root to do it.
[22:29] <smoser> the partitio nimags should boot, given a kernel, but there is no place for a boot loader.
[22:29] <smoser> RoAkSoAx, it *does* run in the background.
[22:29] <smoser> but since it has a handle on apt's stdin or stdout, apt will not exit until its the filehandle closes.
[22:30] <RoAkSoAx> smoser: right, I know understood you
[22:30] <RoAkSoAx> smoser: any ideas on how to fix that?
[22:30] <smoser> cobbler-import-isos </dev/null >/dev/null 2>&1 &
[22:30] <smoser> sdoens't have to be devnull
[22:30] <smoser> but you close all its filehandles
[22:31] <RoAkSoAx> smoser: cool, gonna try that, since orchestra-import-isos is actually being run by run-one
[22:31] <smoser> yeah, just close stdin out and error to it.
[22:32] <smoser> utlemming, maybe i misunderstood you.
[22:32] <RoAkSoAx> cool thanks
[22:32] <smoser> and the partition images are pretty usable in lxc
[22:32] <smoser> but my hope was to find a way to allow the user to run cloud-init on one of those to do further customization within lxc (rather than kvm)
[22:32] <smoser> and then, also with a disk image.
[22:33] <utlemming> I'm thinking maybe I misunderstood you, actually.
[22:33] <smoser> yeah.
[22:33] <smoser> utlemming, i have to run...
[22:33] <smoser> i will look at your MP monday
[22:34] <utlemming> k
[22:34] <smoser> utlemming, for more explanation... though..
[22:34] <smoser> https://help.ubuntu.com/community/UEC/Images#Ubuntu_Cloud_Guest_images_on_Local_Hypervisor_Natty_onward
[22:34] <smoser> i like that we can customize cloud images via just passing them data.
[22:34] <smoser> and i'd like to make that a much more usable path.
[22:35] <smoser> and i thought if you could do that with lxc instead of kvm, it would at happen faster.
[22:35] <utlemming> yeah, that would be nice