[02:40] <jturek> not sure if this is the right place (just let me know)  i am testing Jorge's kubernetes tutorial on 16.10 w/ latest ppa against a local lxd (fresh install as well) and it crashes on me before getting to the deployment section
[02:41] <sarnold> does the ppa support 16.10?
[02:41] <sarnold> (it's relatively common for people to target their ppas to e.g. only LTSes or only the most recent LTS..)
[02:41] <jturek> Gotcha,  i feel like a goof if that was the case--- i'll check
[03:03] <tjkoury> Hey everyone
[03:23] <tjkoury> Any conjure-up gurus out there: Do you have to install MAAS separately, as well as put in all the environment info in a .yaml file and create a cloud config, or should conjure-up do all that for you through the prompts?
[03:29] <jturek> tjkoury: i am learning the same thing right now doing conjure-up for the first time
[03:30] <tjkoury> jturek kk
[03:31] <tjkoury> I haven't gotten it to work at all; sometimes it says 'no controller' and throws python errors, other times it starts provisioning but hangs forever 'waiting for server'
[03:31] <tjkoury> or 'waiting for machine'
[03:32] <tjkoury> on 16.04
[03:34] <jturek> https://github.com/castrojo/kubernetes.github.io/blob/ubuntu-lifecycle-revisions/docs/getting-started-guides/ubuntu/local.md
[03:49] <jturek> tjkoury: are you doing lxd?
[03:50] <jturek> tjkoury: are you doing, i found that conjure will crash if ipv6 is enabled (instead of exposing the ipv6 is not supported log entry, it just pukes instead
[08:39] <munsking> Hello, where can i edit what WM/DE gets started with startx? my .xinitrc and .xsession are empty and it auto-starts fluxbox, i want to stop that.
[08:48] <lordievader> Probably comes from /etc/X11/Xsession.{conf,d/}
[08:53] <munsking> lordievader: can't find it with grep though
[08:54] <lordievader> munsking: Hmm, what if you grep the /etc/X11/ folder recursively for fluxbox?
[08:55] <munsking> lordievader: did that as well it only finds stuff in /etc/X11/fluxbox (which makes sense), not a single xorg conf file
[08:57] <munsking> i commented out "exec fluxbox" in ~/.fluxbox/startup and that kinda worked, but it seems wrong, something has to call that file from somewhere, i need to disable it there
[08:59] <lordievader> You could strace the startx command, look at what files it opens...
[09:00] <munsking> hmm, i'll try that after my smoke break, thanks for the idea
[09:10] <JanC> startx is a script IIRC
[09:11] <JanC> you could also uninstall fluxbox if you don't want it at all
[09:13] <JanC> something inside /etc/X11/ is probably sourcing a script elsewhere which then finds fluxbox, so follow it from there  :)
[09:14] <JanC> (I'm sure I did that myself years ago, but I can't really remember what I found back then)
[09:16] <munsking> JanC: i don't want fluxbox, but the other user does, it'll be a admin laptop we'll take with us if we have to go to other departments n stuff
[09:28] <JanC> reading manuals & docs might be useful too...
[11:50] <sonu_nk> how to generate DKIM / DomainKeys from domain. domain name to generate your DNS record:
[11:54] <blackflow> sonu_nk: you need OpenDKIM. Here's a tutorial with Postfix: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy
[11:55] <blackflow> sonu_nk: ubuntu: https://help.ubuntu.com/community/Postfix/DKIM
[14:00] <mnms_> Hi guys. I asked yesterday about Diskfilter writes are not supported. One possible solution is to update grub maybe this will help, if this fail I will try to apply patch. My question is do I can update only grub package ?
[14:01] <mnms_> I dont want to update all not up to date packages
[14:17] <tomreyn> mnms_: apt-get update && apt-get install grub-pc
[14:17] <tomreyn> this would only update the grub-pc package and its dependencies
[14:17] <tomreyn> mnms_: actually: sudo apt-get update && sudo apt-get install grub-pc
[14:18] <mnms_> tomreyn: Ok I updated only grub package but I choose wrong option. I selected to keep old version of /etc/default/grub
[14:18] <mnms_> doing apt-get --reinstall install doesnt allow me to select again
[14:19] <tomreyn> mnms_: move the configursation file out of the way and reinstall
[14:19] <mnms_> I should select maintainer version
[14:19] <mnms_> what would happen if I would remove with purge ?
[14:19] <mnms_> and then install ?
[14:19] <mnms_> tomaw: ^^
[14:19] <mnms_> tomreyn:    ^ ^
[14:19] <tomreyn> or use: should work, too, you'll loose all configurations of this very package
[14:20] <tomreyn> please ignore "or use:"
[14:20] <mnms_> tomreyn:   I would like to have generic configuration from package I done want to have any local changes done by me
[14:22] <tomreyn> mnms_: which ubuntu release is this?
[14:22] <mnms_> 14.04
[14:23] <mnms_> I accidentaly cliked keep local version while installing newest grub version
[14:23] <tomreyn> can you show the output of: dpkg -l grub\*
[14:23] <tomreyn> on a pastebin, please
[14:23] <tomreyn> !pastebin | mnms_
[14:24] <mnms_> tomreyn: please http://paste.ubuntu.com/23664134/
[14:26] <tomreyn> mnms_: so you should "apt-get purge <PACKAGENAMES>" all of these grub packages which are current installed, then "apt-get install <PACKAGENAMES>" to re-install them
[14:26] <tomreyn> + sudo
[14:26] <mnms_> tomreyn: Any way to purge all those grub packages with one command ?
[14:27] <tomreyn> just list all the packages on the same line
[14:27] <mnms_> ahhh ok :)
[14:27] <tomreyn> sudo apt-get purge <PACKAGE1> <PACKAGE2> <PACKAGE3> ...
[14:28] <mnms_> tomreyn: only those are installed, may of them not
[14:28] <mnms_> many*
[14:28] <mnms_> installed: grub-common* grub-gfxpayload-lists* grub-pc* grub-pc-bin* grub2-common*
[14:29] <mnms_> tomreyn: Im asked about removing all to files from /boot/grub and is telling me that system will be unbootable
[14:30] <mnms_> I understand after this purge I will install again grub and my system will be bootable yes ?
[14:32] <tomreyn> mnms_: yes thats correct
[14:32] <tomreyn> the system will be unbootable until you have reinstalled grub
[14:32] <mnms_> tomreyn: Ok I installed grub-common again
[14:32] <mnms_> and grub
[14:33] <mnms_> should I do smth more ?
[14:33] <mnms_> I see there is a grub-install command
[14:34] <tomreyn> mnms_: make sure you end up with all grub packages installed which you used to have installed
[14:36] <tomreyn> finally, do: sudo update-grub; then install grub on the disk / partition where it should be, using: sudo grub-install /dev/XXX    # where XXX is the partition / block device it should live on.
[14:36] <mnms_> tomreyn: now good question If I have raid mirror should I install rub on raid md1 or sda ?
[14:37] <mnms_> grub*
[14:38] <tomreyn> probably sda (and to the other array members' MBR as well)
[14:38] <mnms_> right now the other member is deatached cause raid is degenerated
[14:39] <mnms_> its working only on one disk
[14:39] <tomreyn> wenn then do it later when you re-add it
[14:39] <tomreyn> if you only have one member then just put it to its MBR for now.
[14:40] <tomreyn> is this a server? since you're asking this in #ubuntu-server
[14:40] <mnms_> Yes
[14:41] <tomreyn> i see. well such generic questions you could also ask in #ubuntu, but i guess either is fine
[14:41] <tomreyn> (see /topic)
[14:41] <mnms_> Sorry. Can I stay here to finish my problem ?
[14:42] <tomreyn> i'm not to decide it. but i doubt anyone will mind.
[14:43] <tomreyn> also #ubuntu is pretty busy right now.
[14:43] <mnms_> I choose wrong partition, I think it was swap I have to purge an install again those packages
[14:45] <mnms_> Or not..
[14:47] <mnms_> tomreyn: could you look at this http://paste.ubuntu.com/23664218/
[14:48] <tomreyn> mnms_: no need to reinstall, you just need to grub-install to the proper block device
[14:49] <tomreyn> mnms_: i looked at what you posted to pastebin.com
[14:50] <tomreyn> looks like you have os-prober installed, this tends to spill a bunch of warnings
[14:53] <mnms_> tomreyn: I still need to do grub-install, cause I thought installing those packages did that
[14:53] <mnms_> ?
[14:53] <mnms_> there is line with grub install in this pastebin
[14:54] <tomreyn> mnms_: you said you installed to the wrong device, so i suggested you run grub-install to point it to the correct device
[14:55] <tomreyn> i don't see "grub install" mentioned at http://paste.ubuntu.com/23664218/
[14:55] <mnms_> tomreyn: Ok sorry. Because of this warnings I thought it was wrong device, but I was wrong
[14:56] <mnms_> please look at line 3 and 4
[14:56] <tomreyn> if you don't have a multi boot system, and on a server you probably don't, then i would suggest you just uninstall os-prober and run update-grub again
[14:56] <tomreyn> that will provide a nicer output
[14:56] <tomreyn> and yes you're right, grub.install did run
[14:57] <mnms_> tomreyn: multi boot is when I have more than one system installed?
[14:59] <tomreyn> mnms_: correct
[14:59] <tomreyn> and when you want to be able to boot either of them from bare metal
[15:00] <mnms_> tomreyn: Before I do that can I reboot system now? It "should" work?
[15:01] <tomreyn> mnms_: if the grub boot code got installed to the right device, it should work now
[15:01] <mnms_> tomreyn: trying to reboot! :)
[15:02] <tomreyn> good luck
[15:05] <mnms_> tomreyn: It works but grub update didnt solve my problem "Diskfilter writes are not supported"
[15:05] <mnms_> :)
[15:06] <tomreyn> mnms_: that's not the problem you asked for help with, though.
[15:07] <mnms_> tomreyn: yes of course, thanks for your help
[15:07] <tomreyn> mnms_: according to https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1274320 it is fixed in grub2 on trusty.
[15:09] <tomreyn> version 2.02~beta2-9ubuntu1.7 and higher should be fixed
[15:09] <tomreyn> it'S really not an important message, however
[15:09] <mnms_> tomreyn: I have  grub-pc 2.02~beta2-9ubuntu1.12
[15:10] <mnms_> tomreyn: But it force me to press key without that it will not boot up
[15:11] <tomreyn> that'll be a different issue
[15:11] <mnms_> tomreyn: do you have any idea what could I do to start my system without interaction ??
[15:15] <tomreyn> mnms_: no, sorry, not without you providing more information and me spending more time on it, which i currently cannot.
[15:17] <mnms_> tomreyn: Maybe you could give some hint, which direction should I go, if not I understand and thanks for your time :)
[15:21] <tomreyn> mnms_: sthe same approahc as for any other issue, really: start by installing any pending updates (and reboot to see whether it helped). review log files to identify and solve or work around this issue. if it's still an issue then, try searching the web using different combinations of search terms to identify this issue and possible solutions or workarounds. if you can't find it, ask in #ubuntu providing your configuration and ubuntu
[15:21] <tomreyn> release version.
[15:21] <tomreyn> you may want to do the web search before reviewing your log files, based on personal preferences.
[15:22] <mnms_> tomreyn: thanks
[15:23] <tomreyn> welcome, and good luck, now please excuse me.
[20:11] <jrwren> is there a way to set environment variables which will be set in the processes spawned? e.g. the 3rd party elasticsearch deb fails to install unless ES_SKIP_SET_KERNEL_PARAMETERS=true.  https://github.com/elastic/elasticsearch/commit/32df032c5944326e351a7910a877d1992563f791
[20:11] <jrwren> arguably, its a bad postinst, but is there a way to set such an env var in cloud-config?
[20:12] <sarnold> ES_SKIP_SET_KERNEL_PARAMETERS=true apt-get install elasticsearch
[20:13] <sarnold> or maybe ES_SKIP_SET_KERNEL_PARAMETERS=true ; export ES_SKIP_SET_KERNEL_PARAMETERS ; apt-get install elasticsearch
[20:13] <sarnold> I have to admit I've forgotten the rules when 'export' is needed
[20:13]  * sarnold hangs his head
[20:15] <jrwren> ha! i guess I can do that easily enough. that means, use runcmd instead of packages module.
[20:16] <jrwren> silly me, I didn't even think of that because of the packages module.
[20:16] <jrwren> thanks sarnold
[20:17] <sarnold> aha :)
[20:17] <sarnold> yes I can see how that would present a pretty big stumbling block :)