/srv/irclogs.ubuntu.com/2015/07/23/#ubuntu-server.txt

=== markthomas is now known as markthomas|away
=== Lcawte|Away is now known as Lcawte
lordievaderGood morning.07:21
rbasakteward: I would "Won't Fix" bug 1194074, but up to you.08:14
ubottubug 1194074 in nginx (Ubuntu) "Default index.html blindly overwritten" [Medium,Triaged] https://launchpad.net/bugs/119407408:14
cluelesspersonhey all08:52
RoyKrbasak: a package overwriting user files doesn't seem like a sane Won't Fix to me :P08:54
cluelesspersonSo I'm trying to allow a user to access CIFS mounts.  This is my FSTAB  http://paste.ubuntu.com/11922616/   these are the mounts http://paste.ubuntu.com/11922620/08:55
cluelesspersonthe user zachary who is part of the "mediashare" group CAN read and acess the mounts, good08:56
cluelesspersonhowever, the service/application subsonic, using "subsonic" user, ALSO part of the "mediashare" group, CANNOT access the mounts for some reason with permission denied.08:56
rbasakRoyK: packages *own* files in /usr/share. They are supposed to overwrite them on update. Users are not supposed to change package-shipped system files in /usr and expect them to not be overwritten on update.08:56
rbasakRoyK: nginx shouldn't default to using /usr/share/nginx/www/index.html IMHO, but that's a Won't Fix in Debian. So either we should decide to diverge in Ubuntu, or decide not to, but either way make a decision.08:57
=== G_ is now known as G
RoyKrbasak: IC09:12
=== masACC is now known as maswan
cluelesspersonhello?09:22
TheEagerPadawanhi anyone around here that could explain metro-ethernet and MPLS to me?10:42
cluelesspersonsarnold, yo10:48
patdk-lapmetro-ethernet is just that, they just handoff ethernet uplink to you10:51
patdk-lapmpls is a vpn type service, normally used for faster switching to get from one location to another10:51
TheEagerPadawancould you explain a bit more patdk?10:52
patdk-lapbut you don't want to pay for a private dark fiber10:52
patdk-lapyou want me to explain what ethernet is? 802.3?10:52
TheEagerPadawani do knowwhat etherent is, i just wondered if you could eloborate more on metro-ethernet and MPLS10:53
patdk-lapwell, if you know what ethernet is10:53
patdk-lapyou know what metro-ethernet is10:53
patdk-lapit just means they give you an ethernet cable to plug into10:53
patdk-lapnot dsl, cable, t1, ...10:53
TheEagerPadawanwell if whoulmed know that i wouldn't have ask, i presu10:54
patdk-lapI guess more accurately, mpls is more like a vlan on the telephone network10:55
lordievaderThe wikipedia page says metro-ethernet is ethernet for a MAN.10:55
lordievaderWhereas ethernet is used for a WAN or LAN.10:56
patdk-lapyes?10:58
patdk-lapI don't see why people need to bring up wan/lan/man/... into it10:58
patdk-lapdoes it matter if your network is in your house/lan, or outside it/wan10:58
patdk-lapit's still ethernet10:58
patdk-lapmetro-ethernet is just that, ethernet is provided as your upstream10:59
patdk-lapvs dsl, that is not ethernet10:59
patdk-lapand you need a device to convert and use it10:59
TJ-"Metro-Ethernet" is more a branding label; the CPE delivery is Ethernet but the underlying network technology can be almost anything, including Ethernet over MPLS over Ethernet10:59
patdk-lapand since it's not directly ethernet, you have no possibility to directly connect multible locations as a single l2 zone10:59
patdk-laplike pure ethernet would be able to do10:59
=== JanC_ is now known as JanC
rbasakkickinz1|afk: any news yet on whether the docker 1.7 backport to trusty will need a golang toolchain backport?11:33
=== kickinz1|afk is now known as kickinz1
kickinz1rbasak, on the Dockerfile used to build docker it is till using go-1.4.211:35
rbasakkickinz1: so does that mean that it looks like we'll be OK, or that we have a problem?11:36
kickinz1rbasak, but there is an upstream bug that can be problematic for now, so I post-poned it for now. This bug fixed I would say we should be OK.11:37
rbasakkickinz1: OK. What's the bug reference please?11:37
kickinz1rbasak, https://github.com/docker/docker/issues/14160, I encountered it on snappy, and apparently other people on trusty, I didn't had it on vivid. But seems not an easy one.11:41
rbasakThanks11:41
Fyrcan Ubuntu Server for ARM be installed on Banana Pi?12:40
ogra_Fyr, why not12:42
Fyrok, where do I find the review?12:43
ogra_review ?12:43
Fyrgoogle doesn't show anything about it.12:43
Fyryes, I want to read the manual and see screenshots.12:43
Fyrthe Internet is full of Fedora ARM and Bananian, but there is no entry for Ubuntu Server for ARM on Banana Pi.12:44
ogra_well, you install it like any arm board ... set up bootloader and kernel yourself, use debootstrap to bootstrap a rootfs and put it in place on SD/USB/whatever12:44
Fyrogra_, where do I read the manual?12:45
jrtappersIs there a good way to see which runlevel starts apache?12:45
ogra_i think there are pre-made ubuntu snappy images for the bananapi as well12:45
Fyrfor Fedora ARM I use just fedora-arm-installer and an SD card.12:45
ogra_jrtappers, debian based systems do nt use runlevels12:45
ogra_*not12:45
ogra_(well, they do, but all of them are identical)12:46
jrtappersogra_, Is there a best way to guarantee running a command before a service starts each boot?12:46
ogra_jrtappers, depends on your version ... with upstart based releases you can just create an upstart job with somethin like: "start on starting apache" ... that will exec whatever you put in it before apache is started12:47
ogra_for systemd you need to likely do it differently12:48
jrtappersDISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"12:48
ogra_thats upstart then ... take a look at the upstart cookbook12:48
jrtappersAh,12:48
jrtappersThanks12:48
tewardlooking for some suggested approaches to this: hips://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1194074  Debian believes that this is "Won't Fix", I'm not sure how to approach it, this has always been a problem, where users just expect things to 'work' and don't take the time to protect their data12:57
tewards/users/endusers and novice sysadmins/12:57
rbasakI think we need to either diverge in Ubuntu or decide not to diverge and mark it Won't Fix in Ubuntu. I can't think of any other solution that'll be effective.12:58
tewardrbasak: nor can I.  I hate to say "Hey, Sysadmins, learn proper administration of your servers, for once" but I can't see a method to approach/fix that12:58
rbasakWhat Apache does seems to work much better IMHO12:59
tewardrbasak: i was about to say, what does Apache do lol12:59
rbasakAre you asking?12:59
tewardmhm12:59
rbasakIt creates /var/www/html/index.html (formerly /var/www) and sets the default path to that12:59
rbasakUsers change stuff in /var/www/html. Package upgrades leave it alone.13:00
rbasakThis mirrors what for example MySQL does with /var/lib/mysql13:00
tewardperhaps we should take a page from Apache and diverge, then13:00
rbasakThe only difference being that the sysadmin arranges to change /var/www directly, rather than going via the app like changing /var/lib/mysql13:00
rbasakI think diverging would be reasonable here, but maintaining the delta could be a pain, as it involves upgrade path considerations for the future13:01
tewardmmm13:01
rbasak(as well as a conffile change, so maybe even upgrade path from the past)13:01
rbasakSo it's quite a bit to take on in a delta, so I think it's also reasonable to say that we can't take it on.13:01
tewardmmm13:02
rbasakSeparately, you could push in Debian, but that'd mean being involved in a long debate.13:02
tewardrbasak: i think we're at the point where we may need to take it up to Debian, but we're going to get pushback again.  I can try and go over the last maintainer's head to comment on this, take it to nginx upstream and have them chastise Debian13:04
teward'cause I know they won't like it if nginx upstream ends up saying "Listen, you're doing it wrong, fix it"13:05
rbasakteward: if it were me then I'd try and openly re-open the debate in Debian, but with more clarity and evidence.13:15
rbasakteward: but it's not me, so up to you :)13:16
rbasakteward: I still think just leaving it "Won't Fix", even if for the moment, is fine.13:16
rbasakteward: leaving the bug open does set an expectation of "patches accepted, may be fixed soon", which is false here I think.13:16
tewardrbasak: i just tried this - i'll PM you the response I got13:26
tewardrbasak: i'm making a decision on this - we're going to diverge this for Wily, or at least X13:33
tewardrbasak: whos an Apache maintainer I can reach out to to ask them why they did it that way?  To get a Debian answer on this13:36
=== trippeh_ is now known as trippeh
tewardor not, we'll discuss this further13:48
=== lukasa is now known as lukasa_away
=== lukasa_away is now known as lukasa
=== abhishek is now known as Guest80797
Guest80797hello I have a multipath device , I am unable to issue  pvcreate command to mpath5 device15:48
Guest80797what is mpath5p1 in my /dev/mapper  ?15:50
Guest80797mpath5 is multipath device I know15:51
=== Vodka_Gobalsky is now known as SL89
=== markthomas|away is now known as markthomas
jrwrensecurity.ubuntu.com at 2001:67c:1562::16 is unresponsive for me. Anyone else?16:13
Slingjrwren: Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]16:19
Slingoh wait, lemme check if its going over ipv616:19
jrwrenSling: http://security.ubuntu.com started working here.  I think it had to timeout and try again on a different address. 2001:67c:1562::16 is still iin the DNS and unresponsive, but I'm not blocked.16:20
Slingseems to work on port 80 at least for me16:20
Slingdunno if this is anycast dns, probably not16:21
brotoesHello All!16:36
brotoesI was setting up vlan virtual NICs on an ESXi virtual host running ubuntu 14.04. when I try to get it an IP through DHCP, it never gets past DCHPDISCOVER. Note that the interface I’m cloning is physically connected directly to a modem, not a router. If I do the same procedure with an interface connected to a router, it works fine. Anyone know what the problem is, or how to fix it?16:36
patdk-wkbrotoes, use a modem that works :)17:12
brotoespatdk-wk, is it a modem problem, then?17:13
patdk-wkmodems lock to the first mac address they see17:13
patdk-wkand will NOT talk to any other mac address17:13
patdk-wkthe first mac address it will see, is esxi17:13
patdk-wkthen your vm17:13
brotoesAh yes, that. I’ve gone through all these shenanigans some time ago. I’ve gotten a good number of virtual hosts working on the modem. this is one of five virtual hosts on the same modem, all of which work17:14
patdk-wkconfigure esxi/switch/... to not send lldp, stp, monintor packets, status reports, ....17:14
patdk-wkand it will work17:14
=== lukasa is now known as lukasa_away
patdk-wkand how many mac addresses are you allowed?17:15
patdk-wkif you asked for 5, and esxi takes one17:15
patdk-wkthat leaves 4 working vm's17:15
brotoessorry, one of four on the modem, the virtual NIC being the fifth mac address. I’ve configured the mac addresses on the modem directly.17:16
patdk-wkI have never seen a modem that lets you assign mac addresses on it17:16
brotoesIt’s a business modem17:16
patdk-wkso it's not a modem, but a router?17:17
=== lukasa_away is now known as lukasa
brotoesit’s very much a modem. 3v.A2010tel Telus DSL Modem17:18
brotoesSorry, I don’t set the mac addresses directly on the modem. the mac addresses are set through a settings portal Telus gives you. My guess is that the modem interfaces with a Telus backend to get the MACs is supposed to talk to.17:19
patdk-wkno idea, they are doing something strange17:22
JaguarDownIf I just added a new sudo user on my server is a new set of keys required for SSH login?17:23
brotoesJaguarDown: no, but depending on the situation they may be prudent.17:24
JaguarDownWell when I try to do "ssh 192.168.0.110 -l <username>" it says permission denied public key17:24
JaguarDownthe username is allowed in sshd_config17:25
JaguarDownI am sure there is a simple solution but I am just a newbie.17:26
cloudmanah you finally fixed the grub time out -1 30 is a bit much tho, 5 or 10 would have been fine17:26
brotoeswhenever something like that happens, I find it’s always permissions17:26
brotoesJaguarDown: check to make sure the new user owns .ssh and its contents.17:26
JaguarDownthanks17:27
JaguarDownwell...root owns it and the user is has sudo privileges17:27
cloudman30 secs is a lot of time when booting 50 server individual, so I still need to edit grub17:28
JaguarDownjust like my main user.17:28
brotoeschmod 750 .ssh and chmod 600 .ssh/*17:28
brotoesthe world should not be able to write to your keys or read the private ones17:28
cloudmanwhy still the grub time out when set to less than zero tho?17:29
cloudmanwarning17:29
cloudmanbecause it aint, its now 30 and not -117:30
JaguarDownit's set that way already17:30
JaguarDownis it because the new user doesn't have an .ssh directory?17:31
brotoeschange the owner to the new user. if that’s a problem, see what /var/log/auth.log says17:31
brotoesif there’s no .ssh directory, where’s the authorized_keys file going?17:31
brotoesyep, you need one ;)17:31
cloudmanany chance of less reboots Ubuntu?17:32
JaguarDowngood point17:33
cloudman;)17:33
JaguarDownso I assume I will just copy the .ssh directory from the other sudoer to this new one17:33
brotoesif you only want to be able to log IN from the same users as you can to the other one, just copy authorized_keys17:35
brotoesif you want the new user to be able to log in to all of the same stuff as your old sudoer can, then copy id_rsa. however, keep in mind that everyone who can use the new user will have complete access to everything the old user does because they’ve got your old private key.17:36
JaguarDownWell this more of a for fun experiment for expanding my knowledge and I have no concern for access because I will be using both accounts.17:41
JaguarDownso to reiterate, the new sudo user is a user on the server and I want to login to the server as this new sudo user17:42
JaguarDownso all it needs is the private key?17:42
JaguarDowner17:42
JaguarDownthe public key I mean17:42
brotoesyes. the private key you log in with needs its corresponding public key to be in the authorized_keys file in the users home directory you’re logging in to17:43
brotoesand for future reference, I find 90% of ssh problems are due to bad permissions/file ownerships somewhere17:44
brotoeswhen diagnosing this yourself, /var/log/auth.log is your friend.17:44
JaguarDownah17:46
JaguarDownthanks.17:46
cloudmanguys lower the grub timepout to 5 or 1017:56
cloudmantimeout17:56
cloudman30 is over the op17:56
cloudmantop17:57
JaguarDownmy /var/log/auth.log just says failed public key and gives the fingerprint18:02
JaguarDownalong with username, LAN ip, ports, etc18:02
JaguarDownbrotoes: Thanks for the help sir I finally got it working and you were right it was file permission problems. I just had to use the -a option to preserve read/write/user permissions then I just chown to the new sudoer and it works perfectly.18:17
JaguarDownWhile copying the .ssh directory, that is.18:18
brotoeswonderful! glad I could help18:18
gdi2kI have a server that refuses to boot. After the boot agent, nothing appears, it just halts. No grub menu, nothing. I have tried reinstalling grub from a live CD (by chrooting in, then doing grub-install /dev/sda) but it doesn't change anything. what can I try next?18:37
cloudmanno answers here as usual19:05
Pupp3tm4st3rhi there, is anyone here who can help me with building and configuring apache2 and php5?19:50
tewardwhy do you say 'building'19:50
tewardwhat do you need to 'build' those for19:51
Pupp3tm4st3ri have to make a server with several php versions19:51
Pupp3tm4st3rits for testing purposes19:51
tewardthey'll all conflict with each other19:51
tewardso you can't sanely have 'multiple versions' available, AFAIK19:51
tewardnot without multiple testing platforms19:51
Pupp3tm4st3rmhm, how does phpbrew handle that?19:52
Pupp3tm4st3rI mean, it seems to do the same..19:52
tewardit uses userspace19:52
Pupp3tm4st3rso it runs as normal user, right?19:52
tewardthat's also third party software.19:53
Pupp3tm4st3ryeah I know, just read about that..19:53
tewarddoing the same with a pure Ubuntu server builidng everything from source...19:53
tewardthat's a lot trickier19:53
Pupp3tm4st3rokay, let me go a bit deeper19:53
Pupp3tm4st3rbuilding apache2 and php5 (one version) is just for me, learning a bit about compiling from sources and setting the right parameters19:54
Pupp3tm4st3rthe server with the multiple versions will be a jenkins server19:54
Pupp3tm4st3rjenkins needs the php version for tests19:54
tewardPupp3tm4st3r: well, IDK how jenkins does that.19:54
tewardbut building form source is just "read the documentation as it explains it"19:55
tewardfor the most part19:55
* teward disappears to a meeting19:55
teward(MAYBE someone knows better than I do on this...)19:55
Pupp3tm4st3rthanks teward19:55
Pupp3tm4st3rwhats the real difference between fcgid and php-fpm?19:56
Pupp3tm4st3rso many questions :( all I read was not that much helpfull19:56
tonyyarussoThis is probably a good use case for LXC and/or Docker, I think.19:58
tonyyarussoOne or the other of those would let you have separate environments with different PHP versions.19:58
tewardtonyyarusso: that doesnt fix Jenkins though?19:59
sarnoldPupp3tm4st3r: uncanny timing! I just found out about this http://3v4l.org/19:59
tonyyarussoteward: No idea how that works.19:59
Pupp3tm4st3rOur developers already use a Jenkins machine with 3 php versions in /opt/php/...20:00
Pupp3tm4st3rthese were self compiled, but the one who built this machine has gone now20:00
Pupp3tm4st3rand I want to understand more...20:00
Pupp3tm4st3rso it generally works20:01
Pupp3tm4st3rthink that jenkins only uses the path to binarys for testing purposes20:01
Pupp3tm4st3r*binaries20:01
mailservercan someone help me set up a mail server that sends emails from users on a local network22:08
sarnoldmailserver: https://help.ubuntu.com/14.04/serverguide/email-services.html22:10
tewardsarnold: Utopic Is Dead, now i can free up a few hundred gigs of disk space xD22:10
sarnolda few hundred gigs?? ouch :)22:12
tewardyeah i have a few VMs sitting around22:13
tewardnot my fault22:13
tewardAND I can close 3 Ubuntu Bug Tasks against NGINX now that the announce went out and it's been marked Obsolete!22:14
tewardcan't do that for utopic-backports but bleh22:14
sarnoldheh22:14
geniiIsn't Utopic EOL now anyways?22:20
tewardgenii: just died today, officially as of about what 20 minutes ago?22:21
tewardhttps://lists.ubuntu.com/archives/ubuntu-announce/2015-July/000198.html22:21
tewardthat went out...22:21
tewardwow about 30 minutes ago22:21
teward20-30 minutes ago22:21
geniiAh, I need to check my email more often22:21
tewardyup22:22
OerHeks:-)22:28
=== YamakasY is now known as YamakasY_
=== YamakasY_ is now known as Yamakasi
=== Yamakasi is now known as YamakasY
=== Lcawte is now known as Lcawte|Away

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