/srv/irclogs.ubuntu.com/2017/09/11/#ubuntu-server.txt

fishcookerhow to show changelog on every ubuntu package update; ie: http://vpaste.net/YnNXo ?04:48
cpaelzergood morning05:37
sobukushttps://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1587142 … I wonder if suddenly something happens on that one.07:07
ubottuLaunchpad bug 1587142 in systemd (Ubuntu) "Shutdown hangs in md kworker after "Reached target Shutdown."" [Critical,Confirmed]07:07
sobukusIf I should count on this being fixed in 16.04 some time or if I should make a local hack.07:07
sobukusServers not being able to reboot is not nice.07:07
=== sammyg is now known as hakra
PjusurGood Morning ppl, is there a way to make journald not pick syslog messages from a specific services? just syslog to rsyslog08:39
necrophcodrIf I do `SetEnv SOMETHING "else"` and `PassEnv SOMETHING` in a virtual host, then that variable still isn't accessible in, say, a .htaccess file with RewriteCond %{ENV:SOMETHING}08:45
necrophcodrHow can I make that happen?08:45
necrophcodrIt seems that SetEnv and PassEnv work great for CGI or FCGId based stuff, but has no affect on .htaccess files.08:45
=== disposable3 is now known as disposable2
trippehhm. unbound needs some work in artful. it is set up as type notify in systemd, but the apparmor profile doesnt allow it. if you allow it, reloads are still broken, probably a sd_notify missing somewhere.09:25
sobukusOK, I'm down to 'only' a RAID resync on each boot, from endless hang on any reboot/shutdown attempt.09:33
sobukusPlease, Ubuntu folks, implement the proper strategy of RAID array build-up/tear-down as indicated in the linked fedora issues for https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1587142 .09:34
ubottuLaunchpad bug 1587142 in systemd (Ubuntu) "Shutdown hangs in md kworker after "Reached target Shutdown."" [Critical,Confirmed]09:34
sobukusOr bug mdadm folks to push mdmon into the kernel to avoid the trigger for this whole mess.09:34
RoyKnecrophcodr: it's no difference between running apache on a vm compared to running it on metal - I guess something is messed up in the apache config10:18
necrophcodrRoyK, i'm not refering to virtualization10:21
necrophcodrI'm refering to <VirtualHost>10:21
necrophcodrI guess I should've specified it was regarding Apache2 setup :)10:22
RoyKah - I see10:22
RoyKwell, that was pretty obvious, but I read it as you had a problem on a "virtual machine"10:23
RoyKnecrophcodr: not sure if there are much apache gurus here, though10:23
necrophcodrI'm not sure where else to ask about apache stuff though10:24
RoyKyou may want to try #httpd10:24
=== freyes__ is now known as freyes
hheegood time. mod in apache2 in ubuntu (16.04) shown in packages list as libapache2? or libapache2-mod? i need to find out numbers ands names of installed apache2 modules12:43
ahasenackhhee: libapache2-mod-* seems to be the norm13:06
hheeahasenack, got it13:11
sobukusAhw, maaaaan. The latest kernel update broke Infiniband RDMA here. Works with 4.4.0-83-generic, broken with 4.4.0-93-generic. What changed?!13:41
sobukusI thought that is why we use LTS!13:42
sobukusapt-get changelog is not helpful.13:43
sdezielsobukus: take a look at /usr/share/doc/linux-image-4.4.0-93-generic/changelog.Debian.gz13:44
sobukusAh, thanks. I realise that there is a massive amount of changes between these two. I guess I have to test some versions inbetween.13:48
sobukusI don't see an overt reference to infiniband.13:48
sobukusHm, I need to hunt down 4.4.0-8413:52
sdezielsobukus: the Xenial -proposed kernel (-94) has some fixes related to RDMA so you might want to take a look there as well13:53
sobukusThat might be a better direction.13:56
sobukussdeziel: Ah, magic! With -94, rdma works again.14:04
sdezielglad to hear that14:04
sobukusNow I need to figure out if I can reboot the servers without upsetting clients …14:05
madLyfeso does 17 become the LTS? or is it a different #? after 16.14:20
ahasenackmadLyfe: 18.04 will be the next LTS14:20
madLyfewhich is just everything from 17, just in stable form?14:21
sobukusmadLyfe: That's the idea;-)14:22
sobukusLTS every two years … in between the big rockin' changes.14:22
geniimadLyfe: LTS releases are the first release in even numbered years. So 14.04 16.04 18.0414:22
madLyfethat makes it easy14:23
madLyfeso in the 16 installer you can select HWE installer. is this default in 17?14:23
M3mphiZAfter enabling PAM authentication using private-key and google-authenticator using this tutorial (https://www.digitalocean.com/community/tutorials/how-to-set-up-multi-factor-authentication-for-ssh-on-ubuntu-16-04), my gitlab instance doesn't accept any pull/push anymore. how can i tell it to not use pam with the git user?14:26
sdezielmadLyfe: HWE kernels are only available to LTS versions14:26
madLyfeoh14:28
madLyfeHWE for server is the future though, correct?14:28
sdezielnot only servers, no. https://wiki.ubuntu.com/Kernel/LTSEnablementStack14:33
madLyfeits the future stack for all releases is what i mean14:38
sdezielit's a backport of a more recent kernel (and/or X stack) for a LTS release14:41
sdezielin otherwords, you get the kernel of a non-LTS readily installable on your LTS14:42
madLyfebut im saying, in like the next LTS(18) will HWE be the default in installer and not how GA kernel is right now?14:43
sdeziel"Server installations will default to the GA kernel and provide the enablement kernel as optional." from the link above14:46
madLyfeya but thats for 16. what about 18?14:46
madLyfeim asking if the plan is to move everything to HWE?14:47
sdezielHWE used to be the default for ${LTS}.214:50
sdezielnow it's the default only for desktop installs14:50
sdezielfor servers, the default is the GA kernel14:50
madLyfeare they planning on changing the default for server to HWE?14:55
naccmadLyfe: 18.04 hasn't started yet (17.10 isn't out yet). I don't believe there are plans to change the above15:08
madLyfeso they will just keep offering HWE during install?15:11
naccmadLyfe: i assume so15:11
madLyfethats confusing15:11
naccmadLyfe: why?15:11
madLyfei mean.. is there a reason not to run HWE over GA?15:12
naccmadLyfe: yes15:12
naccmadLyfe: if you don't need it15:12
naccit's more change to audit15:12
nacckernels have bugs too15:12
=== disposable3 is now known as disposable2
naccpowersj: are artifacts of jenkins jobs saved at all (e.g., the snap)15:57
powersjnacc: they can be, but only a certain number15:57
naccpowersj: ok, np15:57
naccpowersj: just wondering15:58
=== JanC_ is now known as JanC
=== nacc_ is now known as nacc
=== led_ir23 is now known as led_ir22
madLyfedo you have to install grub?19:55
madLyfei cant figure out why this happens after i install server to a microSD card and then reboot after install to boot for the first time: https://usercontent.irccloud-cdn.com/file/QakJoRAR/irccloudcapture683196535.jpg everything works fine when i install to a USB stick.20:19
=== hachre_ is now known as hachre
=== AMZ__ is now known as AMZ_
=== zeestrat_ is now known as zeestrat
=== fhd_ is now known as fhd
=== OliPicard_ is now known as OliPicard
=== edwardly_ is now known as edwardly
=== thebwt_ is now known as thebwt
=== stokachu_ is now known as stokachu
naccmadLyfe: is it actually booting from the microsd card?21:40
madLyfei dont know. when i restart from the install, i pull the installer usb stick and its just the mSD card and thats the msg i get right when it would show the ubuntu boot process or grub21:42
madLyfeif i pull the SD card it just says cant find boot drive or whatever. thats normal though because there is nothing there to boot to.21:43
naccmadLyfe: does `ls` from the grub rescue prompt work? does it display anything?21:44
madLyfenacc: https://usercontent.irccloud-cdn.com/file/EUlEjkxt/irccloudcapture365147137.jpg21:47
naccmadLyfe: try `ls (hd0,msdos1)/`21:48
naccmadLyfe: tab complete *should* work, as well21:48
naccmadLyfe: my guess is it was unable to read or find a config file21:48
madLyfenot sure what you mean by tab complete https://usercontent.irccloud-cdn.com/file/mHopvUFC/irccloudcapture1198195483.jpg21:52
naccmadLyfe: you can hit <tab>21:54
naccmadLyfe: so that's your root fs21:54
naccmadLyfe: can you do something like `root (hd0,msdos1)`21:56
naccmadLyfe: and then `configfile /boot/grub/grub.cfg`21:56
madLyfesorry had a phone call21:58
madLyfe'root' unknown command21:58
naccmadLyfe: ok, just hit tab and see what commands are available21:59
madLyfetab does nothing21:59
naccmadLyfe: and then google around for the commands21:59
naccmadLyfe: ok21:59
madLyfehmmm help is an unknown command but says use that to get a complete command list22:02
madLyfehttps://help.ubuntu.com/community/Grub2/Troubleshooting22:02
naccmadLyfe: probably because it's in the recovery mode22:04
naccmadLyfe: rescue mode, i mean22:04
naccmadLyfe: it seems like it read past the end of the disk while trying to laod itself22:04
madLyfeive read where some ppl have this issue with partitions on large disks but this is only a 16gb sd card22:06
naccmadLyfe: sd cards may not be well supported as boot media on this machien?22:06
naccmadLyfe: not sure22:06
naccpowersj: do you have a log handy of the failed `quilt` ?22:07
nacc*quilt push22:07
madLyfeactually i talked to HPE and they said the only thing that will boot on this blade is the SD card and not USB. so far its the opposite.22:07
naccpowersj: at what version it happened at, i mean22:07
naccmadLyfe: fun :)22:07
madLyfebut the sd card would ride the usb chip?22:08
madLyfejust thinking if i turned off something22:08
madLyfecuz i def turned off the network stuffs and probably the sata controller22:08
madLyfescsi stuff22:08
naccmadLyfe: did you need to turn them off?22:08
madLyfewell for a mining server, saving power is key.22:09
madLyfeturn off everything that isnt needed.22:09
powersjnacc: whatever master was last Friday22:09
powersjhttps://jenkins.ubuntu.com/server/job/git-ubuntu-ci/55/console22:09
naccpowersj: ok, that's fixed then22:10
nacci'll let the job finish and merge it22:10
naccmadLyfe: functionality seems more key first22:10
naccmadLyfe: :)22:10
madLyfei wasnt ever planning to use sd card though so not using it isnt a huge deal but would save a few bucks per server if i could get it to work.22:10
madLyfei wouldnt need a usb hub then.22:11
madLyfe$10 per server. adds up.22:11
madLyfebut at the top is says 'attempting boot from usb drivekey' and then shows the dirs so it must be using the usb chip22:12
madLyfeThe proper paths must be set via the set prefix command.22:16
madLyfeMany GRUB 2 commands will not work until the correct path is set.22:16
madLyfeIf the path to the grub folder (normally /boot/grub) is not correct, an unknown command or file not found message is likely.22:16
madLyfei have to jet for a bit22:17
madLyfethanks22:17
elico*: Maybe anyone knows why the bug fix is not being backported? https://bugs.launchpad.net/ubuntu/+source/iptstate/+bug/156233322:20
ubottuLaunchpad bug 1562333 in iptstate (Ubuntu) "iptstate assert failure: *** Error in `iptstate': munmap_chunk(): invalid pointer: 0x000000000193c990 ***" [Medium,Confirmed]22:20
sarnoldelico: because you haven't prepared and tested a debdiff to fix it yet :)22:21
sarnoldelico: packages in universe are community-maintained22:22
elicosarnold: I took the package from zetsy and installed on xenial and it works..22:22
elicosarnold: is there a guide about doing a debdiff??22:23
sarnoldelico: nothing easy.. here's a starting point for the process to add a patch to a package https://wiki.ubuntu.com/StableReleaseUpdates22:23
elicosarnold: but if the zetsy package works fine, why not use it??22:25
naccelico: becuase that's not how things work.22:25
naccelico: and mixing and matching release is a bad idea (tm)22:25
eliconacc: OK but nobody does anything..22:26
sarnoldelico: depending upon how much changed that might even be a solution, but it takes a -lot- of convincing to make that happen. applying a patch to a package is usually the far faster route22:26
sarnoldelico: aye. tragedy of the commons lived out in software :/22:26
naccelico: well, that's rather rude of you to think. people do *plenty* of stuff22:26
naccelico: maybe not in this particular bug22:26
eliconacc: nobody responded in the bug(talking about this one..)22:26
sarnoldwell, that's not exactly a good analogy.. loads of people do loads of stuff, and it's not a fixed pool of resources under competition. but still, it's soooo easy to Let Someone Else Handle That..22:27
elicoI created a package for OpenSUSE but I am not so good with debian packages..22:27
sarnoldheh rpms sure feel easy in comparison to debs22:28
elicofor me... maybe someone that worked a lot with deb's feels better with it..22:28
elicosarnold: where do I see the packages which are in community compared to others and if others then in which it belongs?22:33
sarnoldelico: if you run apt-cache show iptstate one of the lines output is Filename: pool/universe/i/iptstate/iptstate_2.2.5-1build1_amd64.deb22:34
sarnoldelico: the 'universe' there means that package is community supported22:34
elicosarnold: OK thanks!22:34
elicosarnold: are you from the server team?22:34
sarnoldelico: no, security team22:34
elicoIf I will show you how I am building my DEB's you will find it "un-orthodox"22:36
sarnoldprobably, no two people build their debs the same way :)22:37
elicosarnold: You haven't seen mine... it's one of the most amazing ways to create a deb.22:39
elicohttp://gogs.ngtech.co.il/elicro/squid-debian-deb-build22:39
elico..The Makefile..22:40
sarnoldelico: hahah :) I can confirm I've never seen a Makefile to build debs quite like this one before :)22:43
elicosarnold: I had a talk with Amos the squid-cache project manager and he created a deb file for debian and ubunutu.22:47
elicoHe has a really nice one. Now I wanted to provide a package but after reading the DEB guide and book more then three times I got tired and tried this recipe and it appears that my server got hit hard because of it so I had to start QOS the traffic.22:47
=== cncr04s_ is now known as cncr04s
naccahasenack: was your backtrace with g-u review of cpaelzer's MP: ValueError: Not sure how to decompose 0ubuntu13.1.22: series 1 not in expected format23:39
nacc?23:40
naccahasenack: if so, can you file a bug for it? it means our version deduction alogrithm needs to be made more flexible23:40
keithzgAre there any prefab LAN search engines out there? I basically just want a local network version of Google/DuckDuckGo to help users with our sprawling set of different web services at the office (wiki, bugtracker, client database, doxygen, etc etc). I would have thought someone would have written something, but my google-fu appears to be failing...23:53
sarnoldkeithzg: tada https://enterprise.google.com/search/products/gsa.html23:54
keithzgsarnold: I guess to be picky I should stipulate that I was hoping for something FOSS-licensed, but uhh also apparently it's being discontinued?23:56
sarnoldah23:56
keithzghttp://fortune.com/2016/02/04/google-ends-search-appliance/23:56
keithzgSo I couldn't even get one purchased for the office if I wanted to!23:57
keithzgSo far the "best" option seems to be hacking together something myself with Apache Nutch + Solr or ElasticSearch23:58

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