/srv/irclogs.ubuntu.com/2019/08/19/#ubuntu-server.txt

mmercerhey guys, im working on repackaging python-pi, since the version in ubuntu16 has a few errors, i just want to patch that version and increment the minor string, but i cant find any documentation on how to do this00:39
mmercerive used apt-get source to get the source file, ive used dpkg-source but i cant figure out how to actually change the version number before recompiling00:45
mmercernvm, figured it out01:18
Triffid_Hunterhi, how do I stop networkmanager changing the metric on my routes, or at least tell it what metric it should use?06:24
Triffid_Hunteroh actually it seems to be systemd-networkd06:26
=== jelly-home is now known as jelly
=== Ussat-1 is now known as Ussat
cpaelzerahasenack: why does libpmemobj-cpp need the  libpmemobj-dev dependency to be versioned?14:50
cpaelzerI see that debian didn't take the change that you had, but took all others14:50
ahasenackcpaelzer: readme says it should work with >= 1.4 or 1.5, iirc14:50
ahasenackbut then why is the build-depends on 1.614:51
cpaelzerand I wondered as I have seen other packages with versioned build-depends but non-versioned depends on the -dev package14:51
ahasenackso I added that same depends14:51
ahasenackthis is existing delta, btw14:51
cpaelzerI know14:51
cpaelzerI jstu wondered this being the last that is elft if it could be a sync14:51
ahasenackI think this stuff is still a bit experimental14:52
ahasenackbut I could drop it next time14:52
cpaelzeroh yeah it seems that way14:52
cpaelzerwell, you could upgrade from Bionic and update one, but not the other without your change14:52
cpaelzerso I see some (minor) reson to keep it14:52
cpaelzerthanks for talking about it, I mostly wanted to know if there was more to it that I could learn and then fix in other packages14:52
ahasenackand debian didn't have that package back then14:52
ahasenackso they don't have this concern of upgrading from 1.4.114:53
V7Hey all18:52
V7Could anyone suggest how to get rid of systemd-resolve's messages in syslog like: https://termbin.com/u2ym18:52
V7Already relinked /etc/resolv.conf and reinstalled resolvconf18:52
lordcirthV7, why are you trying to disable systemd-resolve?18:54
V7I'm not trying to disable it18:54
V7Why do you think like that?18:54
lordcirthWell, doesn't resolvconf conflict with it?18:54
V7I'm just trying to figure out why does it produce so much restarts18:54
V7lordcirth: Don't know. Could it?18:55
naccV7: there is only one restart listed.18:55
V7nacc: It's about each 3 minutes18:55
naccV7: ... how would we know that from the log you pasted?18:55
V7~ Same message18:55
V7Sorry18:55
lordcirthBoth try to manage /etc/resolv.conf. IIRC systemd-resolve disables itself if resolvconf is installed? Not sure18:55
V7/etc/resolv.conf is linek to /run/resolvconf/resolv.conf18:57
V7linked*18:57
V7Currently, it contains https://termbin.com/9ho618:58
lordcirthOk, so resolvconf is directing DNS to systemd-resolve.18:59
V7So any ideas :)?19:12
lordcirthPersonally I don't see why the log lines are an issue.19:13
naccV7: can you show us actual logging that indicates it is restarting repeatedly?19:14
V7It's flooding it19:14
V7Roger that19:14
V7nacc: https://termbin.com/y8o219:35
naccV7: your system is getting an IP every 3 minutes20:03
naccV7: so of course name resolution refreshs20:03
V7How does it getit then?20:03
naccV7: sorry? how does what get what?20:04
V7How does a server get an ip every 3 minutes20:04
naccV7: it's making a DHCP request (per your logs) to do so.20:05
V7Every 3 minutes?20:06
naccV7: I don't know if your lease is expiring rapidly, if your client is misconfigured20:06
naccV7: yes, see the lines starting `dhclient: `20:06
V7Of you mean a DHCP server's lease might be to short20:06
V7I'll check that20:06
nacc`dhclient[1309]: bound to 192.168.1.100 -- renewal in 226 seconds.`20:07
naccthat's about 3.75 minutes20:07
naccwhich is absurdly short :)20:07
GivenToCodexpost from ubuntu: anyone run ubuntu 18.04 via community AMIs on EC2? I am seeing shutdown (stop/terminate) hang for about 4 minutes without any shutdown hooks activating on the instance (ie systemd) and then ec2 forcing termination20:09
GivenToCodei tried turning on systemd debugging but it appears whatever is hanging is hanging before all that20:10
GivenToCodeI can say change in behavior happened sometime between July 29th at 2:10pm ET and Aug 1st 3:40pm ET20:10
V7So, took a lok into mikrotik's configs20:19
V7lease time was set to 10 minuts20:19
V7minutes*20:19
V7https://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Server#Lease_Store_Configuration20:19
V7A page claims that after half of this time client might ask for renewal might this be a causer of log write?20:19
V7renewal. Might*20:20
lordcirthYes, renew at 1/2 is standard. The question is, why is the DHCP server giving 6 minute leases?20:38
lordcirth~24 hours is more standard.20:38
V7Already changed to normal20:40
V7Thank you very much20:40
V7Waiting for new entries in logs20:40
V7Do these logs look normal?20:41
V7Btw20:41
V7Is it okay to add IPs to hosts.deny if it attacks SMTP server?21:35
tomreynsure, though firewalling may be a better approach.21:44
tomreynit may not be desirable if there's also legitimate (smtp or other) traffic coming from there, though.21:45
V7Thank you very much21:46
tomreyne.g. you wouldn't want to firewall legitimate (ham) mail servers which also send spam, handle them via SMTP instead.21:48
tomreynif it's only smtp auth brute forcing, though... firewall it.21:49
tomreynkeep in mind, though, that ip addressing keeps changing, so don't block ip addresses forever.21:49
V7Roger that21:54
RoyKV7: tcpwrapper as in hosts.{deny,allow} isn't used much these days22:13
V7Roger that22:13
RoyKfail2ban can be nice too if configured correctly22:16

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