[00:25] <GH0> Hello, I seem to have run into an issue with two files not appearing in KDE's menu, however, when attempting to rescan and re-add these, I get the following errors.
[00:25] <GH0> kbuildsycoca4(16401) KConfigGroup::readXdgListEntry: List entry Keywords in "/usr/share/applications/firefox.desktop" is not compliant with XDG standard (missing trailing semicolon).
[00:25] <GH0> kbuildsycoca4(16401) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kde4/k4dirstat.desktop" is not compliant with XDG standard (missing trailing semicolon).
[00:25] <GH0> However, I noticed that not all files in the folder have a trailing semicolon, so I was wondering if anyone could either paste their files listed in that folder, or if they could show me a way to replace those files through a reinstall or something?
[00:25] <GH0> Because purge doesn't remove the files.
[00:28] <sarnold> GH0: you may wish to try #ubuntu, most servers don't have desktops installed :)
[00:28] <GH0> Lol, well, I figured that because I was running a server build, the best thing to do was ask in here first before being told to bring it in this channel. Will do though.
[00:28] <sarnold> GH0: the difference is more in package selection than anything else :)
[00:42] <arooni-mobile__> i have a ubuntu VPS linode server running 10.04.  i want to upgrade to ubuntu 12.04.  its giving me a warning about doing it over SSH... any precautions i should take?
[00:44] <sarnold> arooni-mobile__: make sure the linode console lets you request "reboots" or whatever it is you get to do there when things go wrong :)
[00:58] <freze> my vps has the option for a reverse dns for all my ips. What is this used for?
[00:59] <arooni-mobile__> for my ubuntu 12.04 server;  is there a way to run updates on it automatically?  or do i have to manually do upgrades for packages?  im thinking specifically for security issues
[01:00] <sarnold> arooni-mobile__: install the unattended-upgrades package
[01:01] <arooni-mobile__> sarnold, so that will auto download security updates and install them?
[01:01] <arooni-mobile__> dont need to do antyhing else?
[01:01] <freze> https://help.ubuntu.com/community/AutomaticSecurityUpdates
[01:02] <sarnold> arooni-mobile__: I believe it can also be easily configured to get other updates, not just security updates, if you wish
[01:29] <hallyn> sarnold: i'll have to reread it later, but i didn't quite get your dnsmasq proposal
[01:29] <hallyn> maybe it'll make sense to me next time :)
[01:29] <sarnold> hallyn, darn, I was afraid of that. I _knew_ waving my hands about would have helped..
[01:30] <hallyn> sarnold: you talk about having containers put dnsmasq-libvirt into their resolv.conf.  but the whole point (istm) is that dnsmasq doesn't want to do secondary dns servers
[01:30] <hallyn> i.e. every dns server should be a primary
[01:30] <sarnold> hallyn: but I _think_ glibc's resolver is more forgiving
[01:30] <hallyn> so if we're giogn that route, then it seems tome wejust need to teach people to put server=/lxc/<IP_ADDRESS> and the like into their dnsmasq.conf
[01:30] <hallyn> interesting
[01:31] <hallyn> that would explain why the other guy wasn't having a problem when dnsmasq-lxc is not in strict-order
[01:31] <sarnold> hallyn: and since the bug you pointed out has ~25 people affected, it might even be worth writing a forwarder that behaves as we'd like it...
[01:31] <hallyn> my argumetn was that dnsmasq should still half the time be failing - but maybe glibc is "magically" making it work
[01:31] <hallyn> sarnold: there is a patch shipped with the dnsmasq source to do it
[01:31] <sarnold> hallyn: oh?
[01:31] <hallyn> :)
[01:32] <hallyn> but nto applied
[01:32] <hallyn> and in face there are two versions,a nd both are again out of date
[01:32] <sarnold> hallyn: I'll have to admit, after I spent two weeks trying to backport a security fix through all five versions of dnsmasq that we support, I kinda of grew some serious distaste for it. heh.
[01:32] <hallyn> but there's that bug which i think i quoted in your bug, which poses and does nto answer the fundamental question: do we want dnsmasq to behave that way or not
[01:33] <hallyn> you and i, i think, agree it should
[01:33] <hallyn> but kelley, the dnsmasq author,d oes not
[01:33] <sarnold> (I even spent two hours tring to smack a powerdns recursor in front of the whole thing, but got stymied by the lack of .lxc and .libvirt TLDs to forward to, as appropriate..)
[01:33] <hallyn> and thood wants to respect the author i iiuc
[01:33] <sarnold> and I'm even reasonably certain kelley's got very good reasons. at least when I read them, they make sense.
[01:33] <hallyn> stgraber had mentinoed some other rsolver he had considered, but dnsmasq was already in main
[01:33] <sarnold> but the sum total of what we've got is a very frustrating experience. :(
[01:34] <hallyn> sarnold: well i can sum it up like this:
[01:34] <hallyn> we can solve this problem pretty easily using server=/domain/resolver in dnsmasq.conf, but
[01:34] <hallyn> that does NOT solve it generically, whereas resolv.conf did
[01:34] <hallyn> so in that sens this is a regression
[01:34] <sarnold> I have a feeling that dnsmasq is trying to do too many things at once. It feels like dhcp+authoritative should be one part. and forwarding+caching shuold be another part. and maybe even outright recursive a third part. but having all of them in one big blob is just .. a lot.
[01:35] <hallyn> well, you might be right, but i don't think that really needs to affect this :)  this seems like just a question of teaste
[01:35] <hallyn> taste
[01:35] <hallyn> "all resolvers should be primary" vs "we should allow secondaries"
[01:35] <arooni-mobile__> hey folks;  recently upgraded my ubuntu 10.04 box to 12.04 ... now the SSH is FUBARd... i cant ssh in on my port.  i'm logged in as rot; how can i fix?
[01:36] <sarnold> yeah, that's just me redesigning the world to fit my preconcieved notions. :) But I _do_ think the problem might be more easily solved if we pretend it worked that way...
[01:36] <hallyn> arooni-mobile__: is sshd running?  did you have a custmo config?
[01:36] <hallyn> sarnold: I think "allowing secondaries allows more general solutions" is compelling
[01:36] <sarnold> hallyn: or, at least, I thought it'd be worth floating past thood and you..
[01:36] <hallyn> Any time that libvirt docs have to say "if you're running dnsmqsq, do this;  if you're running optimus, do that" we lose
[01:37] <hallyn> sarnold: but i still didn't grok what you were saying in the email :)
[01:37] <hallyn> i'll reread in the morning though
[01:37] <arooni-mobile__> hallyn, sshd appears to be running; and yes my config file is custom; just changed the port; really
[01:37] <sarnold> heh, libvirt "fixed" it by putting the whole configuration in C source anyway. damn near impossible to modify. :(
[01:37] <hallyn> sarnold: yeah, that's a pain
[01:38] <hallyn> taht's why i only mentioned lxc in my server=/lxc/<IP_ADDRESS> example :)
[01:38] <hallyn> arooni-mobile__: have you checked the config file to make sure it hasn't been overwritten?
[01:38] <sarnold> arooni-mobile__: does netstat -lntp show sshd listening?
[01:38] <sarnold> hallyn: please do let me know if it makes more sense in the morning. just go to bed thinking "flat dns" rather than "chained dns" and see if that helps... :)
[01:39] <hallyn> sarnold: ok :)
[01:39] <arooni-mobile__> hallyn, checked config file already; not overritten
[01:40] <arooni-mobile__> tcp6       0      0 :::22222                :::*                    LISTEN      2247/sshd         ...its listening on the right port
[01:40] <sarnold> arooni-mobile__: ipv6 okay? :)
[01:41] <arooni-mobile__> ooh its because linode moved my IP address during the migration
[01:41] <sarnold> o_O
[01:41] <arooni-mobile__> and i was SSH'ing directly to the IP address
[01:41] <arooni-mobile__> no wait
[01:41] <arooni-mobile__> the IP address is the same
[01:42] <arooni-mobile__> so im missing why i cant ssh from my box;  i just checked to make sure my keys are in ~/username/.ssh/authorized_keys
[01:42] <arooni-mobile__> they are
[01:42] <arooni-mobile__> on the connecting computer debug says: "debug1: Connecting to 70.87.XX.XX [70.87.XX.XX] port 22222."
[01:42] <arooni-mobile__> dont' get past htat
[01:43] <sarnold> arooni-mobile__: can netcat connect and collect a banner?
[01:43] <sarnold> arooni-mobile__: (echo "" | netcat ip-address 22222)
[01:44] <arooni-mobile__> netcat: getaddrinfo: Temporary failure in name resolution
[01:44] <arooni-mobile__> ugh dns resolution again?
[01:51] <arooni-mobile__> can someone help me getting DNS resolution fixed?  i'm seeing "/etc/network/interfaces:11: misplaced option"  on line: dns-nameservers <IP_ADDRESS> <IP_ADDRESS>
[01:51] <GH0> sarnold, typical main channel. lol, no one answers.
[01:52] <sarnold> GH0: sigh :)
[01:53] <GH0> i can probably find the files online.l and fix it that way. Or just k owibg what would replacw the foles
[01:53] <GH0> Oh dear god the misspellings
[01:54] <sarnold> arooni-mobile__: I don't see it obviously.. can you pastebin the whole thing?
[01:54] <arooni-mobile__> sarnold, one sec
[01:55] <arooni-mobile__> sarnold, http://paste.ubuntu.com/5964666/
[01:55] <arooni-mobile__> sorry
[01:55] <arooni-mobile__> thats from my desktop
[01:56] <arooni-mobile__> one sec
[01:56] <sarnold> arooni-mobile__: hrm, is that comma supposed to be there? I don't see commas in the resolvconf(8) manpage..
[01:56] <arooni-mobile__> https://gist.github.com/anonymous/6190558
[01:57] <arooni-mobile__> sarnold, the second one is actual file
[01:57] <sarnold> arooni-mobile__: looks like you're missing an 'iface eth0' line
[01:58] <arooni-mobile__> sarnold, what should it look like ?  iface eth0  ... dhcp ?
[01:58] <arooni-mobile__> i think ubuntu 12.04 overwrote whatever i had before that was working
[01:59] <sarnold> GH0: try debsums -cs firefox
[01:59] <sarnold> arooni-mobile__: try "inet eth0 inet dhcp"
[02:00] <GH0> sarnold, will do, hold on
[02:01] <arooni-mobile__> sarnold, cool, getting a different error on networking restart "ifup: couldn't read interfaces file "/etc/network/interfaces"
[02:01] <arooni-mobile__> "
[02:01] <sarnold> arooni-mobile__: woo. :) I'd put that 'auto eth0' line up near the other 'auto' line.
[02:02] <arooni-mobile__> sarnold, cool; now it restarts; but i'm still not getting dns resolution
[02:02] <GH0> sarnold, is it supposed to report anything back?
[02:03] <GH0> It seems to newline after pressing enter
[02:03] <sarnold> GH0: that means there were no corrupted files in the package
[02:03] <sarnold> GH0: so your firefox.desktop is just as it should be.
[02:03] <sarnold> well, just as it was delivered. :)
[02:04] <sarnold> arooni-mobile__: any nameserver lines in /etc/resolv.conf?
[02:05] <arooni-mobile__> sarnold, nope nothing there
[02:05] <sarnold> arooni-mobile__: do you have a /etc/resolvconf/update.d/libc file?
[02:05] <arooni-mobile__> sarnold, dont know if it matters but lrwxrwxrwx 1 root  root      31 May 16  2011 resolv.conf -> /etc/resolvconf/run/resolv.conf   ... its a symlink
[02:06] <arooni-mobile__> sarnold, -rwxr-xr-x 1 root root 5093 Jul 18  2012 libc  ...
[02:06] <sarnold> hrm, that should have written the new nameserver lines for you..
[02:06] <arooni-mobile__> should i try rebooting?
[02:06] <arooni-mobile__> haha
[02:07] <sarnold> only if the vps makes it easy to get back without working networking on the system :) hehe
[02:07] <arooni-mobile__> my ubuntu never wants to talk to the outside world
[02:19] <arooni-mobile__> fixed it sarnold ;  thanks
[02:20] <arooni-mobile__> htere was a bad symlink apparently in /etc/resolv.conf
[02:22] <sarnold> arooni-mobile__: really? how odd. could you file a bug against resolvconf (ubuntu-bug resolvconf) and copy-and-paste some of your more enlightening commands and results?
[02:22] <sarnold> arooni-mobile__: upgrades from 10.04 to 12.04 really ought to work :)
[02:22] <sarnold> arooni-mobile__: thanks :)
[02:35] <arooni-mobile__> sarnold, geez i wish i would have kept better track of what it linked to before
[02:36] <sarnold> arooni-mobile__: this is what you pasted before.. lrwxrwxrwx 1 root  root      31 May 16 2011 resolv.conf -> /etc/resolvconf/run/resolv.conf
[02:36] <arooni-mobile__> oh good;  cuz i straight up deleted that bad symlink
[02:36] <arooni-mobile__> it wasnt pointing to anything
[02:36] <sarnold> :)
[02:37] <sarnold> I'm sorry I didn't recognize it at the time; I'm on 13.04, mostly, and I figured the path had changed from 12.04. :(
[02:37] <arooni-mobile__> i should have noticed it as a bad symlink
[02:37] <arooni-mobile__> i have color highligting on my terminal
[02:38] <arooni-mobile__> ahhh i know
[02:38] <arooni-mobile__> i was logged in as root
[02:38] <arooni-mobile__> so i didnt have color highlighting
[02:38] <arooni-mobile__> otherwise i would have noticed it was red
[02:42] <arooni-mobile__> sarnold, correct me if im wrong but isnt this the same issue: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244
[02:45] <sarnold> arooni-mobile__: that looks like it. wow..
[02:46] <sarnold> https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/comments/66
[02:48] <arooni-mobile__> sarnold, i guess checking the bugs on a package when im having troubles with it is a good idea
[04:59] <failmaster> i have a problem switching luks passphrase authorization to key file for root fs on 13.04 https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/238163/comments/18 anyone? =)
[06:34] <brahmana> Hi. Is there a way for me to block access to a particular domain from my machine?
[06:34] <brahmana> This is for my Ubuntu desktop. I was suggested to ask here when I asked the same in #ubuntu
[06:36] <brahmana> Would adding an entry like ALL : my.domain.com to /etc/hosts.deny be the right approach?
[06:36] <sarnold> cheap-and-kinda-busted is to put <IP_ADDRESS> domainname.com   into your /etc/hosts file. That will only screw up domain resolution for the specific hostnames you list: it won't kill the whole domain, and if someone resolves the IPs elsewhere, they'll be able to use the IPs to connect...
[06:36] <brahmana> I tried that but I can still access that my.domain.com via telnet
[06:37] <sarnold> you'd need to add in my.domain.com as well... it can get exhausting :)
[06:37] <brahmana> It's just one domian.. so its ok.
[06:37] <sarnold> if the domain is entirely hosted in one netblock, you could use iptables to block access to the network. that'll be far more reliable, right up until they change their IPs.
[06:37] <brahmana> Furthermore this is not from a security standpoint. I just want to block access to that domain temporarily.
[06:40] <unfailedagain> i have a problem switching luks passphrase authorization to key file for root fs on 13.04 https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/238163/comments/18 anyone? =)
[06:46] <sarnold> unfailedagain: http://paste.ubuntu.com/5965290/
[06:46] <unfailedagain> sarnold, it works without one for sdb1
[06:46] <sarnold> unfailedagain: does that KEYSCRIPT look familiar?
[06:47] <sarnold> unfailedagain: sdb1 isn't going to be used for root
[06:47] <unfailedagain> sarnold, so what's the difference, it's being mounted during boot
[06:47] <sarnold> unfailedagain: the difference is I found that string in this file in the source package: debian/initramfs/cryptroot-hook
[06:47] <unfailedagain> as well as / was on 12.04 without keyscript=
[06:47] <sarnold> unfailedagain: .. perhaps that hook doesn't care about the other targets?
[06:48] <unfailedagain> i knwo about this hook, i even was able to find out the moment where it was suggested
[06:49] <unfailedagain> but if i was that good enough - i would already fix it
[06:51] <unfailedagain> sarnold, hm, the strange thing is that i somehow thought it should be grepable under /etc/ and appears there is none
[06:51] <sarnold> unfailedagain: check /usr/share/initramfs-tools/hooks/  ?
[06:52] <unfailedagain> sorry, my bad
[06:53] <sarnold> good luck :) bed time here
[06:53] <unfailedagain> sarnold, many thanks!
[06:53] <unfailedagain> i'll investigate around hooks
[06:53] <sarnold> unfailedagain: if you find it, let me know, I'm curious what it ought to be..
[06:53] <unfailedagain> definitely i will
[06:53] <sarnold> :) thanks
[07:36] <unfailedagain> looking at cryptroot hook i really don't get it, how that thing "# If keyscript is set, the "key" is just an argument to the script" is related popping-up a warning
[07:36] <unfailedagain> most probably because i'm too noob
[08:15] <rtfmdude> is it necessary to have a keyscript option in order to use luks authorization based on a key file for drive with mount point on / (root fs)?
[08:16] <adam_g> jdstrand, any security updates in the pipe for openstack? putting together a new SRU batch
[08:44] <stemid> does ubuntu use vixie cron? I noticed crontab(5) says Vixie.
[08:44] <stemid> not anacron then
[08:45] <stemid> just wondering because I have a problem with a crontab file on two ubuntu 12.04 servers, but none of my debian servers (anacron). I always use /etc/cron.d and very basic format MAILTO=me PATH=/to/script 0 4 * * * root script.sh
[08:45] <stemid> and it never runs
[08:45] <stemid> but manually it works
[08:45] <stemid> manually the script works
[08:47] <stemid> and cron.allow does not exist
[08:59] <rtfmdude> is it necessary to have a keyscript option in order to use luks authorization based on a key file for drive with mount point on / (root fs)?
[09:03] <jamespage> adam_g, zul, Daviey, smoser: just flushed everything in havana proposed CA through to updates.
[09:04] <adam_g> jamespage, nice
[09:04] <jamespage> adam_g, there are a few deps that need a resync - I'll look at those later today
[09:04] <adam_g> jamespage, non-neutron havana is deploying and testing good
[09:04] <jamespage> adam_g, also looking to push in a rc for the next ceph LTS later as well
[09:04] <jamespage> adam_g, yeah - I guess we need todo the charm work to deal with that upgrade now
[09:04] <adam_g> jamespage, we need to have the quantum + nova charms be naming aware
[09:05] <jamespage> lol - snap
[09:05] <jamespage> anyway - back later
[09:05] <jamespage> ttfn
[09:05] <adam_g> jamespage, i think we can handle it easy enough in the new py redux, but maybe we can just temporarily fix in the qa charm branches
[09:24] <rtfmdude> is it necessary to have a keyscript option in order to use luks authorization based on a key file for drive with mount point on / (root fs)?
[10:34] <freze> How much memory will ubuntu server on average for a default setup?
[10:35] <maswan> .5G or so, is my guesstimate. of course, then you want memory for your services too.
[10:36] <freze> I'm gettin 125MB
[10:39] <freze> anyone know what  sendmail: MTA:  is for?
[10:45] <thumper> apw: ping
[10:47] <rbasak> freze: mail transfer agent. That isn't on a default install, though.
[10:51] <freze> do I need it?
[10:52] <freze> it came with my vps ubuntu image
[10:52] <freze> along with apache which I delted
[11:04] <andol> freze: You might not need (or even want) sendmail specifically, but you probably want some kind of local MTA so that the server can send mail. If nothing else you might want your server to be able to send cron mail and stuff.
[11:05] <andol> freze: Oh, and for extra fun, there is a bit confusion regarding the sendmail name. In addition to it being the name of mail server, it is also the name of a system binary, which also other mail servers use, for compability reasons.
[11:08] <freze> Thanks andol. I guess my VPS by default included additional packages in the iso image.
[11:09] <andol> freze: The default MTA for Ubuntu is Postfix, which (as hinted earlier) do provide a /usr/sbin/sendmail binary.
[12:07] <freze> anyone here using fail2ban?
[12:08] <freze> I'm following this guide: http://felipeferreira.net/?p=47. However I do not see a [ssh-iptables] block in my config file.
[12:13] <ciss> hi, i'm running 12.04 server (upgraded from 10.04 server), and i've run into some dependency issues while installing samba that i am unable to resolve. apt output: http://pastebin.com/PHbAQ8wL, sources.list: http://pastebin.com/zdTbEJbq
[12:13] <ciss> samba had been installed before the dist-upgrade, but seems to have been removed in the process (i assume - it's been a while, i can't remember)
[12:15] <rbasak> ciss: please pastebin the output of "apt-cache policy samba".
[12:17] <ciss> rbasak: http://pastebin.com/MJyLS6qz
[12:18] <rbasak> ciss: looks like you're trying to install a different samba from the one in the archive.
[12:18] <rbasak> ciss: the 9v-shaun-42 ppa that you have enabled there.
[12:21] <ciss> rbasak: ah, i remember now. thanks a lot, now i have something to work with :)
[12:21] <jdstrand> adam_g: yes, a whole slew of them just came through
[12:21] <jdstrand> adam_g: they should be pushed out next week
[12:22] <adam_g> jdstrand, affecting which packages? i guess i can just move forward and rebase as necessary
[12:35] <thumper> apw: ping?
[12:37] <jdstrand> adam_g: please give me a few minutes
[12:40] <jdstrand> adam_g: looks like python-glanceclient, swift, cinder, nova, keystone and python-keystoneclient
[12:40] <stgraber> hallyn, sarnold: uploaded lxc to saucy-proposed with hardening-wrapper enabled, so that should be all for that MIR.
[12:40] <stgraber> sarnold: if you could confirm that you're fine with that change, I'll seed lxc and promote it
[12:41] <jdstrand> adam_g: actually, keystone may not be on the list-- I need to deep dive into the python-keystoneclient one
[12:44] <hallyn> stgraber: scary
[12:47] <hallyn> stgraber: did you rip the mkifname source from mktemp in libc by chance?  or whip it up from scratch?
[12:48] <stgraber> hallyn: mostly from scratch
[12:49] <stgraber> hallyn: it was intiially roughly based on bionic's mktemp implementation but I don't think I really kept much as they were using some random number generation function that didn't exist in eglibc
[12:49] <stgraber> (and extracting the equivalent function from eglibc was too painful thanks to all their generated code...)
[12:50] <stgraber> however I did run a bunch of tests to confirm it does the right thing when getting a name conflict and that it's not racy (won't return the same thing twice, no matter how fast it runs), also ran it under valgrind to make sure I didn't forget to free anything
[12:51] <hallyn> i've gotta go over a 20M of valgrind data at some point :(
[12:52] <stgraber> hehe, it's much easier to deal with when adding single self contained functions than running against something like lxc-start ;)
[12:52] <hallyn> stgraber: but how cna there not be a memory leak?
[12:53] <hallyn> you strdup name ina loop but dno't free it
[12:53] <hallyn> that i can see
[12:53] <hallyn> i must be missing something (/me keeps looking)
[12:57] <stgraber> hallyn: oh, yeah, I probably should free it when I don't break out of the loop
[12:57] <hallyn> surprisedh valgrind didn't spot that
[12:58] <stgraber> well, I'd have to go through that specific code path which I guess wasn't the case when run under valgrind
[12:59] <stgraber> if the first name it comes up with doesn't already exist, then it's fine
[12:59] <stgraber> it's only if it already exists and it needs to generate another one that the leak happens
[12:59] <hallyn> stgraber: one more:
[12:59] <stgraber> hallyn: http://paste.ubuntu.com/5966322/
[12:59] <hallyn> i think you need to do padchar[random() % (strlen(padchar)-1)]
[13:00] <hallyn> though really that number should probably be set with a #define :)
[13:00] <hallyn> stgraber: lastly, really should check that strdup() didn't return null
[13:02] <hallyn> stgraber: say, is it safe to install dnsmasq on a running precise server, or will precise hit some snafus and i'll lose network?
[13:02] <hallyn> (istr it was phased in at or right after precise, so i worry)
[13:03] <stgraber> hallyn: I "think" we backported all the needed bits
[13:03] <stgraber> hallyn: http://paste.ubuntu.com/5966334/ ?
[13:03] <hallyn> heh, i\'d only want it to do the server=/lxc/<IP_ADDRESS>, maybe i shouldn't risk it
[13:04] <hallyn> stgraber: +1, you can just add my Acked-by too then
[13:04] <stgraber> hallyn: ok, thanks
[13:04] <hallyn> no no, thank you :)
[13:06] <alex88> erm, i just dist-upgraded and apache 2.4 just broke everything :)
[13:06] <alex88> is there a way to get back?
[13:11] <hallyn> smoser: thanks, i agree i didn't like the clone() name there :)  reviewing, will push to staging soon.
[13:12] <smoser> neat, thanks.
[13:12] <hallyn> (in general we prefer patchsets sent to lxc-devel rather than pushed though github, but this is specific to lxc-ubuntu-cloud, which noone will comment on anyway :)
[13:12] <smoser> ah.
[13:12] <smoser> do you want me to squash it?
[13:12] <smoser> to one commit
[13:14] <hallyn> nah
[13:14] <hallyn> i've already pulled it, just looking over the commits now
[13:16] <hallyn> smoser: i also wonder if these commits fix any of the open bugs against lxc-ubuntu-cloud
[13:17] <hallyn> smoser: oh, but you didn't sign off on your commits
[13:18] <hallyn> smoser: so if you dno't mind signing them off - squash them or not - then i'll sign-off and push
[13:18] <smoser> i can do that.
[13:18] <smoser> thanks
[13:28] <smoser> hallyn,
[13:28] <smoser> ok. so i push --forced over
[13:28] <smoser> https://github.com/smoser/lxc/tree/uc-clone-hook
[13:29] <smoser> ok, and the pull request figured that out
[13:34] <ciss> if a package install fails due to an exception during interactive configuration (and thus the package is in a broken state), how can i force another configuration dialog when reinstalling? (right now it seems to always use the last provided inputs)
[13:34] <hallyn> smoser: how weird, git pull acted differently this time (asking for a merge msg).  oh - i see
[13:35] <yolanda> jamespage :https://code.launchpad.net/~yolanda.robla/charms/precise/jenkins/fix_nogroup/+merge/179434
[13:36] <hallyn> smoser: pushed
[13:36] <hallyn> thanks
[13:38] <smoser> hallyn, awesome. thank you.
[13:39] <hallyn> wtf - containers don't have 'ed' by default?
[13:42] <stgraber> hallyn: we've got vim, why would you want ed? ;)
[13:42] <rbasak> alex88: in what way did it break everything?
[13:44] <hallyn> stgraber: so i can edit a file while keeping the compiler errors on teh screen :)
[13:44] <hallyn> stgraber: woohoo, i'm creating N, and no more than N, veths as unpriv user.  re-integrating into lxc will be uglier than i'd like though
[13:44] <stgraber> hallyn: ah, I just background vim in such cases ;)
[13:44] <stgraber> hallyn: nice!
[13:45] <hallyn> might just post the standalone toy i'm testing with for comment first
[13:45] <hallyn> cause boy does this have the potential for disaster :)
[13:46] <alex88> rbasak: new modules, changed configuration
[13:47] <bkfitz> I'm currently running proftpd on 10.04, but I'm concerned about passwords being passed in clear text... has anyone set up sftp for proftpd and/or have any recommendations for me?
[13:47] <rbasak> alex88: please can you be more specific? Apache 2.2 -> 2.4 is a major change so it's expected that if you have a custom setup you will need to update it. So I'd like to understand whether your breakage is reasonable for the package, or if there are bugs that need to be fixed.
[13:48] <alex88> rbasak: well first it doesn't support dav svn
[13:49] <rbasak> alex88: which package is that, please?
[13:49] <alex88> libapache2-svn
[13:49] <alex88> and for some reason, it was installed but still apache2 and related upgraded to 2.4 breaking it
[13:49] <psivaa> hallyn: connecting to mysql with today's precise images return "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)"
[13:50] <psivaa> with lamp server installations
[13:50] <rbasak> psivaa: from -proposed?
[13:50] <rbasak> psivaa: bug 1121874 - SRU verification failure.
[13:53] <rbasak> alex88: looks like the problem is that subversion doesn't support apache 2.4 yet.
[13:53] <alex88> yeah
[13:53] <alex88> but shouldn't it block apache upgrade?
[13:53] <psivaa> rbasak: i dont think it's from proposed, the versions are of 5.5.32-0ubuntu<IP_ADDRESS>
[13:53] <rbasak> alex88: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712004 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666794
[13:53] <alex88> rbasak: uh ok thanks!
[13:53] <ikonia> bkfitz: what information are you looking for ?
[13:53] <rbasak> alex88: the solution was to disable the subversion module in Debian for now, so as not to block apache moving to 2.4
[13:54] <psivaa> rbasak: those pkgs are in main
[13:55] <alex88> rbasak: ok thanks for the info, btw I've now installed first libapache2-svn to it installed 2.2
[13:56] <bkfitz> iknonia: well... I guess advise on using proftpd's sftp module vs openssh
[13:57] <bkfitz> iknonia: and/or suggestions for allowing my dev to upload content to my wwwroot folder securely
[13:57] <rbasak> psivaa: 5.5.32-0ubuntu<IP_ADDRESS> was from -proposed, though it's been deleted now. AIUI, it's never been in -updates.
[13:57] <Pici> !tab | bkfitz
[13:58] <bkfitz> Pici, yeah... knew it just wasn't thinking
[14:00] <psivaa> rbasak: ack, thanks
[14:05] <bkfitz> ikonia, any advise?
[14:05] <ikonia> bkfitz: what's wrong with just connecting to sshd via sftp ?
[14:06] <ikonia> bkfitz: I'm assuming you've got ssh running, so any reason not to use it ?
[14:32] <stgraber> hallyn: debugged and fixed the autopkgtest failure which prevented the past 3 lxc uploads from reaching the archive (it was adt-run messing with TMPDIR and confusing debootstrap, adding an unset TMPDIR did the trick)
[14:32] <hallyn> and now all fixed?
[14:32] <stgraber> I got a succesful run on my laptop and just uploaded to the archive, so hopefully Jenkins will succeed too
[14:33] <mdeslaur> rbasak: d'oh, sorry for breaking apache2
[14:33] <rbasak> mdeslaur: np, it wasn't you.
[14:35] <bkfitz> ikonia, i do have ssh (openssh) running, but i need sftp to be run over port 21
[14:35] <ikonia> bkfitz: ok, then setup an sftp server
[14:35] <rbasak> I noticed the problem weeks ago, but wanted to write a dep8 test. Which involved writing adt-virt-lxc so that I could test my test. Took a while :)
[14:36] <bkfitz> ikonia, proftpd with modsftp suggested?
[14:36] <bkfitz> ikonia, or vsftpd
[14:37] <ikonia> up to you
[14:37] <ikonia> they all do the same thing really
[14:38] <smoser> hallyn, suck.
[14:38] <smoser> can you pull tip of my staging
[14:38] <smoser> https://github.com/smoser/lxc/commit/5215d38b121076bf23960c87047c75047ea96a3b
[14:38] <smoser> hold on. you want signed off by
[14:39] <smoser> https://github.com/smoser/lxc/commit/384dc9c011422ab6ebc424d5f5571ee561104ce6
[14:43] <bkfitz> ikonia, so will running proftpd with modsftp conflict with my openssh service?
[14:44] <bkfitz> ikonia, i'd like to run ssh on 22 and sftp on 21
[14:45] <ikonia> bkfitz: why would it conflict with open ssh ?
[14:45] <andol> bkfitz: I assume you know that regular ssh usually also handles sftp? But no, running a separate sftp on port 21 wuldn't conflict, even it it might possibly confure.
[14:47] <Pici> *confuse
[14:48] <bkfitz> andol, yeah... but i need ssh to run on 22 and sftp to run on 21... so i'm assuming i need two daemons
[14:48] <bkfitz> openssh -> ssh -> 22
[14:48] <bkfitz> proftpd or some other sftp server -> sftp -> 21
[14:48] <ikonia> they are two seperate services
[14:49] <ikonia> openssh is nthing to do with proftp/vsftpd etc etc
[14:49] <ikonia> why do you need it running on port 21 thought ?
[14:50] <stgraber> hallyn: damn, lxc no longer builds on Android... I really need to add that to my build server so we catch those earlier.
[14:50] <bkfitz> ikonia, because my devs are inside our lan which doesn't allow port 22 traffic outside... only 21
[14:51] <bkfitz> i use my mifi to get out on 22
[14:51] <bkfitz> ikonia, don't ask why the policy is to close 22
[14:51] <ikonia> just run an sftp server then, nice and simple
[14:51] <bkfitz> ikonia, yeah... just doing some reading on that now... thx
[14:52] <hallyn> stgraber: is that bc of an alloca or somesuch that i threw in?
[14:53] <stgraber> hallyn: nope, utils.h the __NR_* defines don't include the values for arm
[14:53] <hallyn> smoser: trying to figure out how to get that with a git cmomand (git fetch isn't doing it).  maybe i'll just hand-apply :)
[14:54] <hallyn> oh there we go
[14:55] <hallyn> smoser: ok, pushed
[14:57]  * hallyn biab
[15:03] <hallyn> stgraber: nah i guess i'll pull the lxc-user-nic into lxc before i post it, which only means i need to think about how to port the tests.  bbl
[15:03] <hallyn> hopefully will post something tonight
[15:23] <medberry_> Daviey, smoser, et al: Is this where cloud-image contents are defined?  http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/ubuntu.saucy/files/ (wihin cloud-image). Is this where the default contents of a cloud-image are set?
[15:42] <rtfmdude> is it necessary to have a keyscript option in order to use luks authorization based on a key file for drive with mount point on / (root fs)?
[15:43] <xnox> rtfmdude: that, or modify the initramfs scripts that do so.
[15:43] <xnox> rtfmdude: you may notice in the scripts that plymouth is prefered over keyscript, you may want to revert it locally.
[15:43] <rtfmdude> xnox, is it defined somewhere across references?
[15:44] <rtfmdude> because is that case i see the reason to file a bug report =)
[15:44] <xnox> rtfmdude: what do you mean "across references"? Sorry, i don't understand.
[15:44] <rtfmdude> xnox, man pages?
[15:44] <rtfmdude> e.g.
[15:46] <xnox> rtfmdude: i have no idea. I'm telling you what's in the code.
[15:47] <rtfmdude> xnox, many thanks, mate!
[15:49] <rtfmdude> but honestly i don't get it, why it works for non-root devices and can't work for /
[15:49] <rtfmdude> and why it was working for all drives presented into system in 12.04 for me
[15:53] <freze> Hi guys I  just setup a webserver to host sites using niginx on an ubuntu server in a VPS. what are the most important things that I should be aware of when running a server/what do you wish you knew when running your webserver
[15:55] <rtfmdude> freze, basically until you really care looking through logs from time to time, it's already more than many others do lol
[15:57] <blib>  on my ubuntu box: apt-get upgrade gave this error: Errors were encountered while processing:  /var/cache/apt/archives/nginx_1.4.2-1~lucid_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
[15:57] <blib> any ideas how to fix this?
[15:58] <freze> rtfmdude: yeah. what about security? I have  secured ssh and installed fail2ban
[15:58] <freze> anything else I should look at?
[15:59] <rtfmdude> i usually start removing login shells against users that don't need it, tuning things to keep only established connections, setting ssh auth over key files, setting up portsentry sometimes, if it's vds - ksplice, fail2ban too maybe, but consider also moving ssh default port somewhere else
[15:59] <rtfmdude> freze, but not everyone finds it necessary
[15:59] <rtfmdude> soz for my english btw
[16:02] <freze> ssh auth over key files? what do you mean?  So in ovh set it to kernel network rescue that booted fine...But now I'm stuck on this kernel i was trying to go back to 3.2 but still wouldn't work i even changed the /boot/grub/grub.cfg to the 3.2 kernel
[16:27] <hallyn> stgraber: do you have a diff up i can look at, or are you comfortable with it?
[16:28] <rtfmdude> sarnold, i got rid of warning changing the order of devices in crypttab, which is total bs
[16:29] <rtfmdude> initiatin reboot to see if it ate it, but i could mess editing the hook lol should check everything
[16:29] <stgraber> hallyn: I'm fixing stuff slowly, we got some new strdupa calls in the code I need to get rid off. Also Android fixed a few things in recent bionic so I need to drop some of my hacks
[16:37] <hallyn> stgraber: is strdupa just not posssible?
[16:37] <jamespage> rbasak, any chance you can do a test build of my workaround for mongodb - lp:~james-page/ubuntu/saucy/mongodb/fixup-arm
[16:37] <stgraber> hallyn: doesn't exist
[16:37] <stgraber> hallyn: I guess we could re-implement it as I've been doing with getline and mntent_*
[16:38] <ovidiu-florin> I'm trying to install ubuntu server on a virtual machine on my kubuntu desktop. My kubuntu desktop is x86_64, but the ubuntu server says that the CPU is i686. why?
[16:38] <rbasak> jamespage: "
[16:38] <rbasak> This branch has not been pushed to yet.
[16:38] <rbasak> "
[16:38] <rbasak> In progress?
[16:39] <hallyn> stgraber: does alloca() exist?
[16:39] <ovidiu-florin> and how can I resolve that?
[16:39] <jamespage> rbasak, done now
[16:40] <stgraber> hallyn: looks like it does
[16:40] <hallyn> cool then strdupa should be trivial
[16:41] <stgraber> crap, should have seen that one coming:
[16:41] <stgraber> conf.c:34:21: fatal error: ifaddrs.h: No such file or directory
[16:42] <stgraber> looks like Android already has a re-implementation of it in platform-external-dhcpd though, so I'll just steal that...
[16:43] <rbasak> jamespage: just realised I'm not going to have time to do it now. I'll leave it on my TODO for Monday. BTW, I'm not sure about the status of mysql-server right now. Waiting for stokachu to get back to us about a regression that was uploaded to saucy + various proposed pockets.
[16:45] <jamespage> rbasak, no problem - it can wait
[16:51] <tomtom565> Rappid2214...
[16:51] <tomtom565> Helllooo?
[16:54] <sarnold> rtfmdude: crazy! please file a bug :)
[16:55] <rtfmdude> sarnold, no, my bad
[16:57] <hallyn> stgraber: is android just gonna keep diverging though?  is this sustainable?
[16:57] <stgraber> hallyn: they seem happy with their own libc so yeah... I guess with time they'll re-implement more and more of the GNU extensions to the point where it'll be roughly equivalent to eglibc (but not GPL licensed)
[16:59] <hallyn> stgraber: guess that'll become moot when we re-implement lxc in go :)
[16:59] <sarnold> rtfmdude: I really wouldn't expect order to matter ..
[16:59] <stgraber> sure because it'd all be staticly linked ;)
[16:59] <stgraber> sarnold: hey there
[17:00] <sarnold> stgraber: hey! :) nice work. thanks. :D
[17:00] <stgraber> sarnold: are you happy with the current binaries? (if so, I'll promote LXC and EOW)
[17:00] <sarnold> stgraber: yes, please do :)
[17:02] <hallyn> \o/
[17:02] <stgraber> and after almost 4 years, LXC is finally seeded in supported!
[17:02] <rtfmdude> sarnold, yeah i was playing with it
[17:02] <stgraber> hallyn: I just seeded it for now, will wait for component-mismatches to notice, then override it and we'll be done. Now time for dinner. ttyl
[17:04] <hallyn> \o
[17:06] <rtfmdude> sarnold, i'm getting deeper and deeper with the very simple configuration http://paste.ubuntu.com/5967000/, i'm just surprised how hordes of people which need only xfce/kde/gnome/unity desktop change distro maintaining priorities :D
[17:08] <sarnold> rtfmdude: nice :)
[17:21] <michele> hi there. I'm trying to install ncdu. http://packages.ubuntu.com/search?keywords=ncdu&searchon=names&suite=raring&section=all - however, apt-get does not find it. http://pastie.org/pastes/8222288/text . how come? thanks
[17:23] <sarnold> michele: have you run an "apt-get update" lately?
[17:23] <michele> just run.
[17:23] <michele> nothing change
[17:43] <axisys> do I need avahi-daemon running on ubuntu precise server? All IPs are static and DNS configs are static
[17:44] <axisys> this server is running at work
[17:47] <axisys> also do I need cups ?
[17:48] <axisys> I know I am never going to use it.. but I dont want to break something by removing this pkg
[17:49] <sarnold> axisys: both should be fine to remove if you know you won't care about .local name resolution or printing
[17:52] <axisys> sarnold: yep, I don't .. thanks
[17:52] <axisys> sarnold: how about plymouth.. not sure what all these doing on ubuntu server
[17:53] <sarnold> axisys: plymouth does something during early boot. I'd leave it alone strictly because I don't know what it does. :)
[17:54] <axisys> http://paste.ubuntu.com/5967171/ looks like mountall and udev has dependencies.
[17:54] <axisys> although plymouth wiki https://wiki.ubuntu.com/Plymouth says
[17:54] <axisys> "Plymouth is the application which provides the graphical "splash" screen when booting and shutting down an Ubuntu system."
[17:58] <axisys> I do not use splash in my grub..
[18:17] <rizuk> JakeMS?
[18:47] <Richter> hi, today i have a strange surprise, the ubuntu server auto disconect the NFS mount (I dont have any idea why), i reboot the server and he works again, someone have this problem? how i can find when this happen in my giant log?
[18:53] <ewook> Richter: perhaps in /var/log/messages
[18:53] <Richter> syslog
[18:53] <jkitchen> depends on system
[18:53] <Richter> messages dont exist anymore
[18:54] <Richter> ubuntu server 12.04
[18:54] <Richter> i cant find the moment
[18:54] <jkitchen> centos still uses messages
[18:54] <Richter> because my log is huge
[18:54] <jkitchen> oh
[18:54] <jkitchen> I thought I was in a diff channel. ignore me.
[18:54] <Richter> i want use my "little friend" grep
[18:54] <Richter> np :P
[18:55] <jkitchen> Richter: use 'less' and search is what I would do
[18:55] <jkitchen> less handles really huge files just fine
[18:55] <Richter> my syslog is giant man... i cant
[18:55] <jkitchen> sure you can
[18:55] <Richter> too much information
[18:55] <jkitchen> I use less on 1GB+ files all the time
[18:55] <Richter> its a web server
[18:56] <Richter> i can see the log
[18:56] <sarnold> your webserver logs to syslog? o_O
[18:56] <Richter> but for what i must search
[18:56] <jkitchen> sarnold: I was just thinking
[18:56] <Richter> this is my question
[18:56] <sarnold> Richter: check dmesg | grep -i nfs
[18:56] <Richter> ps... sorry for my bad english
[18:56] <sarnold> Richter: the kernel will complain, maybe it's still in the dmesg buffer.
[18:56] <Richter> i reboot
[18:56] <Richter> :x
[18:56] <sarnold> Richter: ah. check /var/log/ker*  something?
[18:57] <Richter> -rw-r----- 1 syslog adm 97061 Aug  9 15:19 kern.log
[18:57] <Richter> -rw-r----- 1 syslog adm 90112 Aug  4 04:18 kern.log.1
[18:58] <jkitchen> 12.04 I believe has a /var/log/dmesg too
[18:58] <Richter> nothing usefull in kernel log
[18:58] <sarnold> jkitchen: yeah but I've got a feeling it's just an early boot log. could be wrong.
[18:58] <Richter> i will look at dmesg
[18:59] <Richter> [   10.100369] FS-Cache: Netfs 'nfs' registered for caching
[18:59] <Richter> [   16.360044] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[18:59] <Richter> just this
[18:59] <Richter> :(
[19:00] <Richter> Aug  9 14:29:47 gastao kernel: [   11.066902] FS-Cache: Netfs 'nfs' registered for caching
[19:00] <Richter> Aug  9 14:29:47 gastao kernel: [   11.463457] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[19:00] <Richter> Aug  9 15:19:33 gastao kernel: [ 2998.466853] nfs_readdir_search_for_cookie: 9 callbacks suppressed
[19:00] <Richter> syslog
[19:01] <Richter> i just want know when he fails
[19:01] <sarnold> is that an hour after you rebooted?
[19:02] <Richter> nops
[19:02] <Richter> wait
[19:02] <Richter> lol
[19:02] <Richter> i am stupid
[19:02] <Richter> Aug  9 14:29:47 gastao kernel: [   11.463457] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[19:03] <Richter> maybe the ubuntu auto security update down the nfs
[19:03] <Richter> maybe?
[19:06] <ewook> dunno.. :S
[19:07] <ewook> Never happened to me.
[19:07] <sgran> it can do fun things, like restart one of the rpc services
[19:10] <Richter> strange
[19:10] <Richter> thx dudes
[19:10] <Richter> you calm my mind
[19:10] <Richter> sorry for my bad english
[19:10] <Richter> : D
[19:11] <patdk-wk> heh?
[19:11] <sarnold> good luck Richter :)
[19:11] <patdk-wk> took it down *11 seconds* after bootup?
[19:11] <patdk-wk> sounds more like it *started on boot*
[19:12] <sgran> yes, it did
[19:12] <sgran> and then an hour later, it logged a complaint abou tit
[19:13] <sgran> about it, even
[19:36] <rizuk> grub sucks
[20:26] <wmp> hello, anybody can help me? I create package, but apt-cache search droopy cant find them, but other packages form my repo work good: http://paste.kde.org/p2f84641f/
[20:32] <wmp> apt-get update...
[20:35] <hallyn> stgraber: hm, somehow container starts, inside a container, using daily ppa, breaks - works with saucy's lxc.
[20:36] <stgraber> hallyn: related to the cgroup changes perhaps?
[20:36] <hallyn> i think so
[20:36] <hallyn> finishing up tests of the user-nic thing, will look at it after that
[20:37] <stgraber> we really need to add more tests to our autopkgtest, then I can just hook that to the builds on my server so we run the same tests everywhere
[20:39] <hallyn> maybe at plumbers we should whip up a list of things which should be tested at every build.  cause frankly the list seems intimidating
[20:40] <stgraber> yeah, ideally every time we push to staging we should be getting a build on amd64, i386, armhf for Ubuntu and for Android, then run all our tests against all 4 builds
[20:40] <stgraber> should be reasonably quick and between building for all targets and running on all of them, should be able to catch most obvious regressions
[20:44] <|System|> Hey
[20:44] <|System|> http://pastebin.com/XUkPtRHg
[20:53] <rizuk> best command line tool to fix bootup repairs like bootloaders
[21:14] <rizuk> would someone be able to give me a hand
[21:32] <justizin> anybody know of a ppa for nginx with http_stub_status_module ?
[21:39] <sarnold> TheLordOfTime: hey, justizin is curious if your nginx ppa has http_stub_status_module :)
[21:39] <justizin> that would be siiii-iiiick!
[21:39] <justizin> i mean i know how to gcc and all, i just, mleh.  and i hate doing it in chef recipes.
[21:40] <sarnold> hehe :)
[21:41] <justizin> i guess nginx cookbook will do it for me, there are worse fates in life..
[21:41]  * justizin is pretty lazy about building packages
[21:41] <justizin> probably one of those howtos i should finish after 15 years ;d
[21:43] <aristeia> Hi, Ive got a question about using apache on an ubuntu web server. Im able to access the web server accross the network using the local ip address, but how can I access it globaly using the network ip address?
[21:51] <sarnold> aristeia: does the machine know its globally routed IP? or is it done through some port forwarding on a router?
[21:53] <aristeia> it knows its gloablly routed IP
[21:55] <sarnold> aristeia: you could shove the globally routed IP into your /etc/hosts file while testing it out..
[21:55] <sarnold> aristeia: or, just visit the thing http://ip.add.res.s/ .. if it isn't doing any virtual-host work.
[21:57] <aristeia> alright, thanks
[21:58] <rizuk> whats the best linux for websever
[21:59] <failmaster> guys, i kinda afraid of reporting the bug, because the situation is not 100% clear for me, i suspect that i could miss something, what are my options to make sure it worth filing the bug report?
[21:59] <blkperl> rizuk: doesn't matter, ubuntu, debian,centos all work fine at webserving
[22:00] <rizuk> cheers
[22:00] <failmaster> depends on your own subjective decision according to habits mostly =)
[22:02] <rizuk> Ubuntu 12.04 vs latest much difference ? what would you go with
[22:02] <failmaster> 12.04
[22:02] <blkperl> rizuk: use 12.04 becuase LTS
[22:03] <rizuk> I'm not sure whats going on here tbh my apache seems to timeout a lot with linux when its kinda busy but not that much any ideas
[22:05] <rizuk> im in all sorts of problems one of my servers bootloaders are not working lol
[22:05] <rizuk> in linux rescue mode re installed grub no luck
[22:05] <rizuk> yes i have been on Google trying to fix it also lol
[22:06] <rizuk> i can get into ssh easy with ovh kernel networkboot mode and rescue mode but  cant boot into the normal kernel


