/srv/irclogs.ubuntu.com/2019/03/14/#ubuntu-server.txt

smoserare the values for dhcp really 'no' and 'true' ?02:05
smoserhttps://netplan.io/examples02:05
smoseri guess i tuyped too quickly. the values there in the examples are 'no', 'yes', and 'true'.02:06
smoserprobably should make that consistent.02:07
masonsmoser: There's a #netplan channel, FWIW. Might be worth talking about it there too.02:08
sarnoldis that a general fault of yaml? yes/no on/off true/false?02:09
coreycbjamespage: we're mostly caught up with stein packages02:15
sarnoldsmoser: yes/no on/off true/false may just be a general fault of yaml02:16
=== ykarel|away is now known as ykarel
jamespagecoreycb: awesome05:14
jamespagecoreycb: I'm intending on working through snapshots for any that lack b's06:22
jamespagenova revealed a new dep/refactoring thing - os-resource-classes06:22
jamespageuploaded for aa review06:22
andre144khi all, how to kill a linux-prozess which willnot stop via "killall -9 <name>" and willnot stop via "kill -9 <pid>"07:43
jamespagemwhahaha: I've uploaded a keystone snapshot for stein - should be into proposed in the next few hours08:04
lordievaderGood morning08:39
fricklerjamespage: coreycb: we found this issue when upgrading the OpenStack CI to bionic, looks like a packaging issue to me https://bugs.launchpad.net/cinder/+bug/181981908:54
ubottuLaunchpad bug 1819819 in Cinder "rtslib_fb.utils.RTSLibError: Cannot set dbroot to /etc/target for ubuntu bionic 18.04" [Undecided,Incomplete]08:54
=== ykarel is now known as ykarel|lunch
=== lotuspsychje__ is now known as lotuspsychje
jamespagesahid: looking at your openstack pkg updates now14:01
=== ykarel is now known as ykarel|away
sahidjamespage: thanks, let me know or comment on the doc if you need me i change something14:33
jamespagesahid: all looks ok so far - glance uploaded to ubuntu14:34
sahidack thanks14:37
jamespagefrickler: commented - there is a mix of package based and pip installed rtslib-fb on the log output14:43
* blackflow looks at bug #1797386 and sends some positive vibes toward everyone involved ... <314:44
ubottubug 1797386 in openssl (Ubuntu) "[SRU] OpenSSL 1.1.1 to 18.04 LTS" [Undecided,In progress] https://launchpad.net/bugs/179738614:44
fricklerjamespage: oh, good point, I didn't notice that, thx14:45
fricklerjamespage: I tested locally but only after devstack had run, so probably had the same pip installation state14:47
jamespagefrickler: most likely14:47
jamespagefrickler: my experienced ubuntu bug triage eyes automatically zone in on anything starting with /usr/local ;)14:48
jamespagesahid: build failure on https://launchpadlibrarian.net/415128633/buildlog_ubuntu-disco-amd64.mistral_8.0.0~b2-0ubuntu1~ubuntu19.04.1~ppa201903141431_BUILDING.txt.gz14:52
sahidjamespage: hum... weird they pass locally with pbuilder15:12
jamespagesahid: looks like a racey test - don't worry about it16:13
jamespagesahid: I think placement needs a dependency on python-os-resource-classes16:58
jamespagesahid: ok all done apart from placement - python3-os-resource-classes was accepted into disco this morning17:05
jamespageso you should be good to go on that one.17:05
geigerCounterI have a question: Is there any reason to change my hostname through the cloud.cfg?18:19
geigerCounterMy VPS provider had it configured this way, but when I updated I switched to the new config and manually edited in their change. I'm just curious about it.18:22
blackflowgeigerCounter: change from what to what? one reason would be if you're running a mail server and want to ensure proper rDNS18:25
blackflow(that rDNS matches the forward resolution)18:25
geigerCounterblackflow: To the address of the VPS in their system, I guess. It's vpsXXXXXX.vps.ovh.ca, since I'm using OVH. ( With the X's being my VPS number. )18:26
blackflowgeigerCounter: isn't that the default? Aren't their VPS images configured that way?18:28
geigerCounterYes, it is the default for their VPS images. I was doing a manual update and it asked me if I wanted to install the package maintainer's version. After looking through the differences I did so and edited the config OVH did back in. I'm just here asking about why it is this way for my own education.18:30
blackflowwell I understood you were asking if there's a reason to change from default to something else, and I gave you one. It really boils down to how do you want your server to be named.18:31
geigerCounterI see. I suppose I'd have to ask them if it's even allowed to change it. I would like to change it to my public DNS address.18:32
geigerCounterI am running a mail system, for one thing.18:32
geigerCounterCould that be a reason why Gmail's not sure about my mail?18:33
geigerCounterI'd used a mail configuration testing service that reported no problems, but Gmail still issues a warning with mail sent from my server.18:34
blackflowgeigerCounter: you don't have to ask OVH, you can chage it to whatever you want. Note that there's to facets of that. One is the hostname configured onthe machine itself. The other is rDNS for its IPs, configurable in OVH's panels.18:38
blackflowyou can only affect your local hostname on the machine itself. it's the name various systems get when they ask the OS "hey, what's my hostname here".18:39
blackflowGMail will complain if you don't have rDNS, and it's wise to have rDNS and hostname the same.18:40
geigerCounterI see. I'll set it to what I need and then I'll check out the rDNS in my OVH panel. While I'm here, does anyone have a link to a good guide for setting up a startup script to run a program as a service on startup? ( How to write an init.d script, I guess? )18:41
blackflowgeigerCounter: it's a systemd unit file these days, far more simple than an init shell script. unless you're still running 14.04 or 12.04?18:42
geigerCounterI think I'm running 18.04, but I'm at least running 16.04. So yeah.18:43
geigerCounterI just haven't really done it before. I need to do so though, because I have too many things running on my VPS that I have to start manually on a reboot.18:44
blackflowgeigerCounter: ton of articles on on google. for example start here   https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files18:44
geigerCounterThanks.18:44
geigerCounterIs it possible to start one of these in interactive mode with screen or something so I can just su to the acc that's responsible for running it and interact with the console? ( I ask, because I have a Minecraft server. Worse case scenario, I can remote admin it through IRC or Discord with a plugin I have if it doesn't fail to launch when not in interactive mode. )18:46
blackflowgeigerCounter: sure   https://superuser.com/questions/1276775/systemd-service-python-script-inside-screen-on-boot18:50
blackflowyou can start anything from systemd, it's just the question of what, and how (service "Type").18:51
geigerCounterI see! Very nice. Thank you so much.18:51
geigerCounterAlright, so back to asking about reverse DNS since I've never really done anything with DNS other than registering my domain name and setting up the appropriate pointers to my IP and an SPF record - what do I want to set my reverse DNS to in my OVH panel? My domain name or something else?18:54
geigerCounterI haven't been able to find the info I'm looking for - does Systemd always kill child processes when you stop a service?23:47
tomreyni don't actually know, but i would hope so. what makes you ask?23:50
tomreyngeigerCounter: ^23:52
geigerCountertomreyn: Well I mean, yeah I guess it's the usual and sane behaviour, but I have a weird use case. I'm trying to make a Systemd Unit that launches a Minecraft Spigot server in a screen with the appropriate user I set up for that. That way all I have to do is su to that user and reattach to manage the console and the server will start on boot and can be controlled as any other system process. The thing23:55
geigerCounteris getting it to gracefully shut down. Right now it's pretty brutally killed and that's most likely bad for the health and longevity of the server.23:55
geigerCounterSo the chain of events from systemd goes: Systemd -> screen -> BASH script -> Java running the spigot jar.23:56
geigerCounterWhat I want to have happen on calling "service spigot stop" is that it uses screen to stuff a 'stop' command and wait for the java process to end normally as the server shuts down and then exit up from there with screen terminating as expected.23:57
geigerCounterIt kills the java process instead.23:57
geigerCounterThe only thing I can think to do to get around this is to make a bash script which stuffs the 'stop' to the java console and waits five minutes before exiting and set TimeoutStop to five minutes also.23:59
geigerCounterBut is there a better way?23:59
geigerCounter( Systemd novice here. )23:59

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