/srv/irclogs.ubuntu.com/2012/04/12/#ubuntu-server.txt

dougwtI apologize in advance if this is the wrong place to ask this type of question, but I am trying to setup my first Apache server on Ubuntu and am a bit confused about what permissions I should be using. I've got multiple VirtualHosts setup. Should the document roots be chowned to the user and his group, or do I need to chown them to www-data?00:08
=== _donvito is now known as donvito
qman__dougwt, www-data is what apache runs as, so in order to serve pages, www-data needs read access00:51
qman__www-data should not have write access unless specifically required by your application, and when it does, it should be carefully limited00:51
dougwtqman__: Thanks. So it'd be fine to keep the document root and it's filed chowned to the user with 755/644 permissions respectively?01:05
dougwtits files*01:05
=== Lcawte is now known as Lcawte|Away
qman__yes01:19
dougwtgreat01:25
dougwtthanks again01:25
redact3dhi anyone guy the latest source of xymon compiled and working?03:44
twbNever heard of it03:48
redact3dnetwork monitoring system - think nagios but easier to configure03:56
=== dcramer_ is now known as dcramer
=== smb` is now known as smb
jamespagelynxman, do you use racoon?08:59
lynxmanjamespage: hmm nope :)09:00
jamespagelynxman, bah - was hoping to palm something off onto you :-)09:00
lynxmanjamespage: lol, I used to though, so you can still handle it to me09:00
jamespagelynxman, ever see this bug 97278609:01
uvirtbotLaunchpad bug 972786 in ipsec-tools "racoon does not bind to interfaces brought up afterwards" [Medium,New] https://launchpad.net/bugs/97278609:01
lynxmanjamespage: will give it a go today :)09:04
jamespageta09:04
jamespagelynxman, actually that was not hard to test09:05
jamespageworks for me in precise09:05
jamespagei.e. bind to new interfaces.09:05
lynxmanjamespage: heh :) it's one of its basic operations, you want to take it then?09:16
jamespagelynxman, I don't actuall think its a bug - I could not reproduce with the stock configuration09:17
jamespagelynxman, don't worry about looking at it.09:17
lynxmanjamespage: I'll tackle it after lunch so just let me know :) need to be copywriting now09:22
jamespagelynxman, thanks for the offer - I'm sure I'll find something more important for you todo during triage today09:23
jamespageenjoy copywriting09:23
lynxmanjamespage: :)09:23
lynxmanjamespage: this whitepaper wont update on its own :D09:24
Barbo91Hi guys, first of all, sorry for my english, i'm italian xD Now i explain my problem. First of all i'm on a Ubuntu 10.04 server with openssh,ssl and openvpn. I have to join all the clients that connect on the VPN in the same network. I can do it with bridging, am i right?09:24
Barbo91someone that can help me? I need help to configuring the bridge :S09:28
jamespageBarbo91, I think you either want to look at https://help.ubuntu.com/10.04/serverguide/C/network-configuration.html#bridging09:33
jamespageor you might actually want to look at setting your server up as a router09:33
jamespageBarbo91, in which case this https://help.ubuntu.com/community/Router might be useful09:35
Barbo91hi jamespage thanks for help, going to read that doc! by the way, the thing that i need is to create a "virtual" eth1 to bridge it, i think09:35
jamespageBarbo91, really depends on how your network is setup09:35
jamespageI do something similar with IPv6 routing09:36
jamespageBarbo91, do you just have a single network interface? or multiple?09:36
Barbo91jamespage, i got a single network interface. with a static pubblic IP.09:37
jamespageBarbo91, have you read https://help.ubuntu.com/11.10/serverguide/C/openvpn.html ?09:38
Barbo91jamespage,  my network is that i got a network with all servers on, and i don't want that clients that connect my VPN see those server. I want to create a "dedicated" private network client-to-client...09:38
jamespageBarbo91, You might be able todo that with openvpn plus bridges - but ufw might help there as well09:39
Barbo91i tried to create a eth 0:0 and bridge it, when i launched the script to create bridge, the interface 0:0 was deleted and the bridge was created on the eth0 and i closed my ssh connection -.- closed out of my own server xD09:40
Barbo91jamespage, already got a "hardware" firewall on my net09:41
uksysadminhey all - can anybody here help with maas? I'm getting  a "Bad archive mirror" message but the pxe booted machine seems to be able to get to the right places...09:41
uksysadmin(on ubuntu 12.04 b2)09:41
jamespageBarbo91, yeah - but the VPN penetrates that so you openvpn server can act as a soft firewall between your clients and your server network09:42
jamespageuksysadmin, is that really early during the install process?09:42
Barbo91jamespage, yeah ur right! didn't thinked about it O.O thanks!09:42
jamespagelamont, would a sync of bing9 1:9.8.1.dfsg.P1-3 be a good idea today?09:44
Barbo91jamespage, thanks for all your help, now i'm going to read the docs u linked me then i will write back soon if i need help!! Newbie network administrator here :P09:45
jamespageBarbo91, np - you are welcome!09:46
uksysadminhi jamespage - yes its just after the kernel messages and about to commence the install09:56
jamespageuksysadmin, wget calls?09:57
uksysadminI've got a console up and can perform the wget it wants09:57
uksysadminyes09:57
jamespageuksysadmin, OK - I think I've seen this to - but can't reproduce at the moment09:57
jamespageI believe that the wget calls made by the installed route through the squid-deb-proxy on the MAAS server09:57
jamespageand its got stuffed in some way I don't understand09:58
uksysadminok - I'll take a look around09:58
uksysadminjamespage, yes I'm seeing 403 Forbidden messages in syslog...10:01
akoma1s_hello, how can I do something like 'if lsacpi | grep VBOX; then set default=3; fi' in grub.cfg?10:02
uksysadminand given my test network falls outside a "localnet" default address range could be the reason10:02
jamespageuksysadmin, odd -lemme look at my setup here10:02
jamespageuksysadmin, have you got the exact URL that is failing?10:02
=== akoma1s_ is now known as akoma1s
uksysadminhttp://archive.ubuntu.com/ubuntu10:03
uksysadminI can see the wgets going this URI /ubuntu/dists/precise10:04
jamespageuksysadmin, does it fail in choose-mirror?  I think that is where I saw the issue10:07
uksysadminyes10:08
jamespageuksysadmin, any more info in those 403 messages?10:08
uksysadminjust looking through syslog now10:09
jamespageuksysadmin, /var/log/squid-deb-proxy might have a bit more in it10:09
uksysadminah, think I've found *my* issue10:11
uksysadminI've a test setup on my desk on 172.15.0.0/16 network10:12
uksysadminand the allowed ranges start from the expected non-internet ranges10:12
uksysadmintechnically that range is internet10:12
uksysadminI'll re-ip and redo10:12
uksysadmin(I'll add this esoteric range though as a test)10:13
jamespageuksysadmin, its quite possible I saw an actual network issue10:15
uksysadminjamespage, I can attest to that though.10:15
uksysadminI tried this on a machine in our datacentre and after a couple of re-tries it worked10:16
uksysadminwhich is on a valid range10:16
uksysadmin(btw - after adding in my new IP range, this is installing)10:16
uksysadmincheers for pointing me to the squid-deb-proxy setup though10:16
uksysadminin fact I was doing this on a couple of machines next to me to see what was up with my datacentre set up10:20
=== dcramer_ is now known as dcramer
jamespageuksysadmin, np10:33
uvirtbotNew bug: #979758 in nis (universe) "package fails to configure on failing to find /etc/init.d/nis" [Undecided,New] https://launchpad.net/bugs/97975810:51
lamontjamespage: I would support that10:58
jamespagelamont, ack - I'll do the sync now then11:02
koolhead11why we dont`t have memcache as dependency with openstack-dashboard?11:10
koolhead11i need a workaround of this https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/96007011:15
uvirtbotLaunchpad bug 960070 in openstack-dashboard "Clicking on links within Dashboard sends me back to log in screen" [Undecided,Confirmed]11:15
koolhead11if we are not getting memcache as dep for dash/horizon11:15
=== ogra is now known as Guest6312
=== Guest6312 is now known as ogra_
zuljamespage:  racoon and nis is so 1917511:44
zuler...191711:45
zulkoolhead11: open up an ubuntu task for it11:45
koolhead11zul, sorry 4 dumb question but where should i open ubuntu task? launchpad?11:47
zulkoolhead11: "Also affects distrobution"11:48
=== matsubara-afk is now known as matsubara
uvirtbotNew bug: #955054 in horizon "Wrong WSGI path in Ubuntu 12.04 B1" [Critical,Fix released] https://launchpad.net/bugs/95505412:04
uvirtbotNew bug: #968850 in horizon "intermittent errors and login page" [Undecided,New] https://launchpad.net/bugs/96885012:08
jamespagezul, lol12:08
=== sergevn is now known as zz_sergevn
=== zz_sergevn is now known as sergevn
uvirtbotNew bug: #973941 in glance (main) "Recommend the correct package for the glance client" [Medium,Invalid] https://launchpad.net/bugs/97394112:41
zulgood morning12:52
Cariboupmatulis: around yet ?13:01
uvirtbotNew bug: #979833 in openldap (main) "package slapd 2.4.28-1.1ubuntu4 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/97983313:01
alcuadradoI have to start "mongod --journaling" as a service13:07
alcuadradois there a way to pass arguments to the executable with the command service?13:07
uvirtbotNew bug: #979838 in openldap (main) "package slapd 2.4.28-1.1ubuntu4 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saĆ­da de erro 1" [Undecided,New] https://launchpad.net/bugs/97983813:10
fooI have user1 who logs into server and starts a screen. I am user2. as user2, I am root. I sudo su - user1. I do screen -x but I get this: Cannot open your terminal '/dev/pts/0' - please check - any ideas?13:11
jamespageroaksoax, around? having a few issues with maas/cobber-web not playing nicely13:26
roaksoaxjamespage: here, what'ss wrong?13:29
jamespageroaksoax, OK - so I'm running maas from the PPA and I also have cobbler-web installed on the same server13:29
jamespagewas working OK but now I get an error accessing cobbler-web13:29
jamespage"[Errno 13] Permission denied: '/var/lib/cobbler/webui_sessions/sessionid8ab2bb421d7efeb891e01e619b6b457e'"13:29
jamespageroaksoax, I think I know what it is - the maas wsgi stuff now runs as 'maas' user - but the content of that directory is only r/w able by www-data13:30
roaksoaxjamespage: uhmmm right. Yeah that might be it13:31
zulummm....why is keystone still in universe?13:31
jamespageroaksoax, not quite sure what the best fix is...13:31
jamespagezul: maybe no-one seeded it yet :-)13:31
roaksoaxjamespage: yeah, let me give it a spin13:31
jamespageroaksoax, wanna bug for that one?13:32
zuljamespage:  partially it was13:32
roaksoaxjamespage: well I don't know whether we should consider it a bug per se (in either side) because if we have MAAS we should not have cobbler-web isntalled, obviously we are not prevented from using it13:33
roaksoaxjamespage: but pleas,e ifle one. I think it will go away once we ship cobbler inside maas13:33
* jamespage shudders13:33
jamespageOK13:33
roaksoaxjamespage: uhmmm so the weird thing here is that only the MAAS wsig should run as MAAS user right?13:37
jamespageroaksoax, so maas-http.conf sets the user/group config for the WSGI for the server - not just for maas13:39
roaksoaxjamespage: exactly so that's the issue13:39
jamespageroaksoax, I think so13:39
* jamespage is not a WSGI expert13:40
=== Lcawte|Away is now known as Lcawte
roaksoaxjamespage: did you file the bug?13:55
roaksoaxjamespage: can you provide me wiht the link please?13:55
jamespageroaksoax, doing it now - it was in the queue behind one for juju13:55
roaksoaxjamespage: cool thanks13:59
jamespageroaksoax, https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/97989914:02
uvirtbotLaunchpad bug 979899 in cobbler "cobbler_web unable to access session data due to conflict with maas" [Undecided,New]14:02
roaksoaxjamespage: cool thnkas14:03
uvirtbotNew bug: #979899 in cobbler "cobbler_web unable to access session data due to conflict with maas" [Undecided,New] https://launchpad.net/bugs/97989914:11
hallynstgraber: bug 974584, I'm going to just rmdir $rootfs/dev/shm at end of templates.  Do you have a better idea?14:12
uvirtbotLaunchpad bug 974584 in lxc "Semaphores cannot be created in lxc container" [High,Confirmed] https://launchpad.net/bugs/97458414:12
hallyn(Note, /etc/init/mounte-dev.conf is technically wrong, for anyone who uses /dev on a live system as not a separate fs, but I assume we just say we don't support that non-standard config?)14:12
=== chuck_ is now known as zul
zulDaviey: http://paste.ubuntu.com/926472/14:14
stgraberhallyn: that's definitely the easiest and the safest change, go for it14:14
hallynthanks, will do.  do you have any other changes to queue up?14:15
stgraberit won't fix existing containers, but we didn't get that many reports of the bug for it to be a concern14:15
stgrabernope, I've been doing installer stuff lately, no lxc related stuff14:15
stgrabermake sure you upload before 21:00 UTC though (final freeze)14:15
hallyntoday???14:17
hallyni thought ff was ina  week14:17
zulditto14:17
hallyni'll leave the workaroudn noted in the bug for ppl who need it for existint containers14:17
=== chuck_ is now known as zul
hallynzul: joke's on us https://wiki.ubuntu.com/PrecisePangolin/ReleaseSchedule14:25
zulhallyn: are you sure?14:26
zulFinalFreeze Apr 1214:26
hallynzul: maybe i misunderstood you.  i thought you meant you had been wrongly thinking like me that it was next week14:30
zulhallyn: meh :)14:30
MoleManI believe I am recieving a DOS attack in progress, what can I do?15:02
Jeeves_Look the other way!15:04
MoleMandoesn't help... vnstat is showing 50Mb/s in and 5Mb/s out compared to my other box which is showing  3.3Mb/s in 8 Mb/s out...15:08
MoleManand I don't want to go ask the host for advice because I know that they have a strict 3 strike policy on DoS attacks, and we've had more than that already...15:09
zulcontact your isp and get them to cut it off15:10
Jeeves_MoleMan: What do you do to receive those attacks?15:11
MoleMangod only knows... It's gameservers so I would presume a script-kiddy thats upset at getting banned...15:14
Jeeves_Ah15:14
hallynstgraber: lucid containers don't have /dev/shm mounted either.  any objections to my adding it back to /lib/init/fstab.lxc?15:15
stgraberhallyn: for lucid => natty it should be safe, we did the /run change in oneiric IIRC15:16
stgraberhallyn: though I can't see it breaking on oneiric if added to fstab.lxc there too15:16
hallynfooi15:16
hallynlemme try15:16
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
hallynoddly, in oneiric /dev/shm is correctly created as a symlink15:19
hallyn(but /run/shm isnot mounted)15:19
hallynanyway i guess that's SRU material anyway.  i wasn't thinking right15:19
hallynutlemming: do you have a minute?  lxc-create -t ubuntu-cloud -n cloudo1 -- -r oneiric (and -r lucid) are failing for me?15:33
hallynis that a transient ami error?15:33
utlemminghallyn: otp...do you have a paste of the failure?15:33
hallynutlemming: http://paste.ubuntu.com/926586/15:34
utlemminghallyn: can you kick me a bug and I'll get this hashed out?15:35
hallynutlemming: ok.  it looks ike the problem is just that the template looks for ubuntu-11.10-server-cloudimg-amd64.img:, but15:36
hallynthe tarball has oneiric-server-cloudimg-amd64.img15:36
utlemminghallyn: that is what my thought was...the naming between dailies and releases changes15:37
hallynfeh!15:37
hallynok, 1 min for bug #15:37
hallynutlemming: bug 97999615:39
uvirtbotLaunchpad bug 979996 in lxc "ubuntu-cloud template can't find .img" [Undecided,New] https://launchpad.net/bugs/97999615:39
hallynutlemming: I could try it myself, but with final freeze today am afraid i'll mess things up worse than they are.  at least precise ones work :)15:40
hallynutlemming: thanks15:40
hallynstgraber: http://people.canonical.com/~serge/lxc-shm.debdiff15:45
uvirtbotNew bug: #979996 in lxc (universe) "ubuntu-cloud template can't find .img" [Undecided,New] https://launchpad.net/bugs/97999615:46
stgraberhallyn: you realize this means we won't be able to create a Q container on precise and have /dev/shm working?15:46
hallynstgraber: well not without a patch...  ok I should use the release # and >= 12.04?  how can iget that in bash?15:47
hallynsubstr($release,0,1) <= o? :)15:48
hallynstgraber: well, my hope would be that we could fix initscripts by q :)15:48
hallynfeasible?15:48
stgraberhallyn: good point, fixing the logic of ischroot/initscripts in Q sounds like a plan :)15:49
stgraberhallyn: can you make sure we have a bug (probably against initscripts) for that so we don't forget about it?15:49
hallynstgraber: shall i mark the current bug as affecting initscripts, and leave it open?15:49
stgraberI know we have some shell functions to before_release(a, b) but I don't think we ship that by default or even have a standard implementation of it15:49
stgraberprobably something to get into distro-info15:50
stgraberhallyn: yeah, opening an initscripts task would be good15:50
hallynyeah, standard implementation of that woudl be good15:50
hallynhm, manpage of lsb_release says see also lsb(8), which doesn't exist :(15:52
stgraberhallyn: won't your change always print an error message? either because it's not a directory or because it doesn't exist (after the rmdir)?16:05
stgraberhallyn: the || true avoids the failure but not the error16:05
hallynstgraber: should I shut it up?16:05
stgraberhallyn: or is it running early enough in the bootstrap process that the user won't see it anyway?16:05
hallynno it's at the very end of creation16:06
hallyn*I* didn't notice it, but some people do like to file bugs about every msg...16:06
hallynlemme check again16:06
stgraberhmm, 2>/dev/null would probably be a good idea then or even: [ -d /dev/shm ] && rmdir /dev/shm || mv -f $rootfs/dev/shm $rootfs/dev/shm.bad16:06
stgraber(sorry, should have seen it earlier)16:07
hallynI don't want to go chaining like that and have it be as fragile as mounted-dev.conf16:07
hallyn(when i do it slightly wrong)16:07
hallynmind you what you have there *does* look right16:07
hallynstgraber: I do get mv: cannot stat `/var/lib/lxc/p3/rootfs/dev/shm': No such file or directory16:08
stgraberright, maybe in two then: [ -d "$rootfs/dev/shm" ] && rmdir $rootfs/dev/shm16:08
stgraberand then [ -e "$rootfs/dev/shm" ] && mv $rootfs/dev/shm $rootfs/dev/shm.bak16:08
stgraberbefore the ln call16:08
hallyndo you strongly prefer that to 2>/dev/null?16:08
stgraberI guess I do, in the sense that if mkdir then fails we won't silence the error16:08
hallynbtw, have you kicked my package from the archive? :)  can i re-use the versoin #?16:09
stgraberyeah, you can reuse the version number, I'll kick it out of the queue16:09
hallynstgraber: thanks.  I'll wait till you look at the new debdiff after dinner to re-push?16:10
stgraberhallyn: upload directly to the queue, I'll review it there16:11
hallynkthx16:11
=== dendrobates is now known as dendro-afk
ruben23hi guys any apps can check for HDD bad sector abd blocks..?16:16
=== dendro-afk is now known as dendrobates
rbasakruben23: badblocks. Or smartctl to see what the disk thinks.16:17
uvirtbotNew bug: #980027 in php5 (main) "package libapache2-mod-php5 5.3.10-1ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/98002716:26
=== matsubara is now known as matsubara-lunch
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
uvirtbotNew bug: #980054 in lm-sensors (main) "package libsensors4 1:3.3.1-2ubuntu1 failed to install/upgrade: conffile './etc/sensors.d/.placeholder' is not in sync with other instances of the same package (dup-of: 951493)" [Undecided,New] https://launchpad.net/bugs/98005416:46
roaksoaxjamespage: new ppa upload fixes ur issure17:00
roaksoaxutlemming: still not around?17:04
utlemmingroaksoax: here17:04
roaksoaxutlemming: so I wasn't able to get the image even booting (or so it seems)17:04
roaksoaxutlemming: were you able to look into it further?17:05
utlemmingroaksoax: okay, I'll see if I can to it. I'm pretty buried right now17:05
roaksoaxutlemming: alright, not sure whether Daviey needs this for EOD or EOW17:07
utlemmingroaksoax: EOD isn't going to happen, I have another higher priority issue going on right now17:08
roaksoaxutlemming: no worries, just let me know when you have something I can test. Thanks! :)17:08
utlemmingroaksoax: sure, if I get blocked, I'll work the usb stick17:09
zuladam_g: patch refreshed?17:22
adam_gzul: which?17:26
zulglance17:27
adam_gzul: yeah, i cherry picked the paches directly from upstream and applied them to -proposed17:27
zuladam_g: excelente17:27
hallynutlemming: are you going to be able to look at the lxc-ubuntu-cloud bug in the next few hours, or is that not in the cards?17:33
=== matsubara-lunch is now known as matsubara
hallynSpamapS: Uh, combine a cable line unearthed by the builders at the neighbor, and a wildman with a lawnmower in back, and I may end up not online in a few mins.  fyi17:44
hallynthe install is going very slowly, though I can't really tell, it migh tjust be my apt-cache-ng mirror or gateway (both of which are my netbook :) slinging data slowly17:49
SpamapShallyn: DOH17:55
=== dcramer_ is now known as dcramer
uvirtbotNew bug: #980151 in exim4 (main) "/var/lib/exim4 should be created by exim4-base" [Undecided,New] https://launchpad.net/bugs/98015118:46
robo_can someone who's running openjdk on ubuntu 10lts run 'jps' for me and see if it returns the bootstrap PID?19:21
keesrobo_: does it work if you run jps as root?19:22
robo_kees, nope19:22
robo_it just returns the pid of the jps program itself19:22
keesweird19:23
zulkees: no one should use java anyways19:33
keeslol19:34
henkjanSpamapS: enjoying your time at perconalive?19:35
uvirtbotNew bug: #980189 in bacula (main) "Database not upgraded while upgrading bacula" [Undecided,New] https://launchpad.net/bugs/98018919:36
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
blairsvn 1.6.18 was released today with some repository corruption issues, how do i request an update from 1.6.17 to 1.6.18.  i've opened https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/98008719:43
uvirtbotLaunchpad bug 980087 in subversion "Update to 1.6.18 to fix fsfs repository corruption issues" [Undecided,New]19:43
ewingatehow can i tell why my filesystem is in read-only mode19:53
ewingateand how can i tell which part of my filesystem is in read-only mode?19:53
patdk-wkcat /proc/mounts19:54
RoyKewingate: ls -l will tell you permissions for files/dirs19:54
ewingatepatdk-wk: thanks thats what i was lookin for!19:54
patdk-wkroyk, inferrence :)19:55
ewingatepatdk-wk: any idea how i can tell why it switched to read-only? or how do i get it out of read only? reboot?19:55
patdk-wklocally? dmesg19:56
patdk-wkonly way I know to get it back out, is a reboot19:56
RoyKewingate: usually it remounts to read only if something goes BAD19:56
patdk-wknormally goes into readonly mode if there is issues reading/writing to the disk19:56
patdk-wkbig issues, like, there is no more disk :)19:56
patdk-wkor disk didn't respond after 90 seconds19:56
RoyKbecause it's safe to remount to readonly and wait for fsck to sort things out later19:57
ewingateah ok.. so rebooting the server would get me back in business?19:57
RoyKhopefully, yes ;)19:57
ewingateor it will at least check the disk for errors?19:57
ewingateok thanks19:57
RoyKif you don't have console access19:58
RoyKit might render the server useless until you get to the console19:58
Davieyzul: hey, thoughts on https://bugs.launchpad.net/ubuntu/+source/quantum/+bug/97919220:11
uvirtbotLaunchpad bug 979192 in quantum "FFE: Separate agent binaries in different packages" [Medium,New]20:11
zulDaviey: i think in the long run that will help us for q so do it now20:12
Davieyzul: happy with the diff?20:14
zulDaviey: yeah20:14
Davieyzul: Would ypou be so kind to sponsor ir?20:14
Davieyit?20:14
zuluh?20:15
zulthe patch didnt have a changelog20:15
Davieyzul: yes, but can you incorporate it? :)20:16
zul*sigh*20:16
zulyeah i can20:16
adam_ghttp://paste.ubuntu.com/926983/20:16
adam_gDaviey: jamespage: ^ that look reasonable for preserving squid conf? waiting on a build to do some last minute dist-upgrade tests20:17
zuladam_g:  holy crap dude20:17
adam_gzul: eh?20:17
zullargish20:18
adam_gwell, yeah20:18
zuldont mind me20:18
jamespageadam_g, in the preinst for the squid package?20:20
zulDaviey: done20:20
Davieyadam_g: i think it's a reasoablesolution.20:21
adam_gjamespage: thats in postinst20:21
adam_gjamespage: AFAICS, /etc/squid3/ wont be there in preinst20:21
jamespageadam_g, yeah - that was what I was wondering20:22
adam_gjamespage: but original /etc/squid/ shouldn't have been purged when 'postinst upgrade' is run, will it?20:22
jamespageadam_g, maybe - I'd want to test it to be sure :-)20:23
jamespageadam_g, we have a transitional squid package right that is built out of squid3 source ?20:23
adam_gjamespage: yeah, about to do that.20:24
adam_gjamespage: yea20:24
jamespageadam_g: if that tests OK I think it looks good.20:27
adam_gjamespage: hmm, well it looks like that postinst wasnt called20:28
adam_gjamespage: though, the original /etc/squid/ isn't purged either by default. im wondering if we can not even worry about moving the file, since its going to stay there regardless20:30
jamespageadam_g, hmm - maybe20:31
jamespageactually that would explain a diff bug that I triaged today with regards to the logrotate from squid sticking around post upgrade20:31
SpamapShenkjan: it was a lot of fun, but I was just there for 1 day (yesterday)20:34
adam_gjamespage: hm20:35
jamespageadam_g, is this related to the fact that the package is not tracking them as configuration files?20:35
adam_gjamespage: what? the fact that the directory is not removed?20:36
jamespageadam_g, sorry brain a little fuddled20:37
henkjanSpamapS: ah. i saw al the buzz on twitter in #perconalive20:37
henkjani've been to percona live londen last year20:38
henkjanthe mysql community is awesome20:38
=== himcesjf|py is now known as himcesjf
adam_gjamespage: thats okay. since the old squid.conf is never actually purged, we could probably skip maintaining a list of versions+md5's and just put a note at /etc/squid3/README explaingin the transition?20:39
jamespageadam_g, if it remains intact then yes that is OK20:40
jamespagealthough I believe that should go into NEWS for the package20:41
adam_gjamespage: i can do that20:42
jamespageadam_g, http://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-news-debian20:42
adam_gjamespage: thanks20:44
jamespageI think dch will generate an entry for you :-)20:44
hallynSpamapS: hm, this could be spurious as i've only done one test each, but a 'time find / -type f > o 2>&1' in qemu with rbd took 5.7 seconds vs 4.7 seconds in qemu without rbd20:45
hallyntrying again20:45
hallynhoping it has to do with pagecache in host being hot20:46
SpamapShallyn: that would be really odd20:47
hallynyes it would20:47
SpamapShallyn: I was looking at how the different backends are used.. and it seems like they are completely independent of one another20:48
hallynit's somewhat consistent though20:49
=== klaas_ is now known as klaas
resnowhat kinda of server monitoring tools do people use? i was looking at monitorix20:52
SpamapSresno: nagios/icinga are good (the latter being a fork of the former), collectd is cool.. statsd+graphite is pretty cool.20:55
resnoany thoughts on monitorix?20:56
uvirtbotNew bug: #980290 in facter (main) "In Xen domU, "facter virtual" prints "physical"" [Undecided,New] https://launchpad.net/bugs/98029021:06
RoyK!bug 97845821:08
uvirtbotLaunchpad bug 978458 in samba "CVE-2012-1182: "root" credential remote code execution" [High,In progress] https://launchpad.net/bugs/97845821:08
uvirtbotNew bug: #980291 in facter (main) "In Xen domU, "facter virtual" prints "physical"" [Undecided,New] https://launchpad.net/bugs/98029121:11
=== ewingate is now known as esuave
T3CHKOMMIEhey guys, i got a bit of a dumb request. I am trying to make a 10 second video of a hole bunch of printlns in terminal. I was wondering if anyone know of a good cat /proc/* command that would spit out a bunch of data for about 10 secnds. any ideas?21:43
=== matsubara is now known as matsubara-afk
aceat64Anyone know why the "guided partitioning with lvm" option creates a primary partition (on this server it's /dev/sda1) that looks like it should have been /boot but doesn't appear to be used21:50
aceat64https://gist.github.com/237119421:50
aceat64instead /boot is on my lv for /21:51
SpamapShallyn: so, did we break kvm performance or was it an aberration?21:59
hallynSpamapS: i think it ws an aberration.  overall the times with rbd were higher, but i did get one 5 second time.  (only did 4 runs each)22:00
hallyni'm still shocked at how slow the guest install was...22:00
hallynbut anyway, if there is a perf regression i'll have to find and fix it :)22:00
hallynnext week i'm hoping to do my perf runs22:00
SpamapShallyn: precise-proposed awaits you :)22:01
hallynlol22:01
jkyleso we're not supposed to edit resolv.conf by hand...what do we edit? looking at the resolvconf man and it seems things have gotten quite a bit more complex22:17
stgraberjkyle: http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/22:18
stgraberjkyle: short answer is add dns-nameservers and dns-search for your interface in /etc/network/interfaces22:18
jkyleI can't use the /etc/network/interfaces file...I'm having to set up my interfaces manually via the /sys/class/net22:19
jkylebugs with bonding in the userland utilities for interfaces22:20
jkyleah ok, so I _can_ edit the resolv.conf.d/head though the file itself has a no edit warning22:22
jkylethat'll work22:22
stgraberright, because the no edit warning is what becomes the no edit warning of /etc/resolv.conf22:22
jkyleok, so in my original file I have two lines, a search and nameserver declaration22:22
jkylebut these are not appearing in my resolv.conf22:23
jkylewhich is empty cept for ehead22:23
stgraberright, original is just there as a backup. resolvconf will only use it if tail is a symlink pointing to original22:23
stgraber(which we do automatically on upgrade for setups where we "guess" that dns won't work without it)22:24
jkylecool networkign is up22:25
jkylestgraber: what was the incentive for moving to resolvconf?22:28
Davieyzul: we are now tracking stable tree for nova?22:28
=== bladernr_ is now known as bladernr_afk
stgraberjkyle: having a single tool modifying /etc/resolv.conf instead of the 5-6 we had in the past that didn't talk to each other and would end up overwriting the file every time22:30
jcastroI suspect our use of "maas effect" will get old after about a month.22:31
stgraberjkyle: another incentive was to have it in /run so that you can boot your system in read-only mode22:31
kklimondahum, anyone is using precise on rackspace vps? I'm seeing a weird problem where root partition is mounted r/o and because of some journal issues and I get some funny errors in dmesg22:57
uvirtbotNew bug: #974592 in glance (main) "Upgrade from diablo to to glance_2012.1-0ubuntu1 failing" [High,Fix released] https://launchpad.net/bugs/97459223:01
uvirtbotNew bug: #975651 in glance "Image properties that reference image ids are not updated to UUIDs" [Undecided,Fix committed] https://launchpad.net/bugs/97565123:01
utlemminghallyn: you still around?23:11
hallynutlemming: not really23:17
utlemminghallyn: lol, I'm probably way too late, but I'm submitting a fix for .img bug23:17
hallynutlemming: yeah, final freeze has passed I'm afraid23:17
hallynbut we can queue it up for sru in a few weeks23:18
hallynutlemming: of course I'd say there's an argument to be made that the different naming for contents of release vs devel images is a bug in itself23:18
hallynbut I assume there is plumbing out there depending on the current naming23:19
utlemminghallyn: UDS topic, I believe23:19
hallynok23:19
utlemminghallyn: arosales wanted me to get that consistent and I told him that plumbing was a no go this cycle23:19
utlemmingthere are too many moving parts and people are relying on the current convention23:19
hallynok (too bad :)23:19
hallynyeah23:19
hallynall right - have a good night23:20
utlemmingyou too23:20
arosalesbe a good thing to keep on our radar for future work :-)23:21

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