/srv/irclogs.ubuntu.com/2016/04/15/#ubuntu-server.txt

YokoBRhi guys01:05
YokoBRAs I have only one NIC, i've created two virtual interfaces. Now the three interfaces has 255.255.0.0 as masks and created dhcp configs with 3 ranges, 192.168.0.2-254, 192.168.1.2-254 and 192.168.2.2-25401:05
YokoBRwould that work?01:06
sarnoldYokoBR: it may not work with that netmask..02:01
sarnoldYokoBR: try instead 255.255.255.0 and install explicit routes for all three networks to the other two networks.02:01
YokoBRsarnold: i think the problem was solved.02:02
YokoBRthis is what i did, 10.100.0.1 255.255.252.0. DHCP range 10.100.0.1 - 10.100.3.25402:02
sarnoldthat sounds like it should work, yeah02:02
=== King is now known as King`
=== ryan`c is now known as ryan-c
=== Lightsword_ is now known as Lightsword
=== pleia2_ is now known as pleia2
=== thumper is now known as thumper-afk
=== King` is now known as prince
=== chmurifree is now known as chmuri
=== athairus is now known as afkthairus
=== jeremy_carroll_ is now known as jeremy_carroll
jamespagecoreycb, gnocchi and pandas dropped from the UCA08:52
=== thumper-afk is now known as thumper
=== yakim_ is now known as yakim
=== TREllis_ is now known as TREllis
showazHello, how to reset a Ubuntu-Server 16.04 initial state before install "apt remove ... --purge --auto-remove" (ubuntu-minimal).09:58
rbasakshowaz: "apt-get install ubuntu-minimal^" perhaps?10:00
rbasak(or is it "minimal^"?10:00
rbasak)10:00
showazubuntu-minimal already installed.10:01
rbasakWell then I don't understand your question.10:01
showazrbasak: To restore ubuntu-server to original appearance after you install a hosting panel (packages/user-data purge)10:04
rbasakshowaz: well that depends on what your hosting panel installer did. Your hosting panel provider needs to answer your question really.10:04
rbasakIt might be easier just to reinstall your server or restore from backup or whatever. I certainly wouldn't continue using a production server after messing around with it like that.10:05
=== kees_ is now known as kees
rbasakrharper: do you have capacity to look at https://bugs.launchpad.net/ubuntu-release-notes/+bug/1531864/comments/5 please?10:38
ubottuLaunchpad bug 1531864 in Release Notes for Ubuntu "HTTP/2 disabled in Apache httpd" [Undecided,New]10:38
rbasakIt's intended to be disabled, but comment 5 suggests that the disablement is broken10:38
=== ochoroch1 is now known as ochoroch
=== ochoroch1 is now known as ochoroch
rharperrbasak: I'll look at that today12:32
rbasakrharper: thanks!12:36
rharperrbasak: to be clear, both the load file and the so should be removed since we're disabling support of http212:36
rbasakrharper: I'm not sure. I don't mind what is removed so long as nothing explodes. I suspect the load file being there might be a problem, so I thought it probably warrants investigation.12:37
rbasakrharper: it may be that you're satisfied that nothing needs doing after looking.12:37
rharperok; but the goal is for http2 to not be enabled by default12:37
rharperand things shouldn't break12:37
rbasakRight.12:37
rharperok12:37
rbasakrharper: actually not just not enabled by default but not built.12:38
rbasakUntil the security team says it's OK, which I don't think they will until upstream no longer consider it experimental.12:38
rharperrbasak: ok; then I wouldn't suppose we should ship any http2 files either (if we don't bother building it) no ?12:49
rbasakrharper: that would be sensible, yes. But if it's not actually causing a problem, it's probably not worth breaking final freeze for that.12:50
jamespagecoreycb, https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/156897113:18
ubottuLaunchpad bug 1568971 in horizon (Ubuntu) "Ubuntu Mitaka package fails to upgrade with SyntaxError: Undefined variable: '$helpPanelWidthDefault'." [Undecided,Confirmed]13:18
devster31I have a pretty minimal ubuntu install, is there a cli utility that allows me to interact with dhcp client and servers? I want to read the information the server is broadcasting13:18
hateballdevster31: other than dhclient ?13:21
devster31I thought dhclient was used to configure an interface, I just want to read the information13:23
devster31also I think the default is dhcpcd13:31
GeorgesLeYetiHi14:26
GeorgesLeYetiUbuntu 14.04.4 LTS,  Issues: My /etc/passwd has been changed. How can i investigate about who / what change this file ?14:26
sdezielGeorgesLeYeti: many things can change /etc/passwd. I'd recommend looking at the recent changes with: diff -Nau /etc/passwd- /etc/passwd14:28
=== bilde2910_ is now known as bilde2910
=== pleia2_ is now known as pleia2
=== dasjoe_ is now known as dasjoe
jamespageddellav, https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/156897115:29
ubottuLaunchpad bug 1568971 in horizon (Ubuntu) "Ubuntu Mitaka package fails to upgrade with SyntaxError: Undefined variable: '$helpPanelWidthDefault'." [Undecided,Confirmed]15:29
=== m1dnight1 is now known as m1dnight_
rbasakrharper: looks like apache2 2.4.18-2ubuntu1 inadvertently reintroduced http2.load.16:16
=== tinwood is now known as tinwood_afk
rbasakrharper: I think you're right in that the conffile needs that handling to remove.16:22
rbasakrharper: I don't see anything wrong with your conffile handling, but a couple of things to make it simpler:16:23
rbasak1) you don't need to make it conditional on $1; dpkg-maintscript-helper takes care of that itself.16:23
rharperwhich did I make a conditional ?16:24
rbasak2) you can use debian/apache2.maintscript to save having to touch all the maintainer scripts. Then debhelper will take care of it.16:24
rbasakYou're calling remove_http2_conffile from inside the switch statement16:24
rbasakWhich could well be absolutely correct but I'd need to check.16:24
rharperah, I see16:24
rharperthere are stage checks in mainscript itself16:25
rharperlemme look at the apache2.maintscript then16:25
* rharper missed that16:25
rbasakrharper: see the dh_installdeb manpage.16:25
rbasakYou couldn't know about it unless you already did :-/16:25
rharperheh16:25
rharperyeah16:25
rharperthat's fancy sauce right there16:25
rbasakBasically you put the dpkg-maintscript-helper calls in there and then debhelper takes care of it.16:25
rbasakBut good job in spotting that you needed conffile handling :)16:26
rharperthough one still has to debug the prior version stuff16:26
rharperrbasak: slangasek helped me see that in squid16:26
rbasakrharper: squid's conffile handling was painful!16:31
rharperto say the least16:32
rbasakrharper: btw, did you figure out if having http2.load present actually causes a problem?16:32
rharperlet me test that out16:32
rharperI imagine it'll throw an error but unlikely to cause problems; I think apache2 handles missing modules gracefully16:32
rharperno16:33
rharperwell, it just wont start, if you a2enmod http2 and then restart, apache2 won't start16:33
rharperyeah16:34
rharperso better to remove the file16:34
rharperno one get's hurt accidentally (it's in mod-avail, not mod-enable)16:34
rbasakOK, thanks for checking.16:35
rharperbut if someone did attempt to enable it and restart apache, it fails due to the missing so file we removed16:35
rharpernice, that apache2.maintscript is very cool16:36
* rharper attaches a new debdiff16:36
rbasakrharper: the new debdiff looks good, thanks. Have you tested that this works, please?16:48
rbasakrharper: I'd also note in the changelog that it was inadvertently dropped in an intermediary merge just to make the next merger's life easier in figuring out the logical delta. I can note that when uploading, no need for a new debdiff.16:48
rharperrbasak: yes; I've tested the same upgrade and the file is removed properly17:11
rbasakrharper: OK, thanks. Do you think this should break final freeze or should we aim for a 0-day SRU?17:12
rharperrbasak: sorry about not mentioning *why*;  I  know better =(17:12
rharperI think 0day is fine17:12
rbasakOK17:12
rharperit's out of the way17:12
rharperunless someone is explicitly doing a2enmod http217:12
rbasakThat would always break at some point, right?17:13
rbasakEither in the a2enmod command, or with this bug on apache2 restart.17:13
rharperright17:13
rbasakSo they shouldn't be doing it and expect it to work presumably :)17:13
rbasakThen I think a 0-day is fine.17:13
rharperthey might expect it due to the version, and http2 is enabled in debian17:13
rharperbut17:13
rharperit's noted in the changelog why we don't have it enabled at this point17:14
=== ogra_` is now known as ogra_
=== BigGun4Hire_ is now known as BigGun4Hire
=== AMZ__ is now known as AMZ_
=== sforshee` is now known as sforshee
=== rbasak_ is now known as rbasak
=== manjo` is now known as manjo
aeronavihow to create a pty without an attached process?18:16
aeronavimy idea is to open terminal window, where I can later attach a process with redirected standard input/output and then control it from that window18:19
sarnoldaeronavi: sounds like you're re-inventing screen or tmux18:20
sarnoldfwiw I haven't seen "terminal without a process" in a while -- back in those days of course we had serial cards in our computer with 16 or 32 serial ports, and flat phone-wire run throughout the building for the terminals..18:21
RoyKscreen is really cutting edge - I mean - it came out in 198718:22
sarnoldgotta keep up with these new tools :)18:22
RoyK:D18:22
patdk-wkroyk, it should be replaced, it's old and single purpose like init18:23
patdk-wkmaybe we need a screend18:23
RoyKtmux is better18:23
aeronavihehe sarnold, im not from that time.18:24
RoyKaeronavi: well, it's been used steadily over those almost 30 years18:24
RoyKI guess 'ls' is a wee bit older18:25
RoyKbut people are still using it!!!!!!!!!!!!!18:25
aeronavibut screen must spwan always a process right?18:27
arooniwhy when i login to my server do i see 56 packages can be updated?  i thought i had security updates automatically installed.  must i do a separate setup for regular updates to packages?  and more importantly, is this advised?18:28
RoyKaeronavi: nah - you can have several - just use tmux if you aren't used to screen - it's Newer And Better (tm)18:28
=== tinwood_afk is now known as tinwood
aeronavispawn* . I plan to debug a process with gdb that is called inside a script, but i would like to control gdb on a external window18:30
tewardarooni: updates != security updates18:30
tewardarooni: it's possible to have a lot of non-security updates pending in the -updates repo for your computer, but they won't get installed if you only put on security updates18:30
arooniteward is setting up auto updates of non security updates possible?  and advised?18:31
RoyKarooni: I'm using all sort of updates on my machines - haven't failed so far (over the years)18:35
RoyKlast issue we had at work, was today, a new samba version came out of redhat's repos and suddenly kerberos was needed for everything, and that was a security update18:36
RoyKbroke a few clients not in AD18:36
aeronaviRoyK when i start tmux or screen, it spawn a shell process.18:40
aeronaviis it possible to just start it without any process?18:41
sarnoldwhy?18:45
aeronaviso later I can redirect input/output of other processes18:48
aeronaviand control there18:49
sarnoldwhy not just start that other process in screen?18:51
aeronavisarnold because the process in question is called from inside a script18:57
aroonii'm trying to access /var/log/nginx ; but i'm getting access denied because my ssh user isn't part of the adm group.  so i did; sudo usermod -a -G adm myuser;  but i still cannot access.. :\  why not?19:08
=== chuck__ is now known as zul
sarnoldarooni: use sg or newgrp to create a new shell process that is in the group or log out and in again19:09
=== nodoubleg is now known as nodoubleg-lunch
bekksarooni: log out completely as that user, login again.19:21
=== skipyyty is now known as caliculk
=== BrianBla- is now known as brianblaze420
aroonihey thanks that worked19:26
=== AndyTechGuy_ is now known as AndyTechGuy
arooniis there a better tool than tmux splitting panes to monitor nginx error log + syslog?19:35
Piciarooni: multitail?19:36
arooniPici nice!  never heard of that before;  i like the color + formatting19:39
Piciarooni: its definitely handy.19:39
tewardi was going to say, "yes, it's possible.  advised?  I think so, but that's your call."20:12
tewardthen they left20:12
* teward was busy fixing his network20:12
=== rbasak_ is now known as rbasak
=== davisoni_ is now known as davisonio
qman__I've been doing it for years without problems20:34
RoyKqman__: what?20:43
qman__unattended upgrades for regular updates (not just security patches)20:44
RoyKmhm20:45
qman__I've had release upgrades break plenty of stuff but not regular patches20:46
RoyKit was a bit fancy this security update by redhat20:47
keithzgI tend to have it only on for security updates, but that's almost more just because I feel like giving myself something to do from time to time ;)20:47
RoyKsuddenly everything not in the AD was banished20:47
sarnoldRoyK: in all fairness there's a half-way tolerable chance the same thing will happen with our samba updates next week20:48
RoyKI gues so20:48
RoyKguess, even20:48
sarnoldRoyK: the only feedback we've gotten so far has been good but samba is so bloody configurable..20:48
RoyKsarnold: we found two solutions - either login with ad-domain@user, or install winbind20:49
RoyKI didn't try the former - we just went for winbind20:49
RoyKwe've got some 25k users, so these things hurt a bit when that little percentage of them not using windows lose access to their data20:50
sarnoldeven 0.1% is a noticable amount of work :)20:51
RoyKindeed20:51
=== afkthairus is now known as athairus
=== AndyTechGuy_ is now known as AndyTechGuy

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