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

=== hehehe is now known as Guest63795
=== nchambers is now known as uplime
=== zerick_ is now known as zerick
=== ljtirazona is now known as luboy
cpaelzergood morning06:13
lordievaderGood morning07:16
cpaelzerhiho lordievader07:33
cpaelzerhope you have a good friday07:33
lordievaderIt is raining so far 😑07:34
lordievaderHow are you doing?07:34
cpaelzerenjoying the same rain a bit south of you I think :-)07:34
lordievaderYou may have all of the rain 😋08:20
cpaelzerrbasak: are you around to talk about the preferred way to configure the fallback on chrony?09:06
rbasakcpaelzer: HO in a bit? I couldn't sleep last night so did some work then so that I could start late this morning.09:25
cpaelzerrbasak: sure, ping me when you feel ready09:29
whatevermeeGreetings!10:06
whatevermeeAny help with exporting locales on my mutilated 16.04 VPS?10:06
whatevermeeThis question is pretty it:10:06
whatevermeehttps://askubuntu.com/questions/1015398/cant-set-locales-ubuntu-16-0410:06
albechhi all. can anyone recommend a caldav server? I dont want something like owncloud/nextcloud that provide tons of other things.10:07
rbasakcpaelzer: ping10:14
rbasakalbech: I use radicale10:14
albechrbasak: i looked at that.. any good?10:14
rbasakalbech: 16.04's radicale works well for me against DAVdroid10:14
rbasakIt's pretty simple to set up and use.10:14
cpaelzerrbasak: ~5 min to churn through a rebase then on the server standup HO link?10:14
rbasakcpaelzer: ack10:15
albechrbasak: guess il spin it up and have a look at it. cheers10:15
cpaelzernacc: FYI - I saw gpg errors on e.g. git ubuntu merge start10:17
cpaelzernacc: were there changes in that area on a recent snap push?10:17
cpaelzerI'm on xenial, and I think you use the systems gpg out of the snap10:17
cpaelzermaybe due to the changes since xenial this affects me but didn't sho up for you?10:17
cpaelzernacc: repro would be start the merge on strongswan10:18
cpaelzerI can get around it for now by manually doing the steps it would do10:18
cpaelzerjust wondering if you see that as well and/or known related changes before considering a bug10:18
jamespagecoreycb: just sniffing bionic with the charms - horizon dash'es seem to be blocked up on the changes to include openstack-auth in horiuzon itself?10:38
coreycbjamespage: is that what they're blocked on? i never noticed what the issue was.11:46
coreycbjamespage: where did you see that?11:46
cpaelzerrbasak: I pushed the chrony changes as discussed to the MP11:47
cpaelzerrbasak: if you could give your +1 on that I could then open it up to the other folks I had in mind11:47
coreycbtinwood: i subscribed you to the pylxd sru bug. 2.0.7 is ready for testing in xenial-proposed.11:51
tinwoodthanks coreycb; I'm on swap today, but still idly trying to fix another pylxd issue amongst other activities (it's raining REALLY hard here, so an indoor day).11:53
coreycbtinwood: ah you might want to swap the swap then!11:54
coreycbtinwood: typically it'll have to stay in proposed 7-10 days so plenty of time to test11:54
tinwoodcoreycb, kk; so I'll just need to apt install it from proposed, run the tests, and then post the results back to the bug?11:55
coreycbtinwood: actually just 7, i don't know where i got the -10 from11:55
coreycbtinwood: yep11:55
tinwoodcoreycb, I'll add a reminder to my trello card to do that on Monday. :)11:55
rbasakcpaelzer: ack. otp.11:57
jamespagecoreycb: its not exactly opaque12:01
MitchTOdd_Bloke, did you have any luck capturing a vhd from azure? I've been trying to do that, as well as looking at boot diagnostics.12:51
=== Guest25362 is now known as LaserAllan_
MitchTlooks like cloud-init might be causing some issues13:48
MitchTboot diagnostics log from azure - https://hastebin.com/folimuyuci.vbs13:49
MitchTINFO Waiting for ssh host key be generated at /etc/ssh/ssh_host_rsa_key.pub [1788 attempts remaining, sleeping 1s]13:51
MitchTWARNING cloud-init does not appear to be running13:51
rbasaksmoser: ^13:53
rbasakor rharper ^13:53
MitchThttps://bugs.launchpad.net/cloud-images/+bug/175556513:57
ubottuLaunchpad bug 1755565 in cloud-images "Unable to deploy azure template with Ubuntu18.04 Daily image past March 8th" [High,Confirmed]13:57
MitchTi have just been trying to help with this13:57
* MitchT does what he can13:57
smoserMitchT: that is bug 175596514:26
ubottubug 1755965 in cloud-init "util.subp regression: no longer accept commands as string" [High,Fix committed] https://launchpad.net/bugs/175596514:26
smoserMitchT: thanks for ringing a bell though.14:29
MitchTi'm working on another approach... https://github.com/Azure/WALinuxAgent/issues/1058 - i'm wondering if this is related.14:32
MitchTi'm sure theres umpteen million reasons cloud-init might not be firing up14:32
MitchTsmoser whats the usual turnaround time before these fixes get worked into the daily for azure cloud14:36
smoserOdd_Bloke: ^14:40
MitchTonly reason i have ants in my pants about it is because my project is in testing but i'm its not running the actual daily.  The CI build it theoretically broken but technically i've been able to make it work14:41
MitchTi'd like to use latest by mid april14:41
MitchTif thats doable14:42
smoserMitchT: well, as you showed iun that bug, it seems dailies are popping out every 2 days or so right now.14:43
smoserit is in ubuntu. so any image built after llast night sometime will have it.14:44
MitchTthanks smoser15:05
MitchTtoday's image didn't seem to do it. I need to run the command to list the images15:05
smoserMitchT: the times (dates) are UTC15:07
smoserso a 20180315 would not really be expected to contain something i put in at the end of my day (eastern) yesterday15:07
smoserso next one should have it htough15:07
JimBuntusmoser, There is only a 4 hour diff between Eastern and UTC right now... were you *that* close to the end of the day?15:08
MitchT18.04.201803150 .. well it didn't get that one15:09
MitchTah i need to read back before i post!15:09
MitchTsorry15:09
MitchTits still epic the fix went out so fast. Thanks @ smoser && @ Odd_Bloke15:11
smoserJimBuntu: well, the date 20180315 means it started on that day... no idea when.15:36
JimBuntusmoser, good point15:37
nacccpaelzer: pastebin?15:38
MitchTyou guys ever use hastebin? its like pastebin without all the extra junk15:39
nacccpaelzer: and no, no changes in that area15:40
JimBuntuMitchT, I use termbin, don't think I have seen hastebin. Have you seen any issues with hastebin?15:41
MitchTwell, i just like it because its really fast, and it also does decent highlighting15:42
MitchTits bare bones15:42
naccMitchT: people can use whatever they want15:42
MitchTyep15:42
=== Redfoxmoon_ is now known as Redfoxmoon
=== icey_ is now known as icey
=== trobotham1 is now known as trobotham
jamespagesmoser: hullo16:09
jamespagesmoser: is there a reliable way to get up-to-date simplestreams packages these days?16:09
smoserpackages ?16:10
smoserbionic is up to date with trunk i think.16:11
* smoser checks16:11
smoserand also then . i think https://code.launchpad.net/~simplestreams-dev/+archive/ubuntu/trunk16:11
smosershould be good16:11
=== apw_ is now known as apw
smoseryou're probably wanting a fix for https://launchpad.net/bugs/1686086 in ubuntu16:14
ubottuLaunchpad bug 1686086 in simplestreams "glance mirror and nova-lxd need support for squashfs images" [High,Fix committed]16:14
smoseri will upload now.16:14
jamespagesmoser: ta - it was general query as planning some work to improve the glance sync process in charms; it would be good to get a consistent version for things like keystone v3 support etc...16:17
jamespagesmoser: I'm not sure how far behind ss is in xenial for example16:17
smoserjamespage: well the fix for v3 is in sru... i have mps for them. and freyes is supposed to be walking them through16:18
smoserhttps://trello.com/c/9QvyIeMT16:19
jamespagesmoser: awesome thanks16:23
jamespagebbcmicrocomputer, thedac: ^^ that probably answers most of the questions we had; bionic will be up-to-date, xenial getting SRU's16:23
thedaccool16:24
bbcmicrocomputerthat's great.. thanks smoser, jamespage16:29
smoseri just uploaded16:37
smoserto bionic16:37
=== sarnold_ is now known as sarnold
smosernacc: would you be oopposed to changing the namespace of your [gitubuntu] 'lpuser'17:56
smoserto be [launchpad]17:57
smoseri have wanted to get at that sort of information too and launchpad just seems like a better name.17:57
naccsmoser: would something other than git-ubuntu read it?17:57
naccsmoser: i'm not opposed, but we'd need to perform an in-place upgrade (presumably)17:58
naccnot a big deal17:58
naccand i'd change it from lpuser to user then :)17:58
nacce.g., convert gitubuntu.lpuser to launchpad.user if gitubuntu.lpuser is present17:59
smoseryeah. well, i have stuff that wants to know this same bit of information17:59
naccstuff that ... is public?17:59
smoser"what is your launchpad user name so I can push to git?"17:59
naccor stuff like your tooling17:59
nacc:)17:59
naccyeah17:59
naccsmoser: this might be better asked in #launchpad?17:59
naccthat is, i'm not sure git-ubuntu should touch a reserved (in my mind) namespace like 'launchpad'18:00
smoserhttps://github.com/cloud-init/qa-scripts/blob/master/scripts/review-mps is one example.18:00
naccwe could read it if it's set, i suppose, but i'd want cjwatson's permission to use it18:00
smoserit asks for a --git-user18:00
naccsmoser: yep18:00
smoseryeah, i think having cjwatson approval is fine.18:01
smoserbut with that approval i think it make sense for git ubuntu to write it.18:01
naccsure18:01
smoseri saw sparkiegeek has gitlptools18:02
smoserwhich i think must have to ask the same question also18:02
smoserhttps://launchpad.net/gitlptools18:03
naccsmoser: yeah, i'm wondering if it should go there, and we can use that, ro something18:06
naccsmoser: the problem with two tools managing it is it becomes kind of an ABI18:06
smosernacc: not really.18:20
smoserlots of tools "manage" [user]/name and [user]/email18:20
ram__i am using a AWS ubuntu image and been struggling to get grub booting my kernel regradless of what i do to grub. Is there something special needed on AWS for ubuntu images?18:28
naccOdd_Bloke: smoser: --^18:28
naccsmoser: they do?18:29
naccsmoser: given those are specifically defined by Git, they have to do so in a way that Git will undersatnd18:29
naccsmoser: which is, in effect, an ABI between those applications and Git18:29
Odd_Blokeram__: Can you give us some more details on what issues you're seeing?  What kernel are you trying to boot?18:30
naccOdd_Bloke: thanks18:30
ram__Odd_Bloke, yes. i have just built and installed a 4.16-rc4 kernel.  and trying to boot on that kernel.  I ran grub-mkconfig -o /boot/grub/grub.cfg and then changed the default entry to my kernel.18:31
ram__regardless of what I do,  the kernel 4.16.0-rc1 kernel gets booted.18:32
Odd_Blokeram__: What virtualisation are you using?18:32
ram__Odd_Bloke, i dont know. must be xen or something. its is transparent to me.18:33
Odd_Blokeram__: No, sorry, which EC2 virtualisation type: PV or HVM?18:33
ram__Odd_Bloke, how can i tell that? is this something that I can find on the AWS console?18:34
Odd_Blokeram__: It is, yeah.18:36
ram__i see hvm18:37
ram__Odd_Bloke, ^^18:37
arooniis it better to send transactional mail oer SSL ?18:41
arooniand if so ; how would i check to see if that port was opened18:41
aroonii'm not trying to run a mail server BTW, just send via api to email provider18:41
Odd_Blokeram__: OK, you might want to try running update-grub; that's the Ubuntu way of updating grub configuration.18:41
ram__Odd_Bloke, did it. but has no effect.18:42
Odd_BlokeIf that doesn't work, then really it's just a grub configuration issue.18:42
ram__it continues to pick 4.16.0-rc1 kernel and boots18:42
Odd_BlokeHVM just boots in to GRUB normally, so I don't think you're seeing an EC2-specific issue.18:42
ram__i want to boot from a 4.16-rc4 kernel.18:43
ram__the submenuentry for that is 018:43
ram__the submenuentry for -rc1 kernel is 318:43
ram__i have default set to 018:43
ram__but still it boots from -rc118:43
ram__unforatunately ec2 does not provide a way to conect to the console of the VM and choose the boot kernel manually.18:44
ram__if it did, life would be easier.18:44
sarnoldI have a vague memory that the GRUB_DEFAULT setting doesn't work as you might expect18:45
ram__sarnold, what should be done in that case?18:46
ram__any workaround?18:46
rbasakFor submenus use '>'18:47
rbasakeg. GRUB_DEFAULT="1>3" for submenu 1 option 3.18:47
ram__ok. let me try that.18:47
rbasakAfter changing GRUB_DEFAULT there's a tool you have to run to update things IIRC. I forget what its called.18:47
ram__its update-grub18:48
sarnoldwow. I was going through stack overflow trying to find it, and wouldn't you know, someone commented TODAY on a post I made a year ago about it! https://askubuntu.com/a/858520/3381218:48
sarnoldthanks stackexchange :D18:48
rbasakThat's the page I was looking for, thanks.18:49
rbasakI wanted to reference it but failed to find it.18:49
sarnold"It is also necessary to include the above numbers in quotes. It will not work otherwise." is probably what I was remembering.18:49
rbasakToo many generic questions and answers about GRUB_DEFAULT but not specifically the submenu syntax.18:49
rbasakYeah it's got to be in quotes because it's sourced as shell.18:49
rbasakAnd in shell > is special18:49
sarnoldaka "good luck finding *this* bug" :)18:49
rbasak"Why do I have a file called '3'?"18:50
ram__sarnold, did exactly that. but still it managed to boot from my -rc1 kernel :(18:50
ram__something is sticking it to boot from there.18:50
ram__i get a feeling that it does not even consult the /boot/grub/grub.cfg file while booting.18:51
ram__it seems to have a mind of its own.18:51
ram__if [ -s $prefix/grubenv ]; then18:51
ram__  set have_grubenv=true18:51
ram__  load_env18:51
ram__fi18:51
ram__if [ "${next_entry}" ] ; then18:51
ram__   set default="${next_entry}"18:51
rbasakOh18:51
ram__   set next_entry=18:51
rbasakYeah18:51
ram__   save_env next_entry18:51
ram__   set boot_once=true18:51
ram__else18:51
ram__   set default="1>0"18:52
rbasakClouds commonly still use /boot/grub/menu.lst or similar.18:52
ram__fi18:52
ram__^^ that is what i have in my grub.cfg18:52
rbasakI don't know about AWS for your instance type specifically.18:52
rbasakgrub-legacy-ec2 etc.18:52
ram__rbasak, in my menu.lst i dont even have a entry for my -rc1 kernel.18:52
ram__/boot/grub/menu.lst  file that is18:53
rbasakI don't know then, sorry.18:53
Odd_Blokemenu.lst isn't used for HVM.18:54
jayjoI have a unit file that looks like this exactly: https://bpaste.net/show/034b77f9f0e6 and in my syslogs I see that it tries to start too quickly. It's a simple bash script, why would it fail? Is there a way to get more verbose logs?19:19
sarnoldmaybe journalctl ?19:21
jayjohere is the log values I'm seeing: https://bpaste.net/show/bb8ddaed228519:21
sarnoldI wouldn't be surprised if it's insanely hard to use a shell script along with type=forking units ..19:22
jayjojournalctl is identical: https://bpaste.net/show/b38e4b47c2a6 (other was pulled from syslog with some intermeidate results)19:24
jayjowhat's the alternative to using type=fork?19:24
sarnold" simple, forking, oneshot, dbus, notify or idle"19:25
sarnoldhttps://www.freedesktop.org/software/systemd/man/systemd.service.html19:25
jayjodoes systemctl run as sudo? Can that be specified?19:33
jayjoit runs as root as the default, right?19:34
naccjayjo: systemctl runs as who you invoke it as ... you shoiuld be using `sudo systemctl ...` if you want it to run as root19:35
jayjosimply executing that shell script works perfectly from the command line with the DISPLAY=:0 set, but it doesn't work from systemctl ... I tried both as forking and simple.19:35
jayjois there a way to get more verbose output of why it fails?20:01
jayjoin order to debug?20:01
sdezieljayjo: the unit probably runs as root so I'm not sure it has access to DISPLAY=:020:04
jayjoI think you're right ... is there a way to pass it in through ExecStart?20:05
sdezieljayjo: I'd first try by adding User=$YOUR_USERNAME to the unit20:05
sdezielassuming it can run with your user's privs20:06
sdezieljayjo: for better support, you might want to try #systemd20:08
cfncHello everybody guys. A simple question. I have some films on my server and I would watch them without copying them locally on my Mac. So my question is about the protocol I should have to use to watch them on my Mac: if I have to use samba or ftp or what? Thank you in advance23:18
dpb1samba would likely be the easiest23:19
dpb1for simmple file sharing to mac os x23:19
sarnoldforget you ever heard about ftp23:19
cfncsarnold: what you mean, sorry I didn't understand23:21
sarnoldcfnc: ftp is just an all around terrible protocol :)23:21
sarnoldsftp is better in every respect23:22
sarnoldsamba is probably your most convenient answer here23:22
sarnoldbut sshfs via fuse might not be terrible23:22
cfncI've already used samba in the past so I already know how to start. I'll give it a try. Thank you very much guys ;)23:23
mojtabaHello, I have two remote machines, I can login to remote 2 from remote 1, but I can not login to remote 2 from my local machine. Do you know how can I rsync a directory from remote 2 to my local machine?23:37
sarnoldcan remote 1 log in to your local machine?23:39
mojtabasarnold: no23:42
mojtabaI can login to both23:42
mojtabajust remote 1 I mean, from local23:42
mojtabaand to remote 2 from remote 123:43
dasjoe"ssh -L 2222:remote2:22 remote1", then rsync from localhost:2222?23:47
sarnoldoh nice, that's simpler than anything I'd thought of :)23:51

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