[09:31] <lordievader> Good morning.
[09:45] <White_Cat> Hi, I have an ubuntu-server installation (14.04.1). My df -h looks like this: http://pastebin.com/yEsPAShd I installed with a usb flashdisk. Currently the computer does not boot without the flashdrive.
[09:46] <bekks> What happens without the USB flashdrive?
[09:48] <White_Cat> it cannot find an os to boot to
[09:48] <bekks> Whats the exact error message?
[09:48] <White_Cat> no boot disk
[09:48] <White_Cat> its not an error from ubuntu
[09:48] <bekks> Whats the _exact_ error, please?
[09:49] <bekks> Not just parts of it.
[09:49] <White_Cat> http://www.ubuntu.com/certification/hardware/201409-15510/
[09:49] <White_Cat> My server seems to be ubuntu certified
[09:49] <bekks> Can you please answer my question?
[09:49] <White_Cat> bekks the exact error is that it cannot find a boot device
[09:49] <White_Cat> it is configured to only look for cds, usb and hdds
[09:50] <bekks> No.
[09:50] <bekks> Just type the EXACT error. Dont tell us what you read there, or what you think the error is. Please just type the exact, unchanged error in here.
[09:51] <White_Cat> I dont want to walk to the server room to paraphrase the exact error
[09:51] <White_Cat> it is complaining about the absence of a valid boot drive
[09:51] <White_Cat> as if grub doesnt exist
[09:54] <bekks> Then install grub on a valid boot device instead of your USB flash.
[09:56] <White_Cat> I have no idea how to do that
[09:57] <White_Cat> it is on a raid 5 so I wonder if that is the problem
[09:57] <White_Cat> but then it shouldnt boot with the usb drive either
[09:59] <bekks> Hardware or Software RAID?
[09:59] <lordievader> Is your bios capable of booting from raid5 (note I have no experience with raids)
[09:59] <bekks> If it is a HW RAID controller, the BIOS/EFI can boot from it.
[10:03] <White_Cat> it is hardware raid
[10:04] <White_Cat> lordievader I am pretty sure bios should be able to boot from raid 5
[10:04] <White_Cat> it had UEFI which I had to disable to boot at all
[10:04] <White_Cat> I currently have ubuntu-server running
[10:04] <White_Cat> but it will not reboot if I remove the USB flash drive
[10:05] <White_Cat> I have too boot from the usb flash drive to boot from the hdds
[10:05] <White_Cat> at first I thought I installed to the usb drive somehow but that doesnt seem to be the case based on df -h
[10:06] <lordievader> Seems to me like you are piggybacking on the bootloader that is installed on the usb drive.
[10:06] <White_Cat> I imagine so
[10:06] <White_Cat> is there an ubuntu command to instll a boot loader
[10:08] <bekks> Which Ubuntu release do you use?
[10:09] <White_Cat> Ubuntu Server 14.04.1 LTS
[10:09] <White_Cat> 64bit
[10:22] <White_Cat> http://superuser.com/questions/176050/ubuntu-server-installed-from-usb-puts-grub-on-the-usb-drive-instead-of-the-hard
[10:22] <White_Cat> is that something I should try?
[10:22] <White_Cat> I really do not want to destroy my system :/
[10:29] <bekks> !grub2
[10:34] <White_Cat> I havent installed windows
[10:35] <White_Cat> I know what grub is
[10:35] <White_Cat> all I ask is if the link I provide something raitonal for the problem i have
[10:41] <bekks> White_Cat: So read what ubottu told you: "For more information and roubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub2".
[10:42] <White_Cat> I just asked you if I should follow the information on the website I provided or not
[10:42] <White_Cat> its 3 commands
[10:42] <White_Cat> wouldnt it be easier just to specify that
[10:42] <White_Cat> rather than dumping me an entire man page
[10:43] <bekks> Well, I cant help you if you are refusing everything told. Good luck in soving your issue.
[10:44] <White_Cat> a simple yes no is all I expect
[10:44] <bekks> Since I gave you another link, the answer is "no".
[10:45] <bekks> It is up to you.
[10:46] <White_Cat> in that case possibly https://help.ubuntu.com/community/Grub2/Upgrading ?
[10:46] <bekks> No
[10:47] <White_Cat> so my only option is to read the entire Grub2 page and hope to the linux gods I do not break the machine entirey
[10:47] <bekks> No. Your only option is to use your brain and find the section "Installing/Reinstalling/Moving GRUB2"
[10:48] <bekks> Which is referenced in the TOC.
[10:52] <White_Cat> it isnt a matter of brain power
[10:52] <White_Cat> anyone with half a brain would be very hesitant to try things with the bootloader
[10:53] <bekks> However. You got everything you need. I gotta run.
[10:54] <White_Cat> I wish I had your confidence :)
[11:23] <linuxmint> Hi, I have 3 HDDs. # df -h only shows /dev/sda and not /dev/sdb and /dev/sdc. Do I need to reformat HDD b and C?
[11:32] <thor77> hi, i cant connect to my owncloud running on apache via https, my apache-site: http://paste.ubuntu.com/9610279/ yes, i enabled it, every https://... is redirected to my default site
[11:32] <thor77> apache2ctl -S -> http://paste.ubuntu.com/9610304/
[12:08] <MaasTic> Hello all
[12:10] <MaasTic> Do anyone was able to submit a Windows 2012 image to the new MAAS (1.7) ? If yes, can you help me ?
[12:58] <linuxmint> How can I setup multiple hard drives for storage? Parition wit LVM, mhddfs or RAID? I would like 1 HDD to store, then when full, I use the 2nd HDD. I am trying to avoid if 1 HDD breaks, the other HDDs won't work too.
[13:03] <ikonia> linuxmint: you're looking for aa very bad way of storing data
[13:03] <ikonia> linuxmint: the easy way would be to mount disk1, then when iit's filling up, mount disk2 under it
[13:03] <linuxmint> ikonia: really, I don't know what the best idea is?
[13:03] <ikonia> however lvm / raid would be a better approach, but as you want to stripe, that is a risk
[13:04] <linuxmint> ikonia: yes, your idea sounds like what I'm looking for.
[13:06] <linuxmint> ikonia: but doesn't lvm / raid make the HDDs vulnerable...if one breaks, they all break?
[13:08] <ikonia> if you stripe, yes
[13:08] <ikonia> as I said, "that is a risk"
[13:08] <ikonia> this is why I said it's a very bad way of storing data at the start of the question
[13:09] <linuxmint> ikonia: sorry, I'm confused. Does stripe mean when I run HDD1, then HDD2 when HDD1 is full. This seems safe to me?
[13:09] <ikonia> linuxmint: it doesn't work like that
[13:09] <ikonia> linuxmint: stripe means make the 2 disks into 1 big virtual disk
[13:10] <linuxmint> ikonia: ok, well I think your idea of me just mounting HDD1, then mounting HDD2 when HDD1 is full. As long as HDD1 can still run the Ubuntu server OS.
[13:10] <ikonia> linuxmint: it can
[13:11] <linuxmint> ikonia: ok, well, I think manually mounting HDDs seems best for me for now, unless there's another possibility.
[13:15] <ikonia> seems the most logical simple solution
[13:43] <tom[]> how to install megactl, megacli etc. on 14.04?
[13:43] <tom[]> http://hwraid.le-vert.net/wiki/DebianPackages
[15:25] <kevindf> When starting my teamspeak server I get the error "sh: echo I/O error"
[15:25] <kevindf> when excecuting the startup shell
[15:25] <kevindf> Anyone know what might be the cause of that?
[16:18] <hariom> I have ntp installed but my server clock is lagging about 8 minutes. How to fix this?
[16:36] <Crell> Hi folks. I have a newly installed 14.04 ubuntu-server.  So far there's nothing on it but SSH and basic LAMP.  I am trying to copy old backup files over to it, but the server keeps losing its network connection.
[16:36] <Crell> It will be fine for a while, then suddenly stop connecting mid-transfer (via rsync).  I need to reboot, and then it connects to the network fine again.
[16:36] <Crell> Any idea what I should be checking?  syslog and dmesg didn't suggest anything obvious so far...  Running dhclient just pauses for a while then gives no output.
[16:37] <Stuxnet> Hi everyone. Easy newbie question here due to lack of linux terminal navigational skills. My server was going through do-release-upgrade for 14.04 and before choosing Yes to download, I typed "D" for details. Now I don't know how to exit and go back to where I was so I can choose Yes to proceed.
[16:38] <Stuxnet> I scrolled down to "END" and I'm stuck.
[16:38] <Crell> Stuxnet: Is there a "back" anywhere on the screen?
[16:38] <Stuxnet> No.
[16:38] <Stuxnet> It doesn't appear to be vim or nano or anything.
[16:38] <Crell> Is it a gui-ish window or just raw text?
[16:38] <Stuxnet> raw text.
[16:39] <Crell> Is there a colon at the bottom of the screen?
[16:39] <Stuxnet> Yes!
[16:39] <Crell> Then it's using "less".
[16:39] <Crell> Try hitting Q
[16:39] <Stuxnet> Awesome, thanks Crell
[16:39] <Stuxnet> Worked.
[16:39] <Crell> Sometime later type "man less" for more details on less.  Useful little tool.
[16:40] <Crell> Use Q to get out of the man page then, too. :-)
[16:40] <Stuxnet> Okay thanks. Is less the default ubuntu server text editor?
[16:40] <Crell> It's not an editor; it's a text file viewer.
[16:40] <Stuxnet> or viewer..
[16:40] <Stuxnet> oh okay.
[16:40] <Crell> It's the default viewer on... every system I've used in the last 10 years.
[16:40] <Stuxnet> Ah.
[16:41] <Crell> Lets you scroll up, down, search, and quit.
[16:41] <Crell> And that's about all I ever do with it. :-)
[16:42] <Stuxnet> Understood. I am Windows native and "grew up" with GUIs, I am even a newbie with command prompt, but I am experimenting with a home server so I am learning the terminal commands, it's fun though. Linux seems to be extremely easy and efficient.
[16:43] <Crell> Once you get the hang of it, it usually is.
[16:43] <Crell> Except when mystery errors happen, which has been my last 2-3 days. :-(
[16:44] <Stuxnet> I knew I was stuck in some type of text file, just didn't know the commands. If I'm editing I'm usually in nano.
[16:44] <Stuxnet> heh wow.
[16:46] <Crell> A lot of linux commands are written on the assumption that you already know how to use them.
[16:46] <Crell> That makes them very very efficient and fast to use once you do, but harder to pick up in the first place.
[16:46] <Crell> Contrast with a typical GUI approach which emphasizes learnability over expert-efficiency.
[16:46] <Crell> Different tradeoffs for different use cases.
[16:47] <Stuxnet> Now that I am here, before I go, maybe somebody can point me in the right direction as this is probably a common thing: The server is headless and I manage it by SSH with PuTTY. It's my understanding that if you reboot the services like open-ssh don't start until you log in.
[16:47] <Crell> Depends how they're configured.
[16:47] <Crell> The default ssh configuration does start on boot.
[16:47] <Crell> I think most that you install via apt start on boot by default...
[16:48] <Stuxnet> Okay. I seem to rememebr not being able to log in again after reboot but I will test it and make sure.
[16:48] <Crell> You definitely want to setup ssh keys, though, while you're there.
[16:48] <Stuxnet> Right. That was approaching on my to do list :P


[05:13] <gnomefreak> any IRCC members here by chance
[07:17] <Tm_T> gnomefreak: yes
[07:17] <Tm_T> timing++
[18:08] <bazhang> dpnm!
[18:08] <Pici> not my usual keyboard
[18:08] <bazhang> down something something MINT!
[18:09] <bazhang> no way he's trolling
[18:09] <bazhang> Pici, did the blackout in parts of NJ affect you?
[18:30] <Pici> bazhang: I
[18:30] <Pici> er, stupid keyboard
[18:30] <Pici> bazhang: I haven't had power since Tuesday night
[18:31] <Pici> Hopefully its on when
[18:31] <Pici> I get home from work
[18:31] <bazhang> Pici, whoa , I'm sorry to hear that. do you have an alternate place to stay?
[18:31] <Pici> Nah, I'm okay though.  I have hot water, and candles to read with.
[18:31] <bazhang> heh ok
[18:32] <bazhang> and a phone to IRC with, presumably
[18:33] <Pici> My dad had an emergency generator, so I recharged there, plus the hospital was on their generators and was one of the first places to get real power service back
[18:33] <Pici> Its been a weird week.
[18:33] <bazhang> sounds like it
[20:03] <bazhang> @mark #ubuntu evilbetty<EMAIL_ADDRESS>  anyway have fun im sure i'll find a chan without ircgestapo
[20:06] <rolling> Hello
[20:06] <rolling> good morning
[20:06] <rolling> QUICK
[20:06] <rolling> BAN ME
[20:06] <rolling> BEFORE I PASTE CREDIT CARD
[20:06] <rolling> :O
[20:06] <bazhang> no
[20:06] <bazhang> just exit the channel
[20:06] <rolling> no
[20:07] <rolling><PHONE_NUMBER>002525	 02/14 	114	 RALUCA DUDAS 	ADDRESS	 CITY 	state	 zip code	 ROMANIA
[20:07] <bazhang> rolling, thats enough
[20:07] <rolling> HAHAHAHAHAHA
[20:07] <rolling><PHONE_NUMBER>701022 04/14 131	 CRISTINA SEPEDE	 PO BOX 930	 SPRING HILL 	QUEENSLAND	 4000 	Australia<PHONE_NUMBER>
[20:13] <AlanBell> charming
[20:14] <bazhang> seems to be Troll O'Clock


[16:10] <PeterFA> If I source a file that doesn't call any processes in my start script, will that interfere with the PID stuff?
[16:23] <jodh> PeterFA: if the sourced script only sets variables, that's fine.
[16:24] <PeterFA> jodh: thanks.
[16:25] <PeterFA> What if I have an if/then bock where the else part (which is the golden path) calls the process, would the if/then and test stuff interfer with getting the right PID?
[16:30] <jodh> PeterFA: no since 'if', 'test' and '[' are all shell built-ins (to convince yourself, run "for i in if then else test [; do type $i; done").
[16:31] <PeterFA> jodh: thanks. This kind of scripting makes me a bit paranoid.
[16:32] <PeterFA> I wish Upstart had some sort of flag that says, "This next line will produce the PID we want. Track that one."
[16:32] <jodh> PeterFA: if you are only setting a few variables, you could just use 'env' maybe to avoid the external script? http://upstart.ubuntu.com/cookbook/#env
[16:34] <PeterFA> jodh: I source the script multiple times. I understand that even though a variable is set, it dies with each section, so after process is started, the post-start or stop sections won't be able to use those variables.
[16:34] <PeterFA> So, I just rebuild them every time.
[16:34] <jodh> PeterFA: also, if the job your are producing is a session job (?) you could use http://upstart.ubuntu.com/cookbook/#initctl-set-env. That way you could set the variables in the pre-start and have them apply to the entire job such that the main job process (script/exec) won't need to source anything :)
[16:35] <PeterFA> jodh: that would be a whole lot simpler, and I do want to make this into a session job. The reason is because I want the processes to have lesser priviledges as to not go all political on the data.
[16:35] <PeterFA> Or at least on the rest of the system.
[16:36] <jodh> PeterFA: are you using setuid+setgid at the moment then? http://upstart.ubuntu.com/cookbook/#setuid
[16:37] <PeterFA> jodh: no, not yet. I want to though. I guess now's the time for this step.
[16:47] <linguini> cd upstart && ./configure --with-local-libnih=../libnih # says unrecognized option: --with-local-libnih
[16:47] <linguini> I'm trying to compile upstart, following http://upstart.ubuntu.com/wiki/CompilingUpstart
[16:48] <linguini> Is --with-local-libnih obsolescent?
[17:02] <PeterFA> How do I figure out what  version of Upstart I'm using? It looks like from yum -list I'm using Upstart 6.2.
[17:07] <jodh> PeterFA: 'initctl version' shows you the running version of upstart and 'init --version' will show you the latest *installed* version.
[17:08] <jodh> linguini: no, that option is still there.
[17:08] <PeterFA> jodh: awesome, thanks. I'm on 0.6.2.
[17:08] <PeterFA> Ouch, no session init.
[17:08] <jodh> linguini: you should probably be looking at http://upstart.ubuntu.com/cookbook/#setting-up-an-upstart-development-environment btw.
[17:08]  * PeterFA wails in agony.
[17:09] <jodh> PeterFA: oooohhhh...
[17:09]  * PeterFA plots the ultimate destruction of RHEL6.
[17:09] <jodh> PeterFA: no setuid/setgid either.
[17:09] <PeterFA> start-stop-daemon?
[17:11] <jodh> PeterFA: that's part of dpkg so unsure if that'll be available on RHEL either ?!?
[17:12]  * PeterFA collapses and turns ghostly white.
[17:12] <PeterFA> I'm going to go get some lunch.
[17:12]  * PeterFA disappears grumbling.
[17:16] <linguini> jodh: Thanks; I wonder why my configure doesn't accept the argument...
[17:17] <linguini> jodh: Thanks for the link; I'll look at the cookbook settings instead.
[17:17] <jodh> linguini: what version of upstart are you trying to build?
[17:18] <linguini> jodh: bzr branch lp:upstart
[17:18] <linguini> (ala http://upstart.ubuntu.com/wiki/CompilingUpstart)
[17:22] <jodh> linguini: try running 'autoreconf -fi' then './configure --help|grep with-local-libnih'
[17:23] <linguini> jodh: autoreconf -fi # success
[17:23] <linguini> jodh: ./configure --help | grep nih # nope
[17:25] <jodh> linguini: have you definitely installed all the pre-reqs ("sudo apt-get build-dep upstart")? What does 'grep with-local-libnih m4/libnih.m4' give?
[17:25] <linguini> jodh: No; I haven't.  I'll dry that.
[17:32] <linguini> jodh: It's installing 30+ MB of stuff.  Clearly I was missing some build dependencies!
[17:38] <jodh> linguini: :)
[17:52] <linguini> jodh: That worked!
[17:52] <jodh> linguini: great.
[17:52] <linguini> GNU auto-* tools are mysterious to me.
[17:53] <linguini> Thanks; I'm now unstuck.


[12:09] <telling> Hi guys, I have an issue where the pubkey i specify for my ec2 instance doesnt get installed on the instance. The right key is available from the metadata, but doesnt get installed. I use cloud-init to provision my base AMI, might there be something I'm missing to "reset" for the keys to be installed?
[12:32] <telling> Also can I create PRs for the docs? Not familiar with launchpad
[12:47] <smoser> telling, yes you can do "merge proposals" for the docs.
[12:47] <smoser> follow http://cloudinit.readthedocs.io/en/latest/topics/hacking.html
[12:47] <smoser> to do doc you run 'tox -e doc'
[12:48] <smoser> and, yes the key should get pulled in.
[12:48] <smoser> can you pastebin a /var/log/cloud-init.log from an instance ? this does onyl happen once per instance, though. not ever boot.
[12:48] <telling> smoser: right, so the issue is I dont clean up the instances dir on my base ami?
[12:51] <telling> This is my cloud-init log: https://ncry.pt/p/nxDn#FbcKAdDqbLBqKIqASdwzhw3PK6FtHibonWeX3zzIr0I
[12:52] <telling> As you can see it contains the base-ami log and the newly created jenkins instances log :)
[12:56] <smoser> telling, you should not have to clean up anything on an ami
[12:56] <smoser> thats the goal at least.
[12:56] <telling> Right, i thought so initially
[12:56] <telling> Just cant figure this out :)
[12:58] <smoser> http://paste.ubuntu.com/24737229/
[13:00] <smoser> telling, hm..
[13:01] <smoser> can you share the cloud-config that you're giving ? it seems like you've at least modified the default user
[13:03] <telling> smoser: yes, it's here: https://ncry.pt/p/pxDn#MpKZXCM083Hu_imxWbRE8mrPj1gbPzNYqbNhJblMgNs
[13:06] <smoser> telling, http://cloudinit.readthedocs.io/en/latest/topics/examples.html?highlight=users
[13:06] <smoser> so what is happening...
[13:06] <smoser> is that you are overriding the default 'users' list
[13:06] <smoser> and defining one without a 'default' entry
[13:06] <smoser> and the ssh keys from the metadata service go into which ever user is 'default'
[13:07] <smoser> there may be a way for you to tag your jenkins user in the list
[13:07] <smoser> let me check
[13:07] <telling> No
[13:07] <telling> Thats not what i want, i want it to be the ubuntu user as normal
[13:07] <telling> I just want cloud-init to create a jenkins user, not for it to be default
[13:11] <telling> Currently it seems, no user gets the key. I feel like this can be cause of trouble
[13:12] <telling> I can only access my instance because I have it provisioned with a master key in the base ami (Which im still debating with myself if I can justify or not)
[13:15] <smoser> ah.
[13:15] <smoser> just add an entry 'default'
[13:15] <smoser> in your users array
[13:17] <telling> But you would've expected my jenkins user in this case to get the key? Or whats to be expected?
[13:22] <telling> But that did indeed fix it, thanks a bunch smoser.
[13:22] <smoser> telling, well, the user that gets the key is the 'default' user (as described in the system_info)
[13:23] <smoser> but that user is not modified/created if they are not int he 'users' array
[14:43] <smoser> rharper, https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/324948 quickly ?
[14:45] <smoser> or blackboxsw
[14:45] <blackboxsw> mornin'
[14:49] <blackboxsw> smoser: I don't see how that kwarg specified will not break on old  versions.
[14:50] <blackboxsw> smoser: nevermind, dumb
[14:50] <blackboxsw> reordered call args +1
[14:54] <smoser> thanks
[15:03] <ragechin> Hey smoser, what's the proper procedure to formally objecting to the behavior of a module and discussing changing it?
[15:03] <ragechin> Something in a github issue or whatever?
[15:12] <Odd_Bloke> smoser: So have we talked to SL about identifying information before?
[15:13] <Odd_Bloke> I'm about to send them an email asking, and want to make sure I'm not repeating a question we've already asked.
[15:19] <smoser> i'im sure you are :)
[15:19] <Odd_Bloke> :)
[15:55] <smoser> blackboxsw, http://paste.ubuntu.com/24738693/
[15:55] <smoser> those on top of your
[15:55] <smoser> https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/324875
[15:55] <smoser> and i'm good to pull
[15:55] <smoser> (not that i'm workign on that rather than other things i should be working on)
[15:56] <blackboxsw> smoser: +1 you need me to apply it?
[15:56] <blackboxsw> smoser: I know your listening
[16:01] <smoser> i'll just merge it
[16:01] <smoser> you can ACK in that MP
[16:01] <smoser> (i commented there too)
[16:02] <blackboxsw> Ipushed
[16:02] <blackboxsw> smoser: sorry pushed
[16:16] <smoser> blackboxsw, fudge
[16:16] <smoser>     dmi_chassis_asset_tag_matches "${azure_chassis}" && return $DS_FOUND
[16:16] <smoser>     check_seed_dir azure ovf-env.xml && return ${DS_FOUND}
[16:17] <smoser> my feeling is that always seed dir indicates datasource.
[16:17] <smoser> if you put that stuff in, you are disabling all other checks. so i think we want/wanted those lines swapped
[16:18] <blackboxsw> smoser: don't we want to ds-identify to exit on first/cheapest check for a given datasource?
[16:19] <smoser> bah.
[16:20] <smoser> and i think in my squashing i duplicated a line too
[16:20] <smoser>  /o\
[16:22] <blackboxsw> hmm, I thought generally we wanted to claim success (DS_FOUND) as soon as possible for each datasource in ds-identify. Looking back over the script. I'm on the cloud-init hangout if you want to chat for faster turnaround
[16:22] <smoser> blackboxsw, well, the idea is that if you write /var/lib/cloud/seed/<datasource>/ you're feeding information to cloud-init. it overrides any checks. you're telling it "USE THIS DATA!".
[16:22] <smoser> sure
[17:07] <erick3k> can someone please help me
[17:08] <erick3k> am using debian 8 and cloud-init 0.7.7 and the root partition is not resizing
[17:08] <erick3k> https://docs.google.com/document/d/1nAiVAt0rIG6Fl-4vEtvOpHR2e2F5W3j5OEO3POYhcKA/edit?usp=sharing
[17:10] <blackboxsw> smoser: I'm going through the DataSourceAzure code, and it looks like our seed dir ovf file can contain dscfg key in which the dscfg can override hostname_command, hostname_bounce.command, and agent_command with a custom command that we could have injected in the seed dir, Wouldn't that get us past seed dir being broken? It seems like setting dscfg['agent_command'] = ["not__builtin__"]  would let us fall through an pull
[17:10] <blackboxsw> ssh keys out of get_metadata_from_agent (instead of fabric)
[17:10] <blackboxsw> erick3k: I wonder if that's related to https://bugs.launchpad.net/cloud-init/+bug/1684869
[17:10] <blackboxsw> checking your doc
[17:10] <erick3k> i see resize module not found and then found
[17:10] <erick3k> blackboxsw thank you
[17:17] <blackboxsw> hmm, so I'm seeing "Jun  1 08:49:53 newdebian8 [CLOUDINIT] util.py[DEBUG]: Running command ('resize2fs', '/dev/vda1') with allowed return codes [0] (shell=False, capture=True)
[17:17] <blackboxsw> Jun  1 08:49:53 newdebian8 [CLOUDINIT] util.py[DEBUG]: Resizing took 0.007 seconds
[17:17] <blackboxsw> Jun  1 08:49:53 newdebian8 [CLOUDINIT] cc_resizefs.py[DEBUG]: Resized root filesystem "
[17:18] <blackboxsw> hmm yeah then some module not found errors
[17:22] <erick3k> anyway to fix that?
[17:25] <smoser> blackboxsw, yeah.. i gues maybe.
[17:25] <blackboxsw> erick3k: I'm not sure why that log appears to be running the init modules so many time
[17:25] <blackboxsw> erick3k: I'm not sure why that log appears to be running the init modules so many times
[17:25] <smoser> blackboxsw, it runs on every boot
[17:25] <smoser> as you can shut down an instance, grow its diskk and it wants to make that magic
[17:26] <smoser> erick3k, i suspect htat you do not have growpart
[17:26] <smoser> but i woudl have thought you'd have some log of an error
[17:27] <erick3k> i did just check
[17:27] <erick3k> smoser it is installed :( https://i.imgur.com/HdSDob4.png
[17:29] <smoser> erick3k, you're not running the growpart module
[17:29] <smoser> erick3k, and fyi, 'pastebinit' is installable in debian and is fabulous
[17:29] <erick3k> kool
[17:29] <smoser> ie, you run 'pastebinit /var/log/cloud-init.log'
[17:29] <erick3k> how can i try and run the module?
[17:30] <smoser> or 'dpkg-query --show | pastebinit'
[17:30] <erick3k> cool
[17:30] <smoser> your /etc/cloud/cloud.cfg probaly has no 'growpart'
[17:30] <erick3k> umm
[17:30] <smoser> http://paste.ubuntu.com/24739577/
[17:30] <erick3k> it does have resizefs
[17:30] <smoser> resizefs resizes the filesystem
[17:30] <smoser> but growpart grows the partition to use any space at the end.
[17:31] <smoser> you can probably urn
[17:31] <smoser> sudo cloud-init single --frequency=always --name=growpart
[17:31] <erick3k> https://0bin.net/paste/dd5jh1SY5RJtBCn-#v0WV8Is-//g0CwlmdqSEjT33ny325sdWqdqTVkjGeQ4
[17:31] <erick3k> thats my cloud.cfg
[17:33] <erick3k> run cloud-init single --frequency=always --name=growpart and reboot?
[17:33] <erick3k> nice
[17:33] <erick3k> that worked
[17:33] <smoser> add 'growpart' before 'resizefs'
[17:33] <smoser> in cloud_init_modules
[17:40] <erick3k> smoser that does not work
[17:40] <smoser> why
[17:40] <erick3k> i increased the size, deleted /var/lib/instances/xxxx
[17:41] <erick3k> rebooted
[17:41] <erick3k> and still has the same size
[17:43] <smoser> i'd hope that /var/log/cloud-init.log has a WARN message
[17:43] <smoser> does
[17:43] <erick3k> checking
[17:43] <smoser> can you pastebin:  sudo growpart --dry-run --update=on
[17:43] <smoser> can you pastebin:  sudo growpart --dry-run --update=on /dev/vda 1
[17:43] <smoser> (where 1 is the partition of the device that needs resizing)
[17:44] <smoser> and /dev/vda is the device
[17:44] <erick3k> https://0bin.net/paste/2q9nEwhsy5wlg0-b#NBF6dIc76qJkDmnWhnv7K6fTrkqLVVwYkZ1IkszmPxp
[17:45] <erick3k> i dont see the module invoked on the log
[17:45] <erick3k> oh hold on
[17:47] <erick3k> nvm
[17:47] <erick3k> smoser it does work, looks like cloud.cfg with -growpart didnt save
[17:47] <erick3k> hehe
[17:47] <erick3k> thank you very much
[17:47] <erick3k> you are the man, owe you a beer
[17:48] <dpb1> you can pay me now and I'll buy smoser a beer
[17:48] <dpb1> :)
[17:52] <erick3k> xD
[18:02] <Redcavalier> Hi, is there a way to prevent cloud-init from caching the user-data locally?
[18:08] <Redcavalier> My main issue is that if, for some reason, user-data is not received by a VM after a reboot, the user-data is loaded locally and some stuff that normally only get executed on first boot, get run again.
[18:09] <Redcavalier> That results in password getting changed and other fun stuff.
[18:38] <dgarstang> Trying to get fs_setup and mounts to work. Getting "Failed to make '/mysql_data' config-mount". Any ideas?
[18:45] <rharper> powersj: http://paste.ubuntu.com/24740067/
[18:45] <rharper> end of my tox run
[18:46] <rharper> Redcavalier: you don't have user-data but somehow it's cached?
[18:46] <rharper> dgarstang: cloud-init.log and the boot syslog may be helpful (along with any user-data supplied)
[18:48] <dgarstang> rharper: The file /var/log/cloud-init.log is empty.
[18:48] <Redcavalier> rharper, I do have user-data, it get executed on first boot. However, sometimes after a reboot (1 in 100, roughly), the instance is unable to go and fetch that userdata and decides to use the local data. Now, for some reason, it all the commands, even though they already ran on first boot.
[18:48] <dgarstang> rharper: Which is weird because I haven't made any logging changes
[18:48] <rharper> dgarstang: suggests that cloud-init didn't run or something cleared it.
[18:48] <rharper> dgarstang: what about syslog? that also may have some cloud-init output
[18:49] <dgarstang> rharper: It ran because it executed scripts and it's logged "Failed to make '/redis_data' config-mount" to /var/log/cloud-init-output.log
[18:49] <Redcavalier> all the commands, even though they ran on first boot already, get executed again*
[18:49] <rharper> Redcavalier: hrm, that sounds like a network metadata source; it may be going down a NoDataSource path;
[18:50] <dgarstang> rharper: Same stuff logged to /var/log/messages for cloud-init as /var/log/cloud-init-output.log
[18:50] <Redcavalier> rharper, oh right, if I can change the way the no data source case behave, I might be able to fix this.
[18:50] <dgarstang> So, basically, cloud-init isn't logging _anything_ except stdout
[18:50] <rharper> Redcavalier: in general, cloud-init does some things every boot, per-instance, or always;  most of the initialization items like passwords, are run per-instance, so unless you've wiped out /var/lib/cloud/instance (symlink to the instance-id dir)
[18:51] <rharper> it shouldn't re-run any of those per-instance configurations
[18:51] <dgarstang> Does this look correct? https://gist.github.com/dgarstang/8352ad8c51d834fbf3f282eb300d83d7
[18:51] <Redcavalier> rharper, indeed, hence why the fact it re-runs them makes no sense to me.
[18:51] <powersj> rharper: on what branch of yours? I've don't recall seeing that happen before
[18:51] <rharper> Redcavalier: your /var/log/cloud-init.log should help digest the logic, if you have it
[18:52] <rharper> dgarstang: looking
[18:52] <dgarstang> I wish I had a /var/log/cloud-init.log... :(
[18:52]  * powersj goes to make lunch
[18:52] <rharper> dgarstang: seems odd not to have one;  the user data in your paste doesn not reference /mysql_data
[18:52] <dgarstang> oh hm maybe xvdj0 should be xvdj
[18:52] <rharper> it has redis_data
[18:53] <rharper> I don't think so
[18:53] <dgarstang> That was from an earlier exammple sorry
[18:53] <rharper> does it come partitioned ?
[18:53] <dgarstang> Now it's complaining about /redis_data
[18:53] <dgarstang> rharper: Partitioned...? No, it's an external EBS disk
[18:53] <dgarstang> Mounted tho at /dev/xvdj
[18:53] <dgarstang> sorry attached I mean
[18:53] <rharper> ok, just trying to line up the device name to the device name in the mounts
[18:53] <Redcavalier> rharper, yes I have it, that's how I know it runs again when it shouldn't. Basically I get : util.py[WARNING]: Getting data from <class 'cloudinit.sources.DataSourceOpenStack.DataSourceOpenStack'> failed . It's then followed by messages telling me that the commands that are supposed to only run once per instance are being executed again.
[18:54] <dgarstang> Well, yeah maybe it should be xvdj not xvdj0 in mounts
[18:54] <dgarstang> But...
[18:54] <dgarstang> lemme check something
[18:54] <rharper> Redcavalier: so, if you fail to get hit the openstack metadata service, I suspect that undefined bad things may happen;  I'm not 100% sure where the instance-Id comes from on openstack instance types
[18:54] <dgarstang> Nope... so the disk /dev/xvdj isn't formatted. I can't mount it. So, it skipped the fs_setup step as well
[18:54] <rharper> Redcavalier: you can also look in /var/lib/cloud/instances/*
[18:55] <rharper> dgarstang: well, if somethings' not right with the formatting in fs_setup, then it won't have a device to mount which would prevent the mounts section from being successful
[18:55] <dgarstang> rharper: Sure. Getting it to format would be a nice first step
[18:56] <rharper> dgarstang: it looks fine to me, but maybe double check the device name?  and are the EBS volumes attached prior to boot (I don't know)
[18:56] <rharper> powersj: master with some local changes
[18:56] <dgarstang> The EBS disk is attached. It's not even logging the fail to format. GRRR
[18:56] <Redcavalier> rharper, logically, I'm betting it comes from /var/lib/cloud/instances/iid-datasource-none/user-data.txt
[18:56] <rharper> Redcavalier: that's the fallback
[18:57] <rharper> so since it failed to connect to the metadata service, it runs with fallback instance-id, which forces a new instance-id (it doesn't know which one)
[18:57] <rharper> however, I wonder why it couldn't use the cached metadata ... maybe smoser knows more about that datasource
[18:58] <Redcavalier> rharper, actually I'm wrong, it can't come from /var/lib/cloud/instances/iid-datasource-none/user-data.txt since that file is empty. After all, my original commands are getting re-run again.
[18:58] <rharper> Redcavalier: right, it's related
[18:58] <rharper> cloud-init couldn't find the instance-id, the fallback one (none found) is a *new* instance id, which means cloud-init won't know it hasn't run any of those config modules before and re-runs them with defaults
[18:59] <rharper> ie, it didn't know the difference between image booting in a new instance (ie, I want you to regenerate my keys and etc) vs.  this temporary failure to identify itself as the previous instance-id
[19:02] <Redcavalier> rharper, that makes sense. I do need to change the behaviour then. Could I put information in the fallback datasource so it doesn't use the original one again?
[19:03] <rharper> unstable metadata service seems like the critical fix
[19:03] <rharper> I don't know without looking if cloud-init can know to use a previous instance-id in the case that the currently expected datasource is failing
[19:04] <rharper> what, if for example there were 3 different instance-id's ?  is it always right to use the one from the previous boot?  or how does cloud-init know which one to use on failure ?
[19:07] <Redcavalier> rharper, it's clearly copying the previous one though. For example, I have 2 IDs right now, 25603f8d-e602-4cde-8a6b-09e7387e1512 and i-00000165. 25603f8d-e602-4cde-8a6b-09e7387e1512 is my original instance ID and the good userdata. i-00000165 was created when the metadata failed. It contains the same user-data as 25603f8d-e602-4cde-8a6b-09e7387e1512, which in this case is bad as it get executed again.
[19:08] <rharper> are both the user-data.txt files empty ?
[19:08] <Redcavalier> rharper, nope, thewy both have my original data when the VM was created. However, I suspect that something else might be happening.
[19:09] <rharper> I don't believe there is any copying, the metadata service failed, so it picks an instance-id (Not sure if that's harcoded since it's a failure path); and then runs normal boot sequence , but since the instance-id is *different*, it doesn't find a cached instance dir, and runs like first boot of an instance
[19:10] <rharper> within that instance-id dir, it writes out the various files it normally would, including sem dir which tracks when it last ran those config modules
[19:10] <Redcavalier> Openstack has compatibility to both offer its own metadata source, but also EC2-like data. If cloud-init queries openstack for EC2-like data, it will get a reply. I wonder if this is what is happening.
[19:11] <rharper> the two datasources for OpenStack that I'm aware of are the metadata-service URL (network based) or a ConfigDrive (vm local)
[19:11] <Redcavalier> because if it really didn't get any data, by second instance ID user-data would indeed be empty
[19:11] <rharper> I believe we well perfer a ConfigDrive since it's local and we can detect that before we bring up networking ;
[19:12] <Redcavalier> rharper, yes, I've always been in favor of configdrives. However, my hand was forced by the higher up, but that's irrelevant here.
[19:12] <rharper> but given your error message about the OpenStack datasource failed (and your log file may include URL timeouts) I don't thing that'd be a conflicting datasource (config drive) path
[19:13] <rharper> Redcavalier: I didn't mean to indicate a perferred solution, only that cloud-init detects config drives before it attempts to hit the network URL for OpenStack
[19:13] <Redcavalier> rharper, right, it didn't load from configdrive here though.
[19:15] <dgarstang> "Failed to make '/redis_data' config-mount"... This is getting REALLY annoying
[19:16] <dgarstang> Seriously, what am I supposed to do without debug output?
[19:16] <dgarstang> Here's my latest attempt .. https://gist.github.com/dgarstang/a7d24e74c78d00a4f90a94019154dd44
[19:18] <dgarstang> I don't need to create the dir do I? I looked through the code and it looks like cloud-init does it. I did see something about selinux in there
[19:20] <dgarstang> This error "Failed to make '/redis_data' config-mount" implies it can't even create a direcrory
[19:20] <rharper> looking
[19:21] <dgarstang> Why, when I google "cloud-init "Failed to make"" do I get nothing?
[19:21] <dgarstang> (except source...)
[19:24] <dgarstang> Actually, it HAS created /redis_data
[19:25] <dgarstang> Running "mkfs -t ext4 /dev/xvdj" manually works fine
[19:25] <rharper> dgarstang: you should be able to re-run the module like this:  cloud-init --debug --force --file test.yaml single --name disk_setup --frequency always --report
[19:25] <rharper> wher test.yaml is your user-data you pasted
[19:25] <dgarstang> checking
[19:25] <rharper> then replace disk_setup with mounts
[19:26] <rharper> to run the mounts section
[19:27] <dgarstang> Ok, I ran it.. got a lot of data, nothing relevant. Not even a mention of 'redis'
[19:28] <dgarstang> Maybe it's because I manually formatted the disk. I'll start fresh
[19:28] <blackboxsw> 38% on SRU bug templates smoser :). think that's worth a coffee break... back in a few
[19:28] <dgarstang> Would be nice if that debug got logged somewhere on boot
[19:30] <rharper> dgarstang: it does, /var/log/cloud-init.log; but you said it was empty; that's not normal
[19:30] <dgarstang> rharper: It indeed is empty
[19:30] <dgarstang> It's just an official CentOS 6 AMI
[19:31] <rharper> hrm
[19:32] <dgarstang> Fresh instance. Same issue. Same error. When I run the command above, still doesn't work and IT'S output doesnt got to cloud-init-output AT ALL
[19:33] <rharper> the single command won't go to the file, it goes to stdout; but when the module runs during boot, all of cloud-init's logging should go to /var/log/cloud-init.log ;  if it's empty, that's possibly a logging config issue in /etc/cloud/cloud.cfg but I would have thought that an official AMI would have cloud-init logged somewhere properly
[19:33] <dgarstang> The scripts that I am running from runcmd have "exec >> /var/log/ec2-bootstrap.log ; exec 2>&1" at the top. Maybe that's confusing cloud-init's logging
[19:34] <rharper> that's definitely going to grab the runcmd commands outputs and redirectl them
[19:34] <dgarstang> Well sure, for my scripts, but nothing else.
[19:35] <dgarstang> Cloud-init is still sending its output to /var/log/cloud-init-output.log, but /var/log/cloud-init.log is empty
[19:37] <rharper> it's possible that the CentOS 6 AMI has it configured to send logs somewhere else, I would think syslog woudl be the other choice
[19:37] <dgarstang> Checking with those exec lines removed
[19:58] <blackboxsw> back
[20:00]  * blackboxsw checks runcmd tests on ubutnu w/ 2>&1 just to be sure I'm seeing logs where I think I should
[20:01] <dgarstang> This is my latest attempt... https://gist.github.com/dgarstang/0fecc2dc7baaf1a2272a250bfe4da828... Output is going to cloud-init-output.log, and it's still logging "Failed to make '/redis_data' config-mount" ... still nothing going to cloud-init.log. This is so frustrating!
[20:01] <dgarstang> I can't make the cloud-init user data any more simple
[20:03] <dgarstang> "mount -t ext4 /dev/xvdj /redis_data" fails when I run it, so cloud-init did NOT format the disk
[20:03] <smoser> dgarstang, its empty on rhel before we changed the logging to go directly to a file
[20:04] <dgarstang> smoser: Egads. How'd you do that?
[20:04] <smoser> dgarstang, look in /etc/cloud/cloud.cfg.d/05_logging.cfg
[20:04] <smoser> see the line about 'syslog' (log_syslog) . just comment it out.
[20:04] <dgarstang> smoser: yah... don't know how to read/update that file
[20:04] <dgarstang> ah
[20:04] <smoser> then logging goes right to the file, not to syslog
[20:04] <smoser> which was busted on rhel
[20:04] <dgarstang> Well it's not going to syslog either
[20:04] <smoser> because cloud-init *thought* syslog was hooked up, but it wasnt
[20:04] <smoser> anyway, thats the fix.
[20:04] <dgarstang> All it's logging to syslog is the "Failed to make '/redis_data' config-mount" message
[20:05] <dgarstang> It's not doing it's regular debut to syslog
[20:05] <smoser> yea, thats kind of expected. syslog actually isnt all the way up. just make it go right to the file.
[20:05] <smoser> thats the change that is in upstream now
[20:06] <dgarstang> Good grief. Thanks. Well maybe the ability to format and mount disks is also broken?
[20:06] <dgarstang> Actually I don't have that line in 05_logging
[20:07] <dgarstang> I've got " - &log_syslog |" and " - [ *log_base, *log_syslog ]"
[20:07] <dgarstang> I'd rather fix the inability to mount disks rather than the logging tho. Maybe I should try CentOS 7
[20:09] <smoser> sorry
[20:09] <smoser> you want to comment out a line like
[20:09] <smoser> - [ *log_base, *log_syslog ]
[20:09] <smoser> comment that out (#)
[20:09] <smoser> then you'll get a log
[20:10] <smoser> and the log should have a WARN message
[20:10] <dgarstang> Ok. Lemme try centos 7 first
[20:12] <smoser> blackboxsw, 44%. and i havent started my next one yet. (utlemming had done the DigitalOcean one)
[20:19] <dgarstang> Looks like the logging issue is fixed in CentOS 7 .... but not it's ability to mount disks! ARGH!
[20:19] <smoser> dgarstang, can i see /var/log/ ?
[20:19] <smoser> var/log/cloud-init.log
[20:19] <dgarstang> sure, hang on
[20:20] <dgarstang> Here ya go. https://gist.github.com/dgarstang/2d9c134b7f230c84a82ed64c34a82852 Not much useful stuff there
[20:21] <dgarstang> Lines 110,111
[20:22] <dgarstang> Corresponding user-data with cloud-init https://gist.github.com/dgarstang/2fa1ed8b630117bdf472744d537d7d28
[20:24] <smoser> for as much as gists are used for a pastebin youd think they would have an interest in just offering a pastebin solution
[20:25] <dgarstang> :-\
[20:25] <dgarstang> I can't see how to make my config any simpler
[20:25] <smoser> ... i suspect that selinux is in play
[20:26] <dgarstang> I dunno. I read through the cloud-init code and saw something about that so I added it
[20:26] <smoser> as
[20:26] <smoser> Jun 1 20:17:35 ip-172-31-7-213 cloud-init: 2017-06-01 20:17:35,363 - util.py[WARNING]: Failed to make '/redis_data' config-mount
[20:26] <dgarstang> ^ Yep
[20:26] <smoser> is from util.ensure_dir() failing with that argument
[20:26] <dgarstang> But, it does create the directory
[20:27] <smoser> hm.. oh.
[20:27] <dgarstang> Yep
[20:27] <smoser> did rharper already go over this with you?
[20:27] <smoser> apparently there is a bug in python-selinux that couldbe related.
[20:27] <dgarstang> :-O
[20:27] <smoser> (sorry if we're re-treading here)
[20:27] <dgarstang> I'm the first person in history to use the cloud-init disk mount feature?
[20:28] <dgarstang> So, maybe when I build my AMI I should have it disable selinux in /etc/sysconfig/selinux
[20:28] <smoser> https://bugzilla.redhat.com/show_bug.cgi?id=1406520
[20:30] <smoser> dgarstang, are you able to make a change easily and re-try ?
[20:30] <smoser> i'd like to see the exception that is raised
[20:31] <dgarstang> Well, someone earlier said I ran rerun with "cloud-init --debug --force --file data.yml single --name disk_setup --frequency always —report"
[20:31] <dgarstang> so, I can try that
[20:32] <rharper> smoser: I didn't mention the selinux python issue yet
[20:32] <smoser> yeah. i'm surprised you're nto getting debug messages in that log
[20:32] <smoser> this is also 0.7.5
[20:33] <smoser> which... realkly old. and i know that it is what you have, but, really old
[20:33] <smoser> b
[20:33] <rharper> smoser: re: selinux;  there was a set_enforce 0
[20:33] <rharper> as a bootcmd
[20:33] <rharper> however, someone else mentioned that maybe bootcmd didn't run "early" enough w.r.t disk_setup stuff
[20:33] <smoser> yeah, but can you even do that ?
[20:33] <rharper> which still seems odd to me given my reading of the config module order
[20:33] <rharper> but possibly things changed in trunk vs. 0.7.5
[20:34] <dgarstang> I've disabled selinux in /etc/selinux/config... Rebooting... Will try again after back up
[20:37] <dgarstang> Well, I think I'm not getting the error now but "cloud-init --debug --force --file data.yml single --name disk_setup --frequency always —report" isn't causing it to mount still
[20:37] <dgarstang> So, maybe selinux needs to be disabled before boot
[20:40] <dgarstang> UGH
[20:40] <smoser> dgarstang, we are working recently on getting cloud-init much better on centos
[20:41] <smoser> but as your'e finding, its not as thouroughly tested as Ubuntu.
[20:41] <smoser> the goal is to improve it and get automated tests in  place to keep the function there.
[20:46] <dgarstang> Sadness
[20:54] <rharper> dgarstang: the single runs just one module, you will need to call it again with '--name mounts' to perform the mount section
[20:54] <dgarstang> Is this progress? Using CentOS 7, and selinux disabled on boot, I'm getting only "util.py[WARNING]: Activating mounts via 'mount -a' failed" now. The other error has gone. it's still not formatting it though
[20:55] <smoser> hm.
[20:56] <dgarstang> I noticed earlier too that when I rebooted, I lost the custom hostname I had set. I presume it's picking that from DHCP
[20:56] <dgarstang> Wait wait. I am still seeing "Failed to make '/redis_data' config-mount" ... missed it earlier
[20:56] <dgarstang> So, I can probablt assume that the latest version of CentOS with Cloud-init can't format and mount disks
[20:58] <dgarstang> Sighj
[21:03] <smoser> blackboxsw, i have to run. even 50% right now.
[21:04] <blackboxsw> smoser: make that 56%
[21:12] <dgarstang> I'm screwed
[21:26] <dgarstang> How could I get cloud-init 0.7.9 onto centos 7?
[21:28] <dgarstang> Might 0.7.9 potentially fix my disk mount issue?
[21:35] <rharper> dgarstang: we're still working on getting daily rpms built properly; that's coming soon, in the mean time, I've some hand-built ones I;m testing with which may help at least determining if there are other issues in play:  http://people.canonical.com/~rharper/cloud-init/rpms/centos/7/cloud-init-0.7.9+123.g8ccf377-1.el7.centos.noarch.rpm
[21:35] <rharper> I think you can yum install that URL;  you'll have to accept the unsigned rpm
[21:36] <rharper> that's trunk from a few weeks ago plus a few network configuration related fixes, but should be good enough to check that the disk_setup/mount stuff works (or fails in the same way) in which case, we should file a bug against cloud-init with your test user-data so we can get that resolved
[21:39] <dgarstang> Ok, thanks. Tried with that RPM... same issue
[21:40] <dgarstang> "cloud-init --debug --force --file data.yml single --name mounts --frequency always —report" right?
[21:41] <rharper> does that show errors, or you just don't get mounts ?
[21:43] <dgarstang> Hmmm I got this ... https://gist.github.com/dgarstang/4eb93fda29decf54762b2d9356d505dc
[21:44] <rharper> hrm, doesn't appear to have run the mounts, lemme make sure I can get mounts to run via single
[21:44] <dgarstang> fs_setup is supposed to format right?
[21:44] <rharper> yes
[21:44] <dgarstang> Actually I removed mounts from data.yml. Was trying to simplify
[21:45] <dgarstang> It's not formatting however, as a manual mount command fails. "mount -t ext4 /dev/xvdj /redis_data"
[21:46] <rharper> do we know get debug in /var/log/cloud-init.log ?
[21:46] <dgarstang> checking
[21:46] <dgarstang> Yes
[21:46] <rharper> ok, then maybe let's run the fs_setup one and mounts, and gist the cloud-init.log
[21:46] <dgarstang> I got debug since I went from centos 6.5 to centos 7
[21:46] <rharper> and see what we can see
[21:46] <rharper> and the updated rpm will have the logging fix
[21:47] <rharper> heh, 'ignorming' type in the output there
[21:47] <dgarstang> "cloud-init --debug --force --file data.yml single --name fs_setup --frequency always —report" ?
[21:47] <rharper> no, disk_setup
[21:48] <dgarstang> jeez
[21:48] <rharper> disk_setup is the module name, it reads fs_setup config as one of the different areas of disk setup
[21:50] <dgarstang> hang on
[21:51] <rharper> sure
[21:53] <dgarstang> Well here's the whole thing https://gist.github.com/dgarstang/91122f453f7c512e4b527fe8c73aa41d
[21:54] <rharper> hrm
[21:55] <dgarstang> Does it matter that this is a t2.nano instance? It has a 8Gb EBS disk attached at /dev/xvdj
[21:55] <dgarstang> No ephemeral
[21:56] <rharper> no
[21:56] <rharper> fs_setup needs to be a list
[21:56] <rharper> fs_setup:
[21:56] <dgarstang> list in the yaml?
[21:57] <dgarstang> :-O
[21:57] <rharper> like in your original user-data post:  https://gist.github.com/dgarstang/8352ad8c51d834fbf3f282eb300d83d7
[21:57] <dgarstang> how did that happen. :-\
[21:57] <rharper> and it's *terrible* that we don't log something like, got an fs_setup but no list ...
[21:58] <dgarstang> That must have happened when I removed the label line to simplify
[21:58] <dgarstang> Made it a list... same deal
[21:59] <rharper> and can you look at /dev/disk/by-uuid and see if there is a symlink to the disk ?
[21:59] <rharper> it's possible it was successful and just doesn't output much
[22:00] <dgarstang> Well that's 0a84de8e-5bfe-43e7-992b-5bfff8cdce43 -> ../../xvda1 ... but xvda is the root disk
[22:00] <rharper> when the device isn't present, I get an error reported, Failed during disk check for /dev/xvdj
[22:03] <rharper> and in the log, I can see cc_disk_setup debug output:   http://paste.ubuntu.com/24741508/
[22:04] <dgarstang> rharper: on my output?
[22:05] <rharper> no, you said it was the same
[22:05] <dgarstang> right... but I don't see anything like the output you pasted
[22:05] <rharper> but I would expect to see cc_disk_setup output if the user-data for fs_setup was fix; which is surprising
[22:07] <rharper> here's my change to your yaml you pasted; that *should* show  the 'setting up filesystems: ' message in /var/log/cloud-init.log; http://paste.ubuntu.com/24741550/
[22:11] <dgarstang> one sec
[22:11] <dgarstang> rharper: Didn't work
[22:12] <dgarstang> wait wait
[22:13] <dgarstang> nah. I dunno. :(
[22:20] <dgarstang> "Unable to convert /dev/xvdj to a device"
[22:21] <dgarstang> ok, it actually formatted it. Didn't mount it tho
[22:24] <dgarstang> What command would I run to mount? Does disk_setup mount?
[22:26] <rharper> dgarstang: that's progress;lemme look at the code
[22:27] <rharper> if disk_setup didn't return OK, then you won't be able to mount it (unless for some reason it's already formatted);
[22:27] <rharper> one sec
[22:27] <dgarstang> I'm gonna roll a new AMI with the newer cloud-init for a start
[22:29] <rharper> ok, I've gotta step out for a bit more;   would you be able to paste: cat  /proc/partitions ?  I'll read the disk_setup code and see what that message is coming from, but I suspect that something's awry with the device
[22:30] <dgarstang> rharper: kk, thanks
[23:15] <dgarstang> Looks like using  http://people.canonical.com/~rharper/cloud-init/rpms/centos/7/cloud-init-0.7.9+123.g8ccf377-1.el7.centos.noarch.rpm breaks system boot. Public ssh key doesn't get installed properly. Can't ssh in
[23:59] <rharper> dgarstang: lemme see, it may have changed the default user where the keys are installed


[02:16] <SquishyOctopus> Just curious if anyone else has experienced VirtualBox crashing while on Wayland?
[02:30] <jbicha> hmm, I wonder what the Desktop Team will think of very-blue nautilus
[02:31] <jbicha> adwaita-icon-theme 3.23 drops the nautilus icon that Ubuntu uses because nautilus ships its own icon
[02:49] <jbicha> oh, never mind
[11:26] <hackingNerd> Hi, I am writing STDOUTS to a file, but in file there is some noise like this : '^[[00m:^[[01;34m~^[[00m' I am not getting these characters are and whats its solution. Please help :)
[11:30] <fleetfox> it's not noise it's control characters
[11:33] <hackingNerd> fleetfox: How I could remove these or any other solution, because in file I have no need for control characters
[11:35] <fleetfox> what is the source of your input? if you can't tell it to not do it, you will have to filter
[11:36] <hackingNerd> Source is my program that is MITM for SSH. I just the whole session
[22:02] <keyboard> hy


[03:56] <calc> anyone around that remembers how to put gvfsd into debug mode?
[03:56]  * calc needs to debug gvfs fuse ftp
[03:56] <calc> it seems that gvfsd doesn't tell you which arg does it when running --help
[04:35] <JanC> calc: maybe the commandline tools give more info?
[04:35] <calc> JanC: i think i got it to debug ok
[04:36] <JanC> e.g. gvfs-mount
[04:36] <calc> JanC: i found that vsftpd appears to be buggy as well
[04:36] <JanC> ah , okay
[04:36] <calc> which is causing OOo not to save to it either
[04:36] <JanC> ow?
[04:36] <calc> when OOo writes a file to gvfs fuse connected to vsftpd it does not return ftp code 150 after STOR
[04:36] <calc> eg
[04:36] <calc> --> STOR /home/ccheney/Desktop/.~lock.test-ftp.odt#
[04:36] <calc> <-- 150 Ok to send data.
[04:36] <calc> --> NOOP
[04:36] <calc> <-- 200 NOOP ok.
[04:37] <calc> if i touch a file in the dir it does though, so it seems very odd
[04:37] <calc> i'll have to beat on it a bit with a test program to see if i can find out why its sometimes not returning 150
[04:38] <JanC> sounds like something you could debug using a packet sniffer anyway
[04:38] <JanC> yay, for FTP being unsecure  :P
[04:39] <calc> yea, the gvfsd -r works i just didn't restart the share properly before it seems
[05:42] <calc> gah
[05:42] <calc> gvfs ftp backend is stupid
[05:42] <calc> it doesn't seem to even understand the ftp spec
[05:43] <calc> i'm surprised saving to ftp works at all


[19:54] <kees> apw: hm, you still want a dmesg for my weirdo secure_boot machine?
[19:55] <apw> if you hzve it why not
[19:56] <kees> okidoky. I can't imagine why /proc/sys/kernel/secure_boot would say "0" when the bios says it's enabled. :P
[19:56] <apw> what was that bug number, want to make sure someone is looking into it
[20:03] <kees> rtg asked me for the /proc details
[20:03] <kees> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1658255
[20:07] <kees> okay, added dmesg.txt
[20:51] <slangasek> apw: yo, so LP: #1659654 would be nice to not have


[12:22] <miketech> Hi @all
[12:24] <lukacu> hi
[08:43] <nicholaspaul> /msg NickServ IDENTIFY purplepurple
[08:43] <nicholaspaul> oopsy!
[08:45] <miketech> :)
[08:45] <miketech> *looks away*
[08:45] <nicholaspaul> lol thanks Mike!
[08:45] <nicholaspaul> :*>
[08:52] <nicholaspaul> /msg NickServ REGISTER
[08:52] <nicholaspaul> ok, why aint that workin...
[08:52] <miketech> lol
[08:52] <miketech> what are you doing?
[08:52] <miketech> have you typed a space at the beginning?
[08:53] <nicholaspaul> dont i have to register my username?
[08:53] <miketech> you can do this right
[08:53] <nicholaspaul> nope, no space.
[08:53] <miketech> hm strange
[08:53] <miketech> what client do you use?
[08:53] <nicholaspaul> Fire
[08:53] <nicholaspaul> i have Xchat too, perhaps thats my problem.
[08:53] <miketech> but it should work in every client
[08:54] <nicholaspaul> Ive used IRC all of three times in my life!!
[08:54] <nicholaspaul> (this being one of them)
[08:54] <miketech> hehe i dont know irc very good too
[08:54] <miketech> just open xchat and type :)
[08:54] <nicholaspaul> ok phew!
[08:55] <Nafallo> X-Chat rules! (but I run irssi) :-)
[08:56] <miketech> :p
[08:56] <miraclemonster> yo mike - nick here.
[08:56] <miraclemonster> For some reason it says nicholaspaul is unavailable :(
[08:57] <miketech> hi, is it working with xchat?
[08:57] <miraclemonster> i havent tried registering.
[08:57] <miketech> ah ok
[08:58] <miraclemonster> ok, i'm registered as miraclemonster now.
[08:58] <miraclemonster> yay
[08:58] <miketech> ok :)
[08:58] <miraclemonster> but i registered nicholaspaul too - can i switch usernames?
[08:59] <miketech> yup with /nick nickname
[08:59] <miraclemonster> thats gets confusing with a name like nick.. hehe
[08:59] <nicholaspaul> woohoo
[08:59] <miketech> hehe
[08:59] <nicholaspaul> yea, i'm easily impressed. i feel like i'm 12 again.. lol
[08:59] <miketech> hehe
[09:00] <nicholaspaul> so are people usually hanging out here ?
[09:01] <marcos> hi there!
[09:01] <nicholaspaul> hey marcos
[09:02] <miketech> well i am here since a few days
[09:02] <nicholaspaul> oh ok
[09:02] <miketech> i think about 10 people
[09:02] <miketech> + - 3
[09:02] <miketech> i am even no ubuntu user *g*
[09:02] <miketech> just hanging around here :)
[09:03] <nicholaspaul> oh isee .
[09:03] <nicholaspaul> :O 'Security...security... over here.. we got a code 7..."
[09:03] <nicholaspaul> hehe
[09:04] <miketech> hehe
[09:04] <nicholaspaul> what are you running instead?
[09:04] <miketech> on my notebook a gentoo system
[09:04] <miketech> and on my desktop a foresight linux
[09:04] <miketech> but i will install ubuntu next week
[09:04] <miketech> for testing *g*
[09:04] <nicholaspaul> good for you :)
[09:04] <nicholaspaul> oh ok, well thats close enough;) actually i'm using my OSX Powerbook right now
[09:05] <Nafallo> on my server ubuntu hoary, on my girlfriends ubuntu hoary and on my laptop ubuntu breezy
[09:05] <miketech> i like it. tested the live cd and seen on a lot of desktops
[09:05] <Nafallo> :-)
[09:05] <miketech> :) Nafallo
[09:05] <nicholaspaul> yea i love it. I have an mp3 server running xfce, the install is only about 800mb
[09:06] <miketech> volvoguy told me, that he is hanging around here, so i thought i come over *g*
[09:06] <nicholaspaul> and another machine running Hoary with xfce, gnome and kde
[09:06] <nicholaspaul> so you know volvoguy?
[09:07] <miketech> we talked once about art.gnome.org
[09:07] <miketech> and then he told me about the ubuntu-artwork team
[09:07] <nicholaspaul> oh right. I've known volvo (aaron) for about 5 years now
[09:07] <miketech> ah ok
[09:15] <nicholaspaul> hes a good guy, you cant go wrong ! :)
[09:15] <miketech> we talked about the backend of AGO and a compatibilty to the gnome-art downloader
[09:15] <nicholaspaul> AGO?
[09:15] <miketech> art.gnome.org
[09:15] <nicholaspaul> oh roit
[09:15] <nicholaspaul> oh boy, i just installed konfabulator and in my infinite wisdom, opened up all 34 widgets... nice going !!!!
[09:15] <miketech> konfabulator?
[09:16] <nicholaspaul> its the original version of OS X Tiger's Widgets. Little doo-dads that monitor various things from weather/news to system resources and useless little things!
[09:16] <miketech> ah ok
[09:17] <nicholaspaul> way too much fun... heheh!
[11:24] <Amaranth> anyone awake?
[11:24] <Amaranth> http://dev.realistanew.com/smeg.png <--i need opinions
[11:25] <Amaranth> i have an SVG version too
[11:36] <miketech> wow looks good
[11:37] <Amaranth> really?
[11:37] <Seveas> no :)
[11:37] <Amaranth> :P
[11:37] <Seveas> yeah, looks nice
[11:37] <Amaranth> I thought it sucked too, I figure if I make something horrible that shows what I want I can make andy make me a better one. :D
[11:42] <miketech> :)) Seveas
[11:56] <Amaranth> http://dev.realistanew.com/icon_example.png
[11:56] <Amaranth> it's gorgeous
[11:58] <Amaranth> minus typo


[00:30]  * ryanakca agrees about the logos
[00:42] <JontheEchidna> new kdevplatform fixes things
[01:14] <ScottK> jussi01: Trying to make sure Quassel highlights worked OK with plasma-netbook.
[01:14] <ScottK> They do.
[03:20] <shtylman> I think the kubuntu logo could be the ubuntu logo with different colors
[03:20] <shtylman> and no kogs
[03:23]  * ScottK likes it the way it is.
[03:25]  * shtylman agrees :)
[03:25]  * yuriy wonders how long Riddell took coming up with it
[03:26]  * shtylman likes to think god spoke through riddel to make it
[03:26] <shtylman> *Riddell
[04:49] <ScottK> lex79: I just uploaded Debian's akonadi-googledata to Karmic.
[04:49] <lex79> \o/ thank you :)
[04:52] <ScottK> Thanks for reminding me.
[10:18] <Riddell> shtylman: the logo was done by the chap who does konqi the dragon
[10:44] <Riddell> neversfelde: koffice 2.1 beta is available if you want to take it
[11:08] <taavikko> without searching: is it known bug that apport is failing in karmic?
[11:11] <taavikko> python2.6 seems crashing during startup that causes apport to fail
[11:23] <Riddell> taavikko: yeah python2.6 is on my list of things to look at today
[11:24] <taavikko> Riddell: ok, thanks, just got worried :)
[13:19] <Riddell> fabo: how does this look to you? http://people.canonical.com/~jriddell/tmp/kubuntu.mk
[13:21] <Riddell> _Sime: you just tought me a new ccTLD :)
[13:24] <_Sime> hi
[13:39] <Riddell> agateau!
[13:39] <Riddell> JontheEchidna: amarok uploaded
[13:42] <ghostcube> damn i had could bet there was TB3 in universe
[13:42] <ghostcube> :|
[13:45] <agateau> Riddell \o/
[13:46] <Riddell> agateau: ken doesn't seem to have got round to packaging the libindicate update so no kmail patches uploaded yet :(
[13:46] <agateau> Riddell: oh
[13:47] <agateau> Riddell: I just updated it and got r325
[13:47] <agateau> Riddell: so it should be good
[13:49] <Riddell> agateau: still 319 in the archive https://edge.launchpad.net/ubuntu/+source/indicator-applet
[13:49] <agateau> Riddell: mmm maybe this come from a ppa
[13:49]  * agateau checks
[13:51] <Riddell> apt-cache policy libindicate2  will know
[13:51] <agateau> Riddell: comes from dx team ppa :/
[14:32] <neversfelde> Riddell: I can have a look at koffice this evening
[15:05] <bakkdoor> hi.
[15:06] <Riddell> hi bakkdoor
[15:10] <bakkdoor> i'm working as an intern at intevation gmbh, which is part of the kolab konsortium ( http://www.kolab-konsortium.de/ ) and i'm currently working on a ubuntu package of kontact enterprise 3.5. i was wondering if there is a package like this already out there (I could not find one) and if it would make sense to integrate the package to the official ubuntu repository.
[15:12] <bakkdoor> or in general, i'd like to know how the best way of getting in contact with the ubuntu community would be.
[15:13] <Riddell> bakkdoor: here is a pretty good place to get in contact with the Kubuntu contributors
[15:13] <Riddell> bakkdoor: kontact enterprise is KDE 3 still?
[15:13] <bakkdoor> that's what I thought ;)
[15:13] <bakkdoor> kontact enterprise 3.5 is
[15:14] <bakkdoor> there is also enterprise 4, which is kde4
[15:14] <bakkdoor> but for now i'm dealing with e3.5. e4 might follow soon
[15:14] <Riddell> bakkdoor: there's no package currently, of course we used to have kdepim from KDE 3 packaged including patches from the enterprise branch
[15:16] <bakkdoor> Riddell: alright. well i have a version working for hardy. we chose hardy as a first system, since it's LTS. but once I have this fully covered, I'll also work on a package for the newer versions
[15:17] <Riddell> bakkdoor: groovy, are you planning to put it in a PPA?
[15:19] <yuriy> hardy probably had kontact 3.5.10 enterprise, no?
[15:19] <bakkdoor> i have the currently build packages available for installation via apt-get
[15:19] <bakkdoor> the url is: http://files.kolab.org/apt/ubuntu/
[15:19] <bakkdoor> yuriy: yes, correct
[15:20] <bakkdoor> yuriy: reason for choosing hardy was also, because we have a stable debian etch version and the kdelibs was nearly the same to hardy.
[15:21] <bakkdoor> would be great, if anyone willing to try them out, would do so and give some feedback, as I'm still new to the whole packaging system etc. but i'm willing to learn ;)
[15:23] <bakkdoor> Riddell: by ppa, you mean publishing it at launchpad?
[15:24] <Riddell> bakkdoor: yes, publishing it yourself is fine too but a PPA will give you a build daemon for that extra certainty that it builds correctly
[15:24] <bakkdoor> Riddell: ah ok, cool. well if that is the preferred way, I will talk to my boss. we want to make it as easy as possible for ubuntu users to use the enterprise package.
[15:29] <Riddell> bakkdoor: packaging looks fine at a glance
[15:29] <Riddell> there's no ./configure file, where is the autofoo stuff run?
[15:33] <ScottK> bakkdoor: You should know that Hardy is not LTS for Kubuntu.  KDE support expires in October of this year.
[15:33] <bakkdoor> ScottK: oh, really? good to know. what is the latest LTS for kubuntu then?
[15:33] <ScottK> For Kubuntu it's pretty pointless to deal with anything other than kDE4.
[15:34] <ScottK> There isn't one.
[15:34] <ScottK> 10.04 will be our next opportunity.
[15:34] <jjesse> just the next lts
[15:35] <ScottK> bakkdoor: I think our kolab server packages are not in good shape either.  If someone were interested in helping out with that, it would be very useful.
[15:35] <bakkdoor> ScottK: alright, thanks for the info. then I guess working on 9.04 would make more sense then?
[15:35] <bakkdoor> ScottK: ok. i'll mention it to my boss.
[15:36] <ScottK> bakkdoor: Or depending on your timeline, maybe 9.10.
[15:36] <bakkdoor> Riddell: i don't really know, why ./configure file is missing. it is in my work directory. maybe i missed something?
[15:37] <bakkdoor> ScottK: problem is, that i'm only going to be here up to middle of october. but I'll see what i can do
[15:37] <Riddell> bakkdoor: that's why a PPA is nice, to make sure the package builds and it's not just a fluke on your machine :)
[15:38] <bakkdoor> ScottK: our final plan is to set up a automated build and release system so that there are always ubuntu packages of the latest stable version out there
[15:38] <bakkdoor> Riddell: true :)
[15:41] <ryanakca> Riddell: Do you have an upgrade app you want tested?
[15:41] <Riddell> ryanakca: you're doing a jaunty to karmic upgrade?
[15:41] <ryanakca> Yes
[15:42] <Riddell> ryanakca: you can try  update-notifier-kde -d
[15:42] <Riddell> I don't know if anyone else has tried it this cycle so it may well explide
[15:44] <ryanakca> Riddell: Well, it fails on "W: Failed to fetch http://mirror.noreply.org/pub/tor/dists/karmic/main/binary-amd64/Packages  404 Not Found
[15:45] <Riddell> ryanakca: is that the mirror you're using?
[15:45] <ryanakca> " ... Maybe have a "Would you like to ignore this line" instead of telling me I have network issues and quitting?
[15:46] <ryanakca> Riddell: Well, it's one of them, to get the latest tor. We know it's a 404 (so we know it isn't a network issue, we can contact it and get the 404), so maybe say "This repository may not have packages for $RELEASE, would you like to ignore it?"
[15:46]  * ryanakca realizes he just repeated himself
[15:48] <Riddell> it normally disabled all but the main ubuntu repositories
[15:49] <bakkdoor> Riddell: do you have any hint for what i should do to fix the problem of the autoconf files missing? do i need to add these files somewhere so they get into the package as well?
[15:49] <fabo> Riddell: http://pastebin.com/m359754de
[15:50] <ryanakca> Riddell: Also, is it written for Qt3 or something? It looks... old, compare the look of the two windows on http://ryanak.ca/~ryan/old-look.png
[16:00] <Riddell> bakkdoor: you generate them with   make -f debian/rules buildprep
[16:01] <Riddell> ryanakca: it's using Qt 4's built in theme
[16:01] <Riddell> fabo: ooh thanks
[16:02] <bakkdoor> Riddell: isn't that step done automatically when calling debuild ?
[16:04] <Riddell> bakkdoor: it can be if you turn on the right variable, I havn't touched KDE 3 packaging in so long I don't remember what that variable is
[16:04] <Riddell> DEB_KDE_CVS_MAKE := yes
[16:04] <Riddell> that's the one
[16:04] <Riddell> bakkdoor: so all is well
[16:06] <bakkdoor> Riddell: ah ok thanks
[16:08] <bakkdoor> hm it seems that i have that within my rules file.
[16:08] <ryanakca> Riddell: http://ryanak.ca/~ryan/error-update.png is the box with the network issue message and the 404 one.
[16:18] <bakkdoor> Riddell: any idea, what else could cause this problem?
[16:18] <Riddell> bakkdoor: well it's not a probklem
[16:19] <Riddell> if they get generated during the package build that's fine
[16:20] <bakkdoor> Riddell: so its not a problem that the files are missing?
[16:23] <Riddell> bakkdoor: no
[16:24] <bakkdoor> Riddell: ok, good to know. thanks.
[16:53] <rgreening> Tonio_: k3b packaging question? toolame and kdebase-kio-plugins are listed in Suggests (but neither exist).
[16:53] <rgreening> Tonio_: should toolame be replaced by lame? and not sure what the kio is replaced by (if anything).
[16:54] <Tonio_> rgreening: hum old stuff that should be removed... I have to upload another fix today, I'll fix this :)
[16:54] <rgreening> kk. cool man :)
[17:00] <rickspencer3> Riddell: I'm just finishing a call
[17:03] <ryanakca> rgreening: Feel like uploading what you got done in the Dooble package somewheres please?
[17:03] <Riddell> agateau, davidbarth: about?
[17:03] <rickspencer3> Riddell: I think davidbarth may have another meeting now :( ?
[17:04] <Riddell> he did accept the invite
[17:04] <rickspencer3> ok
[17:04] <agateau> Riddell: I feel like I am missing something
[17:04] <Riddell> agateau: meeting to discuss xsplash equivalent in Kubuntu
[17:04] <rickspencer3> Riddell: I'm here and off the phone
[17:04] <agateau> oh
[17:05] <rickspencer3> Riddell: what is the current status?
[17:05] <Riddell> rickspencer3: we need to get KDM to start and stop ksplashx at the apprioriate time
[17:05] <Riddell> davidbarth mentioned agateau may be able to help with it
[17:05] <davidbarth> Riddell: hi
[17:06] <davidbarth> Riddell: yes, sorry unplanned meeting that i have to attend
[17:06] <davidbarth> Riddell, agateau: on irc, in this channel, right?
[17:06] <agateau> ok
[17:07] <Riddell> yes
[17:07] <davidbarth> Riddell: bratsche is here too
[17:07] <Riddell> hi bratsche
[17:07] <bratsche> Hi.
[17:08] <Riddell> agateau: do you know anything about this, and are you willing/able to work on itso if davidbarth agrees, are you able to look into this?
[17:08] <Riddell> hmm, two sentences in one there but you get the idea :)
[17:08] <agateau> Riddell: don't know much, but I count on bratsche can update me
[17:09] <agateau> as for being able to work on this, it depends on the deadline
[17:09] <rickspencer3> Riddell: agateau: does Kubuntu even need xsplash?
[17:09] <rickspencer3> does it solve a problem for Kubuntu, or just create a problem?
[17:09] <bratsche> Yeah, that's what I'm wondering.
[17:10] <agateau> bratsche: can you summarize the reason for xsplash?
[17:10] <agateau> s/for/for creating/
[17:10] <bratsche> agateau: I can summarize part of it.  The other part I kind of don't really get, it seems pointless to me.
[17:11] <bratsche> agateau: The part that makes sense is that we're starting X earlier and not displaying usplash, so we need something to display before the gdm greeter.
[17:11] <bratsche> So we show a full-screen window with an Ubuntu logo and a throbber moving back and forth, and not a progress bar since historically system startup progress bars are not very accurate.
[17:11] <rickspencer3> xsplash provides feedback that the computer is booting, and covers for gdm and gnome as they set themselves up
[17:11] <bratsche> And once we receive a signal from gdm that it is loaded then we hide xsplash.
[17:12] <Riddell> bratsche: what's the part that seems pointless to you?
[17:12] <agateau> bratsche: so without xsplash you get a blank screen until gdm shows up, that's it?
[17:12] <bratsche> agateau: Yes, I think so.
[17:13] <bratsche> Riddell: After the user logs in then we show xsplash again until the desktop is loaded, and when it receives signals from gnome-panel and nautilus then xsplash hides again.
[17:13] <rickspencer3> bratsche: right, that's to make the experience look better
[17:13] <bratsche> Okay.
[17:13] <Riddell> we have that part already with ksplashx
[17:13] <agateau> bratsche: it replaces GNOME splash screen then
[17:13] <rickspencer3> instead of watching gnome load the desktop slowly, and not being able to click, xsplash fades into a functional desktop
[17:14] <agateau> Riddell: that was what I was thinking
[17:15] <rickspencer3> Riddell: is it possible to simply deliver Kubuntu with the Jaunty boot experience?
[17:15] <bratsche> This part ends up being tricky to get it very smooth, and I'm still trying to fix things up with various XComposite related hacks.
[17:15] <rickspencer3> (we can ask if we *want to * next)
[17:15] <Riddell> on whether we want this, it's nice to have a quick bootup so if X/KDM can be made to startup sooner that would be nice
[17:16] <Riddell> and in the worst case if we don't have a splash it's only a few seconds until the greeter loads anyway
[17:16] <bratsche> Riddell: Well, basically everything that was starting behind usplash is now starting behind X on Karmic.  It will supposedly start faster, but there is still some time there.
[17:16] <bratsche> So that's kind of the issue for the first half of the splash.
[17:17] <bratsche> X will be started as soon as is possible.
[17:17] <bratsche> (please correct me if I'm wrong, someone)
[17:17] <Riddell> bratsche, Keybuk: will X continute to be started as part of GDM or started separately?
[17:18] <rickspencer3> but xsplash has some weird gnomish dependencies?
[17:18] <bratsche> xsplash is written in gtk+.  I could have just written it in Xlib directly, but writing it in gtk+ was faster.
[17:19] <rickspencer3> so xsplash is essentially a non-starter for Kubuntu as presently written, correct?
[17:19] <Riddell> right
[17:19] <agateau> interestingly, ksplashx does not even depend on Qt :)
[17:19] <Riddell> but the hard part is the *DM integration rather than an app which shows a pretty picture
[17:19] <bratsche> Yeah, I know.  But it would have taken me longer to write xsplash using Xlib.
[17:19] <rickspencer3> if ksplashx does not depend on Qt, then it's not really "k" is it?
[17:20] <Keybuk> Riddell: X is started by the display manager
[17:20] <Keybuk> the display manager by Upstart
[17:20] <agateau> rickspencer3: it just happens to be kde splash screen, but it was written to be lean and mean
[17:20] <agateau> (there is even asm in it)
[17:20] <Riddell> rickspencer3: right, the KDE and Qt dependencies were all removed because the point is to start immediately not once half the libraries have loaded anyway
[17:20] <rickspencer3> agateau: so could Ubunutu not use it in place of xsplash?
[17:20] <rickspencer3> bratsche: ^
[17:20] <rickspencer3> ?
[17:21] <Riddell> probably but it doesn't matter much which splash is used, as I say the important point is getting it started
[17:21] <bratsche> rickspencer3: We would have to hack it up to support the signals we want, and we'd have to do a bunch of testing.  If we want to do that, fine.
[17:21] <Riddell> and GDM has a nice init system which I think KDM doesn't
[17:21] <bratsche> rickspencer3: I've never looked at it.
[17:21] <rickspencer3> probably too late, then
[17:21] <rickspencer3> what happens if the display manager does not start xsplash, just a blank screen until kdm?
[17:22] <ScottK> If it's fast enough it doesn't matter.
[17:22] <rickspencer3> ScottK: right
[17:22] <agateau> who is responsible for starting xsplash?
[17:22] <Riddell> agateau: GDM does
[17:22] <bratsche> gdm init scripts.
[17:22] <Keybuk> rickspencer3: blank screen until kdm / appearing desktop during auto-login
[17:23] <Riddell> it's in /etc/gdm/Init/Default
[17:23] <bratsche> /etc/gdm/Init/Default and /etc/gdm/PreSession/Default
[17:23] <Riddell> which I guess is the first thing GDM runs before loading itself
[17:23] <rickspencer3> ScottK, Riddell would a blank screen be ok?
[17:23] <Keybuk> Riddell: gdm/Init is what GDM runs to display the greeter
[17:23] <Keybuk> gdm/PreSession is what GDM runs for the user's session
[17:23] <ScottK> How long are we talking?
[17:24] <rickspencer3> but for Kubuntu, we would need something to run, as well as something to start up that thing
[17:24] <rickspencer3> unless we go with a blank screen
[17:24] <ScottK> It seems to me I get to KDM pretty darn fast on my mini 10v.
[17:24] <Keybuk> scottK: no idea, we'd need to see bootcharts
[17:24] <ScottK> OK.  I can do some boot charts tonight.
[17:24]  * ScottK needs to focus on $WORK for the next several hours.
[17:25] <rickspencer3> bye bye ScottK ;)
[17:25] <rickspencer3> so perhaps a feasible fall back is to do nothing
[17:25] <Keybuk> for comparison, the GNOME session (auto-login) currently takes 13s to start
[17:25] <ScottK> Conveniently I have the reference system for boot speed testing. ;-)
[17:25] <Keybuk> while the GDM Greeter session currently takes around 5s to start
[17:26] <ScottK> The times to care about are: start to KDM start and KDM start to desktop?
[17:26] <Keybuk> no
[17:26] <ScottK> OK
[17:26] <ScottK> What then?
[17:26] <Keybuk> X "ready" to KDM Greeter ready
[17:26] <Keybuk> X "ready" to KDE Desktop ready
[17:26] <ScottK> OK.
[17:26] <Keybuk> the usual way to tell when X is ready is when the first process with $DISPLAY set is run
[17:26] <agateau> kdm has a Xsetup script which is run before showing the greeter
[17:26] <ScottK> I'll see what it tells me and report back then.
[17:27] <agateau> does gdm greeter shows as fast as possible or does it wait for some services to be started
[17:27] <agateau> .
[17:27] <agateau> ?
[17:29] <Keybuk> as fast as possible
[17:29] <agateau> I mean, how does gdm knows it's time to show its greeter?
[17:29] <yuriy> kdm usually takes a second or two to load at the most when X is started, is that the time we are talking about?
[17:29] <Keybuk> agateau: it doesn't need to know
[17:30] <Keybuk> GDM starts X, once X is started, it either starts the GDM Greeter session or GNOME Desktop session
[17:30] <agateau> Keybuk: I don't see xsplash in this sequence
[17:31] <Keybuk> agateau: in which?
[17:31] <agateau> Keybuk: in this "GDM starts X, once X is started, it either starts the GDM Greeter session or GNOME Desktop session"
[17:31] <Keybuk> agateau: as bratsche says above, xsplash is one of the first items in /etc/gdm/Init/Default and /etc/gdm/PreSession/Default
[17:32] <Riddell> yuriy: yes although with more things happening at the same time it may be slower
[17:32] <Keybuk> ie. GDM starts it as one of the first things it does _to_ start the GDM Greeter session or the GNOME Desktop session
[17:32] <Keybuk> yuriy, Riddell: and don't forget, that at that point the screen has *already* been black for a few seconds
[17:32] <Keybuk> even if KDM takes only a "couple of seconds" to start, that brings the black time up really quite high
[17:32] <bratsche> agateau: Yes, we start xsplash from the gdm init scripts.  Once gdm moves into the greeter then the greeter sends a signal to xsplash to go away.  Or if we go into a desktop session then Nautilus and gnome-panel send signals to xsplash to go away.
[17:32] <neversfelde> Riddell: where can I get the koffice 2.1 beta tarball
[17:33] <agateau> bratsche: ok
[17:34] <agateau> bratsche: so it's "only" there to show up while gdm greeter is starting
[17:34] <bratsche> Yes.
[17:34] <Riddell> so all we need is to start ksplashx in Xsetup then find a suitable place in the KDM code to tell it to phase out (stealing the relevant code from ksmserver)
[17:35] <agateau> Riddell: yes, I think so
[17:35] <agateau> Riddell: and create a throbber ksplashx theme
[17:35] <Riddell> agateau: yes, or just keep the current "phasing in disk" which I think would be suitable
[17:36] <Keybuk> how easy will it be to add the OS Switcher to ksplashx later on?
[17:36] <agateau> Keybuk: since ksplashx does not support text, not very easy
[17:39] <Riddell> Keybuk: that's a plan for future releases?
[17:39] <Keybuk> yes
[17:40] <Riddell> it could have pretty pictures of OSs :)
[17:40] <agateau> we can always do prerendering though
[17:40] <Riddell> that's probably something to worry about at the time
[17:40]  * agateau agrees
[17:41] <agateau> bratsche: I guess the throbber is expected to "not jump" between xsplash before gdm and xsplash after gdm
[17:41] <agateau> bratsche: I mean: the throbber position should be the same
[17:42] <agateau> or more precisely, the throbber current image in the throbber animation
[17:42] <bratsche> agateau: No, we don't try to do anything fancy like this.  I'm concerned enough trying to come up with XComposite hacks to keep the entire splash window from disappearing when we start window/composite managers. :)
[17:43] <agateau> bratsche: ok, then we should be able to implement something in a reasonable time frame with ksplashx then
[17:43] <bratsche> Yeah.. don't worry about little hiccups like that.  It's still a better experience than a black screen.
[17:43] <agateau> is this supposed to land before feature freeze or ui freeze
[17:43] <agateau> ?
[17:43] <bratsche> davidbarth or rickspencer3 ^
[17:45] <rickspencer3> uh
[17:45] <rickspencer3> before feature freeze seems a tad unreasonable
[17:45] <rickspencer3> I presume Kubuntu is booting, right?
[17:45] <agateau> it seems to :)
[17:46] <rickspencer3> I suggest someone needs to create a somewhat detailed plan ... and then we need to get it implemented asap
[17:48] <agateau> I am quite busy until FF, but I can probably put together a plan before UIF
[17:48] <Riddell> I just tried adding ksplashx to Xsetup and it works ok
[17:48] <Riddell> so it's just a case of getting KDM to send the upAndRunning signal
[17:49] <agateau> Riddell: sounds like you are already on it :)
[17:50] <Riddell> and making sure KDM gets the same upstart-ification as GDM is due
[17:50] <Riddell> Keybuk: what needs to be done for that?
[17:53] <Riddell> rickspencer3: I can turn this into a spec if that's useful, then me and agateau and davidbarth can fight between who gets to implement it
[17:53] <agateau> Riddell: sounds good
[17:54] <Keybuk> Riddell: probably just remind me ;)
[17:54] <Keybuk> I assume that KDM doesn't have exotic dependencies compared to GDM? :p
[17:55] <Riddell> Keybuk: # Should-Start:      console-screen acpid dbus hal
[17:55] <Riddell> says the current script
[17:55] <Keybuk> right
[17:55] <Riddell> nothing silly like network-manager :)
[17:55] <Keybuk> why acpid?
[17:56] <bratsche> Keybuk: When does the new init stuff land btw?
[17:56] <Keybuk> bratsche: between now and beta freeze
[17:58] <Riddell> Keybuk: I think that's obsolete, it would have been used to suspend from kdm, but now hal (via solid) will be used
[17:58] <Riddell> gdm also has acpid in it's init.d script
[17:59] <Keybuk> yeah, but I can't find anything that even uses it
[17:59] <Riddell> I think we're done, thanks for showing up all
[18:00] <agateau> ok bye
[18:03] <bratsche> Thank you.
[18:34] <Tonio_> Riddell: we have a little issue with libavformat/ffmpeg
[18:34] <maco> grrr any of you have some notes plasmoid thingy keep adding itself to the panel without you telling it to?
[18:34] <Tonio_> Riddell: basically kubuntu-restricted depends on the unstripped libavformat
[18:34] <Riddell> Tonio_: mm?
[18:34] <Tonio_> Riddell: k3b depends on the standard one
[18:34] <Tonio_> Riddell: but libaformat-unstripped doesn't exist anymore
[18:35] <maco> gettin in the way of my kickoff. wish i had a typewriter :(
[18:35] <Tonio_> Riddell: although the -dev package still conditionnaly depends on it.... messy :)
[18:35] <Riddell> maco: that happened to me once, no idea what caused it
[18:35] <Riddell> Tonio_: I don't see k3b depending on it
[18:36] <Riddell> Tonio_: so fix kubuntu-restricted-extras?
[18:36] <Tonio_> Riddell: libk3b6-extracodecs
[18:36] <Tonio_> Riddell: well I don't know yet if it's normal that the unstripped ain't there
[18:37] <Tonio_> Riddell: the ffmpeg package has an issue on that point, as the binary package has been removed, but there are still deps on it in the control file...
[18:37] <Tonio_> Riddell: I have to investigate and will fix k3b or kubuntu-restricted extras according to this...
[18:37] <Tonio_> Riddell: I just wanted to let you know in case you really want the unstripped version...
[18:37] <Riddell> Tonio_: libavformat-unstripped-52 is still there
[18:37] <Riddell> sure you have multiverse enabled?
[18:38] <Riddell> version 4:0.5+svn20090609-2+unstripped2
[18:38] <Tonio_> Riddell: still there but from a previous upload
[18:39] <Tonio_> Riddell: https://edge.launchpad.net/ubuntu/+source/ffmpeg/4:0.5+svn20090706-1ubuntu1/+build/1171935
[18:39] <Tonio_> Riddell: last ffmpeg version doesn't have it, and there is a conditionnal de on it
[18:39] <Tonio_> Riddell: simply try to "sudo apt-get install libavformat-dev libavformat-unstripped-52"
[18:40] <Tonio_> Riddell: breaks, and in order to get k3b libs depends on the unstripped version, I need to build-dep on both....
[18:40] <Tonio_> Riddell: I told you that was messy ;)
[18:41] <Riddell> Tonio_: have you asked siretart why it has gone?
[18:42] <Tonio_> Riddell: nope I'm going to ping him, especially since it's supposed to be debian merge, but I can't find his version anywhere, only the previous one...
[18:42] <Tonio_> Riddell: let's ping him
[18:44] <Tonio_> Riddell: I asked, and will fix accordingly...
[19:21] <tsdgeos> i guys, any chance you are patching help->report bug menu entry to not work?
[19:22] <ScottK> If 'work' means report to bugs.kde.org, then yes.
[19:22] <ScottK> We patch it to report to Launchpad.
[19:22] <tsdgeos> does nothing here
[19:23] <tsdgeos> click -> nothing
[19:23] <tsdgeos> 4.3.0 packages in 9.04
[19:23] <ScottK> Probably missing some launchpad integration or something.
[19:24] <tsdgeos> want a bug report about that or better i don't waste my time?
[19:24] <Nightrose> tsdgeos: confirmed - 4.3 on jaunty
[19:25] <tsdgeos> ScottK: and you really have so many people to triage the bugs and send them upstream? i don't think si
[19:25] <tsdgeos> -i+o
[19:26] <ScottK> Not really my area.
[19:26] <tsdgeos> ok
[19:28] <Riddell> tsdgeos: the patch may need adjustments in the jaunty version which havn't been made
[19:29] <Riddell> tsdgeos: we've been using apport for crash handling for the last few release cycles turning it off before release and as far as I can tell bugs have been flowing upstream smoothly enough without annoying upstream with crashes we create
[19:29] <tsdgeos> :-)
[19:37] <Riddell> yay, eet finally compiled
[19:54] <ScottK> nixternal: Ask NCommander to bump your package build priority.
[19:54] <nixternal> is it really a rush for it in the PPA?
[19:54] <nixternal> plus if it is, I think you just did that for me :)
[19:55] <ScottK> I didn't give him the package name.
[19:55] <ScottK> We got ~2days for feature freeze, so yes.
[19:55] <nixternal> ScottK: true, I don't think NCommander would have guessed kairmode in the nixternal ppa :p
[19:59] <Riddell> tsdgeos: kde4libs kde4libs_4.3.0-0ubuntu1~jaunty1~ppa3 uploaded to backports PPA with Report Bug apport patch removed, it doesn't make much sense for backports
[19:59] <tsdgeos> you rock :-)
[19:59] <Riddell> thanks for reporting
[20:00] <tsdgeos> well, irc is easy :D
[20:14] <neversfelde> Tonio_: kid3 is broken. maybe a problem with the latest changes?
[20:14] <NCommander> nixternal, I need to bump what?
[20:14] <nixternal> NCommander: nadda, I am going to put it in REVU
[20:15] <ScottK> nixternal: Don't you want kairmode bumped so I can test it?
[20:16] <nixternal> i will link you to a deb here in a minute
[20:16] <ScottK> OK
[20:17] <nixternal> python apps == arch: all right?
[20:17] <nixternal> no need to build the same thing for all the archs
[20:20] <ScottK> nixternal: Depends on if you're using any arch any components.
[20:20] <Riddell> if it's pure python yes
[20:20] <nixternal> pyqt4, pykde4
[20:21] <nixternal> with some deps on wireless-tools and bluez, just to make sure they are there
[20:24] <nixternal> ScottK: http://people.ubuntu.com/~nixternal/kairmode_1.0-0ubuntu1_all.deb
[20:24] <nixternal> I haven't tried restarting KDE to see if it starts automatically
[20:24] <nixternal> it should, I think :)
[20:31] <Riddell> nixternal: there's nothing in /usr/bin
[20:34] <Riddell> nixternal: segfaults after turning off wireless
[20:35] <Riddell> can't turn wireless back on either it seems
[20:41] <nixternal> Riddell: ya, fixing that now
[20:41] <nixternal> thought I got it in the package portion but I didn't
[21:09] <nixternal_> Riddell: the reason for the segfault on shutting off wireless might because we don't support your machine (yet?)
[21:25] <rgreening> Tonio_: toolame -> twolame ? maybe thats the correct change for k3b suggests
[21:33] <a|wen> anyone has a kubuntu-default-settings bzr link? ... LP keeps timing out on me
[21:35] <Tonio_> rgreening: I don't think so, but I'll check ;)
[21:35] <Tonio_> rgreening: we also have a problem with ffmpeg I ned informations from sirestart to fix
[21:36] <rgreening> Tonio_: yeah, I tried ripping a CD today, and it fails to generate the mp3s... least on my system
[21:36] <neversfelde> a|wen: https://code.edge.launchpad.net/~kubuntu-members/kubuntu-default-settings/ubuntu
[21:37] <a|wen> great, thx
[21:39] <ScottK> JontheEchidna: What's your plan for kadu?
[21:49] <neversfelde> building koffice is fun :/
[22:00] <Riddell> neversfelde: it's a beast
[22:07] <ScottK> nixternal: Seems to basically work.  I say ship it.
[22:56] <spacelime> Hello! I'm Olof from Sweden... got a little tempted to start getting involved in the kubuntu community so I thought I'de check this channel out
[22:57] <a|wen> hi spacelime! welcome on board
[22:57]  * a|wen waves from the other side of Øresund
[22:58] <spacelime> thank you! =)
[22:59] <spacelime> your from Denmark I persume? whereabouts?
[22:59] <a|wen> spacelime: indeed i am ... from greater copenhagen
[22:59] <spacelime> cool... i'm from Uddevalla, near Gothenburg
[23:00] <a|wen> that is not that far away
[23:02] <spacelime> it's not.... if you have a boat you can sail here in a day or two =)
[23:02] <spacelime> or even swim
[23:03] <a|wen> i'd stick to the boat :P
[23:05] <spacelime> the choice is yours! =)  anyway... this is my first visti here.. actually, i havn't used computers for any creative stuff for about 10 years... i used to do some game programming as a teenager.... was a die hard amiga fan boy... but amiga didn't keep up and i switched to MS and then the spirit slowly faded =)
[23:06] <spacelime> linux always felt too treckie for me =) but the last few months I came across some very inspiring articles.. .especially by the *buntu- community
[23:06] <spacelime> so i decided to give it a try with ubuntu and liked it big time
[23:07] <spacelime> but now I'm switching to Kubuntu because i feel there is more wind in the sails on the kde side somehow
[23:08] <spacelime> basically i just like the spirit of creativity, sharing and so on and would like to get a piece of the cake
[23:08] <spacelime> but i'm not sure where to start
[23:08] <spacelime> packaging seems a little boring to be honest =) but maybe its a good place to begin...
[23:09] <a|wen> spacelime: cool, glad you like it! ... and appreciate you stopping by here; there is loads of ways, you can help out in the community: packaging, translations, bug squashing / fixing, PR, artwork ... just name what interests you, and we can find the right person to talk to :)
[23:09] <spacelime> cool =)
[23:11] <spacelime> what i like the most is to improve innovation.. making things more simple and clever... I also like designing. but as I havn't really done anything along these lines in a long long time it will probably take me a good while before I can to anything usable
[23:12] <spacelime> i used to program in C++
[23:14] <a|wen> one thing you can do is to try out the development release, and help us make some great default settings ... if you want an idea about, what happens this cycle also have a look at https://wiki.kubuntu.org/Kubuntu/Todo
[23:14] <spacelime> translation is also something I could see myself doing
[23:15] <spacelime> ok, I'll check it out!
[23:15] <a|wen> KDE is mostly c++, so that is a good thing to know!
[23:15] <spacelime> yes that's convenient =)
[23:15] <a|wen> :)
[23:16] <spacelime> i've never touched qt though... maybe it would be good to start by learning that.. can you recommend a good tutorial?
[23:20] <a|wen> i don't know C++, so no good links in that area, sorry :)
[23:20] <spacelime> ok, np =) what's your main interest?
[23:21] <a|wen> mostly packaging ... and some bug fixing here and there
[23:23] <a|wen> Riddell: you have any good links to information about qt/kde programming in C++?
[23:24] <spacelime> ok, i saw something about a "tutorial day" on the kubuntu todo page.... do you know what that is about?
[23:24] <Riddell> techbase.kde.org is the site to explore
[23:24] <spacelime> Riddell: ok, thank you!
[23:33] <spacelime> it was nice meeting you a|wen! i think it's bedtime here.. .see you later!
[23:33] <a|wen> spacelime: right back at you ... see you back here anytime
[23:34] <spacelime> i'll be back =)
[23:42] <Riddell> good sell a|wen :)
[23:42] <a|wen> did my very best :)


[23:55] <jyo> So what's the protocol for BerkeleyLUG meetings? Just show up around noon at Bobby G's?
[23:59] <aaditya> Who attended the Silicon Valley Code Camp today?
[23:59] <aaditya> And who's planning to attend tomorrow?
[23:59] <aaditya> And where's Drew been?