/srv/irclogs.ubuntu.com/2018/04/27/#ubuntu-server.txt

tewardthe ability to import SSH keys from Launchpad is a nice touch though.  Hopefully this installs without issue on this VPS :p00:02
h31_Hello. https://www.ubuntu.com/download/alternative-downloads BitTorrent link for 18.04 Server is incorrect. Please fix it.00:07
tewardum... you're kind of right00:07
tewardfor a minute i thought i was misreading the links but then i noticed you were right...00:09
tewardsarnold: do you know who I need to poke for that :p00:09
sarnoldteward: that's an excellent question. let me flail around a bit wildly.00:10
tewardsarnold: being in multiple places at once and getting a ping in a pretty specific channel helps too00:11
sarnold*nod* :) your choice was better, it seems, hehe00:11
tewardsarnold: indeed.00:11
tewardh31_: we've prodded people who will prod the people who can fix it, no ETA on a fix, use http://releases.ubuntu.com/bionic/ubuntu-18.04-live-server-amd64.iso.torrent in the interim.00:11
sarnoldthanks h31_ :D00:12
h31_Ok, I'm already seeding the torrent :)00:12
sarnoldhah, nice00:12
tewardi'd seed it if i weren't a security nutjob :P00:13
tewardtorrents are... a security nightmare at times00:14
teward:P00:14
h31teward: Why do you think that there's issues with torrents and security?00:18
tewardnot really *torrents* themselves, but having to open the NAT rules to permit inbound connections as sarnold just had to do :P00:19
h31Don't heard any news about vulnerable torrent clients00:20
h31Except Transmission with trojans included. But it's not about network security, essentially :)00:21
tewardany port opened is a security risk, in theory.00:30
h31Your IRC client makes one of the external ports open00:33
h31And some types of NAT allow to access those port from all the internet.00:34
h31*this00:34
tewardIRC client opens up a high number ephemeral port that in a stateful firewall setup will only permit traffic related to the established outgoing traffic, and deny other "NEW" inbound requests00:35
tewardand to be honest keep in midn I've been in the IT SEcurity sector for some time, and the most *insane* people will make the arguments about 'any open port'00:36
tewardand while I know what you're *trying* to say, it's not in the realm of what you *intended* to do to dispell/disprove my statement.  (so ultimately with *me* this is an argument that is going to be forever lost; as such I'm going to go mess with the 18.04 install that doesn't want to complete in a VM)00:37
dpb1teward: I'm doing 276KB/s up right now, I like that. :)00:38
dpb1to ~30 people00:38
tewardremind me how I'd add secondary network interfaces (or equivalent of ens3:1 :2 :3 etc.) for additional IP addresses?00:39
h31teward: I don't planned to argue with you. Just wanted to hear your opinion.00:39
tewardh31: i'm in the hardcore side of "Open ports are opened in a stateful manner, which is what NAT does, it doens't let new unwanted connections in while the other port is open, regardless of running service opened in an ephemeral type of setup.00:40
* teward is still not well-versed in netplan >.<00:40
sarnoldteward: ip addr add00:40
sarnoldohhhh netplan..00:40
tewardsarnold: except if you need multiple gateways, and remember netplan's the default00:41
tewardi need it persistent :P00:41
tewardso short of disabling netplan... which is an option...00:41
teward... remind me how I tell netplan to go away, again?  :P00:41
sarnoldteward: here we are https://netplan.io/examples#multiple-addresses-on-an-interface00:42
dpb1teward: for netplan?00:43
dpb1sarnold++00:43
dpb1man, feels good to have that example written00:43
dpb1:)00:43
sarnolddpb1: was that you? :D00:43
dpb1team win00:43
dpb1:)00:43
sarnold*someone* had to write these things for "how do handle ___ case", so I'm glad they made it to a website before 18.04 release :D00:44
dpb1yup, indeed00:44
sarnoldit would have been easy enough to let em languish once the tool was written00:44
tewardsarnold: but not what I need, because I, in essence, need to replicate something like this: https://paste.ubuntu.com/p/ZXFdWt3ZpH/  (which is the /etc/network/interfaces way)00:44
tewardso if *netplan* doesn't have this option (because different IP addresses with completely different gateways), then I'll have to go back to the old-school way00:45
dpb1Interface aliases (e.g. eth0:0) are not supported.00:45
tewardand in reality, if netplan wants parity to the ifupdown method then it *should* offer a method here...00:45
tewarddpb1: then I have no choice but to drop netplan, because of the way that this VPS system is.00:45
sarnolddpb1: but adding two IPs with two different 'gateways' on a single nic ought to be supported... I just don't spot any examples of that here :/00:46
tewardsarnold: which therein lies the question of "How to do this" to get similar functionality if not exact feature parity00:47
tewardwith ifupdow00:47
tewardn00:47
tewardgah i can't type today >.<00:47
dpb1teward: see this FAQ: https://netplan.io/faq#how-to-go-back-to-ifupdown00:48
tewardi already have the method to go back to ifupdown00:48
tewardi'm hoping to *not* have to yank netplan out and find a netplan solution00:48
dpb1teward: especially the bit about filing a bug request00:48
tewardhence the original question00:48
tewardah00:48
tewardum...00:49
tewarddpb1: do they ahve docs on filing a Netplan bug?00:49
tewardautomagical methods don't work :P00:50
teward(nevermind found it)00:50
dpb1yay00:50
dpb1:)00:50
dpb1teward: sarnold, ya, I'm not sure about multiple addresses from different subnets on a single interface.  perhaps cyphermox knows.00:52
sarnolddpb1: it *kindof* looks like that'd be handled via the routes mapping ..00:52
tewardwell i'm adding a bug on it to state that either documentation or functionality doesn't exist.00:52
tewardand then it can be attacked from either front.00:52
sarnoldit appears it can take "from", "to" and "via"00:52
dpb1sarnold: ya, I think I'd try that.  I'd have to play with it in a container/vm, and I have no steam for it tonight. :)00:54
sarnold*nod* I knwo the feeling00:55
tewardh31: the incorrect link to the Server torrent has been fixed according to people upstream from here.00:55
tewarddpb1: sarnold: I'll fiddle with it on my own, probably in an LXD container this weekend.  either i'll find a solution, or the netplan team will find one and provide either documentation or confirmation the feature needs developed.00:55
h31teward: Yes, it's working now00:56
tewardbut for now, I'll settle for food.00:56
teward*goes to eat food*00:56
dpb1:)00:57
runelind_qyou guys getting a lot of netplan questions today? :)00:58
tewardI haven't seen many today.  I have them though :P00:59
runelind_qI'm like "oh no, not _another_ way of configuring networking", but it is not that bad once you get used to the YAML formatting/spacing00:59
tewarddpb1: sarnold: on this VPS, at least, I'mma kick it back to ifupdown because that config "works" for this VPS00:59
sarnoldrunelind_q: no, I don't think 18.04's been out long enough for people to find it yet :)00:59
tewardsarnold: 17.10 people had netplan too though :p00:59
tewardso00:59
sarnoldyeah, but loads of folks stick to ltses01:00
runelind_qyeh, but at least on the server side I think people are mostly sticking with LTS01:00
dpb1runelind_q: there is a #netplan channel, if you have a deep question01:00
tewardsarnold: YOU MEAN LIKE ME?  :P01:00
tewardoops, caps01:00
runelind_qand the desktop peeps have GUI01:00
sarnoldteward: YES! :D01:00
runelind_qdpb1: I don't have any questions, I was just imagining a lot of people might01:00
dpb1runelind_q: but yes, it's a new thing, replace a 20 year old thing, bound to be niggly bits. :)01:00
tewardI assume that if I yank out systemd-resolved then I have to edit resolv.conf by hand...01:01
tewardright?01:01
* sarnold stands by to pick up pieces01:02
dpb1yes, that sounds quite complex01:09
runelind_qwonder how long it will be before 18.04 LXD images are available on the official repo (I think it has been on the image server for a while)01:23
runelind_qdon't know that it would be all that different from 16.04 though01:23
axisyssomething happend while I was trying to fix earlier today.. sudo does not work01:24
axisys$ sudo -s01:24
axisyssudo: PAM authentication error: Module is unknown01:24
axisysany suggestion where to look?01:24
axisysit is trusty01:24
tewardaxisys: did you make any changes to PAM or your underlying authentication librarires?01:25
axisysI can become root with su -01:25
tewardsarnold: dpb1: so, I have a hatred of resolved because it doesn't work with my VPN assigned DNS nameservers properly01:25
tewardand I can't get rid of it in 18.04 apparently on server01:25
axisysI did lot of apt-update, apt-get autoremove, apt-get install pkg..01:25
sarnoldteward: hrm ;/ I'm surprised it doesn't work by now, it's not exactly new ..01:26
tewardwell, it's being an irritant right now01:26
tewardand of course v6 is being a pain when I try and lock it down...01:26
teward*goes and does a drastic thing, setting up a local DNS recursive resolver*01:26
teward(I'd rather work with a bind9 instance for this server than fight resolved for v6 resolving)01:27
sarnoldbind9 when there's powerdns and unbound to choose frmo?01:28
tewardsarnold: because I have a working secure setup for it.01:28
sarnoldah. alright. can't argue too much work "working"01:28
teward*points at his own 16.04 laptop running a 'last resort' local resolver via bind9*01:28
axisyshttp://dpaste.com/3CY34B7.txt01:29
axisysany pam module missing ^ ?01:29
axisysor pkg rather01:29
tewardsarnold: i'm kinda glad this VPS has a VNC emergency connection... I've fubar'd the networking twice already xD01:30
sarnoldaxisys: check auth logs to find out *which* pam module it is complaining about?01:30
axisysonly ref is showing pam_unix01:30
sarnoldhuh. you're not the first one to have a pam_unix bug recently. but .. your machine was *really* unhappy.01:31
axisyspam_ldap01:31
sarnoldwhat's debsums -ac libpam-modules  look like?01:32
tewardoh, FUN.  sarnold: systemd-resolved doesn't like non-netplan I think01:32
axisysI don't have that install.. but i do see it is complaining about pam_ldap.. not pam_unix01:33
tewardor i botched networking again01:33
tewardat least, not with v6 resolving01:33
sarnoldaxisys: you're gonna be pretty unhappy without libpam-modules installed01:33
axisysthat was it01:34
axisyslibpam-ldap01:34
axisyssarnold: thank you!01:34
dpb1teward: what kind of VPN01:36
dpb1openvpn?01:36
tewarddpb1: this one's not a VPN01:36
tewardthis one's basic v601:36
tewardand systemd-resolved *not* returning me results01:37
tewardI know that v6 is 'permitted' and works because I can make v6 HTTP requests, but the DNS portion fails01:38
tewarddpb1: any idea why system services like curl can't resolve v6 lookups or get any lookup results at all, while a direct systemd-resolved *can*?01:40
tewardit's like 127.0.0.53:53 isn't responding to DNS requests from local01:40
tewardand doesn't reply to `dig` inquiries either, which is highly abnormal01:41
dpb1hm01:45
dpb1teward: no... but other people in here will01:46
dpb1but likely everyone is tired out from today. :)01:46
tewardhmm, well at this rate I'm going to have no choice but to kill resolved...01:47
tewardsince it's not responding to DNS requests for most applications01:47
tewardi wonder if removing netplan from the equation is the problem01:47
tewardyeah so something about resolved's stub resolver doens't like to behave.  I'll just edit /etc/network/interfaces directly for now.02:05
twbWhat's UbuntuESM ?  It's mentioned in a trusty-updates change to unattended-upgrades06:59
twbI found https://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg5186543.html and tried browsing to esm.ubuntu.com, but it wants a password07:00
twbAha, https://www.ubuntu.com/support/esm07:00
sarnoldhttps://www.ubuntu.com/legal/ubuntu-advantage/service-description07:01
sarnoldoh that's a better url :D07:01
RoyKtwb: better just upgrade to something more recent ;)08:07
twbdude I still have customers sitting on lucid because they won't pay for an upgrade08:08
CheckmateHello08:33
Checkmatei have big problem08:33
CheckmateWarning: Unknown: open(/var/lib/php/sessions/sess_2frkklvllkgt00bbh52j4trmn2, O_RDWR) failed: No space left on device (28) in Unknown on line 008:33
Checkmatei cannot access to mysql or phpmyadmin08:33
Checkmatedf -h https://pastebin.com/raw/7aixrp3v08:34
twbploop is a VM virtual filesystem, no?08:34
Checkmateyes08:35
twbSo maybe the underlying storage is full08:35
Checkmatetwb but i can see 599G free08:35
twbCheckmate: that's only what the guest sees, right?08:35
twbCheckmate: maybe the host OS has overcommitted08:36
Checkmateno i have full access08:36
Checkmatedf -h dont lie08:36
twbCheckmate: the filesystem is ext4?08:36
Checkmatetwb i'm not sure08:37
twbCheck with "blkid /dev/ploop17418p1"08:37
Checkmatetwb nothing printed on result08:39
twbDo you have access to the host OS?08:39
Checkmateyes08:40
twbCheck df on the host OS08:40
twbAlso check any per-container limits08:40
twb1008GB is suspiciously close to 1024GB i.e. 1TiB, so I'm guessing you have an artificial limit somewhere that df doesn't know about08:41
twb"df doesn't lie" is not a safe assumption in all cases08:41
Checkmatetwb i think is a problem allocated with mysql08:45
Checkmatebecause this problem happen only when i'm trying to use mysqldump08:45
twbhow are you running mysqldump?08:45
twbMaybe if mysqldump runs out of space halfway, it removes the file it was writing to08:46
Checkmatetwb is mysqldump have limits ?08:47
twbso your filesystem was 100% full when mysqldump ran out of space, then it deleted it's 599GB incomplete file08:47
Checkmatetwb mysqldump have limits ?08:48
twbI don't know about mysql, sorry08:48
twbask #mysql about that08:48
Checkmateok08:49
twbI typically do something like this:   pgdumpall | xz -v >/var/backup/postgres/backup_"$(date +%d)".sql.xz08:49
mjosephre-asking here from #ubuntu, as this is more server related -- Does anyone know how to get netplan working with SR-IOV VFs?  it seems to delete all existing VFs when netplan apply is run08:50
twbCheckmate: if you're running that by hand it'll give you progress output so you can easily see if the output size lines up with the too-much-space08:50
RoyKtwb: pg_dump -F c $dbname > $dbname.dump # ;)08:51
RoyKtwb: then just write a wrapper that lists databases and dump each of them08:52
twbRoyK: meh08:54
RoyKtwb: I have one handy if you need it ;)08:54
twb-r--r----- 1 root postgres 1.2M Apr 27 02:00 pg_dumpall.Fri.sql.xz08:54
twb:-)08:54
twbI did have a wrapper before; I threw it away because it wasn't worth maintaining for that system08:55
RoyKmy point was using -F c to allow restores of separate tables in a database, and separating databases in a wrapper to ease restoring them instead of everything, or separating the sql file manually08:56
Checkmatetwb all is fine i have free space08:56
RoyKand -F c uses gzip, so albeit lower compression than xz, it's ok08:57
blackflowzfs snapshot -r /zdata/postgresql@Fri    ftw  :)09:09
blackflows/\/zdata/zdata/09:10
RattleBattle79what happend to mdadm raid setup in Subiquity?09:51
tomreynRattleBattle79: i dont think it's supported, yet.10:00
RattleBattle79tomreyn: OK. I thinkt it's weird to use Subiquity as default, then. But maybe "noone" is really using mdam? At least for enterprise10:15
tomreynRattleBattle79: i have not verified that it is the default, but if so, that seems wrong to me, too.10:19
blackflowwhich program is used to share HW info in Bionic? Does it exist for server installations / upgrades?10:36
RattleBattle79tomreyn: It is the default for Ubuntu 18.04 server10:40
RattleBattle79luckily the netinstall i not using Subiquity, so that's an alternative10:43
RattleBattle79is not*10:43
RoyKRattleBattle79: I've been ranting about this for a while10:45
RattleBattle79RoyK: Yeah I really don't get it. Maybe I'm blind, but I really don't see the big deal about Subiquity and what justifies a premature release.11:16
RoyKdon't ask me11:18
RoyKI first tried 18.04 a week or two ago, the beta, and complained here about the lack of support for raid/lvm, and apparently it also lacks support for recognising those if already setup11:19
RoyKand encryption, and a few more things11:19
RattleBattle79If they decided to ship it with 18.10, I would've supported it, but this is an LTS for... sake11:21
=== JanC is now known as Guest28882
=== JanC_ is now known as JanC
rbasakahasenack: o/12:42
ahasenackhello rbasak12:42
rbasakahasenack: could you review https://code.launchpad.net/~racb/usd-importer/+git/usd-importer/+merge/344705 for me please? Though I can work around, it's currently blocking my easiest path to fix the importer.12:42
ahasenackok, let me check12:43
ahasenackrbasak: approved12:58
rbasakThanks!12:58
threshhello.  no i386 for servers anymore, right?13:09
ahasenackright13:13
ahasenacknor desktop I think13:13
threshsweet.  one less architecture to target!13:14
tewardso, an interesting dilemma I'm running into.  I've got a 18.04 VPS but because I only have one NIC, I can't use Netplan because it's undocumented how to have multiple public IP addresses with completely different gateways set up in Netplan.  As such, I had to revert ot the old-school 'ifupdown' method to properly get the IPs set up and working.  Now, systemd-resolved's 'stub' at 127.0.0.53:53 is not responding to DNS lookup requests, and all13:39
tewardDNS is broken, unless I remove the /etc/resolv.conf symlink and replace it with an old-style resolv.conf declaring the nameservers I want to use.13:39
tewardanyone got any ideas why systemd-resolved is busted this way?13:39
cyphermoxteward: networkd has no idea what your nameservers are13:42
cyphermoxteward: you'd want to say, add them to /etc/systemd/networkd.conf in DNS=13:42
cyphermoxor better, back to netplan, add your multiple addresses, and add your own default gateways using routes:13:43
ahasenackwhat is the scenario? One nic with multiple ips?13:45
ahasenackI'd like to see this final netplan file when it's working13:45
cyphermoxyeah13:46
cyphermoxI can quickly put together an example13:46
* dpb1 would love that13:46
* cyphermox tests in a VM13:51
cyphermoxhttps://paste.ubuntu.com/p/Z2KvM66rbp/14:00
cyphermoxteward: ahasenack:14:01
rbasaknacc: I'm going to bring beta up to current edge and put the importer host onto beta.14:10
ahasenackteward: does that work?14:14
tewardahasenack: one nic with multiple public IPs each on their own gateway.  VPSes are not fun14:20
tewardi'll have to check, I've got an issue at work I had to fix first14:21
tewardcyphermox: I... think that'll work.  Let me do some tests.14:21
cyphermoxfwiw, this path in general is frought with danger, routing on different gateway means traffic might be going places it doesn't expect -- it's highly dependent on the network in general being configured to allow this14:26
cyphermoxie. you send traffic from one IP to the gateway of another subnet, since they're all directly connected that's allowed, but the behavior is unspecified14:27
cyphermoxteward: if you had 'ip rule' commands in your ifupdown config, you'll need more things in the netplan yaml (the equivalent is entries under 'routing-policy')14:28
dpb1cyphermox: here is what he posted yesterday... https://paste.ubuntu.com/p/ZXFdWt3ZpH/14:31
cyphermoxright, well that should just work14:32
Epx998Anyone familiar with isc-dhcp-server?14:34
* cyphermox hides in a corner14:35
tomreynwhen even some of the more experienced ubuntu sysadmins run into issues with something as crucial as the central network configuration, it's good to have its developer around.14:35
cyphermoxEpx998: what do you want to know? we can probably find someone who knows14:35
tewardcyphermox: nah I didn't have any ip command calls, it was more the 'routing' component that I had to worry about.  Not to mention I have some pretty chaotic evil firewall rules and IP bindings on the services that'll be on this box to restrict traffic flow.14:46
tewardthe core problem was getting netplan to work properly.  And it's more crazy that when I had this set up without netplan, I added into resolved.conf the Google DNS servers to use.  And it *still* doesn't respond on its stub handler.14:46
tewardthe only thing I need to backup on this server right now is a set of SSL certs and keys, then I'll just 'blow it away' and start over.14:47
tewardsince this VPS is only a day old and doesn't have that much data on it14:47
tewardi have a meeting in 10 minutes, so if I don't get to it now, I'll get to it later, and let you know how it went.14:47
The_SorceHi! I'm looking to do a fresh install of 18.04, but apparently the server install is graphical nowadays? This is fine, but I require some "advanced features" such as LVM, RAID, vlans during the installation phase.15:11
The_Sorcehttps://www.ubuntu.com/download/alternative-downloads talks about an "Alternative Ubuntu Server installer" for precisely this purpose, and offers a link to http://cdimage.ubuntu.com/releases/18.04/release/, where there is no alternate installer... So, is the documentation wrong or is the alternate installer iso missing? :D15:12
tomreynThe_Sorce: i think the ubuntu-18.04-server-... images there are the alternative ones you're looking for.15:14
naccrbasak: any reason not to put stable there too?15:15
naccrbasak: or wait til release?15:15
tomreynThe_Sorce: actually i may be wrong on this15:16
The_Sorcetomreyn: Actually, that makes sense. Just noticed that the official release iso is named ubuntu-18.04-live-server-amd64.iso, so I suppose -server is indeed the alternate installer despite the naming. I'll check it out.15:16
tomreynThe_Sorce: okay then i was right ;)15:16
The_SorceSure, and no problem if you were wrong. Then I'll be back. ;)15:17
cyphermoxyeah, if you see -live-, then it's the new installer, which does not yet have LVM, RAID, etc.15:17
cyphermoxthe ones on cdimage under releases should be the good old non-live debian-installer based images15:18
tomreynthere si also http://cdimage.ubuntu.com/netboot/bionic/ - but it looks like the bionic files there are not those of the release, yet (based on both the timestamps and the html page saying "beta")15:18
The_SorceIt makes more sense looking at the folder for 17.10, http://cdimage.ubuntu.com/releases/17.10/release/, where there are both -live-server and -server. For 18.04 -live-server is not found at http://cdimage.ubuntu.com/releases/18.04/release/.15:19
tomreynthe *live* ones are hosted at http://releases.ubuntu.com/18.04/15:21
The_SorceApparently. Well this helps a lot, thanks guys! Happy to be able to throw out 16.04 and do some clean reinstalls, perfect weekend project. :)15:23
tewardcyphermox: in the netplan config file, i can make comments with # right?  (Not sure, hence asking)15:31
cyphermoxyup, it's fine15:45
tewardcool, I'd like to be able to ID which IP is which (one is DDoS-protected, the other isn't heh)15:47
tewardcyphermox: your example worked fine.  Now I just have to set up IP bindings for the services, and have some fun with the firewall.15:47
tewardbut that's not a netplan thing.15:47
tewardcyphermox: can this example be added to the netplan site/documentation?15:48
teward(which would close https://bugs.launchpad.net/netplan/+bug/1767227 which I filed about this specific issue, I had a feeling the functionality existed, but documentation/examples didn't...)15:48
ubottuLaunchpad bug 1767227 in netplan "No solution for 'multiple IPv4s with different gateways'" [Undecided,New]15:48
tewardshush bot.15:48
naccrbasak: since you are presumably mid-review still, I'll hold off on rebasing the importer test MP? but we'll need to rebase before landing to ensure CI15:58
naccrbasak: I rebased the cleanup branch already15:58
rbasaknacc: ack.15:59
rbasaknacc: did you say you were going to post a replacement cleanup branch that uses the close method stuff?15:59
=== zerick_ is now known as zerick
naccrbasak: already done16:08
naccrbasak: that's the rebased branch16:09
rbasakAh, thanks16:14
naccrbasak: np, let me know; given that I am testing the git_repository changes separately, if you'd rather i just drop the unit tests for the importer I can do that16:16
axisysifup em4 says ... RTNETLINK answers: File exists \n Failed to bring up em4.17:11
axisysbut ifdown em4 says ..17:11
axisysifdown: interface em4 not configured17:11
axisysI do not understand17:11
axisystrusty17:12
axisysifquery -l shows em4 in the list17:13
axisyshmm.. # ls /run/network17:14
axisysifstate  ifup.em1  ifup.em2  ifup.em3  ifup.lo17:14
axisysno em4 ..17:14
axisysany idea what is going on?17:14
ahasenackI've seen that happenning when I chaged /etc/network/interfaces between ifup/down commands17:15
dpb1was in midstream of typing just that17:15
axisysI did not17:15
axisysem4 is up .. but up ip route did not work for those under .. that I why I was trying to simulate the ifup17:16
axisystrying to see why ip route did not run17:16
dpb1ip link shows em4?17:17
axisysifquery em4 shows all those ip routes.. so for "some reason" they did not run when rebooted.. this server is not in production yet17:17
axisyswhat is the command to restart the network? service networking restart says stop: Job failed while stopping17:25
mtlifup and ifdown?17:25
axisysmtl: ifdown -a does not take em4 donw17:26
axisysdown*17:26
axisysall the others are down17:26
runelind_qinteresting, landscape-client appears to be a bit broken when setting up registration in an 18.04 container18:11
runelind_qI get to the end of the configuration/registration step when it barfs18:11
runelind_q'ascii' codec can't encode character '\u201c' in position 193: ordinal not in range(128)18:11
sarnold"LEFT DOUBLE QUOTATION MARK"18:13
sarnolddoes that sound familiar runelind_q?18:13
runelind_qoh, maybe18:13
runelind_qI probably pasted something wrong ;p18:13
runelind_qmy bad - you may go about your business18:14
sarnoldrunelind_q: it might still be worth a bug report -- python stack dumps aren't the politest error reports :)18:15
ahasenack+118:15
irwissare the language-pack-en and the ...-base packages necessary on a console-only server if i want only english / C.utf8 "locale" support?18:21
sarnoldI've never tried removing them but I expect nearly everything includes reasonable messages in that case18:22
sarnoldit's strictly possible for messages to be looked up by an *id* and thus not have any messages if you don't have language packs installed, but I can't recall ever seeing any code that does this.18:22
dpb1runelind_q: yes please on the bug report, if you file let me know please18:23
irwissguess i'll try it out then :)18:29
sarnoldirwiss: please do report back how it goes :D18:30
EdganAnyone know when the 18.04 amis are likely to come out?18:41
sarnoldrcj: ^^ is this you?18:44
dpb1https://cloud-images.ubuntu.com/locator/ --18:45
dpb1they are there18:45
Odd_BlokeEdgan: Yep, they are already out. :)18:47
sarnoldhuhn, they aren't listed on http://cloud-images.ubuntu.com/locator/ec2/18:47
sarnold(the url I had in my firefox history :)18:48
Odd_BlokeYeah, that one uses different metadata that is slower to update.18:50
Odd_BlokeLet me chase that up.18:50
sarnoldthanks Odd_Bloke18:52
sarnoldrcj: unping :D18:52
dpb1sarnold: oh18:53
dpb1didn't know about that one18:53
sarnoldI guess it just goes to show the importance of being specific :)18:53
dpb1sarnold: I know the ones I linked are good at least, I launched one last night. :)18:54
sarnoldwoot18:54
Edgandpb1: Odd_Bloke: I looked at that earlier and they weren't. Awesome!18:59
Odd_BlokeEdgan: Note the difference between /locator/ and /locator/ec2/.18:59
Odd_BlokeRegardless, both are now up to date. :)19:00
sarnoldyay19:01
Neo4Hi19:54
Neo4I'm going to leanr vim, from what get started?19:54
Neo4I know common commands and use it, but I want more deep to learn it19:55
TJ-Neo4: :help within vim itself is very useful19:55
Neo4TJ-: would be good something apps like solo on keyboard19:55
Neo4exists vimtutor19:56
threshNeo4, https://ru.wikibooks.org/wiki/Vim seems a good start19:56
Neo4or do you think I need to try all day use only vim when I will edit code on php?19:56
Neo4then after sufferin a few day you will know vim19:56
blackflowmore like weeks or months. but yes, dive into it.19:57
Neo4but vim not useful it doesn't have pannel where plaed all files like sublime19:57
blackflowthere are plugins.19:57
Neo4I know :e. command it's file explorer19:58
Neo4in vim not exists tabs and file panel19:58
blackflowsurely there's a plugin for that.19:58
Neo4I ask in #vim now19:58
Neo4continue here, there mortal silence20:00
Neo4use vimtutor and try edit more files in vim instead sublime, I think it's help20:01
Neo4new a few commands20:01
Neo4gg - go to top20:01
Neo4G - go to buttom20:01
Neo4set number  - set number20:01
Neo4etc20:01
Neo4I know many20:02
Neo4how to search, press / and then n for continue20:02
Neo4dd - delete line20:02
Neo4x - delete symbol20:02
Neo4w! file name - write in new file20:02
blackflowNeo4: search for "vim cheatsheet" on google. Use that and simply dive into editing. After some time, you will gain muscle memory and won't need to look up the cheatsheet.20:03
blackflowI'm sure it's otherwise kinda offtopic here.20:03
Neo4CTR + Z go out from vim than we can return back type 'fg'20:03
Neo4blackflow: I would use it like regular editor if there were tabs and panel, It might be I need google how to add tabs and panels to vim20:04
Neo4php project has many files and I cant always close and open close and open by one20:04
blackflowyou can open multiple files at once.   see  :sp and :vsp20:04
blackflowand I'm sure there are plugins for tabs and whatnots.20:05
blackflowLearning vim bindings has huge benefits. Nowadays I rarely use vim directly, I use PyCharm IDE with vim bindings.20:06
blackflowotherwise I can't imagine editing text without them.20:06
jaimehrubiks_The only way to learn vim is to force yourself not to give up, and don't switch to other sw. Just for every barrier find a solution on Google and note it down20:11
Neo4jaimehrubiks_: ok, I'll try :)20:13
jaimehrubiks_I use my config files and have a system to autodownload them on any server, but it is also worth learning "the basics" first, using default configuration20:14
jaimehrubiks_As blackflow suggested, moving around text is the most awesome thing, at least for me. Nowadays I tend to use plain vim for little changes and Ides or spacemacs with vim keybindigs for other stuff, but plain vim is a must learn20:15
Neo4try to move in vim using ssh, type there :e. you will see real filemanager and can easy navigate on files20:18
Neo4I've read in book that it is possible run files over ssh on remote computer using real text editor, I forgot how it called, seems like x ssh20:19
Neo4is it really we can connect to remote computer nad run those files in (for example ) sublime or gedit?20:19
jaimehrubiks_You can do it in several ways. Use remote vim via ssh. Use scp method which is supported in vim. Mount remote file system. And some others. I don't really have good experience editing remote files. I prefer editing with remote vim. Or edit locally and send after save with a command20:25
Neo4jaimehrubiks_: yes, connect using filezila20:33
Neo4yesterday I tried to connect my laptop and desktop , there in both ubuntu and install sumba20:34
Neo4samba is use for windows share folder20:34
Neo4I did connection using ssh, simple ssh user@ip20:35
Neo4it is right way to connect two linux computer?20:35
Neo4it looks so easy, much easier than was connect two windows computers20:35
Neo4put connection in filezilla and can easy copy files20:36
Neo4ssh doesnt work if doesn't install openssh.server20:37
Neo4ubuntu doesn't have it by default, for did coonection I installed ssh20:37
Neo4jaimehrubiks_: see http://pix.toile-libre.org/?img=1524861959.png20:46
Neo4what does it means?20:46
Neo4passed, it's not what I thought20:48
Neo4I guessed it means if there install gedit we can use it as well as other grafical applications20:52
Neo4we don't have to use vi if we use ssh -x20:53
sarnoldyou can use both! ssh -X gvim ...   :D20:54
jaimehrubiks_Neo4, you should use ssh keys, so much secure, fun and faster than passwords20:55
Neo4sarnold: I will use vim, it's just for to know about this possibility20:56
Neo4jaimehrubiks_: right :)20:56
jaimehrubiks_Ubuntu server does have ssh by default I guess. You can select to enable it during install if I recall well20:59
irwisssarnold: nothing seems to have crashed or burning yet after removing the language-pack, though i'm running a very small subset of software on this server, not much beyond sshd/tmux/git/docker/mc/ssmtp and a bunch of even smaller utilities21:27
sarnoldirwiss: nice! :D21:27
sarnoldirwiss: how much disk space did that save?21:27
irwissnot much i think, a few megabytes ^^ just wanted as few packages marked installed manually and those 2 stuck out21:29
sarnoldheh, oh well, I guess that shouldn't be a *real* surprise ..21:29
sarnoldthanks irwiss :)21:29
sdezielirwiss: I ditched ssmtp for msmtp-mta and if you do TLS, you should consider doing the same as ssmtp doesn't do authentication checks21:34
sarnoldew21:35
laurenhi folks! what options do y'all know of for continuous bandwidth usage monitoring per process per host (or per host class), for use in billing by io? I'd like to find something that allows monitoring per host-class, ie internet vs local net or etc.21:43
irwisssdeziel: huh apparently ssmtp isn't maintained anymore as well... i'll check msmtp, thanks!21:44
sarnoldlauren: I haven't used anything myself, but I know many tools interoperate with netflow format21:44
sarnoldirwiss: I've been using msmtp for ~six years without complaint :) easiest MTA setup I've ever had21:44
laurensarnold: where would I find some of those? what would I have to search for?21:44
sdezielirwiss: indeed. My only grip with msmtp is how passwords are stored in the config file (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883349)\21:45
ubottuDebian bug 883349 in msmtp "/etc/msmtprc should not be world readable" [Normal,Open]21:45
sarnoldlauren: it depends where / how you want to do the accounting .. apt-cache search netflow finds a bunch of tools, some intended for on-host use, some for on-router use21:45
laurenah nice21:46
sarnoldnetflow's not the only tool around but I know there's entire ecosystems around it :) hehe21:46
sarnoldsdeziel: hrm, not sure I love that patch :/ ... normally most tools aren't written robustly enough to be setgid21:47
sarnoldsdeziel: if a user config file asks to log to something writable by group mail, what happens?21:48
sdezielsarnold: hrm, very good point21:48
sdezielsarnold: I'm culprit of proposing the same patch to sSMTP (was accepted and included in Ubuntu long ago)21:49
sarnoldha :)21:49
sarnoldoh man. ssmtp's still in bionic. sigh :)21:49
sdezielsarnold: it's not a very good counter-argument but I also proposed an Apparmor profile in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883354 which should prevent such writes21:50
ubottuDebian bug 883354 in msmtp "Apparmor profile for msmtp" [Wishlist,Open]21:50
sarnoldsdeziel: <321:51
sarnoldsdeziel: I thought I had an apparmor profile for mine. I apparently don't :/21:51
* sarnold proceeds to steal21:51
sdezielsarnold: re msmtp's setgid, how about making this only when installing msmtp-mta which provides sendmail?21:52
sdezielI think the mail group should only have write access to /var/mail by default21:53
sdezielwould probably be easier to make a new dedicated group I guess21:53
sdeziels/easier/safer/21:53
sarnolda dedicated group would definitely be safer21:54
sarnoldsdeziel: thanks for the apparmor profile :)21:54
sdezielsarnold: I will happily integrate any changes you feel necessary to it and feed them to the Debian bug ;)21:56
sarnoldit'll be fun to find out what's changed since then :)21:56
sarnoldI added 'm' to the executable21:56
sarnoldbefore finding out that's needed21:56
sdezielhmm, not needed here on 16.0421:57
sdezielsarnold: I added the "m", let me know when you are done testing so that I can incorporate more diff22:01
sarnoldsdeziel: 9f834ec18defc369d73ccf9e87a2790bfa05bf46 changed when the kernel checks privileges .. so 'm' is required in 16.10 and newer22:01
sdezielyeah, I vaguely remember it being kernel dependant22:01
sdezielso you guessed that I only run 4.4 everywhere ;)22:02
sarnoldyup :)22:02
sarnoldas apparently I do too..22:02
sdezielI have quite a few profile to future proof then22:04
irwissthanks msmtp-mta seems to have replaced it nicely22:07
sdezielthanks for the patch review sarnold, have a nice weekend!22:14
sopparushello nginx-full doesnt seem to work with webdav on 18.0422:26
naccteward: --^ ?22:26
sopparus nginx: [emerg] unknown directive "dav_ext_methods"22:26

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