/srv/irclogs.ubuntu.com/2017/07/17/#ubuntu-server.txt

=== JanC_ is now known as JanC
vbotkahehehe, FWIW, https://serverfault.com/questions/702945/rsyslog-local-and-remote-logging04:50
cpaelzergood monring05:29
cpaelzermorning even05:30
lordievaderGood morning09:46
soahcccHey, could someone with iptable knowledge help me out here and tell me what I am supposed to enter in the last line? I can't quite tell what to put in for the placeholders and I don't want to mess this up. https://unix.stackexchange.com/a/21111012:51
lordievadersoahccc_:  The {{ROUTE_SOURCE}} should be replaced with the NATted network, the interface is the outgoing interface,  and the route target the outside/public ip.12:57
soahccclordievader: Thank you :) I was on the wrong track then. But this seems to work. I now have to figure out how to run a process without root :/13:02
lordievadersoahccc_: What do you mean? Running it as a user doesn't do the trick?13:03
soahcccWell I can't run it as non-root "setting the network namespace "eth0_a_ns" failed: Operation not permitted"13:03
lordievaderIt makes sense to make network config root only. You don't want some random user be able to change the entire network config.13:04
soahcccBut I tested it with root and I think this solution doesn't even fix my actual problem. The thing is that I try to get a program running and it works on a different server but on mine it has network problems. I assumed it can't handle multiple IPs on eth0 but I guess I was wrong all along13:04
soahccclordievader: yeah makes sense but I just want to use it there no?13:05
lordievaderWhat it the error of the program?13:05
soahccclordievader: it's mono so I guess you will just puke here :D https://gist.github.com/2called-chaos/e8d8f5629cad20c0cc43b989933088d313:06
soahcccI have two ubuntu 16.04 and it works on the one with one IP so I just have to assume thats it right?13:06
lordievader`Error -14 EFAULT bad address in system call argument` doesn't sound like the multiple IPs is the problem.13:08
lordievaderI have no idea what it (probably the kernel) thinks is a bad address though...13:08
soahcccThe program unfortunately doesn't have an bind option (just port). I compiled mono the same way on both systems and they both run on the same kernel (4.4.0-83)13:09
soahcccSo my guess is, it tries to magically detect the IP and it fails when I have secondary addresses. I mean I _could_ try to remove the secondaries for a test but that would kill all my services :D13:10
soahccclordievader: okay I tried to ifdown all eth0:* secondaries and it indeed doesn't change a thing. Do you have any other idea? I compared "ip addr show" on both servers and they were the same essentially. The only thing is that I upgraded this one (where it doesn't work) from 12.04 and it's an older installation whereas the other server was recently installed with 16.04. I have no idea what could have broken there13:22
lordievaderSame size of subnet too?13:23
soahcccOh actually its /26 vs /2713:24
lordievaderNot that that should matter...13:24
Steve[cloud]good morning folks13:54
Steve[cloud]I'm having an issue with a networking bridge, and I'm not seeing much info on the net about it13:54
Steve[cloud]basically I'm attempting to run a bridge almost like a "hub"13:55
Steve[cloud]all the traffic from the incoming span port is replicated to all of the veths attached to it13:55
Steve[cloud]unfortunately, even after setting the ageing on the bridge to 0 (which should turn off mac learning) im still only getting broadcast traffic ont he veth13:57
Steve[cloud]I know im getting everything on the interface, as running tcpdump on the bridge or the int directly works as expected, but not when sniffing fromt he veth13:58
lordievaderNot sure if the bridge module can be forced to work as a hub...13:59
Steve[cloud]lordievader: I did get it to initially work13:59
Steve[cloud]then it just...stopped13:59
Steve[cloud]no config changes13:59
Steve[cloud]lordievader: I had followed this: http://ask.xmodulo.com/disable-mac-learning-linux-bridge.html14:00
lordievader[1] seems to go a bit more in depth. [1] http://www.programering.com/a/MDN4QzNwATk.html14:01
Steve[cloud]lordievader: yeah the 4 steps mentioned in the beginning is what im trying to accomplish14:08
Steve[cloud]directionality issues arent a concern as the phys is connected to a mirror on the cisco switch14:08
lordievaderDid you do the xt_TEE steps too>14:11
lordievader?14:11
Steve[cloud]oh man....thats hard to read14:19
zioprotocoreycb: I got the notification to test the stable package for python-cinderclient https://bugs.launchpad.net/python-novaclient/+bug/155907214:32
ubottuLaunchpad bug 1559072 in Ubuntu Cloud Archive newton "[SRU] exceptions.from_response with webob 1.6.0 results in "AttributeError: 'unicode' object has no attribute 'get'"" [High,In progress]14:32
zioprotocoreycb: but this Xenial package is for Mitaka if I understand correctly14:33
zioprotoMitaka I cant really test, because I have eveything in newton14:33
zioprotoIs a Newton package for the Ubuntu Cloud archive for Xenial also going to be released ?14:33
coreycbzioproto: yes there's a newton package, and thanks for the reminder needs to be promoted to -proposed.14:39
coreycbjamespage: beisner_ : when you have a sec, can you promote python-cinderclient 1:1.9.0-0ubuntu1~cloud2 to newton-proposed?14:40
jamespagecoreycb: on my list15:05
coreycbjamespage: thx15:06
jamespagecoreycb: done15:17
coreycbjamespage: thanks.  zioproto: python-cinderclient that should be available shortly in newton-proposed.15:18
eatingthenightQuick question, ubuntu 14.04 rsyslog package writes as the user syslog:adm but the logrotate file included with the rsyslog package doesn't set the user properly so after a rotate rsyslog can't write15:20
eatingthenightI know I can add the create entry... but this seems like a bug in the package or am I missing something?15:20
eatingthenighti purged and reinstalled the package as well to make sure it wasn't some local change I made in the past that messed up the rsyslog confs15:21
vimartHi15:47
zulcoreycb: btw I added a fix to mistral on Friday thought you should be aware of it16:39
zuljamespage: ^^^16:39
coreycbzul: ack thanks16:41
ahasenackdoes anybody know what this error means or what causes it:17:48
ahasenackDpkg: WARNING: Can not find the file name list file for the package update-manager, assuming that the package does not currently have any files installed in the system.17:48
ahasenackthe actual package doesn't matter, this is being said about basically all of them17:48
ahasenacknot my system, it's in a bug report17:48
=== Epx998_ is now known as Epx998
sarnoldahasenack: sounds like someone went crazy with rm around /var/lib/dpkg/info/ to try to save space, or their filesystems aren't mounted properly, or btrfs ate their lunch or something18:05
ahasenackare these the *.list files in there?18:05
sarnoldyeah18:06
DammitJimso, I have edited my ubuntu servers to NOT automatically do security updates20:17
DammitJimone of the reasons I did that was because the /boot partition was getting full (sometimes we don't patch a server for  6 months)20:18
DammitJimshould I have a larger /boot partition?20:18
DammitJimor is it OK to just disable security updates?20:18
tomreynDammitJim: you should just reboot occasionally, and, of course, patch20:18
tomreynonce every 6 months is not enough20:19
tomreyndaily is sometimes not enough20:19
DammitJimoh gosh20:19
sarnoldDammitJim: how large is that /boot ? I thought newer systems took care of it well for you20:20
tomreynbut whether or not you patch and reboot, /boot should not normally store more than 3 kernel images20:20
DammitJim236M20:20
geniiDammitJim: Might want to read https://help.ubuntu.com/community/RemoveOldKernels#Configure_Unattended_Upgrades_to_Remove_Unneeded_Kernels_Automatically20:20
tomreyndoh thats tiny20:20
sarnoldthat's kind of tiny but it ought to be able to handle three, right?20:20
DammitJimoh, it can handle 320:21
DammitJimproblem is when we don't patch often20:21
DammitJimand it's just not possible to test everything for the amount of servers we would need to patch every month for example20:21
DammitJimI don't have those resources20:21
tomreynjust install patrches automatically and reboot on kernel updates20:22
sarnoldDammitJim: btw https://usn.ubuntu.com/usn/usn-3353-2/20:22
DammitJimthanks sarnold I'm patching as we speak20:23
DammitJimand have resources allocated to test20:23
DammitJimtomreyn, things don't work like that in my company20:23
DammitJimit takes a LOT of work to get patching done... all apps have to be tested because of bad expriences they've had in the past20:24
tomreynthat's a pity. security patches don't normally break stuff.20:24
sarnoldwhile we go to great lengths to test our fixes before releasing them, our tests can't cover everything20:24
DammitJimthat's what said, but can't change that rule at the moment20:24
sarnoldregressions are a fact of life :(20:24
DammitJimsarnold, agree20:24
DammitJimI wish I could let the systems just do their thing and walk away...20:26
sarnoldnormally the places that want to test updates before installing them have infrastructures in place to do so cheaply20:26
DammitJimoh, we have virtual labs20:26
DammitJimand every time a server is tested, the test team has to spend time there20:27
sarnoldwith tests that the ycan run on the software important to them, so it might take ten minutes to deploy a new system, then install updates, then run for a few horus or day to make sure the applications still work, then they can roll out across the larger infrastructure20:27
=== Guest85396 is now known as lordievader
=== Epx998_ is now known as Epx998
hehehesarnold: do u use nginx?23:04
heheheI cant compile darn thing with modsecurity - it does not like some flag in compilation23:04
sarnoldhehehe: I do23:04
hehehesarnold I am getting erro23:06
hehehegoing to pastebin it23:06
hehehehttps://pastebin.com/H5895e1E23:07
sarnoldhehehe: see if this is the issue https://bugs.launchpad.net/nginx/+bug/165759623:09
ubottuLaunchpad bug 1657596 in Nginx stable "[PPA] fPIE/fPIC build problems" [Critical,Fix released]23:09
heheheyes I read it23:10
heheheits fixed in ppa but I compile from scratch23:11
heheheso I need to find tomas fix?23:11
heheheis there easy way to list default cflags?23:18
hehehesarnold: it may well be the issue23:25
hehehebut how do I tell compiler where those flags are?23:25
sarnoldhehehe: you call make with whatever flags you need23:27
heheheyes23:27
heheheI just wonder whats up23:28
hehehesarnold: are you using nginx stable?23:28
heheheand if yes how did you compiled it with modsec?23:28
hehehethe configure options23:29
heheheI did compile it with just modsec module it does work23:29
sarnoldhehehe: 'apt-get install nginx-light"23:30
sarnolddone and done :)23:30
heheheeee23:30
hehehewhat is nginx light?23:30
hehehesarnold: why light23:31
heheheit does not have full blown options23:31
heheheand it does not have modsecurity there23:32
heheheor does it?23:32
sarnoldhehehe: because after reading the sources in the package I asked teward to make it easy to install only things directly from the nginx crew, and then put -that- package in main, and leave the packages with non-nginx-sources in universe.23:33
hehehe:)23:33
hehehesarnold: well I am not using nginx from ppa Iam compiling it from scratch23:35
hehehenginx from ppa does not come with modsecurity as you said23:35
heheheso how did you compiled nginx with modsecurity? :)23:36
heheheI compiled ubuntu into mac os :) yep just rewrote kernel on weekend23:49
heheheas if23:49
Epx998boss just asked me to build a centos7 unattended, something is afoot23:49
sarnoldEpx998: oh so -now- they want to run latest releases..:)23:52
Epx998sarnold: for some other team I think23:52
Epx998netboot failed miserably tho so yeah23:52
hehehe:)))23:57
hehehefolks how do you use ossec?23:57
hehehesome neat active responce rules to be aware of?23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!