[01:15] Hai, I'm new to networking and I'm curious about setting up a mail server with my Ubuntu server [01:15] Can anyone assist me? [01:27] omfgitsasalmon: in the past I have used sendmail as the MTA [01:27] what exactly are you trying to accomplish? [01:42] fraq: my server can't send email using PHP [01:42] I tried following tutorials but none of them work. Is it because I'm hosting it on a domestic network? [01:43] what tutorials have you tried? [01:43] bear in mind, I'm no expert at this. I just built a sendmail server as part of a larder experiment [01:43] *larger [01:56] Your isp could be blocking smtp === RaptorJesus_ is now known as RaptorJesus === RaptorJesus_ is now known as RaptorJesus === RaptorJesus_ is now known as RaptorJesus === soren_ is now known as soren [10:03] Is ntpd running enough to have the clock adjusted? I changed the time on a machine to see it in action and I'm not seeing ntp fixing it. [10:05] pastebin ntpq -p [10:07] mardraum: https://gist.github.com/pupeno/9737576 [10:07] Pupeno: IIRC ntpd refuses to change the time by more than a few hours by default in case that breaks things. It also slews the clock slowly; you'll need to wait a day or two to see it come into sync again anyway. [10:08] I just want to make sure it's working since I change it to bind only lo. It shouldn't stop it from working, but just in case. Is there a way for me to do it? I can't find any logs that say "hey! clock is wrong, slowly fixing it." or sosmething like that. [10:08] what rbasak says is 100%. Thought from your output you don't seem to be able to reach any ntp servers. [10:08] though* [10:09] bind only lo why? are you expecting to NAT it out from localhost? [10:10] mardraum: I just don't want ntp to be reachable by anybody (as a server), I'm just running it to keep the clocks synced. [10:10] firewall it then? [10:11] mardraum: I'll firewall it too, but I prefer to have a close configuration as well for all services. [10:12] So, apparently I have to bind it to public IPs for it to reach ntp servers. [10:12] Why is that? [10:15] Pupeno, you could just run ntpdate by a cron job once a day instead ... that saves you from having to run a daemon [10:15] are you expecting to NAT it from localhost? [10:15] mardraum: no. [10:15] then how could it possibly route to the public internet [10:18] mardraum: I'm not familiar with the NTP protocol, maybe it has some callback mechanism I'm not aware of, but my server doesn't need to bind 0.0.0.0:25 in order for it to open connections to port 25 in other servers and deliver email. I was expecting ntpd to open connections to my time servers without having to bind and listen in port 123. [10:18] I'm not having a go at you. At least you didn't claim you hadn't made any changes and then fess up an hour later you made it only run on lo [10:19] I'm fine with ntp using other interfaces, I just don't want it to listen on them. The same way postfix is not listening on eth0, but it's using it to reach the Intenet. [10:19] you run a MTA on localhost only that works fine sending and receiving mail? [10:19] to internet hosts [10:20] mardraum: there's an MTA running listening only on 127.0.0.0:25 that routes email to the internet, yes. [10:20] I meant lo, port 25. [10:21] cool, you must have some translation happening [10:21] mardraum: nope. [10:21] perhaps NTP just refuses to work like that. I've never tried [10:21] nope? [10:21] pastebin some mail logs [10:22] mardraum: you don't need to listen on port 80 to connect to port 80. My browser doesn't listen on port 80 and connects to port 80 of any server out there. [10:22] I never suggested that it did? [10:22] browser will always use a high port anyway, but we are off topic [10:23] Well, so does postfix. [10:23] your 127 address is not valid on the internet. If it can send email to an internet host, something is translating the address. [10:23] But also, they open the port to connect, not to listen, which is different. [10:24] mardraum: no, nobody is doing NAT. You don't need to do NAT. Program X talks to postifx on 127.0.0.1:25, postfix stores the email, then opens a random high port to connect to whatever:25 and delivers said email. [10:25] a random high port on an interface it doesn't listen on? [10:25] mardraum: yes. [10:25] That's how TCP/IP works. [10:25] TCP/IP specifies interfaces now? [10:26] your postfix config would allow this to happen. [10:26] mardraum: no, TCP/IP specifies that you open a local port on a local IP to connect to a remote IP on a remote port. [10:26] why you expect ntp to work the same I don't really know [10:27] mardraum: because that's how most tcp/ip clients work. [10:27] guess you found the only one in the world that doesn't then? [10:28] mardraum: well, I have no proof one way or another, I will not just assume that I found an exception only because something I expected didn't happen. I need more information. [10:56] lamont: any news on bug 1288823 please? [10:56] Launchpad bug 1288823 in bind9 "Trusty bind9 RRL " [High,Triaged] https://launchpad.net/bugs/1288823 [12:42] rbasak: let me get that uploaded [12:45] lamont: thanks! [12:59] jamespage: when you get a chance https://code.launchpad.net/~zulcss/nova/2013.1.5/+merge/212214 [13:09] jamespage: fixed === cmagina-away is now known as cmagina === Haven|Weekend is now known as Havenstance [13:12] zul, +1 [13:13] jamespage: thanks [13:13] jamespage: ill double check the changelogs and start uploading in a couple of minutes [13:14] jamespage: forgot one from friday https://code.launchpad.net/~zulcss/neutron/2013.1.5/+merge/212226 [13:14] zul, double space in changelog [13:15] jamespage: fixed [13:15] zul, +1 [13:17] zul, we need to ditch the distro tasks on https://bugs.launchpad.net/nova/+bug/1295674 [13:17] Launchpad bug 1295674 in nova "Meta bug for tracking Openstack 2013.1.5 Stable Update" [Undecided,New] [13:18] and just have one for Cloud-Archive === cmagina is now known as cmagina-away === cmagina-away is now known as cmagina [13:31] coreycb: lemme know when you are done [13:31] zul, wil do [13:37] zul, jamespage: https://code.launchpad.net/~corey.bryant/cinder/2013.1.5/+merge/212217 [13:39] coreycb: -1 [13:41] zul, should I drop all the "pin" change logs? [13:41] zul, for glance and horizon [13:41] coreycb: the non user facing ones so like sphinx yes [13:42] zul, ok [13:43] zul, I also noticed the logs are in reverse order vs the tracking branches in case that makes a difference [13:43] coreycb: ye [13:57] zul, cinder is ready for re-review [13:58] ack [13:59] Corey: +1 from me === caribou_ is now known as caribou === RoyK is now known as RoyK^_^ [14:02] zul, thanks jamespage ^ [14:02] zul, jamespage: glance https://code.launchpad.net/~corey.bryant/glance/2013.1.5/+merge/212423 [14:03] coreycb: i thought we were going to skip glance [14:03] coreycb, skip it [14:03] the upstream changes are nullified by my patch [14:03] zul, jamespage: that's right, forgot about that [14:03] coreycb, hey - np :) [14:03] :) [14:08] zul, jamespage : horizon https://code.launchpad.net/~corey.bryant/horizon/2013.1.5/+merge/212225 [14:14] coreycb, I think the final commit is e6a4653 not b14debc [14:15] jamespage, ok that is probably the similar case for cinder too [14:16] zul: ^ [14:17] coreycb: arrgh [14:18] zul, jamespage : I pushed horizon again [14:19] coreycb: ill fix up cinder [14:19] zul, I'm ready to push if it's easier [14:19] coreycb: sure [14:19] zul: pushed [14:21] coreycb: thanks [14:28] jamespage, when you get a second: https://code.launchpad.net/~corey.bryant/charm-helpers/1294140/+merge/212430 [14:36] coreycb, commented === mist__ is now known as mist [14:40] smb, I'm going to propose we backport the current iscsitarget to 12.04,12.10 and 13.10 [14:40] so we don't have todo this again for the 3.13 kernel [14:41] jamespage, thanks, responded [14:42] jamespage, Guess that works for me. So I could close my tracking bug and you can drive the other. If you have a bug number I can refer to in my report, just let me know. [14:43] smb, lets just do it under bug 1262712 [14:43] Launchpad bug 1262712 in iscsitarget "[SRU] Backport iscsitarget 1.4.20.3+svn490 into Precise" [High,Triaged] https://launchpad.net/bugs/1262712 [14:44] jamespage, NAK, that is just plain confusing [14:44] smb, why? [14:46] jamespage, The current iscsitarget for me is 1.4.20.3+svn499-0ubuntu1 orin at least 496. This is not what the original tracking bug was for. And then we got some stuff in the comments from the old request and some from the new one [14:49] smb, ? [14:49] I'm a bit confused [14:50] the original bug for for +490 - upstream trunk (as I just uploaded to 14.04) is only 9 commits on from that === roaksoax_ is now known as roaksoax [14:51] The tracking bug was opened to push the S version of it into older releases. Now you want to push the T version. It may only be a few commits but it is a different version and to be honest for me that is a new request. [14:58] jamespage/coreycb: cinder and horizon uploaed [14:58] zul, thanks [15:13] jamespage: https://code.launchpad.net/~zulcss/keystone/2013.1.5/+merge/212232 [15:42] jamespage: im dealing with kazoo right now === cmagina is now known as cmagina-away [15:51] Is plymouth anyway useful on server ? i see several plymouth entries in the processes listing .. [15:56] zul, ack [15:57] zul, niggle on the keystone MP - other than that +1 === cmagina-away is now known as cmagina [16:00] raj__: http://web.dodds.net/~vorlon/wiki/blog/Plymouth_is_not_a_bootsplash/ provides a good explanation of why plymouth is also useful for server. === rcj` is now known as rcj [16:17] Hi im trying to make upstart pre-stop stanza to sleep for x seconds before sending the sigkill but it seems that upstart doesnt accept it and kill imiddiately [16:17] http://pastebin.com/2ruUqdav [16:18] any idea how to wait before upstart do sigkill [16:18] jamespage: fixed [16:21] railsraider: 'kill timeout SECONDS' - see init(5). [16:21] i tried that [16:24] zul, +1 [16:25] jamespage: well need the new oslo.rootwrap as well (#1081795) [16:26] railsraider: looks like your problem is "exec". What's inside a "... script" stanza in an upstart job is just normal shell. [16:26] seems like upstart ignores my sleep command and the kill timeout is how long to wait after sigterm to send sigkill [16:26] railsraider: in shell, lines after a successful "exec" will never execute. [16:27] railsraider: I don't know why you had "exec" there, in the first place, but try dropping it. [16:27] rbasak: i have to make sure the processes exit gracefully how would i achive that [16:28] thanks im trying that now [16:31] rbasak: thanks so much worked on this all day i simply copy pasted the line from the script section [16:31] it works now === mjohnson15_2 is now known as mjohnson15 === cmagina is now known as cmagina-away === NomadJim_ is now known as NomadJim === cmagina-away is now known as cmagina [17:12] hallyn, seeing some lxc oddness in the OpenStack CI lab - "lxc-start: command get_cgroup failed to receive response" [17:12] that's coming from lxc machines that juju is trying to start on one of the servers [17:14] jamespage: do you have any more info from syslog, auth.log, or a container.log? [17:16] hallyn, syslog, auth.log - nothing [17:16] where do I find container.log? [17:19] QUESTION (cross-post): Can't boot on freshly installed 12.04.4 64bit. Got multiple CPU soft lockup messages. Could someone point me how to boot in verbose/debug mode to figure out what's going on? [17:21] !crosspost|vlad_starkov [17:21] vlad_starkov: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. [17:23] rbasak: Yep. For that I market question as "cross-post" [17:24] jamespage: you can check /var/log/lxc/ .. it depends where juju is directing it to put them [17:24] jamespage: can you try createing and starting a contaienr by hand, see if htat fails too? [17:25] hallyn, http://paste.ubuntu.com/7147289/ [17:27] jamespage: oh, i think that's a knwon bug in apparmor today. tyhicks was assigned one [17:27] hallyn, OK - so long as someone knows :-) [17:27] probably bug 1296459 [17:27] Launchpad bug 1296459 in apparmor "Upgrade from 2.8.0-0ubuntu38 to 2.8.95~2430-0ubuntu2 breaks LXC containers" [Critical,New] https://launchpad.net/bugs/1296459 [17:27] hallyn, that is latest everything [17:27] jamespage: yeah try downgrading apparmor [17:31] hallyn, jamespage: fyi, tyhicks is assigned and knows the cause. he is working on a fix now [17:31] ack [17:32] cool, thx [17:51] do nested containers need trusty kernel? [17:53] hazmat: you can do nested lxcs pre-trusty with root [17:57] just add lxc.aa_profile = lxc-container-default-with-nesting to your /var/lib/lxc//config [17:58] lutostag, thank you [18:01] hazmat: np :) [18:22] hallyn/smb: libvirt xl fails to start because there wasnt a /var/log/libvirt/libxl/libxl-driver.log btw [18:37] zul: meaning if the .log file doesn't exist, libvirt xl won't start? it opens without O_CREAT ? [18:48] hallyn: yeah the directory is missing from the libvirt-bin.dirs [19:03] zul: pushing a new package to fix that? [19:04] hallyn: yeah [19:04] hallyn: do you have anything else? [19:10] smb: do you have any documentation on libvirt and xl? [19:17] zul: oh, sorry, no i don't [19:17] hallyn: ack [19:18] hallyn: ok uploaded [19:39] hi. do you know anyone know a good tutorial about security nginx ?? === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === FreezingAlt is now known as FreezingCold === cmagina is now known as cmagina-away === cmagina-away is now known as cmagina [22:07] hallyn: congratulations on core-dev :) === ajmitch_ is now known as ajmitch [22:09] hallyn: when I run 'lxc-start', does that immediately put the container into STARTING mode? [22:11] I have an "lxc-wait -n ubuntu-local-machine-1 -s RUNNING|STOPPED" running after the lxc-start and it returns immediately [22:11] and lxc-info says stopped [22:11] but 8s later, it is started [22:22] hi all === cmagina is now known as cmagina-away === cmagina-away is now known as cmagina [22:39] whats the word on using these arm devices for bare metal servers in maas [22:42] Valduare: I'd say "no" to pandaboards, my personal pandaboard hangs often; they fell over often when we used them for builders, too [22:43] Valduare: I hope you're talking about real servers though :) I suspect they'd be quite a lot nicer. [22:43] I havnt used a panda board myself [22:43] I have a few mk808 devices that have been real solid [22:44] but these mk902 have rj45 and quad core [22:45] sarnold: anyways just wondering if I can get them under maas to play with [22:46] Valduare: try asking in #maas -- the little I've played with it, it looks pretty flexible, if you can figure some way to remotely power them on and off.. [22:47] half a watt idle, they could stay on :P [22:47] niiiiice === cmagina is now known as cmagina-away [23:15] thumper: yes, lxc calls it started when init has started [23:16] thumper: you're probably interested in bug 1266808. [23:16] Launchpad bug 1266808 in lxc "No mechanism to wait until a started container is ready and has finished booting" [Wishlist,Triaged] https://launchpad.net/bugs/1266808 [23:44] I did an aptitude install mediawiki and uncommented out the Alias line in /etc/mediawiki/apache.conf. Then I did a a2enconf mediawiki. Then I restarted apache2 services. It complains about permissions when I try and visit the site. :( The www-data user and group has read permissions. The error in the log says "client denied by server configuration" [23:46] #maas is dead channel tonight.. [23:48] My pc won't read my flashdrives but the system will recognize it, anybody know why? [23:50] blottoface: that could be the server configured to deny or not allow based on IP address, or any other number of reasons.. it'd be nice if it could tell you -why- it was denied... [23:51] Rallyball: perhaps they are formatted with a filesystem your kernel can't read? [23:51] Yes, that's probably it, thanks. [23:52] Do most flashdrives load a default file system depending on the OS? [23:52] Or is there something I have to do to load them from the pc? [23:53] In other words, are most flash drives compatible with Linux? [23:53] Rallyball: most flash drives come formatted with vfat, because it is the only filesystem that mac os x and windows have in common [23:54] (vfat more or less equals fat32..) [23:54] That makes sense. [23:54] How do I format it to accept linux files? [23:54] Rallyball: mke2fs on the /dev/whatever block file [23:55] Ok, thanks. [23:55] Rallyball: if it is partitioned you may wish to change the filesystem type tag in the partition table using fdisk or gdisk [23:56] Yes but I will need to dump the data first.