[11:09] <ubuntucloud078> hellow i need information about hybridfoc
[11:09] <ubuntucloud078> can anyone help me


No idea. 16.04 is too old… … But if you have a lot of time then you can check whether it's a bug in optimizer. … First check if it works with -O0. Of it does then check with -O1. After that enable/disable individual optimizations and find which one is the culprit. Then revert to -O2 and disable only it.


[17:20] <lontra> hi, if i want to get the new light-themes for maverick with the update radiance theme for lucid what's the best way to do this? add a deb-src for maverick, apt-get build-dep gtk2-engines-murrine light-themes, then debuild them?
[17:20] <lontra> or do i need to rebuild something else?
[19:53] <janimo> Hello, does anyone know which application was used to create the syslinux boot splash used as the first image on the LiveCD ?
[19:54] <janimo> I'd like to replicate that look for a deirvative and being quite a beginner in graphic manipulation it would help to at least know that I am not trying to do it using the wron g tools (gimp in this case)
[20:08] <darkmatter> vish: and yet another gnome-component becomes a bloat bucket. meh. I think I'll just uninstall mah gui ans return to the good ol days of monochromatic awesome. that or go xfce *shrugs, disillusioned by the general design stupidity*
[20:09] <vish> :D
[20:11] <vish> darkmatter: btw, what was that question you had asked about the logout dialogues?
[20:11] <vish>  <darkmatter> vish: question, since I'm not running uby quite yet. does ubuntu still use the ghey all-in-one session dialog or is it using the proper gnome-session dialogs now? (separate logout/switch and shutdown). I'm  making a list of too-do items for when I reinstall
[20:11] <vish> hmm.. when did we have that^^
[20:11] <vish> the all-in-one session is from gnome..
[20:11] <darkmatter> vish: ahh. was just wondering how uby currently handles them?
[20:12] <vish> yeah , now logout , you get a prompt.. no all-in-one thingy ;)
[20:13] <vish> darkmatter: we have 7options-to-quit-session-from-menu thing now '_
[20:13] <darkmatter> vish. it was in the good lol days (few years ago, last time I had used uby). it handlked the dialog ala e (one row of buttons for logout/switch, then a row of faties under it for various power options)
[20:14] <vish> yeah , that was default gnome behavior , that was dumped a few releases back.
[20:17] <darkmatter> vish:vish, it was the default "sand gnome" behaviour :P, and ahh ahh ahh. I'll prolly have to hack the behaviour a bit then (teh missus has crappy target accuracy sometimes, vision issue) to many targets = fail. guess I'll trey to drop em all and turn logout/shutdown to use the new dialogs (ya know, the ones gnomers stole from libssui? ;P)
[20:18] <darkmatter> dun wanna see her getting pissed at yet another desktop xD
[20:30] <darkmatter> vish: not that I'm bitching or anything mind you (it's not like you're the one responsible :P), but for things like that it really is best to keep the # of options presented (be it within a dialog or within a menu, for whatever purpose) to a minimum
[20:31] <vish> nooooooo! more options , more kde! ;p
[20:32] <darkmatter> for the same general reason behind why a sidebar should have collapsible categories, because contrary to epic levels of gnomeyness, unnecessary scrolling and visual clutter are "labor intensive" :P
[20:35] <darkmatter> vish: nautilus new file conflict needs to die a painful death as well ;o
[20:37] <darkmatter> and it's not about options or a lack thereof, it's about sanely categorizing and grouping stuff so that you don't create information overload, which as we a;; know is one of the biggest fail points of current-generation software
[20:38] <darkmatter> shoving everything in the users face _at the same time_
[20:44] <vish> i'm really not sure why every item needs to move around just because i'v attached a new device...
[20:54] <darkmatter> vish: things like that as well. which I why I told them, repeatedly, that devices should be near the bottom of the list, not the freaking to. frequently used items go at the top so that they're predictable targets
[20:57] <darkmatter> that's also why the sidebar should collapse. so that you can work within a specific target group without scrolling. we can argue for it as efficiency or consistency. both apply
[20:57] <darkmatter> I man. this is the no-brainer bits
[20:57] <darkmatter> mean*
[21:01] <darkmatter> vish: I'm loving the maverick themes. the particular shade of orange for selections is a bit hash imo, but overall they're quite calming
[21:04] <vish> yeah , the themes seem quite pleasant..
[21:05] <vish> the color harsh at times though..
[21:06]  * darkmatter prefers radiance because the orange is less obnoxious on a light background


