/srv/irclogs.ubuntu.com/2019/01/16/#ubuntu-server.txt

SrgjamesShould i be serving the /var/www as root or another user00:25
sarnoldwhat does it mean to serve a directory "as a user"?00:25
SrgjamesIE apache web files under /var/www permissions are Root root  and not sure if i should keep that or supposed to change it00:28
sarnoldthat's probably fine00:29
sarnoldsometimes 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 content00:30
sarnoldwhen 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 up00:30
sarnoldbut it's increasingly less fine if you have to share those privileges with other people00:31
Srgjamesok ty00:33
jayjoi am planning on storing00:33
lunaphytei'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 launchpad02:25
sarnold:(02:26
lunaphyte"Your page was stale"02:26
sarnoldcan you get to login.ubuntu.com ?02:27
lunaphyteand fixed!  :)02:27
lunaphytesigh02:27
lunaphyteNetwork.http.sendRefererHeader02:28
sarnoldtypical :) ask for help on irc and it goes away :)02:28
sarnoldaha, yeah, that sounds important02:28
lunaphyteof course :)02:28
lunaphytewhat good is irc if not to make me look foolish?02:28
sarnold:D02:28
lunaphytei must have set that at some point in the past during one of my neutering escapades02:28
lunaphytean arrogant attempt at protecting my privacy02:29
lunaphytebut this just means i now have another problem to solve.  finding an extension to let me selectively set this parameter02:31
sarnoldgiven the new webextesions mess I'm not optimstic :/02:37
lunaphyte"an error has occurred during installation"03:10
lunaphyte"read-only filesystem"03:11
lunaphytehow the heck does that happen?03:11
sarnoldthe quickest way is to have a sata/sas error03:13
sarnolddmesg should have a bunch of things in curly brackets if that's what happened03:13
lunaphyteit 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 failed03:14
lunaphyteno sata/sas for this install03:14
lunaphytefrom usb flash drive to usb flash drive03:14
lunaphyteah, sigh03:14
sarnoldoh right03:14
lunaphytei/o error, dev sdf03:14
lunaphytegrr03:15
lunaphytehttps://ibin.co/4TfFl5aHzG6u.png03:16
lunaphyteany thoughts on this03:16
lunaphyteit sounds like the consensus is largely, "usb pretty much just sucks sometimes, but maybe you'll be ok"03:22
sarnoldheh, sounds fair03:22
sarnoldwhat I've found suggests that it really looks like the device left momentarily03:22
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
lunaphytei guess i'll try the usb 1 ports and see if that goes better03:23
lunaphytethe installer sits on "installing kernel" for ages04:50
lunaphytedarn.  it's done it again.  at the exact same point in the installation process04:57
chilli0Has 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 works05:32
lordievaderGood morning07:31
=== lotuspsychje__ is now known as lotuspsychje
LopeI'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:00
Lopenvm, i found a workaround11:03
=== TheHonorableKitt is now known as THKitten
ahasenackrbasak: 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:44
ahasenackthere will be no new dep8 test specifically for the issue being fixed13:45
rbasakahasenack: I think that's fine. Assuming they pass :)  Please point out that you did it in the SRU information somewhere.14:47
rbasakahasenack: no separate bug needed.14:48
rbasakahasenack: just so the reviewer knows it's deliberate. No other justification needed IMHO.14:48
rbasak(and in the changelog of course)14:49
fricklerjamespage: 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 completely15:19
ubottuLaunchpad bug 1787919 in neutron "Upgrade router to L3 HA broke IPv6" [High,Fix released]15:19
ahasenackrbasak: yeah, I was also going to ask about the sru bug requirement, if I had to file one just for adding the dep8 tests15:34
ahasenackI got srus rejected in the past because of a missing bug #, but it was not a dep8 one, it was actually an important bug15:34
rbasakTest fixes and additions are generally OK with no further explanation. Assuming they're not used in production.15:35
ahasenackok15:35
rbasak(apart from "yeah I meant to do that")15:35
muhahahas anyone experience with 'at' ? /var/spool/at/spool is queue ? This must be persistent?15:40
sdezielmuhaha: if by persistent you mean survive a reboot then yes15:48
muhahasdeziel: yes, I am wondering if I can access spool by multiple at 'clients'15:56
sdezielmuhaha: do you mean schedule multiple jobs to fire in the future?15:56
rbasakat clients or atd clients?15:57
muhahamultiple docker containers with at , with same volume mounted... Will it work?15:57
muhahavolume will be /var/spool/at/spool15:57
rbasakI reckon it'll probably work for the at client.15:58
rbasakNot for the atd server. You'll want only one of those running.15:58
rbasakHowever it's pretty hack.15:58
rbasakhacky15:58
rbasakWhat are you actually trying to achieve?15:58
rbasakhttp://xyproblem.info/ etc15:58
muhahaI 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 at16:00
rbasakI wouldn't use an at hack to implement HA.16:01
rbasakYou'll probably end up with lower availability due to edge cases around the hack.16:01
rbasakIf 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:03
rbasakSave for maintaining state of whether it was run or not on an HA database.16:04
muhahaah :/ spool should be a 'database'16:05
rbasakYou might find a message queuing system helpful. They typically have HA capability.16:06
sdezielthat ^ sounds like a good idea16:07
muhahaI know, but I need something lightweight16:09
muhahanvm, thanks16:09
rbasakzeromq is lightweight, but it doesn't support persistence16:11
rbasakYou can however implement something using sqlite easily enough16:11
Hackerpcsif 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 used16:22
xnoxdepends on the backend.16:30
xnoxi.e. NetworkManager writes one out.16:31
Hackerpcswasn't network manager phased out on >=17.10?16:31
xnoxor in case of networkd backend nothing is written... and hence well, static/external /etc/resolv.conf is used.16:31
xnoxnetplan supports networkd and networkmanager as backends.16:31
Hackerpcsnetworkd is the backened for >=17.10 right?16:32
xnoxand networkmanager is still preffered for e.g. wifi, 3G/4G/LTE/5G connections16:32
xnoxHackerpcs, i don't understand your question. netplan's default backend is networkd, and always has been.....16:32
cyphermoxNetworkManager isn't phased out; desktops are setup to use that by default, despite having netplan installed16:33
HackerpcsI see on netplan yaml that I'm on networkd on 18.10 so xnox you answered my question16:34
HackerpcsI haven't used desktop ever so that's that16:35
coreycbfrickler: 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.18:23
=== wildlander is now known as wildlander_
=== wildlander_ is now known as wildlander
theGoatafternoon all.19:24
theGoati 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 it19:25
sdezieltheGoat: is the virtual cable connected?19:29
theGoatyes. that's where i can see it hang when it boots19:29
sdezieltheGoat: so once you get the console, "ifup $IFNAME" works?19:30
theGoati haven't tried it with ifup.  i usually just do ifconfig to assign the address19:31
theGoatwill ifup error out of there are any errors in /etc/network/interfaces?19:31
sdezielyes19:33
sdezieltheGoat: ifup is what's called during bootup19:33
sdezielso if /etc/network/interfaces has errors, I'd fix them19:34
theGoatifdown is erroring out with misplaced option19:35
theGoathttps://pastebin.com/c6zhUkX919:37
sdezieltheGoat: the inet6 stanza looks suspicious. You have /100 and also netmask 10019:40
sdezieltheGoat: I think it's one or the other, not both19:41
sdezieltheGoat: 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+netmask19:41
sdezieltheGoat: oh and the probable error is "auto eth0:0" without "iface eth0:0" stanza19:42
sdezieltheGoat: my suggested version: https://paste.ubuntu.com/p/8JgYjF3krT/19:43
theGoatso what's the difference in adding the secondary IP via ip addr add instead of a virtual interface?19:46
sarnoldthe eth0:0 thing has been deprecated for 18~19 years19:47
theGoatah....shows you how old school i am ;-)19:47
sdezieltheGoat: obligatory reminder that 14.04 is close to EOL so you should plan an upgrade soon ;)19:50
theGoatdid 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 working19:50
theGoatsdeziel: yeah i know. :-(. i probably will rebuild this VM from scratch.  not sure how much i will break doing a do-release-upgrade19:51
sdezieltheGoat: cool19:53
lordcirth_theGoat, I recommend using config management, eg Saltstack20:33
theGoatthis is my lab environment.  not really big enough for salt.20:34
lordcirth_"big enough"? I've run Salt on single machines.20:35

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