=== martins-afk is now known as martinst === martinst is now known as martins-afk === martins-afk is now known as martinst [00:22] n00b bash question. I want to umount the path where a shell script lives, can it copy itself to a temporary location and run from there? [00:22] Or more specifically, how do I make the copy from the original location terminate immediately? === martinst is now known as martins-afk [00:23] I thought throwing a "&" on the end of the call to temp script might work, but it still holds a lock on the original script in the child. [00:26] devilspgd: the 'exec' builtin might be what you need, it replaces the current process with a new process -- which could be /tmp/path/to/copied/shellscript.sh or simimlar [00:26] That sounds like exactly the one, thanks. [00:28] Works like a charm, thanks. I knew I read something somewhere at one point, but I couldn't think of it at the time. [00:30] nice :) === Nigel_ is now known as G === NotADJ is now known as TDJACR === markthomas is now known as markthomas|away === zz_DenBeiren is now known as DenBeiren === akaWolf1 is now known as akaWolf [06:30] would this be the right place to ask about the Orange-Box? [06:31] I have one, and just need to be pointed at some proper documentation on the best way to interact with Juju and Maas === liam_ is now known as Guest72494 [08:00] jjohansen: found anything? [08:00] nilesh: I haven't gotten back to it yet [08:03] nilesh: however the hexdump you provided shows me that the compliled profile has dropped the network rules [08:06] nilesh: so either I am going to have to track down why its dropping those rules, and then maybe be able to provide a work around, OR I am going to have to build you a new parser that doesn't have the issue [08:07] hrmmm, I guess that is a little more than when we talked last [08:17] nilesh: can you provide me the output of [08:17] cat /sys/kernel/security/apparmor/features [08:18] and [08:18] cat /etc/apparmor.d/cache/.features [08:33] Is there a mail server that I can use with ubuntu-server. I was looking at postfix but that requires creation of ubuntu accounts per each email account. I'd rather keep the two seperate as users will never ever login to the ubuntu server and they tend to use less than ideally srong passwords [08:41] White_Cat: there are lots of mail servers http://en.wikipedia.org/wiki/Comparison_of_mail_servers [08:43] well yes [08:43] thats why I am asking for a reccomendation :) [08:43] its more of a taste issue after a certain point [08:43] and I tend to have poor taste in mail servers :p [08:44] export PATH=$PATH:$HOME/vendor/vips/bin and export PATH="$PATH:$HOME/vendor/vips/bin" isn't exactly the same thing? [08:44] ideally I want the mail server to have exchange support [08:48] alex88: no they aren't if either of the $PATH or $HOME variables contain whitespace [08:49] jjohansen: oh awesome, thanks a lot! [09:02] Good morning. [09:38] I got a server that was going to be e-wasted and installed ubuntu-server on it. i've been using it to store my media, however i have a lot of cpu power that is not being used. [09:38] does anyone have any ideas or fun projects that might help me learn more about computing? [09:46] Hello Everyone. [09:46] Hi Rajvi [09:47] What's the easiest & effective procedure to switch between multiple php & apache versions on a LAMP setup? [09:50] ? [09:54] I don't know [09:54] are you upgrading? [09:56] No, I need to use somehow php 4.x & some old Apache version , so what this old program works! [09:58] can't you just run a virtual machine? [10:03] Don't you just need to configure PHP to work with Apache? Which version of PHP? === lifeless_ is now known as lifeless [10:16] Hello all. when I do cat /etc/hosts I get a different listed fqdn then hostname -f [10:17] I realize that something extremely obvious, like I shouldnt be checking /etc/hosts for the fqdn. Could someone help? [10:21] samgoody: if you have changed you hostname previously you need to change it in /etc/hosts too, which you may have forgot to do [10:26] Thanks. [10:27] I changed it once using hostname me.example.com [10:27] And since then have had issues ;) [10:28] Also, whereas before this my hostname was "me", and fqdn was "me.oldomain.com" the new hostname is the same as the hostname -f: me.example.com [10:28] How do I fix that so that hostname should be "me" and only fqdn be "me.example.com" [10:30] samgoody: not too sure on that one, i would just have it the same, are you wanting it different for the bash promt or something? [10:32] No, I just figured it ought to be different since that's what I see in all examples of hostnames online [10:36] samgoody: its based on the /etc/hosts file, so at the top instead of having 127.0.0.1 me you would have 127.0.0.1 me.olddmain.com [10:39] thanks === Lcawte|Away is now known as Lcawte [11:03] does the php_mail function work for anyone? i've been using ubuntu since 9.10 and phpmail has never worked on any of my boxes. is this normal? [11:12] 127.0.0.1 localhost.localdomain localhost [11:12] What does the localhost.localdomain mean [11:12] On the linode tutorial, they suggest: 127.0.0.1 localhost [11:12] Why skip that? [12:33] why is this partition scheme ignored ? it just creates swap and / on vg00 http://pastebin.com/7a3uyXZh === YamakasY_ is now known as YamakasY === Lcawte is now known as Lcawte|Away === Lcawte|Away is now known as Lcawte === martins-afk is now known as martinst [14:36] tinoco, looking at https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1382842 [14:36] Launchpad bug 1382842 in pacemaker "SRU breaks pacemaker in 14.04" [High,In progress] [14:37] the pacemaker binary is tied directly to the binary versions of the libraries it produces? [14:44] jamespage: i fixed one regression yes [14:44] it looks like libraries were not being updated together [14:45] tinoco, erm they are [14:45] tinoco, I'm trying to understand why it breaks [14:45] so there could be a situation when users updated binary without libraries [14:45] tinoco, the ABI is the same upstream version [14:45] so it should not [14:45] jamespage: let me revisit this [14:45] so i can remember proplery [14:45] tinoco, if the pacemaker binary hard depends on exactly the same packaging version, then we should do that in debian/control === jdstrand_ is now known as jdstrand [14:46] i remembered [14:46] version used by Ubuntu did not cause [14:46] dh_makeshlibs to behave properly [14:46] (the string gitXXXX-something) [14:47] https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1368737/comments/17 [14:47] Launchpad bug 1368737 in pacemaker "Pacemaker can seg fault on crm node online/standby" [Undecided,In progress] [14:47] take a look at this comment please [15:02] Is there any way I can only allow a specific list of IP adresses to a specific port on my server? [15:03] TimN: firewall restrictions, or at the application level. [15:04] I don't think it's possible at application level. It's about a Minecraft server. [15:04] TimN: probably individual rules in iptables or ufw to allow from specific IP addresses. [15:04] TimN: then you're stuck using firewall rules [15:05] Okay, so iptables... [15:05] TimN: or ufw [15:05] i use iptables [15:05] `sudo iptables -A INPUT -p tcp --dport MINECRAFTPORT -s IP.AD.DR.ESS -j ACCEPT [15:05] one of each of those for the IP addresses you want to allow [15:05] sudo iptables -A INPUT -p tcp --dport MINECRAFTPORT -j REJECT --reject-with icmp-host-unreachable [15:06] that should ONLY be run as the last rule [15:06] That blocks all others? [15:06] (and that adds a REJECT such that if it doesn't match the other IP addresses, it'll just fail for others [15:06] yep [15:06] Ah. [15:06] that's what the last one there does [15:06] And if I'd want to add another IP later? [15:07] TimN: `sudo iptables -L -n INPUT` [15:07] find the rule which has REJECT as the target [15:07] count where in the ruleset that is [15:07] then: sudo iptables -I INPUT THENUMBER -p tcp --dport MINECRAFTPORT -s IP.AD.DR.ESS -j ACCEPT [15:08] Are those rules placed in a file? [15:08] TimN: no, those are command-line commands you run [15:09] they're not saved unless you save them with `iptables-save > /some/path/`. [15:09] http://dev.bukkit.org/bukkit-plugins/iplist/ [15:09] you can use the iptables-persistent package to help though [15:09] if you use bukkit :/ [15:09] Jhobbs, would be nice if Bukkit was available. ;P [15:15] Teward, does "sudo iptables -I INPUT THENUMBER -p tcp --dport MINECRAFTPORT -s IP.AD.DR.ESS -j ACCEPT" place the rule before THENUMBER or as THENUMBER? [15:23] TimN: it inserts it as THENUMBER and then pushes what was there down one [15:23] so if the REJECT is the 5th rule, then -I INPUT 5 puts your new rule before that 5th rule (the REJECT) as rule #5, and the REJECT moves to rule #6 [15:24] Okay. Nice. [15:24] Thanks for your help. =) === Lcawte is now known as Lcawte|Away [15:50] gnuoy: looking at lp:~gnuoy/ubuntu/vivid/python-logutils/update-to-0.3.3-2, I can't seem to apply fix-_levelNames-vs-_levelToName.patch cleanly. I'm not sure if this is me not handling the bzr branch right though. [15:50] Ah, I see you're on holiday this afternoon. [15:50] I'm out from tomorrow. [15:50] I'll leave it for now. [15:52] gnuoy: looks to me that the patch is right, but it isn't applied in the bzr branch even though .pc/ says it should be or something. [15:52] This is an area where I get very frustrated with UDD and bzr. AIUI, stuff in UDD is supposed to be committed with all quilt patches applied and a corresponding .pc/ set up correctly. [15:52] So the first thing I tried to do was "quilt pop -a" on your branch, which failed. [15:53] OTOH, "quilt pop -a" on lp:ubuntu/python-logutils works [16:24] hi [16:25] i got udp packet [16:25] here is my result from tcpdump [16:25] http://paste.ubuntu.com/9551966/ [16:26] is there any exploit on rpcbind or rpc.stat [16:26] ? [16:26] please need your help :) thanks [16:27] fandi: those look like DNS requests and responses... but without me dumping that into wireshark i can'tbe certain of that. [16:29] teward: yups it's query unavailable domain A? lzj.passwd1.com. [16:29] teward: i never found like this, and only rcpbind, rpc.stat which running with proto udp [16:30] fandi: looks like something on your system is triggering those queries, but from a simple packet log you won't find out what's issuing those requests on your system [16:30] unless it's whatever's running on rpc [16:31] teward: is possible to try stop rpc ? === markthomas|away is now known as markthomas [16:49] i have configure a network with openvswitch i am faceing two issuses ,1 )how do i fix ifconfig eth0 to ipaddress 0.0.0.0 after bridge is configure (i am using ovs version 2.0.2 with vlan [17:22] jamespage: talking about LP: #1382842, fix is on LP: #1368737 [17:22] jamespage: could u sponsor that ? [17:22] bug 1368737 [17:22] Launchpad bug 1368737 in pacemaker "Pacemaker can seg fault on crm node online/standby" [Undecided,In progress] https://launchpad.net/bugs/1368737 [17:22] bug 1382842 [17:22] Launchpad bug 1382842 in hacluster "SRU breaks pacemaker in 14.04" [High,In progress] https://launchpad.net/bugs/1382842 [17:22] tinoco, that last one was the one I had query over [17:23] yep [17:23] just talked with dosaboy [17:23] it seems that they might have a temporary fix into a charm [17:23] because apt-get update might misbehave [17:23] tinoco, I was unclear as to why pacemaker requires an exact package version match with its associated libs [17:23] tinoco, there is a charm bug and dosaboy has a fix for that which will help things [17:23] 1368737 -> #16 and #17 [17:23] tinoco, but I'm not 100% happy with the fix approach [17:24] jamespage: u think changing version would be better ? [17:24] no [17:24] tinoco, I just don't see why the mismatch causes this error [17:24] because of latest fix (-updated) [17:24] libraries have to be at the same version [17:25] orelse you get: [17:25] Oct 18 20:54:16 saturn crmd[23424]: warning: do_lrm_control: Failed to sign on to the LRM 2 (30 max) times [17:25] oh right I see [17:25] in which case that's not the right fix [17:25] pacemaker should be depending explicitly in d/control on a matching binary version [17:26] which will force the upgrade [17:26] making shlibs depend on a packaging version is not a good idea [17:26] tinoco, leave this with me - I need to sortout vivid first and the packaging is awkward [17:27] jamespage: ok. let me know if you need me to change anything for you [17:27] tks james ;) [17:27] tinoco, np [17:27] jamespage: i was also talking with arges about proposing 1.1.12 into sid (mid jan) [17:27] and bringing the new version to ubuntu also.. 1.1.12 has lots of bug fixes [17:27] tinoco, yeah maybe [17:27] that would be good for us (a lot) [17:27] tinoco, I've been working on 1.1.12 for vivid === martinst is now known as martins-afk [17:28] perfect :) [17:28] so i´ll leave it with you tks again [17:28] tinoco, but I might chicken out and do 1.1.11 for now [17:28] ok.. i´ll propose 1.1.12 to debian-ha [17:28] and see what they come up with [17:36] I'm getting the following error when trying to add a gpg key to a precise server: keyserver timed out [17:36] I thought it might be due to port 11371 being blocked, but nmap -p 11371 keyserver.ubuntu.com shows the port as open [17:36] and Ihave no firewall on this machine [17:37] you could try a different key server [17:38] well, I can. but this is for some automated scripts. so is keyserver.ubuntu.com unreliable in some way? Is there a more reliable keyserver I should use? [17:40] that I dont know [17:51] jkyle: yes, keyserver.ubuntu.com is unreliable. I'd recommend pool.sks-keyservers.net === bilde2910 is now known as bilde2910|away === martins-afk is now known as martinst [18:27] rww: how did you conclude keyserver.ubuntu.com is unreliable? is there a known problem? [18:28] pmatulis: because half the time I make requests to it it fails [18:29] and the response I got from someone (forget who) was "yeah, that's a thing" basically === bilde2910|away is now known as bilde2910 [18:42] rww: alright, thx [18:44] Hey chaps. Having issues authenticating to my freeipa server from ubuntu 14.10 server. I can authenticate from 14.04 desktop and 14.04 server though. Anyone have any ideas please? [18:45] alias_neo: any errors or warnings on either the client or the server? [18:45] The server doesn't complain, but I've got the sssd logging on high on the client, there's quite a lot of stuff, nothing that stands out to me (but I'm an sssd/ipa noob) [18:46] I@m just about to compare it with the sssd log of a working client === Lcawte|Away is now known as Lcawte [18:54] I see this in the broken server log just before it all goes wrong: No ccache file for user [] found. [18:55] alias_neo: interesting... what's a ccache file in the context of freeipa? :) [18:55] Not entirely sure but I believe it's to do with sssd caching credentials [18:56] aha, so not a caching c compiler >:-> [18:56] hehe no [18:56] any partman pro's in here ? [18:57] man it's giving me a hard time === Lcawte is now known as Lcawte|Away === chmurifree is now known as chmuri [19:51] can someone point me to the best guide to installing a gnome desktop environment on ubuntu server 14.10? [19:55] proq: "apt-get install tasksel; tasksel install ubuntu-gnome-desktop" should do the trick [19:56] thanks [19:56] Mind you, this will pull in everything as if you selected "GNOME desktop" during the installation === martinst is now known as martins-afk [20:19] zul, We can you check if we can sync python-tornado now? upstream says it was fixed by our current pycurl. https://github.com/tornadoweb/tornado/issues/671 [20:28] which channel do I need for partman help ? [21:01] YamakasY: try #ubuntu-installer [21:02] pmatulis: yeah that channel seems to be dead [21:04] YamakasY: it's definitely not a "hot" channel but i wouldn't call it dead [21:04] YamakasY: maybe a mailing list is more appropriate [21:06] pmatulis: yeah got some help months ago... good idea === mwhudson_ is now known as mwhudson === Lcawte|Away is now known as Lcawte === sync0new is now known as sync0pate === bilde2910 is now known as bilde2910|away [22:21] if you have multiple interfaces, and only one has the gateway line, will that always be set as the default gateway in the routing table? [22:23] I have a bridge (virbr1) that sets a specific route via postup, and a tagged vlan, which is supposed to have the default route (set using gateway in interfaces file), but it's using the virbr1's route as default, and the tagged vlans as specific. I think [22:28] s/specific/static/ [22:28] But you know what I mean. Ihope. === Lcawte is now known as Lcawte|Away