[07:46] <MacroMan> I'm having some problems sending emails over ssmtp to google apps. All my emails bound with "DNS Error: Domain name not found" and I noticed that the from line reads "Received: from server.aplexpress.co.uk ([80.82.113.124])"
[07:47] <MacroMan> I have not set up server.aplexpress.co.uk. Any idea where this may have come from and how I configure it? (The computer name is "server" I believe)
[07:50] <greppy> MacroMan: does your ISP force use of a mail proxy server?
[08:30] <jamespage> morning folks!
[08:37] <MacroMan> Ah, just misconfigured ssmtp. Now all fixed. Sorry to waste anyones time.
[08:44] <jamespage> melmoth, merged your ntp/ntpmaster changes - thanks!
[08:44] <jamespage> look forward to the python rewrite
[08:44] <melmoth> i m on it.. still a but puzzled with how charm helper works.. but i ll get there.
[08:44] <jamespage> melmoth, I remember now - I wrote that charm when subordinates first landed as it was something simple to learn with
[08:45] <melmoth> it s the first charm that made me understdood what a subordinate was.
[08:45] <psivaa> hallyn_: jdstrand: jjohansen: sorry to bother you again, but bug #1197484 is still occurring and largely impacting almost all the saucy server smoke tests. Would greatly help if it gets looked at. thanks
[09:00] <jamespage> adam_g, merged the hookenv branch - the other two still need a bit of work - see MP's for details.
[09:28] <jamespage> jodh, is there a nice way to not run a specific command under upstart user sessions?
[09:29] <jamespage> jodh, I've fixed a bug in openvswitch trunk in saucy for this (it assuming init == pid 1)
[09:29] <jamespage> but I really don't want to have to backport it to 12.04 for SRU's
[09:29] <MacroMan> I've set up MX records in my bind9 configuration for google apps, but the google test tool is telling me that no mail exchanger has been found. The records are there if I do nslookup on my domain.
[09:29] <jodh> jamespage: can you give more details? not clear on what you're trying to do.
[09:29] <jamespage> MacroMan, might just be a propagation delay
[09:30] <MacroMan> I'm not sure what could be wrong. They've been set since Saturday.
[09:30] <jamespage> jodh, OK - openvswitch has its own monitor stuff which ensures its daemons keep running
[09:30] <MacroMan> Here's a pastie of my nslookup: http://pastie.org/8120520
[09:31] <jamespage> jodh, the test that verify that this all works ensures that the parent processes are set correctly when ovs is started up using this method
[09:31] <jamespage> jodh, in trunk they used to check that the top level process was owned by init by detecting that the parent pid of the monitor daemon == 1
[09:31] <jamespage> jodh, I fixed that test with a workaround just to ensure that the daemon parent process was not that of the shell that spawned it
[09:32] <jamespage> jodh, but I really don't want to backport that fix for an SRU
[09:34] <mardraum> MacroMan: no A record for them
[09:35] <mardraum> MacroMan: http://www.intodns.com/aplexpress.co.uk
[09:36] <MacroMan> mardraum, That tool says I have multiple A records for MX.
[09:37] <mardraum> it says a what?
[09:37] <MacroMan> "It seems that all your MX records have the same IP(s):
[09:37] <MacroMan> There is no use on having multiple MX records pointing to the same ip."
[09:37] <MacroMan> Under "Duplicate MA A records"
[09:37] <mardraum> MacroMan, can you resolve aspmx.l.google.com.aplexpress.co.uk  ?
[09:38] <MacroMan> mardraum, That's odd. That's not what I've got set in my bind config
[09:38] <mardraum> so fix it
[09:38] <mardraum> add an A record for all the MX records you have
[09:38] <MacroMan> Thanks for pointing that out, I hadn't noticed.
[09:39] <jodh> jamespage: going back to the original question, the simplest test to detect if you're running under a Session Init is whether UPSTART_SESSION is set.
[09:42] <MacroMan> mardraum, Should I point the A record for "aspmx.l.google.com.aplexpress.co.uk" to the IP address of "ASPMX.L.GOOGLE.COM" which is what I have in my zone config?
[09:42] <mardraum> to the IP of whatever machine should be receiving mail
[09:43] <MacroMan> OK thanks. Yes it'll be the IP of the aspmx address.
[09:43] <mardraum> google probably have best practice docs about what to do, I don't speak for them
[09:48] <MacroMan> Just a sec. Should I have a period at the end of the MX record addresses? Is that why it's appending my domain after the MX record address?
[09:50] <MacroMan> Here is my config: http://pastie.org/8120563
[09:54] <mardraum> yes.
[09:54] <mardraum> I don't mean to be rude, but why not go read some docs about bind?
[09:56] <MacroMan> mardraum, Sorry. I landed myself in some hot water and my company wasn't receiving any email and I needed to get it fixed quickly. Thank you very much for helping me. I've added periods at the end and now email is working. Thank you very, very much.
[09:57] <mardraum> you probably could have fixed it a lot sooner by using google search and looking carefully at some example zone config files
[09:57] <mardraum> panic and IRC don't go together well
[10:08] <MacroMan> mardraum, I know. It's working now though and a weight has been lifted. tbh, I'm a web dev that has taken on the task of setting up a new dedicated server, and I'm in a little over my head.
[10:27] <jamespage> jodh, any ideas?
[10:27] <jodh> jamespage: my response above no good?
[10:28] <jamespage> jodh, I might have dropped at that point in time
[10:33] <jamespage> jodh, I can't see your response
[10:33] <jodh> 10:39 <jodh> jamespage: going back to the original question, the simplest test
[10:33] <jodh>              to detect if you're running under a Session Init is whether
[10:33] <jodh>              UPSTART_SESSION is set.
[10:33] <jodh> 10:42 <MacroMan> mardraum, Should I point t
[11:15] <geaden_> Hello, guys! Need help with setting up passwordless ssh to remote server (EC2). I copied public key to the of authorized_keys file. But when connecting it keeps asking prompt for password. The problem is this is a production server and I can't lost connection to it due to my misconfiguration((( Tried almost every tutorial. Followed this trobu
[11:15] <geaden_> *troubleshooting guide https://help.ubuntu.com/community/SSH/OpenSSH/Keys
[11:15] <geaden_> But without success
[11:25] <mardraum> geaden_: ssh -i <file> <user>@<ec2-vm>
[11:26] <geaden_> mardraum: thanks for reply. My key file is already in ssh-add -l… But I'll try, thanks
[11:26] <mardraum> that's the way aws setup for you
[11:27] <mardraum> anything else is you create a local keypair and copy the pub file to authorized_keys on the server
[11:27] <geaden_> yes, this is default. But it was configured before me, to login by entering password. Now I need to authorise via key
[11:28] <geaden_> mardraum: Yes, the problem is it seems my instance doesn't recognise my pub file in authorised keys, and prompt for password after
[11:28] <mardraum> "authorized" you have to spell like an american
[11:28] <geaden_> mardraum: Yes, sorry
[11:28] <mardraum> did you check permissions?
[11:29] <mardraum> use ssh -v for some extra info on the client.
[11:29] <geaden_> mardraum: my current permissions are -rw-------  1 root root  947 Jul  5 09:12 authorized_keys
[11:29] <mardraum> so you are trying to login as root?
[11:30] <mardraum> is that permitted in sshd_config?
[11:31] <geaden_> Yes PermitRootLogin yes
[11:37] <geaden_> mardraum: with ssh -v I see following: https://www.friendpaste.com/tmYy4SMuVRHlKonGxcBUs
[11:38] <mardraum> classy, expired cert
[11:38] <geaden_> hmmm… on other servers I can connect with that public key
[11:39] <mardraum> your paste site I mean.
[11:39] <geaden_> agh… yes… Used this long time ago… I'll repaste
[11:40] <geaden_> https://dpaste.de/RLO2W/
[11:40] <mardraum> ... ?
[11:41] <geaden_> mardraum: what's wrong?
[11:45] <mardraum> I havwe no idea
[11:46] <geaden_> mardraum: ok. Anyway thanks for your time
[11:50] <geaden_> mardraum: I found out and fix the issue. The problem is I wrote wrong pub key in authorized keys. Thanks
[11:53] <mstafa> hi
[11:53] <hallyn_> psivaa: TBH, I'm starting to wonder whether you have hardware troubleson that machine.  You've had weird lxc errors too a few weeks ago that I couldn't reproduce.
[11:54] <mstafa> iam keep getting that error when trying to restart apache2 on my server please help>>>(/etc/init.d/apache2: 51: .: Can't open /etc/apache2/envvars)
[11:54] <mstafa> help please
[11:54] <hallyn_> (asked one in the bug)
[12:00] <mstafa> iam keep getting that error when trying to restart apache2 on my server please help>>>(/etc/init.d/apache2: 51: .: Can't open /etc/apache2/envvars)
[12:08] <psivaa> hallyn_: replied to the question in the bug and there could possibly be issues in the host hw but in this instance, the issue is only with server VMs
[12:09] <psivaa> our desktop smoke tests work fine and do not see this issue. they also run a number of VMs at a particular time
[12:10] <Vec> How difficult is it for a ubuntu-novice to install/properly configure VirtualBox on my ubuntuhost with guest ubuntu? I want to run basic file sharing/printer sharing/backup on the server and ONLY LAMP-stack on the guest VM. Is it pretty straight forward, or does it need a ton of planning?
[12:24] <hallyn_> psivaa-lunch: the desktop systems probably work around it by running network manager
[12:47] <Siebjee> Does any one know where the periodic process 'apt-get dist-upgrade' is comming from ? I've installed the server without automatic-updates. Ubuntu 12.04 LTS
[12:54] <jamespage> zul, adam_g: http://people.canonical.com/~jamespage/ca/grizzly/
[12:54] <zul> jamespage:  +1
[13:06] <psivaa-lunch> hallyn_: ok, i'll try an install a precise host system to see if i can reproduce, but it would help me if someone is able to findout what that hw issue in the host
[13:12] <Free99> hey everyone. I'm working on assembling a NUMA shared-memory HPC system, I'm trying to find documentation on how to properly compile a kernel to facilitate this.. I've found a few things already, but I'd like some more if anyone has any pointers
[13:30] <patdk-wk_> free99, there is no such thing as a numa shared-memory system
[13:30] <patdk-wk_> it is either shared memory, or it's numa
[13:38] <hallyn_> psivaa: i'm installing a saucy server on a laptop so i can try to reproduce here.
[13:39] <psivaa> hallyn_: ack, thank you
[13:45] <hadifarnoud> mysql is shutting down on its own. here is the error log https://gist.github.com/hadifarnoud/0d3366b33872aa7ac8ab  any idea why?
[14:18] <patdk-wk_> hadifarnoud, forget how to read?
[14:18] <patdk-wk_> InnoDB: mmap(137363456 bytes) failed
[14:19] <patdk-wk_> your out of memory
[14:59] <asac> smoser: hey ... do you know whats going on with our daily server dashboard?
[15:00] <smoser> asac, link?
[15:00] <smoser> https://jenkins.qa.ubuntu.com/view/ec2%20AMI%20Testing/view/Overview/
[15:00] <smoser> that is all broken due to test harness failure / breakage
[15:00] <smoser> and clearly needs fixing
[15:01] <asac> smoser: http://reports.qa.ubuntu.com/smokeng/saucy
[15:01] <asac> guess thats the same
[15:01] <asac> can you give me background?
[15:02] <smoser> asac, https://jenkins.qa.ubuntu.com/view/ec2%20AMI%20Testing/view/Overview/job/raring-server-ec2-daily/73/ARCH=i386,REGION=us-east-1,STORAGE=ebs,TEST=simple-user-data,label=ubuntu-server-ec2-testing/console
[15:03] <asac> smoser: so whats the background/reason/current way of thinking? will you fix it?
[15:03] <asac> or who will?
[15:03] <smoser> i suspect that it is  boto change that busted it.... not sure though.
[15:04] <asac> boto?
[15:04] <jdstrand> psivaa: I will be looking at it. I still can't reproduce reliably, though once I say the error
[15:04] <smoser> i'll make sure that this is fixed by end of this week.
[15:04] <smoser> and, asac thanks for caring.
[15:04] <jdstrand> s/say/saw/
[15:07] <smoser> jamespage, ^
[15:07] <smoser> i think thi sis just a issue where console output of the instance through boto is now getting 'None' rather than empty string.
[15:07] <smoser> similar to https://bugs.launchpad.net/ubuntu/+source/euca2ools/+bug/1188602
[15:08] <jamespage> smoser, well that might be a cause for concern but I'm not sure that's what asac is pointing at
[15:09] <asac> smoser: ok... in case it turns out it was caused by something done outside the server team, i want to know about what happened
[15:09] <asac> thanks
[15:09] <asac> jamespage: http://reports.qa.ubuntu.com/smokeng/
[15:10] <psivaa> jdstrand: thanks
[15:11] <asac> thats the "official smoke test page" that i am looking at... thats the place i am tasked to get people (all !=server) to backout the stuff that caused the regression. unfortunately, server images completely failing started when i was on vacation, so i am just catching up :)
[15:11] <asac> jamespage: ^^
[15:26] <disposable> my supermicro server has 2x intel 82576 NICs. when i use them separately, i've no problem with them. when i use them as bond0 in active-backup setup, i get dropped packets (and eventually overruns). This is happening on 3 separate servers. as soon as i detach ethX device from bond0 and the ethX device is set to off, packet loss stops. it doesn't matter which of the two devices i detach. this happens in 12.04 with 3.5 kernel. i have not tes
[15:27] <SpamapS> smoser: is bug 1182265 fixed in saucy yet?
[15:28] <disposable> i don't see e1000e loaded, so i suspect it's using igb module. how do i debug this? i've even compiled 3.9.9 kernel and i still get packet loss
[15:29] <smoser> SpamapS, no. but i will have that end of day i hope.
[15:29] <smoser> you're asking wrt SRU arent you.
[15:30] <SpamapS> smoser: I accepted it, just poking you to make sure you know it needs to be fixed. :)
[15:30] <smoser> SpamapS, thank you. i plan on doing an upload today.
[15:31] <SpamapS> thats cool. I might even have time to do SRU's again next week :)
[15:32] <jamespage> asac, I see hallyn_ has been working on it - hallyn_ : bug 1197484 appears to be generating concern
[15:45] <jamespage> asac, trying to get myself into a position to help re-pro that issue
[15:45] <jamespage> (slow network connection is getting in the way)
[15:54] <genii> Searching repositories for a pastebin application seems to be yielding little result. Is pnopaste the one currently recommended?
[15:59] <asac> jamespage: it seems this started on jul 2
[15:59] <asac> not sure what happened then
[16:11] <fang0654> Anyone know where to tell smbd what network cards signify having a network connection and starting at boot?
[16:12] <fang0654> I have Ubuntu installed as an openvz container, so the network adapter is listed as venet0 instead of eth0
[16:14] <fang0654> nvm, I found it.  /etc/init/smbd.conf
[16:28] <yolanda> jamespage, zul: https://code.launchpad.net/~yolanda.robla/ubuntu/saucy/openldap/server_banner/+merge/173544
[16:47] <psivaa> hallyn_: jdstrand: I was able to reproduce bug #1197484 on my local raring host. Added a comment in the bug with the log file
[16:58] <smoser> hey...
[16:58] <smoser> just thought i'd mention. simplestreams was updated last week in saucy
[16:58] <smoser> now you can do
[16:58] <smoser> http://paste.ubuntu.com/5855907/
[16:59] <smoser> utlemming, ^
[16:59] <smoser> that forms the base of quite a reasonable ubuntu-cloudimg-query replacement
[17:06] <smoser> http://paste.ubuntu.com/5855927/
[17:06] <smoser> prettier
[17:20] <zul> smoser: you need purdy colors next
[18:00] <hallyn_> psivaa: grrr, the utah vm seems to be in a loop re-installing itself again and again
[18:04] <psivaa> hallyn_: that's new, i have run the tests on raring and precise.
[18:17] <hallyn_> jjohansen: sarnold: so if /sbin/dhclient has Urx perm to /sbin/dhclient-script, and /sbin/dhclient-script does #!/bin/bash, and we see a perm denied error message for profile=/sbin/dhclient, file=/bin/bash - did we expect after Urx of /sbin/dhclient-script that profile be called 'unconfined' ?
[18:17] <hallyn_> so it sounds like apparmor simply requires that the interpreter be allowed before a script to which we have Urx which uses that interpreter is allowed
[18:17] <hallyn_> I assume this is a change in apparmor kernel behavior - a reasonable one imo,
[18:17] <hallyn_> but it would require updates of profiles
[18:19] <sarnold> hallyn_: I -expect- that the dhclient-script would execute as "unconfined", and /bin/bash would be executed without any apparmor intervention
[18:20] <sarnold> hallyn_: (well, aa3.0 will make that name configurable, I think -- and it would still be a profile. long story there..)
[18:20] <sarnold> hallyn_: but I _think_ psivaa's bug will require some dedicated time from john, everything I've seen looks like it should work fine
[18:26] <hallyn_> sarnold: ok, thanks.
[18:47] <roaksoax> adam_g: lp:~andreserl/charms/precise/glance/port ok, upgrade works. I guess i could use the restart_on_change thing and would be in a good state
[18:56] <koolhead17> SpamapS, ping
[19:00] <jdstrand> sarnold: for psivaa to become unstuck, we should be able to allow 'r' on /bin/bash though, right?
[19:00] <jdstrand> this bug seems familiar
[19:01]  * jdstrand hasn't been able to play with it yet, but will very soon
[19:01] <sarnold> jdstrand: yes, but .. if the policy is busted enough that it doesn't work, then adding 'r' on bash doesn't necessarily seem like it'll work then, either.
[19:23] <SpamapS> koolhead17: pong, wassup?
[19:24] <koolhead17> SpamapS, good thanks.
[19:41] <resno> if i handed you a vm and said put it on your network, what would check on it before allowing it on your network?
[19:42] <resno> ie) i received a preowned machine, and have no clue about the enviroment its coming to me from. no idea about running packages or configurations
[19:42] <genii> Interesting. mod_log_sql makes pnopaste not run
[19:46] <lenios> you''re not giving enough information resno
[19:47] <resno> lenios: i'm not sure what else to say.
[19:47] <lenios> why would you receive such a thing?
[19:47] <resno> our previous server maintainer and development staff was outsourced. they are closing down, and i am in charge now.
[19:48] <resno> multiple people had access, and installed any number of packages etc
[19:49] <resno> we also had volunteers working on it at one time
[19:50] <lenios> i'd start by getting the list of installed packages and a backup of /etc and /var
[19:50] <lenios> but how comes you don't even know what's supposed to run on it?
[19:51] <resno> nothing has been documented at all
[19:51] <resno> and the admins have changed multiple hands
[19:52] <resno> i know what's supposed to be on them... its the stuff that has crept in over time i fear
[19:52] <resno> lenios: for example, on of the vms i was handed was running 7.10
[19:53] <lenios> what's important is what service is supposed to be on it
[19:54] <lenios> you can list packages to get an idea of what should be installed, if no one installed manually in /usr/local, /opt or somewhere else
[19:59] <lenios> you can also run the vm within a internal network, and watch if services are listening on network with netstat -natp
[19:59] <resno> ok.
[19:59] <resno> i was told that one of the servers may have a vpn installed on it...
[19:59] <resno> origins unknown
[20:00] <resno> so, that'll catch some bits
[20:24] <jdstrand> psivaa: hey, for bug #1197484, do you have the dhcpd/dnsmasq configuration for the server?
[22:10] <jkyle_> when I run /etc/init.d/hostname restart, it outputs this suggestion:
[22:11] <jkyle_> Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the stop(8) and then start(8) utilities e.g. stop hostname ; start hostname. The restart(8) utility is also available.
[22:11] <jkyle_> but, when I attempt to run those commands I get
[22:11] <jkyle_> stop hostname => stop: Unknown instance:
[23:01] <Cetrian> Hi all - installing Ubuntu Server for the first time right now  =]
[23:01] <Cetrian> I'm really impressed with the installer so far - very easy to use and effective. no bloat.
[23:08] <Cetrian> Ah crap - looks like it won't boot with UEFI - anyone know how to work with that?
[23:09] <hadifarnoud> what does this mean? Warning: 91.207.138.61 giving up on port because retransmission cap hit (10).
[23:09] <hadifarnoud> nmap
[23:09] <Cetrian> never mind got it - had to flip UEFI to non-windows mode in BIOS
[23:25] <sarnold> Cetrian: another approach is to use 12.04.2 LTS -- it includes a newer hardware enablement stack, to get UEFI support, newer X drivers, etc.: https://help.ubuntu.com/community/UEFI
[23:32] <Cetrian> ah no worries - it seemed to work when I selected Non-Windows UEFI
[23:34] <sarnold> Cetrian: that's fine, you'll just use the original kernel, X, drivers. nothing wrong with that. :)
[23:38] <Cetrian> I don't understand the objection? Isn't 13.04 better than 12 in this respect? (Just asking :) )
[23:41] <sarnold> Cetrian: 13.04 will not be supported for the same length of time as 12.04 LTS; most people in here probably prefer the longer support to the newer software
[23:42] <sarnold> Cetrian: but of course 13.04 is there if you're alright with a nine-month support window, or want to participate in developing what will eventually become 14.04 LTS  :)
[23:42] <Cetrian> ah gotcha. This is mainly for a home server, so hopefully that won't matter, and I could just upgrade to 14 LTS when it comes out?
[23:43] <sarnold> Cetrian: yes, with the caveat that the 'supported' upgrade path would be 13.04 -> 13.10 -> 14.04.  (skipping versions generally seems to work, but isn't recommended.)
[23:45] <Cetrian> Ah, thanks sarnold!
[23:46] <Cetrian> I am really thrilled with this so far - I feel like a noob again ;)  I've been a Windows Server guy for so long, and it really feels good to give the finger to MS and the NSA :)
[23:46] <Cetrian> I have a server with a GUI serving… nothing yet… but it still feels cool! ;)
[23:47] <sarnold> :D
[23:47] <Cetrian> Full disk encryption, UEFI boot, loving it.  Now I just need to decide if I want to keep using FlexRAID, or if I should go with some other software RAID. (Not looking to do hardware RAID at this stage)
[23:57] <akurilin2> Folks, what's the best location to place secret keys and configuration settings on an ubuntu server for a web application running as www-data to consume? I'm thinking an envdir folder that only root would be able to access when the server starts, but where would I place it?
[23:58] <sarnold> akurilin2: /etc might be appropriate, it's supposed to contain configuration..
[23:59] <akurilin2> sarnold, perfect, I was thinking /etc as well, just wondering if perhaps there was a folder in it that was meant for these situations