[09:19] <rmg51> Morning
[12:48] <teddy-dbear> Morning peoples, critters and everything else
[13:36] <WorkingTurkey> InHisName: heard you ran into my girlfriend at summer camp
[13:36] <WorkingTurkey> she was like 'where did you get that Linode shirt, because I was talking to a guy wearing it last week"... put two and two together
[13:36] <WorkingTurkey> it was you right?
[13:54] <jedijf> so many linode shirts, let's see if they like humans, follow the kevin bacon rule


[18:09] <ibeardslee> morning
[18:37] <olly> morning
[20:52] <wizzyrea> is our mirror still playing up?
[20:53] <wizzyrea> (in truth, I gave up and used the catalyst one in the end)
[20:53] <wizzyrea> (but wanted to see what you all knew about it)
[20:53] <ibeardslee> wizzyrea: I just use the Catalyst one as well
[20:54] <ibeardslee> I should give that WR for becoming an offical mirror a bump
[20:54] <wizzyrea> feels a bit like we might be better suited to running it than some others.
[20:54] <wizzyrea> at least we'd pay attention if it went tits up.
[20:55] <wizzyrea> hm, that is not strictly pc. sorry.
[20:55] <ibeardslee> wizzyrea --   ;)
[20:55] <wizzyrea> I will blame my over-caffienated state.
[20:57] <hads> morning


