[00:06] <elsevero> anyone here familiar with postfix mailsever ?
[00:22] <Ahti333> i just updated from 12.04 to 14.04 and my apache php-fcgi setup stopped working. apache just spits out the php source code. these are the relevant files: https://gist.github.com/Ahti/f0885f81eb78f08fdd36
[00:22] <Ahti333> has anybody experienced similar issues?
[00:27] <bananapie> is there a way to automatically generate a .config file for a kernel compile that only includes drivers needed by the machine generating the .config file?
[00:33] <tonyyarusso> bananapie: No idea, but you could get which ones are a) included and b) loaded on the building system.  Not the same as only what's needed, but a start.
[00:34] <bananapie> ok.
[00:34] <bananapie> I think I dreamed that I found such a tool a few weeks back.
[00:34] <tonyyarusso> Ahti333: Haven't tried it, but I know several sections of the Apache config changed syntax with 2.4, so that might be it.  I'd suggest reading through the Apache 2.4 release notes on the subject to see if they mention anything you use.
[00:36] <sarnold> bananapie: there's several make targets that may help, make localmodconfig and localyesconfig -- see the README for details
[00:36] <bananapie> I can't believe I have to compile the kernel to get tux at boot :(
[00:37] <bananapie> make localmodconfig is what I am looking for, thanks sarnold :D
[00:37] <sarnold> bananapie: yeah, it'll be way faster than recompiling the full distro kernel .config :) hehe
[00:37] <bananapie> definitely
[00:38] <bananapie> I remember when I first switched to desktop linux. I had to compile gentoo but didn't know I had to load the acpi module before compile.
[00:38] <sarnold> bananapie: if you haven't seen make oldconfig yet, check it out -- it may not help today, but it might help in six weeks :)
[00:38] <bananapie> I burnt out my cpu
[00:39] <sarnold> Ahti333: you have a space before .php on this line, is that intentional? FcgidWrapper /var/www/site/php-fcgi/php-fcgi-starter .php
[00:39] <bananapie> thanks sarnold
[00:39] <sarnold> bananapie: d'oh :/
[00:39] <Ahti333> sarnold yes, that's intentional
[00:40] <sarnold> Ahti333: bugger :)
[00:51] <bananapie> Also, how is radeon.dpm=1 not compiled into the ubuntu kernel? It makes ubuntu difficult for non-technical users.
[01:41] <array29> which better 12.04 or 14.04 for openstack?
[01:42] <evilsteve> well which openstack version are you wanting to work with... havana or ice?
[01:42] <array29> ice
[01:42] <evilsteve> then 14.04
[01:43] <array29> is there any trouble when getting icehose at 14.04?
[01:44] <evilsteve> http://docs.openstack.org/trunk/install-guide/install/apt/content/
[01:44] <array29> thankyou steve
[01:45] <evilsteve> http://www.ubuntu.com/download/cloud
[01:45] <evilsteve> yw
[02:59] <Guegs> I'm trying to get a SMB share configured, and I am having one hell of a time. I followed this example to a T, but it still isn't showing up. What on earth could I be missing? https://help.ubuntu.com/10.04/serverguide/samba-fileserver.html
[02:59] <Guegs> ... Well, for one Guegs, that is a 10.04 guide.
[04:47] <airtonix> also you didn't supply a sample of any configuration file you're working with
[04:49] <sarnold> airtonix: he's gone :)
[04:50] <airtonix> damn kids and their drive by
[04:50] <sarnold> haha yeah :)
[04:50] <airtonix> and they wonder why no one replies
[04:50] <sarnold> of course I think he figured it out when he saw the url and noticed that it's for 10.04 rather than 12.04 or 14.04..
[05:55] <Guest67771> Hi my Ubuntu 12.04 LTS was working fine. I had a power oputage the other night, now a major problem is at hand.
[05:56] <Guest67771> I can't access the Internet from the server. I can't ping google from the server. And I can't see ports open on the server. DOes anyone have any time to help troubleshoot this please?
[05:56] <sarnold> hey Guest67771, welcome back
[05:56] <Guest67771> thanks....still unresolved.
[05:56] <sarnold> Guest67771: when you say you can't ping google, are you trying to ping google.com or are you trying to ping some of google's ip addresses?
[05:57] <Guest67771> ping google.com...
[05:57] <sarnold> trying pinging one of their IPs, such as 173.194.33.3 or 8.8.8.8
[05:58] <sarnold> when troubleshooting networking problems it really helps to nail down each layer, one at a time. first, make sure you can route packets to the right places.
[05:58] <Guest67771> both those work
[06:00] <Guest67771> both those IP work whether the firewall is on or off
[06:00] <sarnold> okay, pinging off your network works, neat. how about higher-level services? can you do e.g. host www.google.com 8.8.8.8 ?
[06:01] <Guest67771> i typed  host www.google.com 8.8.8.8 and connection timed out
[06:02] <sarnold> if DNS resolution works, then move to something slightly more advanced, http -- try e.g. HEAD http://173.194.33.3/  or curl 173.194.33.3 to make sure you get some data...
[06:02] <sarnold> oh, interesting. so either udp can't get out or can't get back in.
[06:02] <Guest67771> curl 173.194.33.3
[06:03] <Guest67771> wrong keyboard...sorry
[06:05] <Guest67771> curl...couldn't connect to host
[06:07] <Guest67771> HEAD - 500 connection timed out
[06:07] <sarnold> Guest67771: okay, looks like you get to inspect your firewall on this machine and the firewall on your router to make sure that the rules all look sane, and that your NAT is happening properly
[06:08] <Guest67771> turned the firewall off on my server before - didn't seem to make a difference
[06:08] <sarnold> Guest67771: timeouts like this are quite often caused by firewalls set to DROP packets rather than REJECT packets
not usre that showed me anything....I port forward to 192.168.1.101 (my server) for ports 80, 23 and 7777
[06:20] <sarnold> Guest67771: If you notice the problem when your local firewall is off that feels like blaming your router's firewall configuration is most convenient.. :)
[06:20] <Guest67771> when i turned nat off, everything seemed to die
[06:20] <sarnold> Guest67771: does ip addr list   show the ip address you expect? does ip route list  show a routing table that you expect?
[06:21] <sarnold> Guest67771: hehe, yeah, you disconnected too. the NAT operation is closely tied to the firewall..
[06:21] <Guest67771> ifconfig -a on the server shows i92.168.1.101
[06:22] <Guest67771> the gateway does appear different on my firewall interface, than what i remember. Where is the configuration stored? Is it important?
[06:24] <sarnold> Guest67771: the gateway is where all packets will be sent if they don't have a more specific route available. it's critical to get it right. check /etc/network/interfaces for the configuration
[06:25] <Guest67771> I have sod all in mine...just the dns nameservers 8.8.8.8 yhat i added
[06:27] <sarnold> Guest67771: is there anything in /etc/network/interfaces.d/ that would provide the per-interface configuration?
[06:28] <Guest67771> I don't have an interfaces.d file
[06:32] <sarnold> Guest67771: okay -- then you may need to configure your /etc/network/interfaces; you'll want to add an 'auto eth0' line or similar to have the interface brough up at boot, and then a stanza that starts 'iface eth0 inet static' followed by some more configuration. sadly the interfaces(5) manpage jumps right into an over-complicated example, but there's a nice simple example here: http://manpages.ubuntu.com/manpages/precise/en/ma
[06:33] <Guest67771> do I take the info from LAN or WAN on my router. Ex subnet is 255.255.255.0 on LAN but 255.255.255.255 on WNA
[06:33] <Guest67771> WAN
[06:34] <sarnold> Guest67771: most of the details will need to match the LAN settings from your router
[06:39] <Guest67771> how do I determine the network setting? I have the rest
[06:40] <sarnold> Guest67771: which setting?
[06:40] <Guest67771> network
[06:40] <Guest67771> I have the address, netmask, gateway and broadcast
[06:41] <sarnold> Guest67771: I don't see a 'network' setting in interfaces(5) or resolvconf(8)..
[06:41] <Guest67771> auto eth0
[06:41] <Guest67771> iface eth0 inet static
[06:41] <Guest67771> address 192.168.1.150
[06:41] <Guest67771> netmask 255.255.255.0
[06:41] <Guest67771> network 192.168.2.0
[06:41] <Guest67771> broadcast 192.168.1.255
[06:41] <Guest67771> gateway 192.168.2.1
[06:41] <Guest67771> safe
[06:43] <sarnold> Guest67771: okay, a few questions here -- I think you can delete the 'network' line entirely, I don't see any documentation to support keeping it around. second, you've given the address here 192.168.1.150, but earlier you said the server reported address i92.168.1.101
[06:44] <Guest67771> sorry, that's just a copy and paste from the web...not my settingd
[06:44] <sarnold> Guest67771: the gateway address is not actually routable when you've configured the address in 192.168.1.* and used a netmask of 255.255.255.0 -- so either the address of this host is wrong or the address of the router is wrong or the netmask is wrong :) hehe
[06:45] <sarnold> ah, good, that explains why nothing makes sense :)
[06:45] <sarnold> feel free to pass along my advice to whoever wrote that, I wonder if they ever got their networking working :) lol
[06:45] <Guest67771> I restarted network manager
[06:45] <sarnold> you have network manager installed on this machine??? ooof.
[06:45] <Guest67771> still can't ping google.com
[06:46] <Guest67771> isn't it there by default?
[06:46] <sarnold> for desktops and laptops...
[06:46] <sarnold> most admins wouldn't tolerate it on servers :)
[06:47] <Guest67771> mines only a home server - I'd die with just CLI...just a nOOB
[06:48] <Guest67771> back to the routable bit - my ionternal IP for the server is 192.168.1.101 and the subnet is 255.255.255.0. Is that OK
[06:49] <sarnold> it is if the router is in the 192.168.1.* network
[06:50] <Guest67771> 254 I'd expect. Good
[06:51] <Guest67771> The MOO and webserver still aren't working on the LAN. localhost works OK from the server
[06:55] <Guest67771> I'm going to restart my router. After I made those changes, I went back to the router interface. The server wasn't showing, and it had the wrong MAC Address. I'll restart and check what happens.
[06:59] <Guest67771> she's a goer
[07:00] <Guest67771> thanks for your patience <Sarnold>
[07:02] <sarnold> Guest67771: rebooting the router fixed it? o_O
[07:07] <Guest67771> Thanks heaps <sarnold> - a very relieved man with my MOO working - we can do some programming at school tomorrow
[07:09] <sarnold> Guest67771: cripes that shouldn't have fixed anything :)
[07:09] <sarnold> Guest67771: but I'm glad it's working again :) hehe
[07:10] <Guest67771> I suspect that something went ary in firewall with the MAC Address and static IP that I setup for my machine
[07:11] <Guest67771> I'll make some notes for next time... I need the MOO working for school
[07:12] <Guest67771> appreciate your help...CIAO
[07:12] <sarnold> have fun :)
[07:29] <lordievader> Good morning.
[07:30] <ovidiu-florin> hello world
[07:31] <ovidiu-florin> I'm trying to set up a samba share with anonimous access, but no matter how I set it it keeps asking me for a password.
[07:34] <ovidiu-florin> here is my smb.conf: http://paste.kde.org/pa7ycwrte/6qkxcm
[07:35] <ovidiu-florin> please help
[07:37] <sarnold> ovidiu-florin: it's been ten or twelve years since I've really "done" samba, but my recollection is that anonymous, password-free access only worked for win95 and win98.
[07:37] <sarnold> ovidiu-florin: I don't think I ever got any WinNT-derived systems to ever use anonymous or password-free shares. that was ages ago, but it might be worth some searching to see if it is supposed to work with modern microsoft clients or not
[07:38] <ovidiu-florin> sarnold: http://micheljansen.org/blog/entry/182
[07:38] <ovidiu-florin> it is
[07:39] <sarnold> ovidiu-florin: oh good. at least lets hope he's not still using win98 in 2006. :)
[07:39] <ovidiu-florin> they still are, on some places
[07:55] <jonascj> Hi all. Do a user need the +x on all parent dirs to make a given dir his/her working directory? E.g. if I want to "cd /a/b/c/d" do I need +x on a,b,c and d or will it suffice to hvae +x on just d?
[07:56] <jonascj> I am trying to setup openssh server to allow sftpusers to have +rwx on  only /srv/sftp/{username} and sftpadmins to have +rwx on anything inside /srv/sftp.
[07:56] <andol> jonascj: You'll need the +x rights for /a, /a/b/ and /a/b/c/ as well.
[07:56] <jonascj> yeah okay
[07:57] <jonascj> so the reason why my openssh setup fails when I remove sftpuser's execute bit on /srv/sftp is because then the user cannot make /srv/sftp/{username} his/her directory
[07:57] <jonascj> also I might not be able to chroot a user to a directory on which the user do not have the execute bit (i.e. chroot'ing the user to /srv/sftp might not work if the user have no execute bit on that dir)
[07:59] <jonascj> andol: but read permission do not work the same way, right? You only need +r on /a/b/c/d to list files in /a/b/c/d, not +r on /a, /a/b, /a/b/c.
[08:12] <jamespage> Daviey, zul: saucy 2013.2.3 verification went ok in the lab - commented on bug 1302575
[08:37] <andol> jonascj: Yepp
[08:41] <jonascj> ACL on top of my root:root owned /srv/sftp (which is the chroot of the sftpusers) did not work. Only root may have permissions there. So either both sftpadmins and sftpusers can list the directories in /srv/sftp or non of them can.
[09:08] <germanstudent> Can one of you recommend a good server monitoring service? Currently I'm using New Relic, but I'm looking for a more minimalistic and cheaper solution (only OS monitoring, no apps etc.)
[10:07] <DarkStar1> hi everyone. Just a qq. postgres sql 9.2 is the default for which ubuntu version?
[10:07] <DarkStar1> I have a12.04 and I noticed when I installed postgres it was a 9.1
[10:09] <lordievader> !info postgresql
[10:09] <lordievader> !info postgresql saucy
[10:10] <lordievader> !info postgresql precise
[10:10] <lordievader> DarkStar1: As you can see (^) Saucy and Trusty have 9.3
[10:19] <DarkStar1> lordievader: (love the nick) Thanks
[10:19] <lordievader> DarkStar1: No proble :D
[10:20] <lordievader> problem*
[10:23] <mardraum> "9.3+146really9.1+148"
[10:23] <lordievader> Heh, that slipped by me.
[11:28] <Baluse> hello
[11:29] <Baluse> if i make a mistake at sshd_config them I am locked out for ever ?
[11:31] <jpds> Quite.
[11:31] <Baluse> great
[11:31] <jpds> But sshd is special in that it'll keep running even if you restart it.
[11:33] <Baluse> i tried to create a new user
[11:33] <Baluse> and what to limit him
[11:33] <Baluse> chroot
[11:33] <Baluse> however when i connect with that user and enter password i get disconnected
[11:34] <rbasak> chroot is non-trivial to set up, since the user won't be able to access any binaries, such as even the shell, and shared libraries etc. Have you accounted for this?
[11:34] <Baluse> actually I want only sftp access
[11:34] <Baluse> to specified folder
[11:36] <rbasak> Ah. That's different and I think you can probably do that. I don't know how though, sorry.
[11:38] <Baluse> k thanks
[11:44] <zmaroti> hi, could someone help me with missing /dev/dri/card0 problem? (videocard matrox G200eR2), appropriate kernel modules are installed, xserver-xorg-video-mga installed, still i get [  2324.271] (EE) open /dev/dri/card0: No such device in Xorg.0.log
[11:45] <zmaroti> lsmod | grep mga
[11:45] <zmaroti> mga                    40811  0
[11:45] <zmaroti> drm                   302817  1 mga
[11:50] <Baluse> http://paste.ubuntu.com/7365762/
[11:50] <Baluse> ok here is what i get
[11:56] <zmaroti> Baluse, this migth help: https://wiki.archlinux.org/index.php/SFTP_chroot
[11:56] <Baluse> i did chown and worked somehow
[12:05] <yossarianuk> can anyone recommend any good stress testing apps for webservers  - preferably one that produces graphs?
[12:05] <yossarianuk> tried to look at jenkins/gatling but that seems insanely complicated ?
[12:08] <pmatulis> morning
[12:09] <lordievader> Hey pmatulis, how are you doing?
[12:39] <smb> smoser, The remaining oddness has been found (bug 1314598). Would you prefer to wait until the current upload gets through or do a combined replacement?
[13:16] <smoser> smb, well, its not even been accepted i think.
[13:16] <smoser> so i'd just ask a admin to NAK it and reupload.
[13:17] <smb> WFM, are you ok with the debdiff in the bug or should I provide a deb source
[13:18] <smb> ?
[13:24] <smb> smoser, Its in 4review on chinstrap fwiw :)
[13:25] <rbasak> jamespage: do you know why python-networkx is subscribed by ~ubuntu-server? I don't see it seeded by anything server related.
[13:25] <jamespage> rbasak, taskflow
[13:25] <jamespage> cinder
[13:25] <rbasak> Oh, OK. No problem then. I'll prioritise bug https://bugs.launchpad.net/ubuntu/+source/python-networkx/+bug/1285611
[13:26] <smoser> smb. ask an admin (Daviey or stgraber) to NAK the upload.
[13:26] <smoser> and give me a diff versus what is there.
[13:26] <smoser> i'll apply the diff and upload.
[13:33] <smb> smoser, The v2to3.debdiff on chinstrap:~smb/4review, there would be a ready source package of it as well
[13:35] <smoser> smb, awesome. thanks
[13:38] <smb> smoser, last upload was removed from the queue as well
[13:40] <smoser> smb, ok. quick sbuild, then upload.
[13:40] <smb> ack
[13:43] <smoser> uploaded.
[14:00] <championofcyrodi> Hi, When I do a PXE boot of Ubuntu LTSP 12.04.4 Thick Client on Intel NUC, isc-dhcp-server responds and the image is booted.  However, the error "no network interfaces detected!" pops up and the client cannot mount the nbd on the terminal server.  Followed this guide:  https://help.ubuntu.com/community/UbuntuLTSP/AddingModules but still not working.  thoughts?
[14:01] <ogra_> wow, that gouide is massive overkill
[14:02] <ogra_> just add the module you want to /usr/share/initramfs-tools/modules (ro for ltsp to that file inside the chroot indeed)
[14:02] <ogra_> s/ro/or/
[14:18] <championofcyrodi> ogra_: once i modify the file inside the chroot.  Should I still run update-initramfs -u ?
[14:20] <championofcyrodi> eh, ill update anyway, can't hurt.
[14:56] <jamescarr> did I miss something here? 13.10 after an apt-update and apt-get install build-essential
[14:56] <jamescarr> https://gist.github.com/jamescarr/d1b51a5fa22051465531
[14:59] <jamescarr> don't mind me
[14:59] <jamescarr> I'm an idiot apparently
[15:00] <caraconan> Hi there. Reading about upstart. Question: how I know which service is started before when at boot time?
[15:02] <jodh> caraconan: Have you seen upstart-events(7) / http://upstart.ubuntu.com/cookbook/#ubuntu-well-known-events-ubuntu-specific ?
[15:03] <caraconan> jodh: thanks, I'll have a look
[15:03] <rbasak> caraconan: or are you asking how to understand how all the services on your system interact? initctl2dot is good for that.
[15:04] <caraconan> rbasak: I was asking if service "a" is started before "b", and if there's a quick way to see it (with "legacy" init system Sxx numbers)
[15:05] <rbasak> caraconan: OK. I'm not sure if there's a better way, but I'd use initctl2dot to visualise that.
[15:05] <rbasak> It gives you a graph of what causes what to start.
[15:05] <caraconan> rbasak: ok thanks
[15:36] <savr> hi
[15:36] <savr> what happened to php5-ffmpeg in 14.04?
[15:38] <cfhowlett> !info ffmpeg savr
[15:38] <cfhowlett> !info ffmpeg
[15:38] <cfhowlett> savr ffmpeg has been deprecated.  use avconv
[15:39] <savr> cfhowlett: some php app I'm using needs ffmpeg
[15:39] <savr> is avconv plug'n'play compatible?
[15:39] <cfhowlett> savr then you have issues.
[15:40] <cfhowlett> savr plug and play with what?  hardware?
[15:40] <ogra_> !info ffmpeg-php
[15:40] <ogra_> funny
[15:40] <savr> with php and whatever needs php5-ffmpeg
[15:41] <ogra_> https://launchpad.net/ubuntu/+source/ffmpeg-php/0.6.0-2.2fakesync1build1
[15:41] <savr> I think it's a wordpress plugin or something
[15:41] <cfhowlett> savr check with the php folks or channel.
[15:50] <savr> cfhowlett: the php folks say the module hasn't been depreciated
[15:50] <savr> and google isn't bringing up any discussion to why it was removed
[15:54] <cfhowlett> savr ffmpeg ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
[15:54] <cfhowlett>   built on Feb  6 2014 20:56:59 with gcc 4.6.3
[15:54] <cfhowlett> *** THIS PROGRAM IS DEPRECATED ***
[15:54] <cfhowlett> This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[15:54] <cfhowlett> Hyper fast Audio and Video encoder
[15:54] <cfhowlett> usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
[15:54] <cfhowlett> Use -h to get full help or, even better, run 'man ffmpeg'
[15:54] <mdeslaur> savr: it won't build with the version of libav in trusty and debian so it got removed: https://bugs.launchpad.net/ubuntu/+source/ffmpeg-php/+bug/1277603
[15:56] <cfhowlett> mdeslaur uvirtbot thanks for that additional info.  How did you find these?  Is there a bug search utility or something?
[15:56] <mdeslaur> cfhowlett: I just went to https://launchpad.net/ubuntu/+source/ffmpeg-php and clicked the bugs link at the top
[15:57] <cfhowlett> mdeslaur your google-fu is unbeatable!  Thanks.
[15:57] <savr> thanks
[15:57] <savr> http://packages.ubuntu.com/search?suite=trusty&section=all&arch=any&keywords=avconv&searchon=names
[15:58] <savr> cfhowlett: no such package?
[15:59] <savr> if I didn't have to wait 30 seconds for packages.ubuntu.com to load I would have searched desc.
[16:00] <cfhowlett> !info avconv
[16:00] <cfhowlett> !
[16:00] <cfhowlett> savr I'm on precise until point release 1 so different repos.
[16:00] <savr> http://packages.ubuntu.com/search?suite=trusty&section=all&arch=any&keywords=libav&searchon=all
[16:01] <savr> sooo a lts release doesn't have ffmpeg or avconv
[16:01] <savr> guess no one needs their videos for the next two years
[16:06] <rbasak> savr: I guess nobody has worked on this for the last two years.
[16:06] <rbasak> (well a year and a half, anyway)
[16:06] <savr> and no one noticed?
[16:06] <rbasak> They noticed and filed a bug!
[16:07] <savr> 2 years ago
[16:07] <rbasak> Yep
[16:07] <savr> no one noticed the package is missing cause no one fixed the bug?
[16:07] <rbasak> Based on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694143, AFAICT upstream is not active.
[16:07] <rbasak> So nobody is working on keeping the module up to date, so distributions will stop shipping it.
[16:08] <rbasak> It only works against an ancient version of libav, ergo use an ancient release and you'll be fine.
[16:10] <rberg> ?? avconv is in the libav-tools package
[16:10] <rbasak> rberg: I assume they're talking about ffmpeg-php, which depends on libav.
[16:35] <cfhowlett> savr address this to the php team
[17:10] <championofcyrodi> I've spent two days trying to get this Intel NUC to load the initrd.img from TFTP, and still getting the error claiming no network interfaces found...
[17:11] <championofcyrodi> booting from a usb drive shows the e1000e driver being used, adding that to the modules and updating the initramfs does not help
[17:12] <championofcyrodi> also tried adding the i915 driver manually, to ensure the modules file was being read... i see an error finding the i915.ko file in the amd64 image... so I know the file is being read.
[17:12] <ubasrawr> hello, can anyone help me troubleshooting my isc-dhcp files? this is my pastebin for my interfaces and dhcpd.conf: http://pastebin.com/eS68WSnJ ; but i am unsure what i am doing wrong
[17:27] <DarkStar1> hi all. I’m not sure what’s causing a reject for my ftp access for anonymous users. I have the following config for vsftpd: http://fpaste.org/98211/13988787/
[17:27] <DarkStar1> to allow anonymous users to upload to the ftp directory but everytime I connect I keep getting a CONNRefuses
[20:09] <vertago1_> I am trying to setup cgroups but on 14.04 it seems like the cgconfig.conf file is ignored.
[21:00] <med_> smoser, utlemming: is the Ubuntu cloud-image specifically only dhcp-ing on one interface (even if there are more than one available) in an OpenStack environment (but probably generalized to any cloud-image using UserData).
[21:00]  * med_ is bringing up two interfaces regularly on different nets
[21:01] <smoser> med_, it only dhcp's on eth0.
[21:01] <smoser> config drive could feed it networking information and that should be uspported
[21:01] <med_> smoser, is that an Ubuntu server-ism or a cloud-image-ism?
[21:01] <smoser> for additoinal networking
[21:01] <med_> nod
[21:01] <med_> thanks
[21:02] <smoser> well, its an ubuntu server-ism.
[21:02] <smoser> but realisitcally its the only way you can make a generic image.
[21:02] <smoser> the assumption is you have dhcp on the "management" interface
[21:02] <med_> nod
[21:02] <smoser> (the one that will get you to the MD service)
[21:02] <med_> smoser, thanks
[21:03] <med_> (fyi, we do get injected static routes on both nics to 169.254.169.254)
[21:14] <xperia> hi all. i have upgraded my ubuntu server to the newest version but have a small problem with a php extension. i am getting allways the error message
[21:14] <xperia> PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212+lfs/mailparse.so' - /usr/lib/php5/20121212+lfs/mailparse.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21:14] <xperia> Problem is when i do pecl install mailparse it says that this extension is allready installed but when i go to look inside this directory there is no mailparse extension! Can anybody help me with solving this problem?
[21:24] <sarnold> xperia: you can break out strace; strace -f -o /tmp/pecl.out pecl install mailparse (or whatever) then look in /tmp/pecl.out to see what files it accessed to determine that it was already installed
[21:27] <xperia> sarnold: thanks a lot. i just created btw a symlink to the folder php sayed it miss the extension from the folder where the mailparse.so extension was installed and the error message disapeared. wondering why ubuntu did not install the mailparse.so extension in the same folder like all other extensions. will just do the strace tip. thanks
[21:28] <sarnold> xperia: good question, I don't even see a 'mailparse.so' in my trusty apt-file search
[21:36] <xperia> looks like i installed the php5 mailparse extension with phpize from the sources.
[22:02] <esde> "The following packages have been kept back:  ffmpeg x264" i added these packages with ppa, and when i just ran apt-get upgrade, i noticed this error. are there newer versions available in the "stock" repos, and the ppa packages are stale and being held back?
[22:05] <esde> nvm got it
[22:08] <med_> dannf is there a way to turn the logging up way high when doing a dpkg -i?
[22:10] <dannf> med_: not that i know of. unless you're looking at maintainer scripts. those you can edit directly in /var/lib/dpkg/info and e.g. set -x them
[22:14] <med_> thanks. figured out it was a pebcak....  (not my c/k)
[22:18] <DarkStar1> hi all I need help figuring out why the anonymous vsftpd isn’s allowing connections. I have configured it thus : http://fpaste.org/98211/13988787/
[22:19] <sarnold> DarkStar1: check netstat -lntp and make sure the ftpd is listening on the sockets you expect
[22:28] <DarkStar1> sarnold: don’t know why I didn’t think of that first
[22:29] <sarnold> DarkStar1: it's easy to get tunnel vision just looking at logs and configuration files :) sometimes just taking a tiny step back and looking at the whole system can make all the difference..
[22:30] <Patrickdk> and then, if you don't get it
[22:30] <Patrickdk> take a second step back
[22:30] <Patrickdk> and swing that 10lb sledge at it
[22:30] <sarnold> hahaha
[22:30] <DarkStar1> I’ll take the 10lb sledgehammer right now actually
[22:31] <Patrickdk> allowing anonymous uploads in the config also, has nothing to do with file permissions
[22:32] <Patrickdk> is the anonymous user allowed to write to that folder?
[22:32] <DarkStar1> darn thing wont start at the moment
[22:33] <DarkStar1> and there are no error in the logs :/
[22:50] <qhartman> ugh this consistent network device naming thing is killing me in Trusty. How do I find out what the system decided to call my second NIC so I can configure it and start using it?
[22:50] <qhartman> I guessed em2, but that doesn't seem to work
[22:50] <qhartman> neither do any of the old ethx stand-bys
[22:50] <DarkStar1> thx guys
[22:51] <DarkStar1> sledgehammer fix worked
[22:51] <DarkStar1> :)
[22:51] <sarnold> qhartman: does ip link show   give you the name you need?
[22:51] <qhartman> (both nics are embedded, and I remember the installer referring to em2)
[22:51] <sarnold> DarkStar1: haha
[22:51] <sarnold> qhartman: if you just want to go back I believe you can uninstall the biosdevname package
[22:52] <qhartman> sarnold, aha, yes, it's apparently "rename3". That's hilarious.
[22:52] <sarnold> qhartman: o_O
[22:52] <qhartman> derp derp derp
[22:52] <sarnold> qhartman: derp indeed
[22:52] <qhartman> lol, yup, that's what it's called
[22:52] <sarnold> qhartman: it might be nice to file a bug report to point out the derpiness :)
[22:53] <qhartman> after adding the config "ifup rename3" works as expected.
[22:53] <qhartman> Yeah, this behavior is really obnoxious as a default
[22:53] <qhartman> even sans derp, it's breaking all of my automation everywhere
[22:56] <qhartman> some machines have em1, some have p1p1. It's making for great fun.
[22:57] <qhartman> already reported: https://bugs.launchpad.net/ubuntu/+source/biosdevname/+bug/1295873
[23:02] <sarnold> I can appreciate the desire to have some kind of consistency here, especially on the machines that have four or eight NICs
[23:02] <sarnold> but it feels like a change that might have been better made for saucy to sort out these goofy rename3 things..
[23:03] <qhartman> yeah, I get the goal, I just think their definition of "consistency" didn't really align with a number of people.
[23:03] <qhartman> At least myself, and everyone else I've talked to
[23:04] <qhartman> and yeah, setting this as a default on an LTS release and not making a ton of noise about it was definitely an oversight.
[23:05] <qhartman> even if it wee bug-free, a change like this is super disruptive, especially for people like me who only pay attention to LTS releases on their servers
[23:06] <Patrickdk> it doesn't affect upgrades though :)
[23:06] <Patrickdk> atleast not yet
[23:06] <qhartman> well, that's something
[23:07] <Patrickdk> I had the same rename3 issue
[23:07] <Patrickdk> but then, I considered the whole thing an issue
[23:07] <qhartman> yeah, so do I honestly. Again, I sympathize with the desired outcome, but this is a kinda crappy way to get there.
[23:08] <Patrickdk> apt-get remove devbiosname
[23:08] <Patrickdk> update-initram -u
[23:11] <qhartman> actually biosdevname (for the future people trolling the logs)
[23:19] <qhartman> and yeah, removing that works, thanks for the pointer Patrickdk and sarnold.
[23:20] <qhartman> It caught me doubly by surprise since none of the VMs or MAAS-installed Trusty machines I've worked with are using this new scheme, so I thought I had all the kin discovered.
[23:21] <qhartman> *kinks
[23:21] <sarnold> qhartman: heh, what an unwelcome new surprise :)
[23:22] <Patrickdk> s/unwelcome/interesting/
[23:23] <qhartman> no wait, you're both right!
[23:28] <sarnold> hehehe
[23:28] <Patrickdk> I would rather be wrong, than right with sarnold