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

keeshazmat: us-west-100:08
hazmatkees, thanks00:09
keesnp00:10
airtonixsigh, 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=25798400:32
airtonixSSH_AUTH_SOCK= <normal ssh connection command here>00:34
zulSpamapS: fyi https://lists.launchpad.net/openstack/msg06033.html00:54
SpamapSzul: yeah very cool. :)00:59
SpamapSzul: but does it blend?00:59
zulSpamapS: no it dices00:59
airtonixhttp://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ seems to be missing01:20
airtonixi'm having a hard time searching google for a list of ec2 hosted offical ubuntu repos01:22
airtonixnvm it's up again01:27
=== lifeless_ is now known as lifeless
airtonixum...wut? my keystrokes are suddenly being typed as japanese characters on my remote server terminal02:52
airtonixwhy would the character set suddenly change without any apparent reason?02:58
airtonixbecause now i can't configure anything02:58
airtonixsigh compiz03:07
twbWhy would compiz be fiddling with input methods?03:16
=== himcesjf1 is now known as himcesjf
Jeeves_kirkland: Someone is unhappy: http://deadmemes.net/2010/10/19/fear-and-loathing-in-debianubuntu-or-who-needs-etcmotd/08:03
twbJeeves_: update-motd *was* a clusterfuck08:07
twbJeeves_: it was rolled out in squeeze (or lenny?) DURING the freeze08:07
twbThe author does seem to capture the feeling I get every time I deal with some new "feature" that has been introduced by Ubuntu08:09
Jeeves_:)08:10
Jeeves_Unfinished manpages08:10
Jeeves_Missing manpages08:10
twbA similar thing happens to me wrt. setting PATH correctly at login time08:11
twbFor some reason when I log in from tramp, /sbin isn't in root's path08:11
Jeeves_Ubuntu seems to be focussing on dumb users too much08:11
Jeeves_THey don't need manpages08:11
twbBecause 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 &c08:12
twbOr 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 &c08:13
* twb froths at mouth08:14
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
twbOh my gods, I had to do that for hardy and lucid -- FOR FLOPPIES08:18
twbYou would not believe how hard gnome makes that08:18
* ersi shrugs08:19
twbHaha, looking at the source, the first line is08:19
twbapt-get install udisks=1.0.1-1build1 --force-yes # Avoid Ubuntu's "break floppy support" patch (1.0.1-1ubuntu1).08:19
twb(Prisons won't allow USB keys; you can't smuggle a floppy up your arse.)08:20
twbhttp://paste.debian.net/148690/ is the active ingredient08:22
twbYou 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:23
_Techie_im having a problem with a compiled kernel module, whenever i load it, it outputs http://pastebin.com/HGctHeMC to the syslog08:51
_Techie_i have read that it may be caused by compiling against the incorrect kernel sources, is anybody able to verify this?08:52
=== TeTeT_ is now known as TeTeT
gappiehi. 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:09
koolhead11hi all09:17
lynxmanmorning o/09:27
_johnnyhi, 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
_johnnyhowever, when adding -t sendtarget it can't login or auth10:24
_johnnylet alone --login10:24
koolhead11Daviey: around?10:24
_johnnyeither for "discovery login to x.x.x.x rejected: initiator error (02/01)" (which should mean bad user/pw right?)10:25
_johnnyor no record (although i can see a record printed out if i just do -m discovery -p <ip>10:25
_johnnyany ideas as to what i might be doing wrong?10:25
Randolphhi all10:31
koolhead11zul: ping me once your around10:47
lynxmankoolhead11: he's in the sprint with me :)10:51
lynxmankoolhead11: (Daviey)10:51
koolhead11lynxman: dash has new home, just came to know via ttx https://github.com/openstack/horizon  all magic/updates happening here10:52
lynxmankoolhead11: we know :)10:52
koolhead11lynxman: hehe. now i know why i was not able to see all the bug fixes as i was using 4P :(10:53
koolhead11cool!!10:53
* koolhead11 just had a #facepalm moment10:56
zulif i could only spell14:27
RoAkSoAxsmoser: did the change to LOCALBOOT -1 trick worked?14:41
smoserRoAkSoAx, don't knwo.14:42
smosernot tried. dont knwo what that is.14:42
smoserand can't spell, but at least its consistent.14:42
esdeHello, 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:44
RoAkSoAxsmoser: the PXE booted machines swerent falling back to disk thingy... were there VM's?14:45
RoAkSoAxsmoser: 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 -114:46
smoserRoAkSoAx, real hardware.14:47
RoAkSoAxsmoser: try that change and let me know14:47
RoAkSoAxsmoser: though, is it latest cobbler  in precise?14:48
smoseroneiric.14:48
smoseri have to have something moderately stable to install other machines from!14:48
smoser:)14:48
RoAkSoAxsmoser: heh, then its not that and have no idea what might be wrong14:49
RoAkSoAxmaybe is better to try the KERNEL chain.c3214:49
RoAkSoAxand see if it works14:49
RoAkSoAxsmoser: i've seen machines not being able to boot due to the "normal" way to tell it to fallback to disk when it PXE's14:50
RoAkSoAxsmoser: 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:50
ejvi'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?14:58
zulsmoser: why am i getting "not a bootable disk" when trying to use the cloud images15:03
smoserhow/what are you trying to boot?15:03
smoserRoAkSoAx, right. thats how it is supposed to work.15:04
smoserand that is (i thikn) how it worked in natty-ppa version of cobbler for me... but that system was far from clean.15:04
zulsmoser: using nova on precise15:05
smoserRoAkSoAx, so this, right: http://paste.ubuntu.com/764976/15:06
smoserzul, can i see ?15:06
smoserwhat cloud-image did you try to boot ?15:06
zuloneiric15:06
smoserwhat15:06
smoser.tar.gz?15:06
zulsmoser: yes15:06
smoserthat is not a bootable disk15:07
smoser:)15:07
zulit isnt?15:07
smoserso it will complain "not a bootable disk"15:07
smoseryou need a kernel for that.15:07
smoserbut you can use the .img15:07
smoserand not deal with a kernel.15:07
zulah ok15:07
smoserif you're on precise, use this:15:07
smosercloud-publish-ubuntu --disk x86_64 oneiric my-bucket15:08
smoserand be happy15:08
smoserzul, how are you uploding to glance? with euca2ools ?15:08
zulsmoser: yeah15:09
smoserso no keystone ?15:09
smoseror you have keystone?15:09
tashthis 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
smoserie, does that work ?15:09
smosercause i want that to work.15:09
zulno keystone15:10
RoAkSoAxsmoser: yeah, and you need to copy the chain.c3215:10
smoserwhere does it come from15:10
zulsyslinux15:11
RoAkSoAxsmoser: sudo cp /usr/lib/syslinux/chain.c32 /var/lib/tftpboot/15:11
smoseryep15:11
smosergracias15:11
RoAkSoAxsmoser: de nada15:11
smoserRoAkSoAx, so... as some small bit of information.15:12
smosermy crappy dell inspiron 531 desktop system works with the chain.c32 path, but not hte local -115:13
pmatulistash: does mysql use upstart on 10.04?15:13
smoserand i had probably found that before.15:13
smoserRoAkSoAx, how do i make that [semi]permenant15:14
RoAkSoAxsmoser: apply the patch of precise's cobbler to oneiric package: 61_ubuntu_pxe_chainc32_default.patch15:15
smoserRoAkSoAx, ah. so in precise you've made this change.15:17
tashpmatulis: yes15:20
tashpmatulis: I tried 'start mysql' too15:20
tash# start mysql15:20
tashstart: Job is already running: mysql15:20
tashps auxf | grep mysql still returns nothing15:20
raubvogeltash, what if you netmap to find out who is using the mysql port?15:21
RoAkSoAxsmoser: yes, this change has been made default in precise15:22
tashraubvogel: sorry, not familiar with netmap =\15:22
raubvogelEr, I meant netstat. I am a lousy typist ;)15:23
raubvogelnetstat -apn | grep 330615:25
tashraubvogel: nothing15:25
tashbtw, 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 it15:26
raubvogelAnything on the logs?15:26
tashthis 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:26
tashI 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 mysql15:28
tashso, an ls -l on /var/lib | grep mysql shows something like this "mysql -> /data/mysql/"15:28
tashsymlink to the datadir I created15:28
tashdatdir in my.cnf = /var/lib/mysql15:29
tashbut this is how I setup my other server, and I didn't have this problem that I can recall15:29
pmatulistash: is this a fresh install of lucid?15:30
uvirtbotNew bug: #902190 in lxc (main) "udev fails to update (oneric host, lucid container)" [Undecided,New] https://launchpad.net/bugs/90219015:31
tashpmatulis: yes15:33
pmatulistash: you installed lucid, then installed mysql-server, and it doesn't start?15:34
tashit appears so15:34
tashI could just remove it and try again I guess15:34
pmatulistash: why 'appears' so?15:34
pmatulistash: any other fiddling?15:34
tashb/c it isn't starting ... so a better answer from me would have been "yes"15:34
robbiewttx: ping15:35
tashpmatulis: nope15:35
tashI've only installed it, php5, php5-mysql and copied some files from another server to this.15:35
ttxrobbiew: pong15:35
tashI lied ... I fiddled with my.cnf to add slave configuration15:35
pmatulistash: i'll be working with 10.04 later today and i'm going to test your claim15:35
tashbut have since commented it out15:35
tashI did apt-get remove --purge mysql-server just now and am rebooting, I'll try to install again15:36
tashdang ... 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 error15:43
tashand a ps does not show it as running, wtf15:43
tashhttp://pastie.org/299172615:58
tashso weird ... someone must have seen this before, no?  I'll go peruse google's search results I guess15:58
pmatulistash: if mysqld is not running then don't bother trying to connect15:59
tashI can't seem to figure out why it won't start though ...16:01
tashnothing useful in logs16:01
pmatulistash: maybe strace will help16:01
tashhmmm: http://ubuntuforums.org/showthread.php?t=147931016:01
tashsearch for "There is a bug"16:02
tashif that is true it doesn't make sense ... no problems on my other server16:02
edgy_hallyn: hi, what's the status of spice support in kvm16:12
hallynedgy: qemu-kvm-spice package in precise should work16:13
edgy_hallyn: I launched virt-manager and got Error starting domain: unsupported configuration: spicevmc not supported in this QEMU binary16:14
hallynedgy_: right you need to use kvm-spice, not kvm.  I haven't looked at virt-manager and libvirt support16:14
edgy_hallyn: I also tried kvm-splice directly and faced a problem, let me try again16:15
hallynok16:16
tashpmatulis: I commented out bind-address in my.cnf and rebooted, and still nothing sighs16:16
edgy_hallyn: shall i launch the command like this: kvm-spice -vga qxl -spice port=5930,disable-ticketing precise.img?16:17
hallynedgy_: yup16:17
hallynthen connect with spicec16:18
hallynspice-gtk should work16:18
hallynedgy_: feel free to open a bug about libvirt/virtmanager, btw, bc i do want to get htat working.  just haven't gotten to it16:18
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:19
hallynedgy_: question is where, exactly?  qemu-kvm-spice is not in main (bc spice is not in main and not MIR-able).  libvirt is in main16:20
edgy_hallyn: I now launched kvm-spice and then followed by spicec -h localhost -p 593016:22
edgy_hallyn: the problem is it's tooooooooooooooo slowwwwwwwwww16:22
hallynhm - wonder if it got compiled without kvm support16: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 icons16:23
edgy_hallyn: and then it logs me off16:23
PedroGomesHi, 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 access16:25
hallynedgy_: could you file a bug?  we switched the source package it came from, something mustve gone wrong16:25
hallyn(in the middle of breakfast with the kids, biab)16:25
edgy_hazmat: is there a log file or something you need me to attach to the bug?16:27
edgy_hallyn: ^16:27
hallynedgy_: 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 output16:28
edgy_hallyn: ok, by the way I am using precise for guest and host16:29
pmatulistash: did you use strace yet?16:39
edgyhallyn: what's this qemu-linaro means?16:42
=== jrp-afk is now known as shirgall
hallynedgy: it's based on qemu.git, and generally builds all the emulators.  only kvm itself comes from qemu-kvm.16:43
hallynedgy: it sits in universe, which is why it can link against spice, which qemu-kvm can't16:44
hallynbut the qemu-kvm-spice build is supposed to enable kvm16:44
edgyhallyn: and why spice is in universe not main?16:44
hallynedgy: because it's dependencies have been refused for main16:44
tashpmatulis: no, sorry ... never used it, let me man it16:45
hallynit 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 it16:45
tashpmatulis: how would you suggest I use it?16:46
tashpmatulis: interesting from syslog: http://pastie.org/299195416:48
edgyhallyn: https://bugs.launchpad.net/ubuntu/+source/qemu-linaro/+bug/90223716:52
uvirtbotLaunchpad bug 902237 in qemu-linaro "proper spice support is missing from kvm-spice and virt-manager" [Undecided,New]16:52
kermithow do i get spaces into a sysctl.conf value16:58
hallynedgy: thx17:02
JanChallyn: if by that image library you mean "libpixman", that seems to be in main already?17:18
hallynJanC: cegui-mk2 xerces-c2 ois devil allegro4.2 dialog svgalib freeimage17:39
hallyn(dialog was already MIRd since i made that list, the rest not)17:39
RoAkSoAxrbasak: 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:42
RoAkSoAxmdeslaur: ping. Hey I have a quick question. Do security updates now have to be uploaded to -proposed instead of -security?17:49
mdeslaurRoAkSoAx: no, security updates get uploaded to -security, unless it's something we're _really_ not sure about17:56
mdeslaurRoAkSoAx: are you talking about something specific?17:56
RoAkSoAxmdeslaur: I just sponsored an upload  (changelog is oneiric-security) and itrejected.. so I was wondering whether I should have uploaded to oneiric-proposed17:57
RoAkSoAxs/itrejected/it was rejected/17:57
mdeslaurRoAkSoAx: only the security team can handle security uploads17:58
mdeslaurRoAkSoAx: what bug #?17:58
RoAkSoAxmdeslaur: whole bunch of them really, but I uploaded the branch here: https://code.launchpad.net/~ubuntu-branches/ubuntu/oneiric/cobbler/oneiric-proposed18:00
RoAkSoAxthe original one is: https://code.launchpad.net/~racb/ubuntu/oneiric/cobbler/security_20111218:00
RoAkSoAxthough I think given the amount of patches, it would be best to get it to -proposed first18:01
mdeslaurRoAkSoAx: 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 unsure18:02
mdeslaurRoAkSoAx: this is only for oneiric?18:02
mdeslaurRoAkSoAx: oh, hrm, there are security fixes mixed with regular fixes in there18:03
mdeslaurRoAkSoAx: 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 -proposed18:03
mdeslauroh, wait a sec, I'm slightly confused18:05
mdeslaurRoAkSoAx: ok, so it's all security patches except for the trivial one that adds precise18:06
tightworkI am trying to install opennebula-sunstone and I get failure: http://dpaste.com/670890/ what is going on?18:07
mdeslaurRoAkSoAx: 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
RoAkSoAxmdeslaur: that works for me18:07
RoAkSoAxmdeslaur: thanks :)!18:07
mdeslaurRoAkSoAx: I'll let you know once it's built18:07
RoAkSoAxmdeslaur: awesome! thanks!18:07
mdeslaurRoAkSoAx: you're welcome! Thanks for preparing it18:08
tightworkThere seems to be a horrible problem with ruby, rails and the opennebula package18:11
tightworkmeh, its only ruby who uses ruby anyway18:15
=== dduffey is now known as dduffey_afk
zuljdstrand: hey can you do a quick review of python-nosexcover for me?18:40
* kees attempts to parse that package name18:50
zulkees: yeah...welcome to my life ;)18:50
* ajmitch wasn't going to comment on that one, too easy...18:51
ajmitchso this is great, I have a php5 package that I can build in a PPA with a 12 hour queue, but not in pbuilder18:52
keesbecause nose-xmlcoverage is too long18:52
=== bitmonk_ is now known as bitmonk
=== dduffey_afk is now known as dduffey
mdeslaurRoAkSoAx: 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 that19:07
RoAkSoAxmdeslaur: 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:12
=== bitmonk_ is now known as bitmonk
mdeslaurRoAkSoAx: can't do that. security fixes need to go through -security, and -security needs to be built in a special way (without -updates)19:13
mdeslaurRoAkSoAx: revert your commit to -proposed, and wait until next week and I'll push the security fixes19:14
RoAkSoAxmdeslaur: cool, will do, thanks19:14
mdeslaurRoAkSoAx: security fixes are slightly complicated, because the -security pocket can be used by people without using the -updates pocket19:15
mdeslaurRoAkSoAx: so they need to be built in a special PPA that doesn't have -updates enabled to make sure the dependencies are calculated properly19:15
RoAkSoAxmdeslaur: understood :)19:17
uvirtbotNew bug: #902299 in augeas (main) "lens for mdadm.conf doesn't know to look in /etc/mdadm" [Undecided,New] https://launchpad.net/bugs/90229919:26
jdstrandzul: I will give it a shot, it is possible it will be weekend/monday19:35
RoAkSoAx.win 219:39
zuljdstrand: k thanks19:39
=== dduffey is now known as dduffey_test
tashdoes anyone know how apparmor will allow mysql to start :(19:42
tashec  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:42
pmatulistash: what user is mysqld running as?19:43
jdstrandtash: you need to add /data/mysql/ to your profile19:43
zulDaviey: so i played a bit with setting the nova user to /bin/false but it caused a bit of havor19:44
zulhavoc even19:44
jdstrandtash: eg, in /etc/apparmor.d/usr.bin.mysqld add:19:44
jdstrand/data/mysql/ r,19:44
jdstrand/data/mysql/** rwk,19:45
jdstrandtash: then do appamor_parser -r /etc/apparmor.d/usr.bin.mysqld19:45
Davieyzul: what happend?19:48
zulDaviey: permissions when changing files when creating the instance got all cockeyed19:48
zulglance has been switched over though19:49
Davieyzul: interesting..19:50
stgraberhallyn: 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 stuff20:00
stgraberhallyn: that + shutdown/reboot patch and we should be good for 12.04 as far as lxcguest is concerned20:01
hallynstgraber: cool - I'm fixing up the cgroup stuff right now20:01
stgraberhallyn: what part of the cgroup stuff are you fixing? :) nesting?20:02
hallynyes, nesting, as well as moving a dead cgroup dir out of the way20:02
stgrabercool20:02
hallynand putting lxc cgroups under /lxc while i'm at it20:02
stgrabercool, my cgroup filesystem will be less of a mess then :)20:03
ZanzacarI 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
SpamapSZanzacar: no20:06
SpamapSZanzacar: you'd also want to change /etc/fstab to mount the new hard drive as /home20:06
SpamapSZanzacar: 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:07
Zanzacarok that sounds good.20:08
ZanzacarI thought that it was going to be a nightmare but this seems like it will be pretty easy20:08
ZanzacarI just need to wait till I find a hdd that is larger then the one I have.20:09
SpamapSZanzacar: the tricky part is that you will want to extract the UUID of the new filesystem..20:09
SpamapSZanzacar: blkid /dev/xxxx20:09
kpettitCan 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:10
jmedinaotrs20:11
jmedinait is in the repos20:11
jmedinait even has plugin for ITSM20:12
kpettitI 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
ZanzacarSpamapS: thanks for the input I might be back in a few months for further input.20:12
jmedinakpettit: let me search a good otrs presentation20:13
kpettitthanks.  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 newer20:14
jmedinayou can try with apt and test it, then you can trye the most recent version and trye its new features, it is in active development20:18
kpettitwill do.  thanks for the suggestion.20:18
jmedinaohh they have a android app :)20:19
hallynstgraber:  cat /proc/self/cgroup:  9:perf_event:/lxc/o1/lxc/o220:20
* hallyn ships it off to the m-l20:21
stgraberhallyn: nice!20:28
esdeHello, 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:30
Tachyonynano /ets/samba/smb.conf20:39
smoserRoAkSoAx, can i set orchestra to use a different proxy ?20:44
RoAkSoAxsmoser: yes20:51
RoAkSoAxsmoser: sudo vim /var/lib/cobbler/snippets/orchestra_proxy20:52
smoserk. i'm going to want to configure that in a apt-upgrade safe way20:52
RoAkSoAxsmoser: you mean the clients?20:53
RoAkSoAxsmoser: the server does not use the proxy20:53
RoAkSoAxas the server is the proxy20:53
RoAkSoAxonly the clients use it20:53
smoserno i mean the server.20:54
smoserthe server broadcasts itself as the proxy20:54
RoAkSoAxsmoser: 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.conf20:55
smoseryes.20:55
smoseri was calling that broadcast. as essentially all installed nodes go to him.20:55
smoserbut yeah.20:55
RoAkSoAxsmoser: :) sometimes I'm pretty literal with english if you know what I mean20:56
RoAkSoAxsmoser: 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 server20:56
smoseri think its not unreasonable that osmeone might want a different proxy20:58
smoserand not want an apt-get upgrade to wipe away that choice20:58
smoserthe case i'm looking at right now was the cobber-devenv20:58
smoseri have a proxy elsewhere on my network, and didn't want the cobbler guest vm to be caching stuff itself.20:59
RoAkSoAxsmoser: 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 yet20:59
uvirtbotNew bug: #902339 in samba (main) "samba(7) references missing programs" [Undecided,New] https://launchpad.net/bugs/90233921:12
hallynstgraber: 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:12
=== bitmonk_ is now known as bitmonk
stgraberhallyn: I'm fine with waiting as long as we get a new LXC upstream release with it before the sprint21:17
stgraberhallyn: removing lxcmount.conf really gives weird results, apparently doing so the container somehow manages to access to the outside /dev/console or /dev/tty21:33
stgraberhallyn: looking at /proc/mounts in both cases, the only difference that may explain this is the addition of devtmpfs on /dev21:34
stgraberhttp://paste.ubuntu.com/76533621:35
hallynstgraber: 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:38
hallyni think smoser has been bitten by that before, and i've been expecting it to hit us21:39
stgraberright, so the fix we need in mountall is not to mount devtmpfs in a container?21:40
smoserthats really not a fix.21:40
stgrabersmoser: the problem I'm trying to fix here is the need for lxcguest, so that'd be a fix for my problem21:40
stgraberthe right magical fix is the device namespace21:41
smoserwhat's wrong with lxcguest ?21:41
smoseri agree its not the right fix either.21:41
smoserbut simply not mounting devtmpfs is just asking for someone to mount it later (which lxcguest doesn't help with either)21:41
stgrabersmoser: 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 container21:41
smosergood luck sirk21:42
smosersir21:42
stgraberwell, 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 far21:43
hallynLet's officially put devices namespace on the map for 14.04 :)21:44
stgraberwe 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
stgraberthough that'd be a good thing to add to our list of stuff to enforce with apparmor for now :)21:44
pdtpatrick1Question .. what's the equivalent of yum install --disablerepo=* ---enablerepo=<reponame>21:50
hallynstgraber: isn't that covered by mount restrictions?21:50
stgraberhallyn: well, that particular restriction will be to make sure nothing is mounted there, but yeah, probably :)21:51
pdtpatrick1i've seen apt-get -t .. but thats not what i'm looking for. That seems to be for the os name itself.21:51
stgraberhallyn: also, apparently if add an entry for /dev in the container's fstab (outside of the container), then mountall doesn't try to mount /dev21:51
stgraberhallyn: so we may be able to do what we want without having to touch mountall21:52
hallynjjohansen: will the apparmor mount restricitons be able to say "cannot mount devtmpfs at all" ?21:52
hallynstgraber:  i wonder how that works.  does mountall just not remount anything that's already mounted?21:52
jjohansenhallyn: you will be able to specify device type so yes21:52
hallynjjohansen: and "nowhere" will be an option?21:52
stgraberhallyn: 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
stgraberhallyn: everything else got mounted though (debugfs, securityfs, ...) so it seems to have done its work21:53
jjohansenhallyn: hrmm, it could be, I hadn't actually thought about that one21:53
smoserRoAkSoAx, i'm not sure of this, but i *think* that import-isos will block exit of apt21:55
smoseron orchestra install even though its done in the background. due to its stdin and/or stdout being still open.21:55
* hallyn going outside to enjoy the tail end of a nice day - bbl22:11
RoAkSoAxsmoser: 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 not22:18
RoAkSoAxsmoser: which I was thinking it might be best to default it to False22:18
RoAkSoAxso that in upgrades it doesn't import again22:19
RoAkSoAx(or update)22:19
smoserRoAkSoAx, right. i answered "yes" (actually by mistake)22:23
smoserthe rest of the installation proceeded , but then i seemed to be hung22:23
smoseri started killing 'wget' processes and eventually orchestra-import-isos22:23
smoserand immediately upon killing that, apt exited.22:24
smoserstgraber, since you're interested in fun lxc work...22:24
smoseri'd love it if you could make a cloud image .img file boot.22:25
smoser(its a partitioned disk)22:25
smoserie, even support for very simple read disk partition table, get first disk, mount it, lxc-container that22:25
RoAkSoAxsmoser: 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 PITA22:25
utlemmingsmoser: how important is that?22:25
utlemmingsmoser: I have proto-typed that22:25
utlemmingsmoser: with live-build22:26
RoAkSoAxsmoser: but i guess that orchestra-import-isos is just pulling all the bandwidth22:26
stgrabersmoser: running kpartx and then using the /dev/mapper entry as rootfs should work (once we get rid of lxcguest, that's)22:26
smoserRoAkSoAx, thats not the pro blem i'm saying.22:27
smoseri'm saying if they did say "yes" (even on intention)22:27
smoseryou background the run, with the intent of not blocking22:27
smoserbut you still block.22:27
smoserutlemming, i'm not sure i follow... what do you mean?22:27
smoserstgraber, well the images have lxcguest, so thats not an issue with me.22:28
smoserand yes, i could use kpartx to do this..22:28
utlemmingsmoser: making boot-able cloud image files....but I thought that they do boot22:28
RoAkSoAxsmoser: oh you mean it doesn't really run in the background blocking apt from continueing the instllation process of other stuff?22:28
utlemmingat least the QCOW2 are bootable22:28
smoserbut for me... i'd rather it all go through libvirt and me not have to "officially" be root to do it.22:28
smoserthe partitio nimags should boot, given a kernel, but there is no place for a boot loader.22:29
smoserRoAkSoAx, it *does* run in the background.22:29
smoserbut since it has a handle on apt's stdin or stdout, apt will not exit until its the filehandle closes.22:29
RoAkSoAxsmoser: right, I know understood you22:30
RoAkSoAxsmoser: any ideas on how to fix that?22:30
smosercobbler-import-isos </dev/null >/dev/null 2>&1 &22:30
smosersdoens't have to be devnull22:30
smoserbut you close all its filehandles22:30
RoAkSoAxsmoser: cool, gonna try that, since orchestra-import-isos is actually being run by run-one22:31
smoseryeah, just close stdin out and error to it.22:31
smoserutlemming, maybe i misunderstood you.22:32
RoAkSoAxcool thanks22:32
smoserand the partition images are pretty usable in lxc22:32
smoserbut 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
smoserand then, also with a disk image.22:32
utlemmingI'm thinking maybe I misunderstood you, actually.22:33
smoseryeah.22:33
smoserutlemming, i have to run...22:33
smoseri will look at your MP monday22:33
utlemmingk22:34
smoserutlemming, for more explanation... though..22:34
smoserhttps://help.ubuntu.com/community/UEC/Images#Ubuntu_Cloud_Guest_images_on_Local_Hypervisor_Natty_onward22:34
smoseri like that we can customize cloud images via just passing them data.22:34
smoserand i'd like to make that a much more usable path.22:34
smoserand i thought if you could do that with lxc instead of kvm, it would at happen faster.22:35
utlemmingyeah, that would be nice22:35
uvirtbotNew bug: #667935 in swift (main) "Add etc/swift.conf-sample to base swift package" [Undecided,New] https://launchpad.net/bugs/66793523:21

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