[10:00] <CatKiller> Hi there, I'm having some issues with cloud-init, I've built a Ubuntu desktop image with cloud-init and OpenStack as the source, but cloud-init fails to retrieve the metadata from the server as the network isn't configured yet. Any ideas how to get cloud-init to configure the network so that the server can be contacted? Running it after the OS has finished booting (and subsequently once the network is up) works fine.
[12:37] <robjo> Just noticed that the Azure data source tries to start "walinuxagent". This appears inconsistent to me as the upstream source provides "waagent"
[12:38] <robjo> shouldn't cloud-init stick to upstream provided names?
[12:41] <robjo> Also the code is setup to always use the "service" command. While distros switching to systemd have service rewired to do the "right" thing it would be nice to use systemctl where appropriate
[13:22] <smoser> CatKiller, hi
[13:22] <smoser> cloud-init runs its network metadata search when all configured 'auto' interfaces are set up in /etc/network/interfaces.
[13:23] <smoser> i suspect you just need to put 'auto eth0' and config it for dhcp there.
[13:23] <smoser> robjo, i'm not opposed to that, but service is a functional work around.
[13:24] <smoser> ie, usage of it was by design.
[13:24] <smoser> wrt walinuxagent or waagent, i'm not sure. i'm fine for patches to go looking for the right name.
[13:25] <robjo> smoser: so conditional code for name and command would be OK?
[13:25] <smoser> sure. i dont really care.
[13:25] <smoser> once we got azure functional, i have not looked back at it. and have been happier :)
[13:26] <robjo> yup, I usually look at this stuff only as long as I have to as well, will work on a patch
[13:26] <smoser> the worst hack in azure is bouncing the network interface in order to "publish" the hostname.
[13:27] <smoser> i'm guessing what i have there wont work on suse
[13:27] <robjo> OK, thanks for the heads up, will take a look at that as well
[13:28] <smoser> fwiw, the agent start command is configurable
[13:28] <smoser> via the datasource config
[13:29] <smoser> (and so is bounce command)
[13:30] <robjo> Yes I saw the "merge" call but I cannot put all the parts together just yet on how the configuration and everything else connects
[13:31] <CatKiller> smoser: Oh my god you're right, I know what's happening
[13:31] <CatKiller> Silly Ubuntu desktop comes with Network Managr
[13:31] <CatKiller> *Manager
[13:32] <CatKiller> Or nightmare manager as I like to call it
[13:32] <CatKiller> So cloud-init must be waiting from the network to be up from upstart which is probably not really happening with Network Manager
[13:32] <CatKiller> I'm going to remove it completely (unless there's a better option)
[13:37] <smoser> CatKiller, if it were me, i might go the route of grabbing a cloud image and apt-get install ubuntu-desktop
[13:37] <smoser> rather than building your own
[13:37] <CatKiller> smoser: I thought about this
[13:38] <CatKiller> smoser: I thought it would be bad
[13:38] <smoser> CatKiller, its not waiting for anything from network manager
[13:38] <CatKiller> but I just learned the hard way!
[13:38] <smoser> cloud-init's job only waits on "static networking"
[13:38] <CatKiller> I'm actually probably do what you suggested
[13:38] <smoser> which means "stuff configured 'auto' in /etc/network/interfaces"
[13:38] <CatKiller> It does make a lot of sense
[13:39] <CatKiller> Few distros use NetworkManager and no server ones would (which is usually what people start in the cloud)
[13:39] <CatKiller> smoser: I think I'll go the way you suggested with getting ubuntu-desktop in a cloud image
[13:39] <CatKiller> But thanks a lot for helping me understand what was going wrong
[13:39] <smoser> CatKiller, i might do something like:
[13:39] <smoser>  get-cloud-iamge
[13:39] <CatKiller> it's good to know why something didn't work
[13:40] <smoser>  mount-image-callback my.image -- chroot _MOUNTPOINT_ apt-get intsall ubuntu-desktop
[13:40] <smoser> that wont' "just work", but it will be pretty close
[13:40] <smoser> a couple gotchas:
[13:40] <smoser> a.) you'll have to resize the image to larger than 2G (maybe)
[13:40] <smoser>   er... 1.4G
[13:40] <CatKiller> True, didn't think of that
[13:40] <smoser> b.) you'll have to disable services . i have that code somewhere, let me find it.
[13:41] <CatKiller> smoser: Thanks, that's great
[13:41] <smoser> (disable services so they dont start when you 'apt-get install' stuff)
[13:42] <smoser> CatKiller, https://code.launchpad.net/~smoser/maas/maas-ephemerals-v2
[13:43] <smoser> the bin/maas-cloduimg2ephemeral is what we do to make the cloud images into "ephemeral" images.
[13:43] <smoser> the process is much the same
[13:43] <smoser> but we dont have to grow the disk.
[13:43] <CatKiller> smoser: Nice!
[13:43] <CatKiller> So I don't even have to boot the cloud image in KVM to configure it then?
[13:44] <smoser> CatKiller, well, i do the build process inside a kvm.
[13:44] <smoser> but thats neither here nor there.
[13:44] <smoser> we just do that for safety
[13:44] <CatKiller> ok but you don't need to actually boot the cloud-image to install packages etc
[13:45] <smoser> i'd be very open to patches to mount-image-callback for '--grow-first=4G' or something like that.
[13:45] <smoser> right. we dont boot it.
[13:45] <CatKiller> (which I had been doing to configure my existing cloud image, I booted it and configured it)
[13:45] <smoser> we chroot in and 'apt-get install'
[13:45] <CatKiller> smoser: If I can figure out a way to streamline the growing
[13:45] <CatKiller> I'll submit a patch
[13:46] <CatKiller> So your package is similar to "vmbuilder" right?
[13:47] <CatKiller> except it relies on Ubuntu's preconfigured cloud images instead of building one from scratch from what I can gathr
[13:47] <CatKiller> *gather
[13:48] <CatKiller> bbl
[13:55] <smoser> CatKiller, i really would never suggest to anyone that they build a cloud iamge from scratch
[13:55] <smoser> there are tools that do that, and i thik that they are silly
[13:56] <smoser> similarly i'd never suggest to anyone that they build their own linux kernel, python, glibc or php
[13:56] <smoser> people do that for you, use their work.
[14:07] <robjo> smoser: tried the config route for Azure and starting the agent
[14:08] <robjo> then "rm -rf /var/lib/cloud/*"
[14:09] <robjo> after running cloud-init -d {init, init --local, modules --mode=config} in that order on the command line there is no evidence of an attempt to start the agent?
[14:10] <robjo> Is this testable live or do I have to run a re-build upload etc. cycle?
[14:10] <robjo> The config entry looks as follows:
[14:11] <robjo> datasource:
[14:11] <robjo>   Azure:
[14:11] <robjo>     agent_command: ['service', 'waagent', 'start']
[14:21] <smoser> robjo, it should be testable
[14:21] <smoser> pastbin /var/log/cloud-init.log ?
[14:22] <smoser> robjo,
[14:22] <smoser> init --local
[14:22] <smoser> needs to run first
[14:23] <smoser> (it clears the state)
[14:23] <smoser> then init
[14:23] <smoser> and init should have ran and found the azure datasource
[14:23] <robjo> OK, let me try again
[14:24] <smoser> you can configure off the other datasources to reduce cruft.
[14:29] <CatKiller> smoser: Makes total sense, I'll use the cloud image first
[14:31] <robjo> smoser: http://pastie.org/9326842
[14:34] <smoser> robjo, /var/log/cloud-init.log should be much more verbose than that.
[14:35] <smoser> oh. and i see. seed=/var/lib/waagent
[14:35] <smoser> heres another fun bit of azure, robjo
[14:35] <smoser> you get that CDrom that has important data
[14:35] <smoser> but at some point in a reboot they just yank it from you
[14:35] <robjo> /var/log/cloud-init.log is empty, I pasted /var/log/cloud-init-output.log
[14:35] <smoser> robjo, you rpboably need to restart syslog
[14:36] <smoser> maybe remove that file and resart syslog.
[14:36] <smoser> or maybe on suse thats not hooked up right. but thtats a bug .
[14:36] <smoser> if its not.
[14:36] <smoser> hm..
[14:36] <smoser> hm.. sorry for being dense.
[14:37] <smoser> there is defintiely more verbose output going somewhere.
[14:41] <robjo> smoser: http://pastie.org/9326911
[14:41] <robjo> http://pastie.org/9326914
[14:42] <robjo> http://pastie.org/9326917
[14:42] <robjo> http://pastie.org/9326920
[14:42] <robjo> Output in the terminal from each command, was too large for 1 paste
[14:43] <smoser> robjo, suse needs 'pastebinit'
[14:43] <smoser> its amazingly convenient.
[14:43] <smoser> pastebinit <file>
[14:43] <smoser> or
[14:43] <smoser> some-command | pastebinit
[14:43] <robjo> /var/log/cloud-init.log is still empty even after restarting syslog
[14:44] <smoser> 2014-06-26 14:39:34,259 - stages.py[DEBUG]: Restored from cache, datasource: DataSourceAzureNet [seed=/var/lib/waagent]
[14:45] <smoser> it found that, so its not going to go through its earch
[14:45] <smoser> not really sure why it found it as init --local should have removed that link
[14:45] <robjo> so where is that cache? so I can get rid off it ;)
[14:46] <smoser> well its /var/lib/cloud/instance that is a link.
[14:46] <smoser> you can purge all of /var/lib/cloud
[14:46] <robjo> I did, before I ran the commands.....grmbl
[14:46] <robjo> rm -rf /var/lib/cloud/*
[14:49] <smoser> are you able to just let me in to poke really quick ?
[14:51] <robjo> yes, send me your public key
[14:51] <robjo><EMAIL_ADDRESS>[14:53] <smoser> robjo, https://launchpad.net/%7Esmoser/+sshkeys
[14:53] <smoser> another tool you need is 'ssh-import-id' :)
[14:55] <robjo> smoser: OK, try this: ssh<EMAIL_ADDRESS>[14:56] <smoser> robjo, k. i'm in
[14:58] <smoser> robjo, for logging, cloud-init sends its log to /dev/log
[14:59] <smoser> which in ubuntu gets sent to /var/log/cloud-init.log because of
[14:59] <smoser>  http://paste.ubuntu.com/7706306/
[15:00] <smoser> so yours is just goign to /var/log/messages
[15:00] <smoser> as its not being captured specifically somewhere
[15:00] <robjo> OK, can certainly setup the rule, thanks
[15:00] <smoser> if you ust remove the
[15:00] <smoser>  [ *log_base, *log_syslog ]
[15:01] <smoser> line in /etc/cloud.d/cloud.cfg.d/05_loging
[15:01] <smoser> then it will go straight to the file
[15:02] <smoser> so i made that change
[15:02] <smoser> and now ran
[15:02] <smoser> cloud-init init --local
[15:02] <smoser> and
[15:02] <smoser>  cloud-init init
[15:02] <smoser> and see the log
[15:03] <smoser> you can see your
[15:03] <smoser>  'service', 'waagent', 'start'
[15:03] <smoser> the reason for the logging being as it is, is that generally, i wanted to use syslog
[15:03] <smoser> but early in boot syslog isnt necessarily available
[15:03] <smoser> so cloud-init tries to write to /dev/log
[15:04] <smoser> and if htat fails it writes to /var/log/cloud-init.log directly
[15:04] <smoser> then, the next time it comes up (cloud-init init) it probably has /dev//log
[15:04] <smoser> and it works.
[15:06] <smoser> note, the file above in that pastebin is a rsyslog format file. i dont knwo about your syslog (syslog-ng)
[15:06] <robjo> OK, makes sense. I'll fix the logging ni my image builds. And will just configure the datasource in the config file, then there is no need to have a bunch of ugly serach code in the azure datasource code
[15:07] <robjo> we have syslog-ng in sles 11, rsyslog in openSUSE and rsyslog will be in SLE 12, it's a mess, bute getting better :)
[15:08] <robjo> Thanks, one problem down :)
[15:08] <smoser> so just one other gotcha there.
[15:08] <smoser> on our walinuxagent
[15:08] <smoser> we do not start it by default
[15:09] <smoser> and we basically configure off all of its function
[15:09] <smoser> as it overlaps with cloud-init. so we have cloud-init start it only on azure. and neuter it heavily.
[15:10] <robjo> I am setting "Provisioning.Enabled=n" in the waagent.conf, that's the info I got from M$
[15:11] <robjo> so should I or should I not enable the agent to start at boot?
[15:13] <smoser> i'm trying to remember
[15:17] <CatKiller> smoser: Does cloud-init (using configuration found on the Ubuntu cloud-image) run unattended security upgrades on boot, or is it something that needs to be defined at the metadataserver level?
[15:19] <smoser> CatKiller, by default it does not do that.
[15:19] <smoser> you'd enable that via user-data or some other way
[15:19] <smoser> you could patch that on when you re-build your images
[15:20] <CatKiller> smoser: ok, no problem. I'll patch that while rebuilding
[15:20] <CatKiller> Another thing, what are the "cloud_config_modules" defined in the cloud.cfg config file?
[15:20] <CatKiller> Are they programs that will run during the config stage
[15:20] <CatKiller> For instance I wanted to know what "package-update-upgrade-install" was doing but couldn't really tell
[15:21] <smoser> CatKiller, i'm sorry that documentation for such things sucks.
[15:21] <smoser> that ends up involking the 'cc_package_update_upgrade_install.py' file
[15:21] <smoser> which handles 'apt_update' and 'apt_upgrade'
[15:21] <smoser> but this is not anywhere well documented.
[15:23] <CatKiller> smoser: OK, I'll look in that file. Just a quick question though
[15:23] <CatKiller> all of the modules defined in the cloud.cfg will run, or does that just mean they're available?
[15:23] <CatKiller> and the metadata will tell which one needs to run
[15:24] <smoser> they run
[15:24] <smoser> the user-data can configure which ones run
[15:24] <smoser> yes.
[15:24] <smoser> by re-defining that list
[15:25] <CatKiller> smoser: But if it's not defined in the user-data (we use OpenStack here and the user data is *very* scarce) it'll run
[15:25] <smoser> what do you mean the user data is very scarse
[15:26] <smoser> modules generally do the right thing.
[15:26] <smoser> if you give htem config, they may act and have sane defaults
[15:26] <CatKiller> smoser: Well the metadata only provides hostname, authorized SSH keys but not much more
[15:26] <smoser> user-data
[15:26] <smoser> not meta-data
[15:27] <CatKiller> ah ok sorry my bad I confused the two
[15:27] <smoser> user provides user-data when they launch an instance
[15:27] <smoser> nova boot --user-data=your.user-data.file.txt
[15:27] <CatKiller> Ah ok I see. We don't provide any specific user data here as far as I know
[15:28] <smoser> right. so you get the default behavior. which should be perfectly fine.
[15:28] <CatKiller> OK, sounsd good
[15:29] <CatKiller> Another thing I'm not entirely sure about. In the config there is a "package-update-upgrade-install" module, and in "cc_package_update_upgrade_install.py" the handle function looks for "package_update" and "apt_upgrade" from the configuration
[15:29] <CatKiller> these are unrelated right?
[15:30] <smoser> they're synonyms
[15:30] <smoser> distro-generic and distro-specific.
[15:31] <CatKiller> So "apt-get update" and "apt-get upgrade" will run on boot (or is that only on *first* boot) with the default cloud-init config?
[15:31] <smoser> default is off
[15:32] <smoser> you can turn it on and it will run on first boot
[15:32] <smoser> that module only runs 'per-instance'. by default.
[15:32] <smoser> meaning once per instance-id
[15:32] <CatKiller> But it's in the config file though, so the user-data defines the behavior here?
[15:32] <smoser> you can change it to run per-always
[15:32] <smoser> you can put it in config also
[15:32] <smoser> and the user-data can still override
[15:33] <CatKiller> ah ok, so here it's in the config but user-data probably overrides.
[15:33] <CatKiller> Where can I find the user data in the system actually?
[15:33] <CatKiller> (the default ones)
[15:34] <smoser> there is no real location for defaults.
[15:34] <smoser> most of stuff is described
[15:34] <smoser>  http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config.txt
[15:34] <smoser> and other files in http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/files/head:/doc/examples/
[15:35] <CatKiller> thanks for those files
[15:36] <CatKiller> but in the specific of cloud.cfg's "package-update-upgrade-install" module, where can I figure out what will happen there?
[15:36] <CatKiller> I'm not really sure what this clause does
[15:36] <CatKiller> or where it is configured
[15:37] <CatKiller> I guess I'm having trouble linking those modules with what will actually happen when they run (their config files etc)
[15:41] <smoser> CatKiller, by default basically nothing happens there.
[15:42] <smoser> but it responds to some settings in
[15:42] <smoser>  http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config.txt
[15:42] <smoser> (package_upgrade=true)
[15:47] <CatKiller> smoser: Ah ok, makes sense
[15:47] <CatKiller> smoser: And just a quick question so that I can understand this config file better
[15:47] <CatKiller> where are all these clause defined then in the code?
[15:48] <CatKiller> I grepped for "package-update-upgrade-install" without success
[15:48] <CatKiller> in the cloudinit Python code
[15:48] <CatKiller> (I wanted to figure out what config clause did what by looking at the source)
[16:33] <smoser> cloud_config_modules, cloud_init_modules and cloud_final_modules
[16:33] <smoser> are lists
[16:33] <smoser> they reference "config modules"
[16:34] <smoser> config_modules are loaded . they'r ein the source tree at cloudinit/config/cc_<name-in-list>.py
[16:34] <smoser> where 'name-in-list' has '-' replaced with '_'
[16:44] <CatKiller> smoser: Ahhh ok I get it. Sorry you were trying to tell me this earlier and I had completely missed it. I thought the "cc_" file you told me to lookup handled all of the "config modules"
[16:44] <CatKiller> smoser: It's much much clearer now, thank you very much
[16:44] <smoser> cool
[16:44] <CatKiller> smoser: There's one thing that I'm not quite sure about yet
[16:45] <CatKiller> smoser: Let's imagine I don't want to pass custom "user-data" to the instance, where can I configure a "default" user-data within the image?
[16:46] <smoser> you cant explicitly provide default user-data.
[16:46] <smoser> user-data an be cloud-config syntax or other syntaxes.
[16:46] <smoser> but you can provide any config in /etc/cloud/cloud.cfg.d/<your-file>.cfg
[16:47] <CatKiller> smoser: Ah great, so I could add a file  /etc/cloud/cloud.cfg.d/my-config.cfg that would contain:
[16:47] <CatKiller> #cloud-config\npackage_upgrade: true
[16:47] <CatKiller> for instance
[16:47] <CatKiller> In that case, that config would be interpreted as a "cloud-config" file and the package_update should run on first boot
[16:47] <CatKiller> Does that sound right?
[16:53] <smoser> yes.
[16:53] <smoser> files in that dir do not need to start with #cloud-config
[16:53] <smoser> they can only be cloud-config
[16:53] <CatKiller> smoser: Good to know
[16:53] <CatKiller> smoser: In the absolute, it seems that I could add the package_upgrade: true clause at the top level of the /etc/cloud/cloud.cfg config file as well no?
[16:54] <CatKiller> looking at the cc_package.... script it seems that it'll get the flag from the config(s) files (presumably cloud.cfg included)
[16:56] <smoser> yeah.
[16:57] <smoser> config modules know no difference between "builtin" config and user-data
[16:57] <smoser> its all just config that they act on
[17:32] <harlowja> smoser hey, do u have any medium size ideas for cloud-init that i can do, need a diversion from the other projects :-P
[17:33] <smoser> is that medium sized in human terms
[17:33] <smoser> or in super-human  harlowja terms
[17:33] <harlowja> lol
[17:33] <harlowja> harlowja terms i guess :-P
[17:34] <smoser> the stuff i have listed here is at:
[17:34] <smoser>  https://blueprints.launchpad.net/ubuntu/+spec/servercloud-u-cloud-init
[17:34] <harlowja> Utopic ?
[17:34] <harlowja> whats that
[17:35] <smoser> 14.10 Utopic Unicorn
[17:35] <harlowja> ah
[17:35] <smoser> went looking for mark's post on utopic
[17:35] <smoser> and saw:
[17:35] <smoser>  http://www.markshuttleworth.com/archives/1342
[17:35] <harlowja> nice
[17:36] <smoser> http://www.markshuttleworth.com/archives/1363
[17:36] <smoser> that one is utopic
[17:36] <harlowja> i should forward that on here,
[17:36] <smoser> anywah...
[17:36] <smoser> for things..
[17:36] <smoser> the 2 things you might be interested in:
[17:36] <smoser>  a.) python3
[17:36] <harlowja> ack, that one again, lol
[17:37] <harlowja> python3 hasn't gone away yet, lol
[17:37] <smoser>  b.) more work on ci-tool
[17:37] <smoser>  http://bazaar.launchpad.net/~smoser/cloud-init/ci-tool/view/head:/ci-tool
[17:37] <smoser> i'm not sure how i feel about ci-tool
[17:37] <smoser> oh. the other one... the query stuff.
[17:37] <smoser> you revved that at some point.
[17:38] <smoser> it'd be nice to have 2 json files in /run
[17:38] <harlowja> smoser ya, good-ole-query stuff
[17:38] <smoser> i think thats the way i'd go now.
[17:38] <smoser> just 2 json files
[17:38] <smoser> one with non-sensitive data
[17:38] <smoser> and one with sensitive data
[17:38] <harlowja> right
[17:38] <smoser> and try to have a sane format for things common to most clouds
[17:39] <harlowja> :)
[17:39] <smoser> and allow the datasource to shove other stuff in its own place in the json
[17:39] <harlowja> right
[17:39] <harlowja> ci-tool; would that be needed with a more extensive query tool (or maybe they merge?)
[17:39] <harlowja> into super-ci-query-tool
[17:40] <smoser> ci-tool 'seed' is the real function of ci-tool
[17:40] <smoser> 'seed', 'reset', 'set-ds'
[17:40] <harlowja> oh man, marks page is now showing me 'Error establishing a database connection'
[17:40] <smoser> :)
[17:41] <harlowja> smoser sure, ya, the seed stuff is nice to have
[17:41] <smoser> oh.
[17:41] <smoser> the other bug...
[17:41] <harlowja> ?
[17:41] <smoser> the network interfaces stuff sucks
[17:41] <harlowja> :)
[17:41] <harlowja> yaaaa
[17:42] <harlowja> do u want to try to see how the netcf stuff works?
[17:42] <harlowja> i can try messing around there
[17:42] <harlowja> maybe its 'ready' for primetime
[17:43] <harlowja> *although we'd probably need both, if netcf isn't avaiable on given distro
[17:44] <harlowja> omg, what is my password doin in http://bazaar.launchpad.net/~smoser/cloud-init/ci-tool/view/head:/ci-tool#L51
[17:44] <harlowja> haha
[17:44] <smoser> thats your password to? wow. coincidence.
[17:44] <smoser> too
[17:45] <harlowja> :)
[17:45] <harlowja> smoser in 14.10 unicorny no more 2.x python?
[17:45] <smoser> yeah, the netcf stuff. ive' come to needing that elsewhere too.
[17:45] <smoser> we really need to get openstack networking sorted
[17:45] <harlowja> :-/
[17:45] <smoser> to the way that amazon does it.
[17:46] <smoser> so that you can hotplug a NIC into the system
[17:46] <harlowja> i believe with neutron u can do that
[17:46] <smoser> and then the system can hit the metadata service and get the interface config for that.
[17:46] <harlowja> ya
[17:46] <smoser> and that itnerface config needs to be in some format
[17:46] <smoser> and thus... i was asking you again about netcf
[17:47] <harlowja> :)
[17:47] <harlowja> ya, let me see if i can get mark mcclain in here to chat about the openstack neutron networking thing
[17:47] <smoser> maybe after running xml2json on it
[17:47] <harlowja> how we can get from here to there
[17:47] <harlowja> smoser ya, xml == evil
[17:47] <harlowja> lol
[17:48] <smoser> it really just isnt suitable for that reason
[17:48] <harlowja> smoser exactly
[17:48] <markmcclain1> harlowja: here
[17:48] <smoser> hi markmcclain1
[17:48] <harlowja> markmcclain1 hey, so we were just wondering a little bit about the future of hot-plugging, metadata in openstack, and how cloud-init will help out here
[17:48] <harlowja> thought u might have some knowledge (that i don't have)
[17:48] <harlowja> *hotplugging nics
[17:49] <smoser> you can plug the nics in
[17:49] <smoser> i have done that.
[17:49] <smoser> and they do show up
[17:49] <smoser> all that works.
[17:49] <harlowja> i know what yahoo is doing here (with config drive, which won't work obviously here)
[17:49] <smoser> and then atually.... in the metadata servie i noticed one of them actually in a /etc/network/interfaces file after hotplugging.
[17:49] <smoser> config drive will die
[17:49] <smoser> and that will be ok
[17:49] <harlowja> :)
[17:50] <harlowja> ya, i'll have to fight the people here on that one to make it die (if possible)
[17:50] <smoser> i'm not too hung up on it.
[17:50] <smoser> mostly people hated the metadata service because it didn't work.
[17:50] <smoser> or the networking never worked to get the instance to it.
[17:50] <smoser> but now i think that those problems are less comon
[17:50] <smoser> but anyway..
[17:50] <smoser> i hotplugged a nic
[17:50] <harlowja> k
[17:50] <markmcclain1> yeah so with hotplugging dhcp should work on that interface
[17:50] <smoser> and then an entry in /etcnetwork/interfaces styel file was in the interfaces location in the metadata service
[17:51] <smoser> but it was out of order :)
[17:51] <smoser> ie, the new nic was eth0 and the orig was eht1
[17:51] <smoser> so its just silly.
[17:51] <smoser> thus need for some beter format for describing
[17:51] <harlowja> and then enter xml netcf format :-P
[17:52] <harlowja> *xml (cough)
[17:52] <smoser> yeah, i most certaily would make major mistakes if i invented my own language.
[17:52] <smoser> but really would not be interested in putting xml into a stack where it doesn't otherwise exist.
[17:53] <harlowja> :)
[17:53] <harlowja> xml is da best
[17:54] <harlowja> markmcclain1 has there been any thought on moving to a more agnostic format in the community for this
[17:54] <harlowja> not saying it has to be https://fedorahosted.org/netcf/ (but something similar in json or other would be nice)
[17:54] <markmcclain1> I haven't heard too much yet about how to fix these issue
[17:54] <harlowja> k
[17:55] <harlowja> smoser so the mission, if u choose to accept it, is to fix this issue, this message will self-destruct in 5 seconds
[17:55] <harlowja> boom
[17:55] <smoser> yeah. i'd like to do it. it generally needs doing i think
[17:56] <harlowja> agreed
[17:57] <harlowja> smoser would this be a cloud-init thing at that point, or something else?
[17:57] <harlowja> something else that listens for hotplugs and then does stuff
[17:57] <harlowja> network-cloud-init (or something)
[17:57] <smoser> i think i'd keep it in cloud-init. but try to make it separatable
[17:57] <harlowja> k
[17:58] <smoser> basically, its udev hooks, code to get the data, and then code to act on it.
[17:58] <harlowja> ya
[17:58] <harlowja> any idea how that works for freebsd ?
[17:58] <harlowja> harmw activate, lol
[17:58] <smoser> and cloud-init would get the original datasource, and then the udev hooks would say "ok, i just got an interface, what cloud should i get data from!"
[17:58] <smoser> and cloud-init would have configured that.
[17:59] <harlowja> right, makes sense
[18:00] <harlowja> smoser do u want to do a joint writeup to the openstack-dev ML, i can draft somethign
[18:00] <harlowja> and we can start this discussion there
[18:01] <harlowja> and then see about how to make this really happen
[18:01] <harlowja> fix the brokeness that exists for this in to many places (nova has parts of this code, neturon seems like it has others)
[18:02] <harlowja> smoser sound ok with u boss
[18:05] <harlowja> it just requires like cleanup in lots of places, which would be nice to just do
[18:05] <harlowja> like nova has a metadata part, so does neutron, so this would have to be made in both of them?
[18:05] <harlowja> and config-drive basically doesn't get this, idk
[18:06] <harlowja> or does nova rewrite the config-drive when a hotplug occurs
[18:30] <smoser> harlowja, well, it could re-pouplate it for reboot i guess.
[18:30] <smoser> but theres really no other way for the guest to "free" it.
[19:46] <harmw> harlowja_away: sup
[20:23] <harlowja> harmw nadda was just discussing how more dynamic network configuration can be done
[20:24] <harmw> you know fbsd is still ancient in many ways, right :p
[20:27] <harlowja> :)


[01:12] <D0J0P> Hi there, I'm trying out Ubuntu Budgie 17.10 live, and I'm supposed to be able to see applets on the welcome screen, but for some reason I can't. Is there another way to access the applets?
[13:28] <tgorzka> Good afternoon
[13:30] <tgorzka> how can I change the color in the pan clock from white to black?
[21:10] <f76> Hi folks, I was wonder if this distro had a discussion forum for support?
[21:12] <fossfreedom> f76, hi - chat type support mainly through our gitter channel - but for general forum style stuff ubuntuforums.org
[21:15] <f76> Gitter's terrible. Is UbuntuForums.org monitered?
[21:16] <fossfreedom> f76, its a general forum for all ubuntu based distros
[21:16] <fossfreedom> can I help in any way?
[21:18] <f76> I don't have an issue right now, I'm thinking about moving over to Ubuntu Budgie from Xubuntu, I'm just looking at what the distro's support community is like.
[21:19] <f76> I'm not a fan of gitter since they don't let you delete your account.
[21:20] <fossfreedom> use the gitter irc bridge - the token is personal to you
[21:20] <f76> I'm sorry I don't know what that means.
[21:21] <fossfreedom> https://irc.gitter.im/
[21:24] <f76> I think I prefer the UbuntuForums. I really don't like Gitter. Would I likely get help if I posted there or are you trying to shepherd people into using Gitter?
[21:25] <fossfreedom> no - just saying - interactive chat is via gitter - traditional forums style stuff is covered by ubuntuforums
[21:26] <fossfreedom> or if you have an irc bouncer - just throw a question here and someone will get back-to you.
[21:28] <f76> Ok thanks. If you don't mind my asking, is there a reason you've decided not to go down the forum route?
[21:29] <f76> It's just Ubuntufoums isn't linked on your site or anything.
[21:32] <fossfreedom> the team covers specific budgie support via here, G+, Facebook, Reddit - there aren't many queries via ubuntuforums.
[21:33] <f76> Ok, thanks for taking the time to answer my questions.
[21:33] <fossfreedom> yw