/srv/irclogs.ubuntu.com/2018/03/28/#ubuntu-server.txt

naccpowersj: if possible, could you look at the health of the jenkins? i'm having some of the snapcraft cleanbuild jobs randomly die00:05
naccpowersj: nm, answerd in #snappy00:06
=== aaa is now known as Hofman
=== Hofman is now known as slopisadictator
=== slopisadictator is now known as aaa
lordievaderGood morning06:10
=== beatzz_ is now known as beatzz
=== hehehe is now known as ubuntum
coreycbjamespage: i'm adding a liblasso3.symbols file to lasso for the MIR12:08
coreycbjamespage: first time creating one. for the versions i only went back to precise, mainly because that's all i could access. does that make sense?12:08
coreycbjamespage: following this: https://wiki.debian.org/UsingSymbolsFiles12:09
ahasenackgood morning12:32
RoyKgood localtime() ;)12:33
ahasenackthe best12:36
smoserrbasak: https://code.launchpad.net/~smoser/ubuntu/+source/ssh-import-id/+git/ssh-import-id/+merge/34223113:47
smoserthat was fixed... can you re-review ? if you had anything else.13:47
ahasenackwhy does ubuntu-server (the metapackage) pull in open-iscsi, does anybody know?13:51
RoyKahasenack: doubt it13:54
RoyKahasenack: better install the package yourself (or add it to the ansible playbook of choice)13:54
compdocnever noticed open-iscsi installed on my servers13:54
ahasenackcompdoc: at least in bionic, the ubuntu-server package pulls open-iscsi in14:02
sdezielit's also pulled in Xenial14:04
sdezielahasenack: my guess would be to simplify boot from iSCSI root14:05
compdociscsiadm is installed :/14:05
eraserpencilHi! I am asking question about hosting a site on an ubuntu server. Is this the correct place?15:11
sdezieleraserpencil: yes15:15
eraserpencilSo I have a domain name from namecheap, a VPS on linode, name servers are set correctly (tested by going to www.mydomain.com and seeing the default "welcome to nginx page"15:19
eraserpencilI got round to getting Pelican SSG, I've copied all the .html file, css and images files over to the /var/mydomain/html/ on my VPS.15:19
eraserpencilBut I'm not seeing any changes15:19
eraserpencilIs this something got to do with waiting for it to get indexed?15:19
sdezieleraserpencil: is your nginx vhost configured to use /var/mydomain/html/ as its "root" ?15:20
eraserpencilhow could i check?15:21
sdezielvhost/site definitions are in /etc/nginx/sites-enabled/15:22
eraserpencilahhh15:25
eraserpencilis that what is meant by root?15:26
eraserpencilyes15:26
sdezielno, by root I meant https://nginx.org/en/docs/http/ngx_http_core_module.html#root15:26
sdezielwhich in your case should be "root /var/mydomain/html;" assuming you want to serve stuff out of that dir15:27
eraserpencilahhh15:28
eraserpencilI have it commented out15:28
eraserpencilbut are changes instant?15:31
eraserpencilif i changed the html code15:31
sdezieleraserpencil: when you changes files served by nginx it's immediate15:32
sdezielbut when you change nginx configs, they are not picked up automatically, you need to reload nginx for that (sudo service nginx configtest && sudo service nginx reload)15:32
eraserpencilkk thanks.. that means something is broken15:33
=== MartesZibellina is now known as FalconMillennium
ahasenacknacc: hi, do you know something about tomcat in bionic? In particular, why do we seem to have tomcat8.0 and tomcat8?18:24
ahasenackand tomcat8 (not 8.0) seems to have many more binary packages18:25
naccahasenack: 8.0 is probably referring to 8.0.x versus 8 is at 8.5?18:41
naccahasenack: i'm not sure, though, let m elook18:41
naccahasenack: also, the 8.0 may be purely for libs that other packages need that aren't compatible with 8.5?18:42
ahasenackit's what I'm thinking18:42
ahasenackthat 8.0 is for legacy stuff18:42
naccahasenack: we did have a tough time transitioning to 8.5, for freeipa and dogtag-pki, iirc18:43
naccahasenack: https://bugs.debian.org/cgi-bin/b18:44
naccbah18:44
nacchttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=87611518:44
ubottuDebian bug 876115 in wnpp "ITP: tomcat8.0" [Wishlist,Fixed]18:44
ahasenackyeah, freeipa is what I'm looking at now, and that led me to tomcat8x18:44
ahasenackthat's good info, thanks18:45
ahasenackI think it's also incompatible with java9, according to an error message I saw18:45
ahasenackI'll try with java818:45
naccahasenack: yeah, i'd believe that18:46
naccpowersj: so i'm thinmking to test the snapcraft fix (pending), could we add a PPA to the xenial VM spawned?19:03
powersjnacc: here's the script I run https://github.com/canonical-server/test-scripts/blob/master/git-ubuntu/vm_setup19:05
powersjYou can give it a spin locally19:05
naccpowersj: thanks19:07
naccrbasak: fyi, found a bug in source_builer, i'll push it separately19:22
naccrbasak: hey and first import parenting test bumped us to 40% coverage on importer.py :)19:25
=== beisner is now known as beisner-afk
naccrbasak: up to 43% coverage of importer.py :)21:36
naccrbasak: it's amazing how easy it is to write tests now!21:37
naccpowersj: each jenkins job gets a fresh VM right?21:38
powersjnacc: yes21:38
naccpowersj: ack, ok21:38
naccpowersj: we might be hitting a nuance of cleanbuild, per the latest analysis, which we might be able to avoid using (since we are going to start a fresh VM, we don't tehcnically need to spawn the lxd in it, i don't think)21:39
naccpowersj: just an FYI, it's still being analyzed by snapcraft folk21:39
powersjok :) thanks for update21:40
powersjwhere is this discussion happening?21:40
naccpowersj: PM currently with kyrofa, but there is a pending PR on github21:41
powersjok21:41
ProCycleI'm messing around with self-signing SSL keys and noticed that in /etc/ssl/certs everything in there is world writeable (the CA certs)22:09
sarnoldthe symlinks? or the actual files?22:10
ProCycleWhy is it like that? isn't that a security risk? (other people can replace ca keys with thier own22:10
ProCycleI guess they're all symlinks22:10
ProCycleI'm trying to figure out where I put my internal CA key and the certificate. I've already got the private key in /etc/ssl/private22:11
ProCycleOh I see it now. There's so many results in there it makes it hard to find the actual files. ssl-cert-snakeoil.pem is read only except for the owner22:14
sarnoldyou can try e.g. find /etc/ssl -type f -ls   to see just the files22:15
ProCycleI don't know how symlinks work, do they actually have permissions or is ls -l just displaying it that way because they're symlinks?22:15
sarnoldlinux doesn't care about the permissions on symlinks22:17
sarnoldchmod(2) doesn't even have a way to change them22:17
sarnoldthey can still get non-777 modes via other filesystems, fuse, etc., but I don't think linux even follows the permissions when they're set that way.22:18
ProCycleSo whatever the actual file has is what the effective permissions are on the symlink22:18
sarnoldthere's some nuance that the YAMA security module influences if symlinks are followed or not22:18
ProCycleAnd to create symlinks you'd need write perms to the directory right?22:19
sarnoldyes22:20
ProCyclemakes sense, thanks for the clarification22:20
sarnoldthanks for double-checking :D22:20
ProCycleI'm writing a guide for internal nginx servers with internal CA signed certs so I want to make sure I get things right22:22
sarnoldnice22:22
ProCycleshame there's no certbot for internal CAs, would make things so much easier22:23
naccrbasak: fyi, just force-pushed import-tests, which is now a little better organized and more unit tests (still not at a 100% for added code, but 30% bump in importer.py coverage is pretty good :)23:10
=== beisner-afk is now known as beisner

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