/srv/irclogs.ubuntu.com/2012/05/29/#ubuntu-server.txt

=== failover is now known as tarzxvf
koolhead17hi all00:24
erichammondAttention needed from Canonical folks running EC2 repositories: https://forums.aws.amazon.com/thread.jspa?messageID=34916301:21
lifelesserichammond: we think its fixed, if they could try again?01:31
lifelesserichammond: a good place to ask such questions is #ubuntu-mirrors01:31
erichammondlifeless: It would probably be a good idea to post a response on the AWS forum as well as in this thread for the folks who are following the issue: https://groups.google.com/forum/?fromgroups#!topic/ec2ubuntu/gQJWyEP1ABY01:46
lifelesserichammond: I'm just acting as middle-man, I'll pass that on01:46
ChmEarlanyone got vfb objects working in xen dom0 on 12.04?02:07
ChmEarlthe xen dom0 boots fine and I can create paravirtual domU fine without vfb02:07
ChmEarlnm - fixed it - cd /usr/share;ln -s qemu-linaro/ qemu02:23
ChmEarlxen looks for keymaps under qemu, not qemu-linaro02:23
=== twb` is now known as twb
zuladam_g: for which?02:50
=== Guest39644 is now known as wolferz
=== Tm_T changed the topic of #ubuntu-server to: Ubuntu Server discussion and support | For general (not server specific) support visit #ubuntu | IRC Guidelines: https://wiki.ubuntu.com/IrcGuidelines | Get involved: https://wiki.ubuntu.com/ServerTeam/GettingInvolved | Docs and resources: https://help.ubuntu.com/12.04/serverguide/ | Quantal (12.10) roadmap bugs, http://status.qa.ubuntu.com/reports/ubuntu-server/release-bugs.html
=== AntORG_ is now known as AntORG
=== smb` is now known as smb
jefimenkodoes anyone know how to get a consistent MAC address for a active-backup bond in 12.04?08:18
jefimenkosince upgrading to 12.04, sometimes the system takes eth0 MAC at boot, other times it's eth108:18
jefimenkoi need consistency for DHCP08:18
jefimenkohttp://ubuntuforums.org/showthread.php?t=196798708:20
Jeeves_afaik, it always takes the 'lowest' mac-address08:24
jefimenkothis is my network configuration: http://paste.ubuntu.com/1012761/08:24
jefimenkoi'm trying to force the hwaddress to the MAC of eth008:24
jefimenkojust like the poster in that thread08:25
jefimenkoit doesn't seem to work either08:25
jefimenkoJeeves_: it's not taking the lowest. it's random08:25
jefimenkosometimes it's the eth0 hwaddr (lower), other times it's the eth1 hwaddr (higher)08:25
jefimenkoevery time i reboot i don't know if the system will come up on the network :(08:25
qbitzaHello, I have a weird RAID issue09:12
qbitzadmraid -s returns: ERROR: isw: wrong number of devices in RAID set "isw_biaeibhcac_RIAD1" [1/2] on /dev/sdb09:12
qbitzabut cat /proc/mdstat says the device is fine09:13
qbitzaIt is correct in reporting that there are more than 2 devices in that array, should be three09:13
lynxmanmorning o/09:28
RoyKmorning o\09:28
qbitzamorning \o09:29
qbitzaAnyone here know RAID?10:04
=== JanC_ is now known as JanC
rbasak!anyone | qbitza10:17
ubottuqbitza: A high percentage of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? See also !details, !gq, and !poll.10:17
qbitzaI have a weird RAID issue: dmraid -s returns: ERROR: isw: wrong number of devices in RAID set "isw_biaeibhcac_RIAD1" [1/2] on /dev/sdb, but cat /proc/mdstat says the device is fine - It is correct in reporting that there are more than 2 devices in that array, should be 310:25
ogra_rbasak, i see you are diswcussiong highbank flash-kernel support, please note that we'll remove the current (forked) flash-kernel in ubuntu and will switch to the rewritten one in debian, your coding üplans should probably take that into account10:29
ogra_s/in debian/from debian/10:29
ogra_i'll send an emauil this week to ubuntu-devel about that, just wanted to warn you in advance10:29
rbasakogra_: thanks. I had thought that there was no plan to do this! How will we converge board support for everything?10:30
rbasakogra_: see also bug 642855 - no point in fixing that then?10:30
uvirtbotLaunchpad bug 642855 in flash-kernel "Insecure use of temp files" [Medium,Confirmed] https://launchpad.net/bugs/64285510:30
ogra_rbasak, all arches we currently support are also supported in the new flash-kernel (omap, omap4, ac100, mx5), highbank and armadaxp will have to be added thoough10:32
rbasakogra_: when do you expect that we will switch?10:33
ogra_rbasak, we wanted to do that since three releases, but postponed it for after LTS (was discussed at every UDS) ... the new flash-kernel keeps HW data distinct from code and will be far easier to maintain10:33
ogra_i would like to switch before we start building A1, there the fallout will be least harmful10:33
ogra_but i'm not sure i'll manage snice we also switch all images to livefs'es10:34
ogra_(alternate will be dropped across the board)10:34
rbasaknetinst images will remain though, right?10:35
ogra_yep10:36
rbasakgreat, just checking10:36
ogra_and the server live image will still use d-i10:36
ogra_just not a package pool on the image10:37
ogra_(and use a squashfs instead)10:37
rbasakogra_: is there a relevant blueprint on this? I think we need work items on porting armadaxp and highbank support.10:40
ogra_rbasak, nope, no blueprint (that would onl have "sync from debian, notify people that maintain hacked scripts to port them)10:41
rbasakogra_: I appreciate the advance warning. It will be a severe regression for us. Not a big deal to port, but we will need to do it and retest etc, and I'd like to track this somewhere. What would be the best way to track it?10:42
ogra_well, add a spec for eilt ?10:43
rbasakI suppose. I'll stick it in the ARM server deployment spec I suppose10:44
ogra_https://blueprints.launchpad.net/ubuntu/+spec/foundations-q-hwpack-integration has a Wi for it if ou need a dependenc10:44
ogra_y10:44
* ogra_ wonders why his Y seems to not print 10:45
rbasakDo you mind if I stick work items for armadaxp and highbank under your flash-kernel merge work item? It makes more sense to me to put them in there.10:46
ogra_hmm, the dont really fit into that spec10:46
ogra_*they10:46
rbasakI think it's a sub-item of the merge job, since the merge introduces a regression which will need to be fixed10:47
ogra_does it ? do we have highbank support in the current flash-kernel already ?10:48
ogra_(thats why i wanted to do it early, to actually not have it in before we move)10:48
rbasakJust about. There have been uploads. It's buggy currently. I had a non-buggy merge request, but it conflicts with NCommander's latest changes.10:48
rbasakSo as soon as I've discussed it with NCommander we will have.10:49
ogra_(i also would have expected NCommander to actually make sure it gets into the new f-k since he knows about the plans since three releases)10:49
rbasakAnd armadaxp is already in the current flahs-kernel of course10:49
NCommanderrbasak: ogra_ the current f-k didn't support what was needed10:49
ogra_NCommander, oh, you are up already10:49
NCommanderogra_: yes, I've been waiting three releases for it. If it actually gets uploaded, then I'll worry about it.10:50
rbasakNCommander: hello!10:50
rbasakNCommander: can we chat about getting highbank support in flash-kernel and d-i?10:50
NCommanderrbasak: its already in the f-k that's in archive.10:50
ogra_NCommander, awesome, i would like to sync it pre-A1 or shortly after (depending on the live-image move)10:50
rbasakNCommander: we have all the pieces - I'd really like to get this resolved asap so that I can focus on maas10:50
rbasakNCommander: it doesn't work. Did you get my email?10:50
NCommanderd-i was waiting on the kernel10:50
NCommanderrbasak: Monday was a US holiday, I haven't even checked my inbox yet10:51
* NCommander kicks thunderbird10:51
ogra_yeah, half the world has a holiday yesterday10:52
ogra_*had10:52
rbasakNCommander: ok sorry, let me know when you're ready10:52
ogra_(germany too ... whitmonday)10:52
NCommanderrbasak: oh I see it10:52
rbasakogra_, NCommander: once we have highbank working in d-i, I'd really like to not break it with a flash-kernel merge. Can we work to getting highbank in and tested to the new flash-kernel before we replace the existing one?10:52
NCommanderthe d-i stub wasn't tested fully10:52
ogra_rbasak, feel free, we will sync from unstable10:53
NCommanderrbasak: so the f-k stub works properly if f-k.conf has all the necessary bits in it. I flubbed up the bit of f-k-i that has that code.10:53
ogra_and split out the DB data into an arch all package so it can be used without having to install f-k itself10:53
NCommanderogra_: sync?10:53
NCommanderOh10:53
ogra_NCommander, yeah, just a sync and dropping all our hacks10:53
ogra_thats why i want to notify everyone in advance :)10:54
NCommanderogra_: the hw database is a separate package then?10:54
ogra_loics rewrite has support for all arches we support except for the two new server arches ...10:54
* NCommander hasn't looked at the new f-k in two cycles.10:55
ogra_its not in debian, it will be in ubuntu10:55
NCommanderso f-k will get blacklisted?10:55
NCommander(on the sync list)10:55
ogra_so we can use tehe DB in chroots even if we dont use f-k10:55
ogra_no, it will be a normal merged from then on10:55
NCommanderright, I remember the discussion, I was waiting for the implementatoin :-)10:55
ogra_with (hopefully) just minor packaging tweaks10:55
* NCommander looks to see if highbank kernel landed10:56
ogra_so it would be good to get armadaxp and highbank into debian too :)10:56
rbasakogra_: would a drop-in flash-kernel replacement from debian work today? ie. can I test this in advance easily?10:57
ogra_rbasak, theoretically it should just work, yeah10:57
ogra_(for arches debian and ubuntu both support indeed)10:57
rbasakogra_: ok, thanks. I think our approach should be to get either debian flash-kernel ready and tested with highbank and armadaxp support first, or an ubuntu delta prepared, before we update quantal. Not sure who'll do that - I'll discuss with the team.11:00
ogra_rbasak, then it will have to wait until A2 or A3 ...11:00
ogra_which means a *lot* less testing11:00
rbasakwhy would it have to wait until A2 or A3?11:01
ogra_the new arches need to be added anyway, the switch will have to happen anyway, so we want it as early as possible in the cycle to have most testing11:01
ogra_well, it definitely would have to wait until after A111:02
ogra_since we do the livefs switch too and i'm currently the only one working on arm stuff (the rest is at connect)11:03
ogra_that would make us lose one miletone for testing, which isnt good11:03
ogra_(note that A1 arm image installability  runs under the "nice to have" tag)11:04
ogra_(buildability is the focus for them)11:05
rbasakogra_: when exactly were you planning to sync from debian? And are you saying it will miss A1 because you'll be waiting for the armadaxp and highbank work?11:08
ogra_rbasak, no, we planned to release only images that are installable, but there is no pressure from the release team that they "all have to work"11:09
ogra_i.e. we planned to make the switch and see what works ootb ... then release that11:09
ogra_so we have a window to fix the remaining issues until A211:10
ogra_(omap3/4, ac100 and mx5 should just work without touching any code)11:10
ogra_(if they dont, they'll drop off the shelve for A1)11:11
rbasakogra_: sorry, I don't follow you. I want to avoid a regression in flash-kernel since that will block my MAAS enablement work and much of our automated testing which relies on netinst d-i in quantal working on armadaxp too. So I'd like to get flash-kernel fixed before upload. You seem to be saying that if we fix flash-kernel first, then this change would miss A1. Why? What are the deadlines for getting flash-kernel prepared in advance in order to n11:11
rbasakot miss A1?11:11
ogra_this week11:12
rbasakSo you'll be syncing flash-kernel from Debian this week? When exactly this week?11:12
* ogra_ checks the release schedule ... i think A1 was planned for next thu11:12
ogra_june 7th is A1 ... archive will freeze on monday (at least it usually did, not sure that policy changed)11:13
ogra_that ,eans it has to be in by june 1st i think11:13
ogra_*means11:13
LyonJTAnyone know how to manipulate vspftpd so that when i upload a file it automatically changes the user?11:15
ogra_(or latest at june 3rd if you like to work on weekends)11:16
rbasakok, thanks. I understand the situation now, and I'll ask the relevant managers about resourcing in today's meeting. Who did you have in mind to do the armadaxp and highbank work?11:17
ogra_rbasak, well, someone with access to the HW :)11:18
ogra_i.e. whoever does HWE in eilt11:20
rbasakOK11:20
aljosahow can i get numer of all active threads on system? something like lsof for file descriptors but something to check if i'm close to /proc/sys/kernel/threads-max11:31
=== Guest55695 is now known as Pici
yolandahi, i have a question about security on a package, can i get some help?11:50
rbasak!ask | yolanda11:51
ubottuyolanda: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience11:51
yolandai had one packaged reviewed last week, openerp-desktop, and i had rejected with some bugs. One of them is about security, so i need some advice on it11:52
yolandathis is the problem i had reported: debian/openerp-desktop.postinst sets the openerp database password in11:53
yolanda   an insecure manner which allows other users to see it via /proc.11:53
yolanda   Both the 'psql' and the 'sed' command have this problem.11:53
freakabcdhi all11:57
freakabcdI am running ubuntu server 1204 in virtualbox.. everything was working fine, so I saved this vm as  the base. then I cloned it.11:58
freakabcdnow in the clone (the mac address ofcourse changed), /etc/udev/rules.d/70-persistent-net.rules has eth0 as the old mac and the new mac is assigned to the111:59
freakabcdI could correct this manually in 70-persistent-net.rules but I want the file to be generated automatically12:00
freakabcdso i delete the file and simply restart udev and nothing happens!12:00
freakabcdi.e. the file is not regenerated as it says in the comment right on top of the file itself12:00
ogra_it says it is generated by persistent-net-generator.rules12:04
ogra_do you have this ?12:04
freakabcdogra_, I know for sure the file will be regenerated if i reboot the machine12:04
ogra_(elsde i would just run the mentioned binary by hand or an initial start script)12:04
freakabcdbut i ofcourse do not want to reboot :)12:04
freakabcdyes, the binary that is run is /lib/udev/write_net_rules12:05
freakabcdthis binary is automatically called when udev processes the /lib/udev/rules.d/75-persistent-net-generator.rules file12:05
freakabcdbut if i call the binary with sudo /lib/udev/write_net_rules    it simply says:  missing $INTERFACE12:06
freakabcdrestarting udev does not seem to regenerate the /etc/udev/rules.d/70-persistent-net.rules file12:07
Jeeves_You probably need to set some environment variables12:08
Jeeves_which are present at boottime, i assume12:08
freakabcdoh ok..12:08
freakabcdnice.. i will try it12:08
freakabcdwhen it said missing $INTERFACE I assumes it to be an arg for the program12:08
Jeeves_A reboot will probably fix the file.12:08
freakabcdit looks like it might be an env var12:08
freakabcdi'll try now12:08
freakabcdno, i don;t want to reboot :D12:08
Jeeves_Why did you completely remove the file?12:09
Jeeves_Why didn't you just edit it? :)12:09
freakabcdi have massaged this file many times when cloning VMs12:10
freakabcdjust wanted to see it actually regenerated the file without doing a reboot12:10
freakabcdit says that it is regenerated automatically.12:10
freakabcdand rebooting linux machines and VMs, i dont like :D12:10
ogra_well, there are certain things you have to reboot for :)12:11
ogra_even on linux12:11
freakabcdno way..12:11
freakabcdbringing a dev up for an existing iface does not need a reboot12:12
freakabcdit was present on boot and was detected fine.12:12
ogra_bootloader, kernel, the initsystem and udev changes surely fall under "you need to reboot to make it work if you want the daemon to pick it up" ... for udev thats surely a blurry area though12:12
ogra_since it lives half in userspace and half in kernel space12:13
ogra_rbasak, oh, looking at flash-kernel in teh archive it seems that infinity actually invested some time to clean up the mess with highbank12:23
rbasakogra_: he did, but I don't think it works. I'm doing more testing now.12:24
smbsmoser, utlemming, When Ben said the thing about no kernels in cloud images I realized that you might get bitten by the reduction of flavours quite a bit. Not sure it is possible to make a fallback to generic if no virtual is present in order to work with older and newer releases...12:24
jolarenHow do I move files from a folder to back from that folder?12:28
ogra_rbasak, not to be sarcastic, but did yu guys think about peer reviewing code before uploading it ? :)12:28
jolarennow I have a folder called teamspeak in /home/teamspeak/teamspeak/12:28
rbasakogra_: don't look at me. I don't have upload rights. Everything I do gets reviewed.12:29
smosersmb, its under control. we'll fix it.12:29
ogra_rbasak, yeah i didnt mean you :)12:29
smoserutlemming's merge proposal is too simplistic as it is, because we know a range of -generic kernels that do not work (we can't just white list them all)12:30
smoserand we need to change som eof the build scripts, but it is what it is.12:30
* rbasak had a merge proposal that he actually tested and does work12:30
freakabcdogra_, Jeeves_ sudo INTERFACE=eth0 MATCHADDR="08:00:27:98:16:c3" MATCHDEVID="0x0" MATCHIFTYPE1 /lib/udev/write_net_rules12:30
smosersmb, unless you're going to change -virtual package to contain a file named12:30
smoser'-virtual'.12:30
freakabcdregenerated the file :D12:30
smoserwhich may or may not be useful.12:30
smoserdoes -virtual currently (quantal) conflict with -generic?12:30
smbsmoser, Ok. Yeah it probably needs to check the PAE in the related config for i386. I would rather think not (that about the file)12:31
smbsmoser, And similar, when there are virtual kernels those likely want to be sorted first... which may be a pain depedning on how the cfg ist created12:32
smb(given that I seem to have issues already how I sort the letters in my words...)12:33
smbsmoser, Btw, the problem is that there is no real virtual package anymore. There are virtual meta packages and those pull in the generic kernel packages. Just like it is now with -server12:36
smbreal virtual... doh!12:36
smosersmb, the code i have correctly sorts12:39
smoseror, we can make it do that (it woudl currently favor X-generic over X-virtual except X-generic is blacklisted. so we would have to make it blakclist certiain -generic. that may be suitable).12:40
smosersmb, i understood the problem (regarding the meta package). i was suggesting that it would be possible to re-architect kernel packages to build -virtual and -generic that did not conflict (even though they were binary content the same, except for path names)... if you could muck with the uname string.12:42
smoseranyway.12:42
smoseri dont htink tha tis necessary12:42
smbsmoser, The desire is to rather have less that same number of packages (while the actual gain is build time, but the packaging has grown rather complicated). But yeah, I think it should be solvable without. If it just picks up any kernel but places virtual first, then as long as the default index of 0 is not changed I would think it would work in all cases.12:44
=== dendroba` is now known as dendro-afk
=== Corey is now known as Guest10091
=== garyposter is now known as gary_poster
szikaelI have problem with setting sshd_config  ,  the point 2 comp ubuntu 12.04  when i'm ussing ssh with out ListenAdress i am able to connect whan i'm adding ip (good one ) connectin refused13:38
szikaelhow ever it is only whan i connect from comp 1 to 2 , the other way all is working corect13:38
tash've got a mysldump script that ran fine in Debian, but in Ubuntu 12.04 it seems like my defaults file ( .my.cnf ) in /root/ is not being read.  In my script I'm setting MYSQL_HOME="/root/" but when I run the script to dump db's I get denied for root@localhost14:13
tashif I specify the password in the script on the line of the mysqldump ... --password="password" it works14:13
tashso def seems like the defaults file is not being read14:14
tashinteresting, I removed the MYSQL_HOME variable from the script and it works now.14:15
tashcan someone explain that?14:15
jcastroSpamapS: you were right wrt. my mdadm14:16
jcastroa drive was kicked out and it just flipped out.14:16
jcastroso instead of the drive being marked as not part of /dev/md1 it just put it in /dev/md1_d1 or somesuch14:16
SpamapSjcastro: so were you able to --force it back in?14:46
jcastroyep14:47
jcastrorebuilt with "assume-clean" or some other very scary flag14:47
SpamapSjcastro: I think I'm ready to say that btrfs disk pools or even the wacky FUSE based ZFS are better than ye-olde-RAID ;)15:05
jcastroSpamapS: I'll let you know when my disks get here today. :)15:10
Gallomimiai had this problem when running apt-get upgrade on my server today: http://pastebin.com/Rr7bW58V15:46
rbasakGallomimia: looks like an issue on your machine, but I can't tell for sure from that message. Do you have enough memory? Any runaway processes? Could the hardware be faulty?15:50
Gallomimiai think it's ram. we downgraded and i've not seen how much is left15:51
Gallomimiadoesn't change what shows in top when i run more or less servers15:51
rbasakPerhaps adding swap will help?15:52
Gallomimiai think it will yes. we want to avoid swapping like the plague tho15:52
rbasakYou could always add more memory :)15:52
Gallomimiadefault config is of course without swap cause most people will let it swap hard without noticing what's going on, and what it does to neighboring server's performance15:53
rbasakAny idea how much you're short by? Is this operation requiring more memory than it should?15:53
Gallomimiayes i think that's a better idea rbasak15:53
Gallomimia3gigs was enough to do what i want. but we went for one less cpu15:53
Gallomimiathink i'll just setting for what i can do on 2 for now15:53
rbasakan apt-get upgrade really shouldn't need anywhere near that order of magnitude15:54
Gallomimiawell, i was super full15:54
Gallomimiai dropped two servers and it's fine15:55
rbasakI see. So not an issue with Ubuntu then?15:55
Gallomimiawhen i get that particular flavor more configured properly, i'll use it more15:55
Gallomimiano... it appears to be pebkac15:55
Gallomimiawhich is what irc channels are best at telling you15:55
rbasakOK, np :)15:55
Gallomimiathanks :) good morning by the way15:56
FunnyLookinHatAnyone here have experience with setting a TMPTIME in /etc/default/rcS ?  I just realized it's 0 by default which means my server ( which is never rebooted ) will just continue to float more and more data in there...16:19
FunnyLookinHatI was thinking setting it to 1 ?  Would there be any big issue with doing os ?16:19
FunnyLookinHat*so16:19
rbasakm_3: can I give you the charm testing on ARM work item please? Does it still look feasible?16:20
m_3rbasak: sure... I can reassign if necessary16:21
rbasakthanks!16:21
m_3rbasak: won't be able to start looking at it until next week tho16:21
rbasakm_3: no problem!16:21
m_3rbasak: note no hw (qemu only) if you need to split the item up16:22
rbasakm_3: noted, thanks16:22
FunnyLookinHatOr can I count on /tmp being cleaned when it reaches a certain size?16:31
rbasakzul: any chance you could review https://code.launchpad.net/~racb/ubuntu/quantal/apache2/988819/+merge/106934 for me please? You were the last uploader...I asked for review from ~ubuntu-server as well, or should I put it in the normal sponsorship queue? I thought a server team member would make more sense.16:42
zulrbasak: sure right after i poke my eye out with this thing im trying to fix16:44
rbasakok, no problem16:44
smbzul, fixing pointy objects is dangerous16:51
zulsmb: my eye it is16:51
smbJust good that we wear glasses...16:52
=== Lcawte|Away is now known as Lcawte
hallynstgraber: I'm thinking that lxc-net may need to just not run if dnsmasq is installed17:04
stgraberhallyn: well, then containers won't get IPs, that doesn't sound like what we want17:05
hallynstgraber: they won't get ips anyway, becaue lxc-net will fail17:05
hallynall right i'll wait on that :)17:06
stgraberhallyn: I think we probably should have a LXC_NET_NO_DNS option (using a better name obviously) that users can set to have lxc-net start but not bind :5317:06
stgraberhallyn: that won't make it just work by default, because it's awfuly tricky to know how's the system wide dnsmasq configured but that'll at least give the user the option to fix their setup (and have lxc's dnsmasq only act as a dhcp server instead of dhcp+dns)17:07
hallynwil their base dnsmasq then answer dhcp requests for lxcbr0?17:07
xclusive585heres a noob one: I cannot get apt-get to just show me what packages WOULD be upgraded. even the -u switch seems to do nothing if you dont actually install updates17:07
stgraberhallyn: no it won't, that's why we'd probably want to only disable the dns part of dnsmasq, not the dhcp one17:08
stgraberhallyn: AFAIK the system wide dnsmasq doesn't act as dhcp server by default, so we shouldn't get a port conflict on the dhcp port, only the dns port is the problem17:08
stgraberwe could probably have lxc-net automatically start in dhcp-only mode if it detects that something is already bound on 0.0.0.0:53 but we can't solely rely on that as it's racy17:09
stgraberso having the configuration variable + fallback to dhcp-only if 0.0.0.0:53 is bound, sounds like the easiest way to solve ~80% of the current cases :)17:10
hallynsounds good.  but do you think we can have postinst choose automatically17:12
stgraberwe could, but I wouldn't do that until /etc/default/lxc is completely managed by debconf or people will get confusing upgrade prompts17:13
hallynok17:16
stgraberI'm starting to wonder if it wouldn't just be best if we patched dnsmasq to only bind the loopback address :)17:17
stgraberthen whoever wants it to listen on something else will have to deal with the consequences17:17
stgraber(and hopefully will be clever enough not to set it to 0.0.0.0)17:17
hallynstgraber: well that's what i've watned, but it seems some people (more knowledgeable than i on these matters) think that's a bad idea17:24
streulmaHi all17:34
streulmadoes Java and Tomcat run on a Virtual Private Server with ony 1 gigabyte of memory ?17:34
stgraberhallyn: another thought, can't we have lxc dump "bind-interfaces\nexcept-interface=lxcbr0" into /etc/dnsmasq.d/lxc and restart dnsmasq in the postinst (if /etc/init.d/dnsmasq exists)?17:35
stgraberhallyn: so basically shipping our own dnsmasq configuration file for their .d directory that configures the system wide dnsmasq not to mess with lxc17:35
stgraberAFAIK that's even policy-compliant :)17:35
hallynstgraber: i think that's been suggested (and nacked) somewere in one of the bugs for dnsmasq+libvirt+lxc17:43
hallynstgraber: what would then happen if they removed dnsmasq?17:43
stgrabernothing17:44
hallyndo we just have lxc-net check if dnsmasq is installed before starting its own dnsmasq ?17:44
=== Guest10091 is now known as corey
=== corey is now known as Corey
hallynall right maybe i'll see if i can understand all you've suggested tomorrow.  i have some reading to do17:45
hallynstgraber: thanks17:45
stgraberdepends what solution you're talking about :) I'm starting to think that shipping /etc/dnsmasq.d/lxc is the cleanest option as it uses the dnsmasq.d directory that's meant for that, makes lxc's dnsmasq do its usual job and doesn't change user behaviour for the system dnsmasq17:46
stgrabersounds all win to me :)17:46
=== AntORG_ is now known as AntORG
hallynstgraber: sounds good to me.  I'll play tomorrow (unless you want to)17:48
stgraberhallyn: I'll have a debdiff in a few minutes for you to look at17:48
hallynheh17:48
stgraberI already have it working in a container here, just trying to make it look nice17:48
hallynand any reason we couldn't do the same thing for libvirt then?17:49
stgraberthe same would work with libvirt, yes17:49
adam_gzul: i had to fix a patch to tthe swift tests in glance so tests will pass outside of buildds. not sure how that fits into the SRU17:51
hallynstgraber: out for lunch, bbl17:51
zuladam_g: should be ok17:51
adam_gzul: should i open a bug so we have something to reference in the changelog ?17:52
zulreference it in the changelog, "rediffed due to x y z"17:52
stgraberhallyn: http://paste.ubuntu.com/1013392/17:54
hallynstgraber: oh, i see. inverse of what i was thinking :)18:01
hallynlooks good to me18:02
hallynthat makes 3 fixes for q (two are staged in bzr), probably worth a release18:02
stgrabersounds good. We'll probably want to get the dnsmasq one through SRU once the current gets into -updates18:03
hallynagreed18:04
hallyndo you want me to push it, or do you want to?  (for q)18:04
hallynwe can probably combine a bunch of the 'lxc-net failed to start' bugs (dup them i mean) and make them one high prio bug18:05
hallynaddressed by both the fix for /bin/sh->bash and your dnsmasq one18:05
stgraberI'll do a PPA build of the current bzr branch, see if it works as expected18:06
stgrabermerging the dnsmasq bugs would be nice, we'll need that if we want to SRU it anyway18:06
hallyngreat, thx18:06
stgraberI also need to check that we can safely dump more than one of these overrides in dnsmasq.d so libvirt can do the same (and possibly network-manager too)18:06
hallynone should effing hope so :)18:07
hallynstgraber: but do you think we need two bugs for lxc-net not starting, or can i combine them all?18:07
stgraberthey sound like different issues. wasn't the bash one fixed a while ago?18:08
hallyni think that fix is still staged in bzr18:12
hallynmaybe not18:12
hallynbut i suspect there was only one bug that was due to sh->bash.  anyway, some are marked transitively as dups, but all are now related through dups :)18:14
hallyn4 or 5 of them18:14
hallynstgraber: we sill one day need to talk about syslog ns :)18:14
hallynbut not today - gotta go (lunch for real now) bbl18:15
stgraberhallyn: yeah... the current corruption mess is annoying :)18:15
stgraberenjoy!18:15
Altbair5http://j.gs/11yg --see the important movie18:32
zulSpamapS:  ping18:40
SpamapSzul: pong18:44
zulSpamapS: are you doing an SRU run18:44
SpamapSzul: yeah, training w/ bdmurray18:44
SpamapSzul: he'll send you a reason for the rejection of python-webob :)18:45
zulSpamapS: ok i was wondering :)18:45
SpamapSzul: hint.. bug#'s are required18:45
zulSpamapS: k ill have another look at it18:45
SpamapSzul: also, adding quilt in an SRU is a no-no18:47
skritehey all18:48
stgraberSpamapS: also, why was python-webob in the precise-updates queue and not in precise-proposed?18:48
SpamapSstgraber: oh yeah, that too18:50
SpamapSzul: ^^ wrong pocket18:50
zuladam_g: do we have any fixes we need in horizon?18:53
adam_gzul: none that i know of18:55
zuladam_g: ok18:55
axisysI have this redhat init script http://paste.ubuntu.com/1013541/ .. need to convert it to ubuntu19:22
axisyswhat do I replace this with?19:22
axisys. /etc/init.d/functions19:22
axisyswith this one may be? . /lib/lsb/init-functions19:23
axisysok what is ``killproc'' equivalent ?19:24
skritei would like to ask a couple of questions about mysql-cluster, anyone with any experience setting this up ?19:27
hallynzul: share some wisdom with me19:39
hallynzul: merging debian's qemu-kvm,19:40
zulhallyn: thanks for making me feel old19:40
hallynthey are right now copying files in debian/rules instead of using packagename.links / packagename.install19:40
hallyni have to pick different packagenames for most of those anyway, so they can't stay the same,19:40
hallynso should i keep the manual copies in debian/rules, or keep our qemu-common.install etc19:41
zuli would do what debian does, less headaches in the long run19:41
hallynall right, will do, thanks19:41
hallyn(ideally i'd switch to their package names, but the fact that we split some stuff with qemu-linaro makes that impossible)19:41
zulyeah19:42
* zul go gets his walker19:43
hallynman the deeper i get into this the more i wonder if it was a wise move19:45
Davieyzul: wassup?19:54
zulDaviey: hmm?19:55
Daviey* zul go gets his walker19:55
zulDaviey: heh...different context19:55
Davieyhallyn: make sure you check to se if you need Breaks (& Replaces)19:55
hallynDaviey: near as I can tell all the old ones pre-date lucid and can actually be dropped19:56
hallynand i'm not changing any package names, so other than ipxe-kvm vs ipxe-qemu and such, all should be good19:56
Davieyhallyn: hmm.. think we are talking about different things19:56
Davieyah19:57
Davieyok19:57
Davieyi'm sure you've got it covered19:57
hallynwe'll see.  my worry at this point is that i'm still doing so much slicing-n-dicing that it may not be worth it in the end19:57
hallyni may be better off just basing off of the same release+patches they use, but using our packaging otherwise19:58
=== Arc_ is now known as a5m0
stgraberhallyn: the dnsmasq.d trick works with multiple packages providing the same kind of configuration, so will be fine to have something similar in libvirt and network-manager20:22
hallynawesome20:22
stgraberoh, and quantal's kernel seems to be happy with lxc now, no more kernel oops20:22
hallynand if someone does apt-get purge dnsmasq, /etc/dnsmasq.d won't get removed (along with .../lxc), then after re-isntall we lose the fix?20:23
stgraberhallyn: do you know the reason for the manual rm calls in debian/lxc.postrm? I can see how they might make sense in the remove) target, but in purge) it seems pretty weird20:23
stgraberhallyn: I didn't test this, but removing a full .d directory that contains files on removal/purge would be against policy20:24
stgraberright, /etc/dnsmasq.d/lxc doesn't get removed on removal/purge of dnsmasq20:24
hallynstgraber: i'm pretty sure i did that.  you're talking about the apparmor ones?20:24
stgraberhallyn: yeah20:25
stgraberhallyn: I can see why they'd make sense under remove) but under purge) I don't see the point20:25
stgraberhallyn: because when you purge the package it's going to remove these anyway20:25
stgraberif the idea is to ensure we get rid of the apparmor jobs when lxc is installed, they should be moved to remove)20:25
hallynyeah no, they probably should just be removed20:26
hallynthe rms that is :)20:26
stgraberis it a problem if the apparmor rules are there after lxc is removed?20:26
stgraberif it's, we need to keep the rm calls but move them to remove), otherwise we can just remove the rm calls20:27
stgraber(for example I'm removing /etc/dnsmasq.d/lxc in remove) as I don't want our dnsmasq override to exist after the removal of lxc)20:27
zulrbasak: whats the url for the merge?20:28
rbasakzul: https://code.launchpad.net/~racb/ubuntu/quantal/apache2/988819/+merge/10693420:41
zulrbasak: thanks20:42
hallynstgraber: no i don't think it's a problem20:47
hallynif the rules are there after lxc is removed20:47
hallyni obviously was thinking it might be, but i can't think of any reason for it20:47
stgraberok, I'll remove that from the postrm in quantal then20:52
osmosiswhy is munin-node-configure not suggesting the 'memory' graph on 12.04?20:53
stgraberhallyn: lxc uploaded to qunatal20:57
stgraber*quantal20:57
hallynyay20:58
hallynnow if only i could say the same about qemu-kvm20:58
=== Lcawte is now known as Lcawte|Away
jMCgHello happy people o/~21:54
jMCgI'm looking for *sane* OpenLDAP package.21:54
jMCgI found a PPA here: https://launchpad.net/~christian-roessner-net/+archive/openldap but it's not available (for Precise)21:55
SkaagI have the 10.04 LTS, I run do-release-upgrade and it doesn't find the latest LTS. Any ideas why?22:14
Skaagnever mind… the -d switch does it22:15
jMCg\o/22:31
jMCgI have found the error. It was a missing certificate in /etc/ssl/certs/ca-certificates.crt -- Of course GnuTLS wouldn't tell me that. I had to recompile OpenLDAP so that OpenSSL would give me a sane error.22:32
axisyshow do I find out all the pkgs I installed after the server install .. I think we installed this server almost year ago and now I need to find out all the pkgs that are installed since then22:44
ScottKaxisys: Try dpkg --get-selections22:47
ScottKThat will show you all the installed packages.22:47
axisysScottK: right.. but is there a way find out the diff?22:48
axisysI only installed openssh and basic ubuntu server during install22:48
axisysand the rest after wards22:48
ScottKNot sure.22:49
axisys/var/log/apt/term.log has only log from june last year earliest22:49
ScottKHow about /dpkg.log*22:50
ScottKaxisys: /var/log/installer/initial-status.gz may be of use too.22:51
RoyKzcat /var/log/installer/initial-status.gz | awk '/Package:/ { print $2 }'22:53
axisysso initial-status is for the pkgs that came duing install.. correct?22:58
axisysduring*22:58
RoyKaxisys: iirc yes, just check the file's date22:59
axisysdoh! .. thanks 201022:59
RoyKaxisys: then make a list over installed packages with something like 'dpkg -l|awk '/^ii/ { print $2 }'"23:00
RoyK"dpkg -l|awk '/^ii/ { print $2 }'"23:01
RoyKand you have something diff might eat ;)23:01
axisysRoyK: thanks a lot23:02
RoyK;)23:02
pdtpatrickQuestion - anyone witness this problem with apt-get  (when updating or installing a package), It starts off fine and then gradually gets slow and eventually just times out23:09
pdtpatrickI'm using the following sources list: http://pastie.org/399189323:10
RoyKnope - tried downloading the packages manually? might be something bad with your connection23:10
pdtpatricktried downloading it manually, it takes just as long23:10
RoyKthen try another country ;)23:10
RoyKif in the us, perhaps .ca might be better?23:11
pdtpatrickca.archive.ubuntu.com ?23:11
RoyKyeah23:11
pdtpatricksame deal23:12
pdtpatrick5MB file takes 15mins. wtf -- going to hit up the network guy again.23:12
RoyKwhat if you try something far off? .de? .no?23:13
* RoyK is in .no and time is well past bedtime - nite23:13
axisysnealmcb: nite23:15
axisysoops23:15
axisysRoyK: nite23:15

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