/srv/irclogs.ubuntu.com/2016/11/11/#ubuntu-server.txt

aroonihey folks; i need wordpress to be able to send emails upon order completion; i have the site on a VPS; any point in trying to install something locally; or should i use something like sendgrid/mailgun/sparkpost etc?  i want to make sure emails get inboxed...03:39
tarpmanarooni: if you aren't totally sure what you're doing, use a service like the ones you mentioned03:42
tarpmanarooni: local email is doable but takes work - and sometimes it's simply out of your control, e.g. if your host or neighbours have a bad reputation in spam lists03:43
tarpmanarooni: (the above is just my opinion, not objective facts)03:43
aroonigotcha03:48
arooninext question03:48
arooniwhat do i need to do if i want to set up a few email aliases at mydomain.com to forward to my gmail account?  for instance; abuse@domain.com ; support@domain.com; arooni@domain.com ;  do i need to go a hosted email provider like zoho?  or is there something i can do in the vps itself?03:48
tarpmanyou could install a mail server in the VPS, and have mail delivered there (set the MX DNS record for the domain to point at the VPS); that's reasonably straightforward, but then you're responsible for all your own spam filtering etc03:51
tarpmanor you can use a provider; I like google apps, but they aren't free any more03:52
tarpmanI gave up on filtering my own spam years ago, google is just too good03:52
tarpmanif all you want is everything forwarded, mail server right on the VPS isn't difficult. postfix and exim can both be configured to do that pretty easily03:53
tarpmanand you probably want something running anyway so that daemons (e.g. cron) can send you mail03:54
=== stoned is now known as EnchanterTim
Sirclewhats the best way to sniff http and https traffic and block it by predefined rules (e.g OS user, url, get/post data length etc)08:19
andolSircle: The common approach is to have firewall rules in place, only allowing http(s) traffic through a proxy server, and have the proxy server do the filtering. Whatever that is the best way or not kind of depend on your scenario.08:22
denbeirenhi, my bootpartition is full,.. apt-get autoremove does not work08:45
denbeirenoutput of ls /boot/ is the following http://prntscr.com/d5uo3y08:45
denbeireni'm running 4.4.0-42-generic atm08:46
denbeirencan i simply rm all that is not -42 ?08:47
jellydenbeiren: dpkg -S /boot/vmlinuz*, and instead of rm, uninstall the packages you think you don't need08:48
Sircleandol:  can proxy server do filtering on POST?GET data that is to be uploaded, multipart, url and OS user?08:49
jellydenbeiren: you probably want to keep the latest and boot into that one instead of -42- as soon as convenient08:49
denbeirensudo apt-get purge /boot/linux.... ?08:51
jellyyou purge the package names, not the file paths.08:52
jellydod you look at the output of "dpkg -S /boot/vmlinuz*" ?08:52
jellyit tells you which packages those file paths belong to08:53
jellyso copy those package names on the left side of the output, without the last colon character, and purge _those_08:54
denbeirenhttp://prntscr.com/d5url808:54
denbeirenhttp://prntscr.com/d5urq408:54
andolSircle: While that obviously depends on the implemetantion, doing that kind of filtering appear a lot more doable on an http level than on a network level.08:55
jellydenbeiren: apt complains because its main goal is to keep dependencies satisfied.  Add those linux-image-extra-4.4.0-34-generic to the purge command.08:56
jellyand perhaps use dpkg to purge instead of apt08:57
jellydenbeiren: put all the unneeded packages into a single command, both apt-get and dpkg allow multiple package names there08:57
Sircleandol:  so what choices do I have?08:59
andolSircle: No idea, never setup such filtering myself.09:01
denbeirensadly i can't use tab key to complete commands :s09:01
denbeirennm, i wasn't in /boot09:03
denbeirenhttp://prntscr.com/d5uw8y    still not ok i'm afraid09:06
denbeirenfixed it09:14
denbeirenthx for the help09:14
DK2is there a method for convient patch managment on 50+ servers?09:37
rbasakDK2: unattended-upgrades? Landscape?10:11
DK2mostly ubuntu10:25
DK2rbasak: does not need to be unattended-upgrades10:25
geertnApparently poewrsvave should be the default according to this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579278 . However for me it is set to performance. Can anyone else check the default CPU governor for ubuntu server xenial?10:42
ubottuLaunchpad bug 1579278 in sysvinit (Ubuntu Xenial) "Keep powersave CPU frequency scaling governor for CPUs that support intel_pstate" [Medium,Triaged]10:42
Sircle is it possible to mitm via squid and filter POST from even https?11:01
rbasakSircle: I think it can but I'm not sure. You'd need to create a CA and add it to the browser, etc. Also there's Charles Proxy.11:10
Sirclerbasak:  CA would do on brwoser end but need config on squid end.11:28
rbasakSircle: http://wiki.squid-cache.org/Features/SslBump maybe?11:31
jamespagesmb, morning - wonder if you can help me with something11:36
jamespagesmb, is there a way I can tell with VT-d is enabled from within Ubuntu?11:37
jamespageI can see the vmx cpuflag - but is there a specific one for VT-d as well?11:37
ronatorhi. I have different ubuntu-servers in different countries. I also use different ppa. For Germany I use de.archive.ubuntu.com - for Italy or UK I use it.archive... / uk.archive. ... - Now I get a kernel update offered (4.4.0.47) in IT and UK but not in DE.12:30
ronatorIs that due to some lag on these "apt mirrors" and considered to be normal?12:30
ddellavzul coreycb working on ocata neutron in ci12:31
NOVAtechiesall hail zuul!12:44
coreycbddellav, i pushed your keystone updates13:19
ddellavcoreycb ack13:19
NOVAtechieshello all14:58
=== theGoat_ is now known as theGoat
Welshmanhi guys, is freenode having problems?15:14
Welshmanjust asked me to login as someone I do not know15:14
Welshmananyway15:15
Welshmanaccountservice update today15:15
Welshmanwhats that about exactly15:15
PiciWelshman: debian/patches/wtmp-fix-logout.patch: Backport 0.6.43 commit to fix logout records when a user shuts down or restarts their computer (LP: #1443052)15:16
ubottuLaunchpad bug 1443052 in Ubuntu GNOME "User accounts login history showing incorrect history - patch" [Low,Triaged] https://launchpad.net/bugs/144305215:16
Welshmanty15:17
Pici<3 apt-listchanges15:17
WelshmanPici:  in layman terms why is it a problem?15:18
PiciWelshman: Looks like it might not directly affect server users.15:19
Welshmanyeah, my thought15:20
Welshmannot root thoughh15:20
WelshmanPici:  not affrect root yeah15:21
Welshmanaffect15:21
Welshmanroot not affected yeah?15:22
Welshmandid we just get back doored?15:23
PiciNo?15:23
mybalzitchprobably!15:23
Welshmanquick there with the response15:23
Welshmanwtf15:24
PiciIts a shared package between desktop and server installs, but the bugfix looks like its for desktop sessions.15:24
Welshmanpici you Ubuntu official?15:24
PiciWelshman: I'm not a developer, but I've been doing Ubuntu stuff for 10 years or so.15:25
WelshmanI know15:25
Welshmanme to15:25
Welshmanodd upgrade15:25
Welshmanlooking it up a abit15:26
Welshmanseems lioke a back door15:26
Welshmanlike15:26
Welshmanany other thoughts on thos15:29
Welshmanthis15:29
Welshmanmybalzitch: speak up dude15:32
Welshmanso who is officcial on this chat and can comment on the accountservice upgrade?15:34
Welshmanvery odd upgrade and little explanation15:34
Welshmanreminds me ofmy divorce proceedings lol15:35
Welshmanwtf is Ubuntu up to?15:35
Welshmanare there any official Ubuntu guys here?15:36
rbasakWelshman: Ubuntu Server devs hang out in this channel, but Canonical staff in the US have a public holiday today, so there are fewer of us than normal.15:37
WelshmanGuys, accountservice upgrade ....15:38
ogra_also, this is rather a desktop fix ...15:38
ogra_so why would you expect anyone in the server channel to know anything about it15:38
Welshmanrbasak:  I dont have time for holidays15:38
rbasakAh, I hadn't scrolled back far enough.15:38
Welshmanogra_:  nice imput15:39
rbasakWelshman: ah. I believe my employer accepts money if you need a better SLA than "best effort" :)15:39
Welshman:)15:39
Welshmanno offence just curious what ever happens with my servers and never the sharpest in the box :)15:40
rbasakYou have accountservice on your servers?15:40
Welshmanapparently15:40
Welshmanbasic installs15:40
zulbuild deps dont need to be MIRed anymore correct?15:41
rbasakzul: right - unless you end up with a runtime dependency (whether declared through Depends or not, eg. including a static link).15:41
WelshmanI just run basic installs for websites php15:41
zulrbasak: cool thanks15:41
Welshmanone of the worst things in life is seeing things and not being able to explain and remedy.15:44
ogra_?15:44
Welshmanthink about it15:44
ogra_it is pretty clearly explained in the bug and in the changelog15:45
Welshmanreally15:45
ogra_yes, really15:45
ogra_read it15:45
WelshmanTrump15:45
ogra_it fixes a log entry for when users shut down the system from a graphical session15:45
Welshmanogra_:  OK15:45
ogra_(where before there was no log entry written in this case ... it used to only be written when shot down from the login manager instead)15:46
ogra_it is pretty detailed described in the bug that is mentioned in the changelog15:46
ogra_just read it ...15:46
Welshmanogra_:  so its that inocent ?15:47
ogra_?15:47
ogra_of what15:47
Welshmanperfect answer15:47
ogra_of what do you expect this change to be guilty ?15:47
Welshmannsa15:47
Welshmanbackdoor15:48
ogra_seriously ... just throwing word fragments at the channel wont relly get you much info ... people wont know what you mean15:48
Welshmanok15:48
ogra_(whole sentences and that grammar thing often work wonders .... )15:48
WelshmanI know15:49
WelshmanHitler should have proved himself rather than obiterated.15:50
WelshmanTime got tired with the guy15:51
WelshmanTrump, well done USA?15:51
ogra_dude ... this isnt "#ubuntu-politics" ...15:51
WelshmanI think change is good15:52
Welshmanwgats the off topic?15:52
Welshmanwhats the off topic room here?15:53
WelshmanI only logged in because of your maybe recent backdoor15:53
Welshmanjesus christ who is my nigger here15:54
ogra_merci :)=15:54
Picinp15:54
mybalzitchlol15:54
=== uaides_ is now known as uaides
asynHi all, I’d like to get some advice. We are considering Ubuntu Server for our network. We have a hybrid environment of Windows, Mac, and Linux computers, but the environment is about 90% Apple. We currently use OpenDirectory running from a MacMini server. Is Open LDAP a viable replacement? What limitations do we need to consider?16:27
=== degorenko is now known as degorenko|afk
Sirclerbasak:  thanks. So it spssible what I want?16:35
Sirclerbasak:  is squid the most featureful proxy server?16:36
rbasakIt's pretty common as a proxy server.16:36
Sirclerbasak:  whats the most powerful one?16:38
Sirclerbasak:  featureful?16:38
rbasakI can't comment on that.16:38
Sirclerbasak:  your personal choices?16:38
rbasakFor general proxy caching? I'd use squid. It's in main on Ubuntu, so easy to deploy, manage and keep updated.16:39
Sirclerbasak:  for more features?16:39
Sirclerbasak:  any other you like?16:41
rbasakvarnish, nginx, apache and charles proxy are all alternatives I know about.16:42
rbasakThough they generally all get used in different scenarios, often not client-side.16:42
rbasakSo some are probably completely unsuitable.16:42
Sirclerbasak: does squid and others manage only http(s) traffic or other protocoles as well?16:43
rbasakI don't know.16:43
amoralejhi, i'm hitting https://bugs.launchpad.net/ubuntu/+source/magnum/+bug/1632743 , i'm not sure if this is the right channel, but any plan to push the fixed package to newton-updates repo?16:44
ubottuLaunchpad bug 1632743 in magnum (Ubuntu) "Missing files from python-magnum 3.1.1-0~cloud0" [Undecided,Fix released]16:44
Sirclek16:44
naccSircle: http, ftp, gopher, icy (per `apt-cache show`)16:44
naccSircle: what protocols were you interested in?16:44
rbasakamoralej: you're in the right place, but perhaps getting late for UK staff and the US have a holiday today. If you don't get an answer, try asking again on Monday?16:45
amoralejok, thanks rbasak16:45
Sirclenacc:  I want to do mitm so I can analyze if requests are POST/multipart, (or data in them), block it if its POST or having a regex match. Its good to block other protocols like ssh or rsync etc on basis of OS user accounts16:52
Sirclenacc:  a huge web cache will be good as well16:54
Sirclenac don't know which tool to choose. Ease with features that I can use in future is good.16:55
=== degorenko|afk is now known as degorenko
asynHi all, I’d like to get some advice. We are considering Ubuntu Server for our network. We have a hybrid environment of Windows, Mac, and Linux computers, but the environment is about 90% Apple. We currently use OpenDirectory running from a MacMini server. Is Open LDAP a viable replacement? What limitations do we need to consider?17:02
=== iberezovskiy is now known as iberezovskiy|off
naccSircle: well, squid can probably do the web cache, but i don't think it can do most of the other stuff you suggest, like blocking ssh or anything17:08
Sirclenacc:  what thing can do that then?17:28
naccSircle: i'm not sure, I don't think one tool does that; I mean to block certain *protocols* based upon user accounts, e.g. -- you mean that a particular user isn't allowed to ssh in? That's controlled by the ssh daemon. The ssh protocol needs to be open for that work, though.17:30
asynanyone available to discuss the question I posted? :(17:30
naccasyn: just an fyi, it's a holiday for some in the US, so might be a bit quieter today17:30
naccasyn: http://blog.mlemoine.name/2012/09/07/migrate-mac-os-x-10.6-open-directory-to-unix-open-ldap-including-passwords.html ?17:31
naccasyn: i assume the easiest thing to do, if you go down that route, would be setup openldap in parallel and see if it works17:32
=== degorenko is now known as _degorenko|afk
Sirclenacc: can I install squid on a single machine and use it on that machine for cacheing/acl etc and maybe later for other machines?18:07
naccSircle: i think so? not sure, depends on the usage18:11
aroonibackground: i need to get email set up on my ubuntu vps.  i'm only going to be sending transactional emails when user makes a purchase/item is shipped etc.  so i'm planning on using a smtp provider like sendgrid to plugin to my wordpress/woocommerce setup.  i also need to be able to *receive* email say to support@domain.com; abuse@domain.com; but since it's me answering all those emails; i would think18:16
arooniforwarding to my gmail account would be a valid approach. questions: 1) does this approach make sense? 2) if i got the forwarding set up to my gmail; could i reply from support@domain.com; within my gmail account ?  3) or do i need to stop thinking about email forwarding and use a hosted email provdier like zoho to handle the inbound emails (suppot@domain.com ; abuse@domain.com ) etc?  sorry for long18:16
arooniquestion lol18:16
naccarooni: you can specify what address you reply from in gmail, that's not really an ubuntu question18:20
naccarooni: you just have to link the address to your account, iirc18:20
aroonii guess it really wa s question of whether i should run an email serer or not18:28
arooniand i think that answer is no18:29
naccarooni: running your own email server isn't worth the hassle for *most* people18:29
naccarooni: at least, IMO18:29
aroonithank goodness i can still find hosted email for free; dont know how zoho does18:30
aroonidoes it18:30
aroonimust be a driver to their subscription services18:30
ddellavzul jamespage please review lp:~ddellav/ubuntu/+source/neutron ci update. Builds in zesty but missing python-coverage >= 4.0 using sbuild-ocata19:21
zulddellav: merged19:23
ddellavzul ack19:24
asynnacc: thanks, just now saw your response. I guess my main questions are about how full featured OpenLDAP is, and whether it is stable enough for an enterprise environment.19:29
naccasyn: https://en.wikipedia.org/wiki/OpenLDAP, i mean it's a fairly common tool19:30
CodeMouse92asyn: FWIW, my company uses LDAP19:54
CodeMouse92*OpenLDAP19:54
=== amoralej is now known as amoralej|off
cdorsalI'm having trouble passing an incoming UDP packet from one system, through my ubuntu router, to another system. I can receive the UDP packet 172.16.101.1.59117 > 239.252.101.6.60106 because I have added 239.252.101.6 via "ip add maddr" but my system listening on the other end cannot see any of the udp traffic. Please help! This is tricky.20:34
cdorsalMy system is configured as follows: windows (172.16.101.1) <- eth0 -> ubuntu (172.16.3.1) <- wlan1 -> windows (172.16.4.101)20:34
phantoms2i just instaled on a fresh UServer Webmin and some other admin pages the first reboots was all ok but now they all arent responding localy:10000   i remember that it usualy has to doo with bootorder but what and where … i cant finder22:12
phantoms2tested restarting apache … but stil nothing changed22:14
bekks!webmin | phantoms222:27
ubottuphantoms2: webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system.22:27
NOVAtechiesphantoms2: did you get your webmin problem cleared up22:29
NOVAtechieshello?22:32
Gr3mlinhay guys22:47
Gr3mlini have a questions about Ubuntu server headless. i need assistance with it. DNS resolving issues. anyone able to assist?22:48
bekksGr3mlin: ask your question.22:50
Gr3mlinhow does one sucessfully configure the DNS setting? ive been trying for a while now since upgrading from 14.04 to 16.0422:53
Gr3mlini almost want to give up and just set resolv.conf and then make it readonly22:53
Gr3mlineasy.. bah... just set the dns-nameservers in the interfaces file. well. that doesnt work.23:16
Gr3mlinanyone able to help?23:22
maxbGr3mlin: Just setting /etc/resolv.conf manually is a valid way to configure things if static settings are all you need.23:29
maxbIn a classic server scenario, I don't think anything will be rewriting resolv.conf automatically23:30
maxbBy "classic server scenario" I'm assuming that network-manager nor other desktop environments' similar tools are installed23:30
maxbIf you want dns settings in the interfaces file to apply, I think that's dependent on the "resolvconf" package23:31
maxbWhich I very much do recommend installing if a static /etc/resolv.conf is not suitable for you23:31
Gr3mlini havent installed anything as of yet. well that i know about.23:32
phantoms2ubottu: whats the alternative to webmin????23:34
ubottuI am only a bot, please don't think I'm intelligent :)23:34
Gr3mlini have resolvconf installed. its not resolving my issue.23:35
Gr3mlinshould have just stuck with 14.04lts. would have saved myself flippin hours.23:43

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