[00:25] <Srgjames> Should i be serving the /var/www as root or another user
[00:25] <sarnold> what does it mean to serve a directory "as a user"?
[00:28] <Srgjames> IE apache web files under /var/www permissions are Root root  and not sure if i should keep that or supposed to change it
[00:29] <sarnold> that's probably fine
[00:30] <sarnold> sometimes people like to have a user account or group specifically for "web content" of some sort, in case a subset of users should be able to modify the content
[00:30] <sarnold> when it's all owned by root then you've got to use root privileges to work on those files -- which is probably fine if you're the only real user of the machine and you trust yourself to not screw up
[00:31] <sarnold> but it's increasingly less fine if you have to share those privileges with other people
[00:33] <Srgjames> ok ty
[00:33] <jayjo> i am planning on storing
[02:25] <lunaphyte> i've disabled all of my firefox extensions, and gone through the preferences in as much i know how, and i still can't log into launchpad
[02:26] <sarnold> :(
[02:26] <lunaphyte> "Your page was stale"
[02:27] <sarnold> can you get to login.ubuntu.com ?
[02:27] <lunaphyte> and fixed!  :)
[02:27] <lunaphyte> sigh
[02:28] <lunaphyte> Network.http.sendRefererHeader
[02:28] <sarnold> typical :) ask for help on irc and it goes away :)
[02:28] <sarnold> aha, yeah, that sounds important
[02:28] <lunaphyte> of course :)
[02:28] <lunaphyte> what good is irc if not to make me look foolish?
[02:28] <sarnold> :D
[02:28] <lunaphyte> i must have set that at some point in the past during one of my neutering escapades
[02:29] <lunaphyte> an arrogant attempt at protecting my privacy
[02:31] <lunaphyte> but this just means i now have another problem to solve.  finding an extension to let me selectively set this parameter
[02:37] <sarnold> given the new webextesions mess I'm not optimstic :/
[03:10] <lunaphyte> "an error has occurred during installation"
[03:11] <lunaphyte> "read-only filesystem"
[03:11] <lunaphyte> how the heck does that happen?
[03:13] <sarnold> the quickest way is to have a sata/sas error
[03:13] <sarnold> dmesg should have a bunch of things in curly brackets if that's what happened
[03:14] <lunaphyte> it looks like it got to the point where it installed grub, and seems to have been able to do that successfully ["installation finished. no error reported"], then cmd-curthooks failed
[03:14] <lunaphyte> no sata/sas for this install
[03:14] <lunaphyte> from usb flash drive to usb flash drive
[03:14] <lunaphyte> ah, sigh
[03:14] <sarnold> oh right
[03:14] <lunaphyte> i/o error, dev sdf
[03:15] <lunaphyte> grr
[03:16] <lunaphyte> https://ibin.co/4TfFl5aHzG6u.png
[03:16] <lunaphyte> any thoughts on this
[03:22] <lunaphyte> it sounds like the consensus is largely, "usb pretty much just sucks sometimes, but maybe you'll be ok"
[03:22] <sarnold> heh, sounds fair
[03:22] <sarnold> what I've found suggests that it really looks like the device left momentarily
[03:23] <sarnold> *one* bug report suggested maybe udisks or udisks2 or smartd might also be able to do that, but perhaps that's me finding an unrelaetd but similar bug..
[03:23] <lunaphyte> i guess i'll try the usb 1 ports and see if that goes better
[04:50] <lunaphyte> the installer sits on "installing kernel" for ages
[04:57] <lunaphyte> darn.  it's done it again.  at the exact same point in the installation process
[05:32] <chilli0> Has anyone had any luck following the openstack workstation deployment on ubuntu 18.10 server? I am having issues running lxd migrate after the initial installation. LXD seems to be running as lxc list works
[07:31] <lordievader> Good morning
[11:00] <Lope> I'm trying to set "lease-file-name foo;" in isc-dhcp-server inside /etc/dhcp/dhcpd.conf on Ubuntu 18.04. Can't get any sanity out of it. Anyone have experience with it?
[11:03] <Lope> nvm, i found a workaround
[13:44] <ahasenack> rbasak: hi, sru question. I'm working on a bionic sssd sru, and sssd in that ubuntu release has no dep8 tests at all. Is it ok to include the current dep8 tests in that sru, along with the fix that motivated the sru?
[13:45] <ahasenack> there will be no new dep8 test specifically for the issue being fixed
[14:47] <rbasak> ahasenack: I think that's fine. Assuming they pass :)  Please point out that you did it in the SRU information somewhere.
[14:48] <rbasak> ahasenack: no separate bug needed.
[14:48] <rbasak> ahasenack: just so the reviewer knows it's deliberate. No other justification needed IMHO.
[14:49] <rbasak> (and in the changelog of course)
[15:19] <frickler> jamespage: coreycb: fyi, https://bugs.launchpad.net/neutron/+bug/1787919 affects pike+queens, upgrading neutron from 11.0.5 to 11.0.6 just broke our IPv6 completely
[15:34] <ahasenack> rbasak: yeah, I was also going to ask about the sru bug requirement, if I had to file one just for adding the dep8 tests
[15:34] <ahasenack> I got srus rejected in the past because of a missing bug #, but it was not a dep8 one, it was actually an important bug
[15:35] <rbasak> Test fixes and additions are generally OK with no further explanation. Assuming they're not used in production.
[15:35] <ahasenack> ok
[15:35] <rbasak> (apart from "yeah I meant to do that")
[15:40] <muhaha> has anyone experience with 'at' ? /var/spool/at/spool is queue ? This must be persistent?
[15:48] <sdeziel> muhaha: if by persistent you mean survive a reboot then yes
[15:56] <muhaha> sdeziel: yes, I am wondering if I can access spool by multiple at 'clients'
[15:56] <sdeziel> muhaha: do you mean schedule multiple jobs to fire in the future?
[15:57] <rbasak> at clients or atd clients?
[15:57] <muhaha> multiple docker containers with at , with same volume mounted... Will it work?
[15:57] <muhaha> volume will be /var/spool/at/spool
[15:58] <rbasak> I reckon it'll probably work for the at client.
[15:58] <rbasak> Not for the atd server. You'll want only one of those running.
[15:58] <rbasak> However it's pretty hack.
[15:58] <rbasak> hacky
[15:58] <rbasak> What are you actually trying to achieve?
[15:58] <rbasak> http://xyproblem.info/ etc
[16:00] <muhaha> I am running webhook server which will translate reqeuest to command, I want to run this command at specific time even after reboot. -> this is ok, but when I want to do HA, run multiple services, my webhook server is ok, but I am not sure if some lightweight scheduler can handle shared config , for example spool for at
[16:01] <rbasak> I wouldn't use an at hack to implement HA.
[16:01] <rbasak> You'll probably end up with lower availability due to edge cases around the hack.
[16:03] <rbasak> If you mean that you want a single operation to run on a schedule but want to make sure that if one host is down then another will do it, then I think the CAP theorem may apply and that is impossible.
[16:04] <rbasak> Save for maintaining state of whether it was run or not on an HA database.
[16:05] <muhaha> ah :/ spool should be a 'database'
[16:06] <rbasak> You might find a message queuing system helpful. They typically have HA capability.
[16:07] <sdeziel> that ^ sounds like a good idea
[16:09] <muhaha> I know, but I need something lightweight
[16:09] <muhaha> nvm, thanks
[16:11] <rbasak> zeromq is lightweight, but it doesn't support persistence
[16:11] <rbasak> You can however implement something using sqlite easily enough
[16:22] <Hackerpcs> if systemd-resolve is stopped/disabled, what's the role of netplan on dns? from testing it seems that without systemd-resolved /etc/resolv.conf is solely used
[16:30] <xnox> depends on the backend.
[16:31] <xnox> i.e. NetworkManager writes one out.
[16:31] <Hackerpcs> wasn't network manager phased out on >=17.10?
[16:31] <xnox> or in case of networkd backend nothing is written... and hence well, static/external /etc/resolv.conf is used.
[16:31] <xnox> netplan supports networkd and networkmanager as backends.
[16:32] <Hackerpcs> networkd is the backened for >=17.10 right?
[16:32] <xnox> and networkmanager is still preffered for e.g. wifi, 3G/4G/LTE/5G connections
[16:32] <xnox> Hackerpcs, i don't understand your question. netplan's default backend is networkd, and always has been.....
[16:33] <cyphermox> NetworkManager isn't phased out; desktops are setup to use that by default, despite having netplan installed
[16:34] <Hackerpcs> I see on netplan yaml that I'm on networkd on 18.10 so xnox you answered my question
[16:35] <Hackerpcs> I haven't used desktop ever so that's that
[18:23] <coreycb> frickler: sorry for the delay. do you know if upstream neutron is releasing new point releases anytime soon? it's a whole lot easier to process SRUs that way.
[19:24] <theGoat> afternoon all.
[19:25] <theGoat> i have an ubuntu 14.04 server on esxi 6.5, but any time i reboot it, it seems to hang on bring up the ethernet interfaces.  i get that message about waiting an additional 60 seconds, then it fails.  I end up having to bring up the interfaces manually with ifconfig, etc.  not sure what could be hanging it
[19:29] <sdeziel> theGoat: is the virtual cable connected?
[19:29] <theGoat> yes. that's where i can see it hang when it boots
[19:30] <sdeziel> theGoat: so once you get the console, "ifup $IFNAME" works?
[19:31] <theGoat> i haven't tried it with ifup.  i usually just do ifconfig to assign the address
[19:31] <theGoat> will ifup error out of there are any errors in /etc/network/interfaces?
[19:33] <sdeziel> yes
[19:33] <sdeziel> theGoat: ifup is what's called during bootup
[19:34] <sdeziel> so if /etc/network/interfaces has errors, I'd fix them
[19:35] <theGoat> ifdown is erroring out with misplaced option
[19:37] <theGoat> https://pastebin.com/c6zhUkX9
[19:40] <sdeziel> theGoat: the inet6 stanza looks suspicious. You have /100 and also netmask 100
[19:41] <sdeziel> theGoat: I think it's one or the other, not both
[19:41] <sdeziel> theGoat: also, for the inet ones, you can drop the network and broadcast lines as they don't add any information that's not available from the address+netmask
[19:42] <sdeziel> theGoat: oh and the probable error is "auto eth0:0" without "iface eth0:0" stanza
[19:43] <sdeziel> theGoat: my suggested version: https://paste.ubuntu.com/p/8JgYjF3krT/
[19:46] <theGoat> so what's the difference in adding the secondary IP via ip addr add instead of a virtual interface?
[19:47] <sarnold> the eth0:0 thing has been deprecated for 18~19 years
[19:47] <theGoat> ah....shows you how old school i am ;-)
[19:50] <sdeziel> theGoat: obligatory reminder that 14.04 is close to EOL so you should plan an upgrade soon ;)
[19:50] <theGoat> did the trick, thanks much.  i think it was not havving the iface eth0:0 inet static missing, but i did it your suggested way and it's working
[19:51] <theGoat> sdeziel: yeah i know. :-(. i probably will rebuild this VM from scratch.  not sure how much i will break doing a do-release-upgrade
[19:53] <sdeziel> theGoat: cool
[20:33] <lordcirth_> theGoat, I recommend using config management, eg Saltstack
[20:34] <theGoat> this is my lab environment.  not really big enough for salt.
[20:35] <lordcirth_> "big enough"? I've run Salt on single machines.