/srv/irclogs.ubuntu.com/2018/11/26/#ubuntu-devel.txt

=== cpaelzer_ is now known as cpaelzer
=== kklimonda_ is now known as kklimonda
=== mwhudson_ is now known as mwhudson
=== FlannelKing is now known as Flannel
dokooSoMoN, seb128: libreoffice ftbfs, blocking the poppler transition09:43
seb128doko, talk to Steve, he did that upload?09:44
dokoseb128: I'm talking to you, because you started the poppler transition ...09:44
seb128doko, I know, and we didn't finish it yet, not my fault if people do random uploda that fail to build09:45
seb128doko, we don't have rules that a transition started needs to be finished less than a business day, things can stay in proposed for some days the time to be sorted out09:46
dokosure, that's the best recipy for entanglement of transitions09:47
seb128if you say so09:47
seb128oSoMoN, we need an upload with https://github.com/LibreOffice/core/commit/5e8bdd92 it looks like, do you want to include other changes while we do an upload?09:48
oSoMoNseb128, looking10:02
seb128oSoMoN, thx10:02
oSoMoNseb128, nothing else needed I think, want me to do the upload?10:05
seb128oSoMoN, that would be nice, be careful that they tried a no-change rebuild upload so you need to bump the revision over that10:05
oSoMoNseb128, yeah, I'll integrate that changelog entry in the vcs10:06
seb128good10:06
seb128oSoMoN, thx!10:06
=== sam_w_ is now known as sam_w
oSoMoNseb128, doko: uploading libreoffice 1:6.1.3-0ubuntu511:23
oSoMoNdarn, that upstream patch wasn't enough11:33
seb128:(11:53
LtWorfchanging ssh to use systemd by default is a terrible idea. People will keep editing /etc/ssh/sshd_config to change the port and it magically will not do anything11:58
=== cpaelzer__ is now known as cpaelzer
jbichaLtWorf: it works fine here12:05
LtWorfjbicha: until u want to change port, yes…12:08
LtWorfyou need to change it in /lib/systemd/system/ssh.socket, something like that12:08
LtWorfsince it's systemd doing the listening actually12:09
jbichaLtWorf: no I mean it literally works here :)12:12
jbichahave you actually tried it?12:13
jbichayou probably need to reload the service but I think that's typical with system services12:13
LtWorfmaybe u don't have the socket activated one?12:13
LtWorfsystemctl status ssh.socket12:14
LtWorfshould be active12:14
LtWorfand systemctl status ssh.service should be dead12:14
jbichawhy should it be dead?12:14
LtWorfbecause no connection was received yet12:14
LtWorfso no ssh is running12:14
jbichabut I am connected, that's how I'm talking to you :)12:15
LtWorfso of course it works for u :P12:15
Laneythat socket unit isn't enabled in the shipped package12:15
LtWorfbut before u connect to ssh12:15
jbichayeah the socket is inactive (dead) here12:15
LtWorfno? Why is it enabled for me then? I am quite sure i didn't enable it12:15
LtWorfunless because am using ubuntu core?12:15
jbichaI can't very well tell you what it looks like before I connect to it since my ssh server is on a VPS :)12:16
LtWorfbut i'd imagine the package to be the same, unless the configuration is different12:16
LaneyCheck if there is a symlink in /etc/systemd/system/sockets.target.wants/?12:17
jbichais your sshd provided by a snap?12:17
LtWorfnope12:17
LtWorfhm let me go to lunch, i'll report back later12:18
acheronukoSoMoN: arch has an extra hunk in their 0.71 patch for wrapper_gpl.cxx and a 0.70 patch which might fix the other errors?12:19
acheronukhttps://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libreoffice-fresh12:19
oSoMoNacheronuk, thanks, I'll have a look in a moment12:58
LtWorfLaney: yep13:03
LtWorfthere is a link13:03
LtWorflrwxrwxrwx 1 root root  30 Nov 26 12:55 ssh.socket -> /lib/systemd/system/ssh.socket13:04
LtWorfbut I can't figure out what installs it dpkg -S /etc/systemd/system/sockets.target.wants/ssh.socket13:06
LtWorfreturns nothing13:06
xnoxmvo, ^ ?!13:06
xnoxLtWorf, it does look like said system is using the inetd-style socket activation, which is indeed at the moment not sensitive to some of the sshd_config changes. =/13:07
LtWorfeh, i know, but that symlink is not present in the core .tar.gz, and I can't find out what package placed it there, so besides disabling it myself, I am not sure how to prevent it from being there13:08
xnoxLtWorf, unless you are looking at the wrong core?13:15
xnox=)13:15
xnox(we have had multiple Core products over the time)13:15
LtWorfwell no i checked in the same .tar.gz that I used to create my vm :D13:17
LtWorfubuntu-base-18.04.1-base-amd64.tar.gz13:17
TJ-LtWorf: openssh-server postinst script,  "deb-systemd-helper enable 'ssh.socket' >/dev/null || true"13:26
LtWorfon my debian system tho the link is not there, even if the .socket file has `WantedBy=sockets.target`13:30
LtWorfbut am not sure why13:30
LtWorfanyway i fixed it, but is it something that should be addressed by the distribution?13:31
TJ-LtWorf: look at the postinst script; the action is conditional13:31
LtWorfjust compares versions13:33
TJ-The fragment starting with "# Automatically added by dh_systemd_enable/11.1.6ubuntu1 "13:33
LtWorfah i was looking at the debian one13:34
LtWorf(why is it different damn!)13:34
ahasenackhi #foundations, I think https://people.canonical.com/~ubuntu-archive/proposed-migration/cosmic/update_excuses_by_team.html is stuck, the timestamp currnetly shows 2018.10.30 08:18:0613:41
dokomwhudson: ^^^13:59
dokoahasenack: wait, this is cosmic, not updated anymore13:59
ahasenackohh13:59
ahasenackhmpf13:59
* ahasenack updates his bookmark13:59
ahasenackI thought it was a permanent link, like proposed migration for the devel series, I didn't realize it had "cosmic" in it until now14:00
ahasenackthanks14:00
smoserrbalint: i see you're doing bzr-to-git migration14:59
smoserhttps://gist.github.com/smoser/e4e5388faa6dcc92d8acfb1b7fbabb7c14:59
smoseri have meant to put that into a snap or something to make it easier to "install"15:00
smoserbut please read the "Features" added there.15:00
smoseri think they're useful.15:00
smoserresponded to ml post.15:04
rbalintsmoser, thanks for raising this15:14
smoserrbalint: thanks for converting things to git :)15:16
rbalintsmoser, if bazaar upstream showed any activity i'd suggest pushing for including the patch into bzr-fastexport15:20
smoseri filed bug15:23
smoserand put patch on bug15:24
smoserbut i kind of agree that it isn't perfect15:24
smoserso i just convert mine that way.15:24
rbalintsmoser, i'm giving a try to brz fastexport in may work already or they take patches15:24
smoserand others may argue that this information fits better in a 'git note' than in commit message.15:24
rbalintsmoser, hm, that makes sense15:26
rbalintsmoser, especially for the bzr commit id15:27
smoseri think that replacing the --fixes with git notes is essentially a "equivalent" conversion15:28
smoserbut in launchpad many things are using LP: #15:28
smoserand same for github.15:28
smoserso i think from that perspective the commit-message format is fine15:29
smoserie, i expect that people contributing to livefs would continue using 'LP: #' so it makes sense to just do that.15:29
smoserand if later someone said "hey we should all use git notes"15:30
smoserthen that could be handled.15:30
rbalintsmoser, pushing and pulling notes seems to be a pain :-(15:34
rbalintsmoser, (i just learned they exist :-))15:34
rbalinthttps://web.archive.org/web/20180121193320/http://git-scm.com/blog/2010/08/25/notes.html15:34
smoseryeah.15:37
smoseri think comments are the right thing for now.15:38
rbalintagreed15:45
=== geofft_ is now known as geofft
=== zyga is now known as zyga|afk
tewarddoes anyone know where the default I/O scheduler configuration sits, or what it is?18:34
infinityteward: Baked into the kernel, and not sure.18:35
infinitycking: ^18:35
ckingone can tweak it with /sys/block/sd*/queue/scheduler18:36
tewardcking: right, but i'm curious what the kernel-baked default is18:36
tewardless so tweaking it18:36
ckingteward, so, CFQ or deadline18:36
infinity(base)adconrad@nosferatu:~$ cat /sys/block/sda/queue/scheduler18:37
infinitynoop deadline [cfq]18:37
infinity(base)adconrad@nosferatu:~$ cat /sys/block/sdb/queue/scheduler18:37
infinitynoop deadline [cfq]18:37
infinityI assume the one in brackets is the one in use?18:37
ckingmodern kernels will have mq-deadline for multiqueue devices18:37
ckingthe one in brackets is the one in use18:37
ckingyou can modprobe other schedulers, such as bfq (if it's available)18:37
ckinggenerally, /sys/block/sda/queue/rotational tells you if it's a spinny driver or not. I suggest nop for non-spinny media  and cfq or deadline for spinny18:39
xnoxcking, infinity, teward, we also have an init script; upstart job; systemd unit which tweaks the scheduler on boot as well! on per-architecture basis!18:39
xnox(depending on the release)18:39
xnoxor not18:39
* xnox ponders if i'm thinking of the cpu scheduler, instead of hte block devices18:40
xnoxand now i can't find it.18:40
ckingI'm also evaluating the current 4.19+ defaults to make a "reasonable" best default depending on the type of device18:40
xnoxcking, do you have any recollection, of the thing, i'm thinking off....?18:41
ckingxnox,  we used to put the CPU scheduler into an agressive mode on boot and then fallback to powersaving after that18:41
ckingand then we have other tweaks if it was a laptop in pm utils18:41
xnoxah18:42
ckingbut in the strange new world of systemd I think things got cleaned up, and I'm not sure what systemd does not18:43
cking*now18:43
ckingthe brave new world of I/O scheduler choice will also provide kyber, bfq, etc18:44
ckingso much choice, so many tunables, so much for making a reasonable default ;-)18:45
infinitycking: Oh, hrm.  All this time, my SSDs should have been running noop?18:45
tewardxnox: i think you're thinking CPU scheduler18:45
infinitycking: Definitely would be nice to make those defaults more defaulty. :)18:45
tewardbecause I see those for CPU sched.18:45
xnoxyeah probably18:46
xnoxbut also, failing to find traces of that thing now.18:46
tewardcking: does this extend to the LVM'd SSDs?  My 18.04 laptop here doesn't appear to have an IO scheduler enabled o.O18:46
infinityxnox: /etc/init.d/ondemand18:46
ckingteward, for a LVM'd SSD I think noop will be OK, for  the next release, "none" will be the SSD multiqueue default18:47
xnoxinfinity, thanks! and totally still a thing....18:47
xnoxhttps://paste.ubuntu.com/p/BWDhJjXm5f/18:47
ckingnoop won't steal any overhead, deadline will eat more CPU than noop for sure18:48
infinityxnox: Did you just pastebin a file we all have on our systems? :)18:48
xnoxinfinity, yes =)18:48
xnoxinfinity, two files, to be precise =)18:48
xnoxinfinity, i've been working on a snap for half a day, i'm in a special state of mind at the moment =)18:49
ckingxnox, infinity, of course, most laptops will have the intel-pstate CPU freq driver, so I'm not sure how well that applies nowadays18:50
ckingi think it's powersave and performance for modern kernels18:51
ckingand the pstate driver, so that script needs some love18:51
tewardcking: erm, any chance 18.04.1 used 'none'?18:53
tewardbecause this new 18.04.1 instlal on this computer says 'none'18:53
teward(for desktop not server)18:53
tewardhttps://paste.ubuntu.com/p/Nhk4jXDGzJ/18:53
ckingteward, yeah, none really means none18:53
tewardah, nice.18:54
tewardso no worries then18:54
infinitycking: I think the last time we visited all of that, pstate was still setting things on fire, and we forgot to circle back around...18:54
tewardwe had some IO performance concerns on some VMs, though, hence the line of questions heh18:54
ckingyeah, modern kernels kinda do the defaults better18:54
infinitycking: That was, what, 6 years ago? :P18:54
infinityMaybe 4.18:54
ckinginfinity, yeah, pstate is now fine and with thermald all that catch-fireness is a thing of a past unless one has a fan that is clogged with belly button fluff18:55
ckinginfinity, the default of powersave is generally OK for most purposes unless one want's to crank up the CPU quickly and made it more toasty and compute friendly18:56
cking*make it18:56
ckingdoh, can't type18:56
infinitycking: Yeah, and I tihnk we once discussed if it was possible to detect if thermald was running before enabling pstate, and falling back to powersave if not.  And also didn't follow up on that.18:57
infinitycking: I think maybe you added a kprintf to warn people to have the package installed, no idea if that's still a thing.  But that's the last I remember discussing it.18:57
ckinginfinity, i think that's now history, pstate = good + thermal = sweet18:57
infinitycking: Ahh, so pstate is now safe even without thermald?  How's that work?  Just more agressively powersavey if no thermald there to keep it in check?18:58
ckinginfinity, pstate is just now mature, so it's all good IMHO for most users18:58
ckingbut thermald is useful for users with systems with dodgy fans and lame thermal paste or poor thermal design18:59
tewardyou mean like older laptops?  :P18:59
infinityI'm not sure "more mature" is enough to make me feel better.  Realtek ethernet drivers are very mature, and still complete garbage.  But at least don't set your NIC on fire.18:59
infinitycking: "poor thermal design" probably describes half the laptops with pstate-capable CPUs.  And it gets worse if they've been knocked about a bit and maybe cracked a more solid thermal adhesive solution.19:01
ckinginfinity, well, it won't catch your CPU on fire, thermald will throttle and also the kernel can add in CPU clock throttling too, so all is quite solid now19:01
infinitycking: I want a default that's safe for those people, even if it means being suboptimal for folks with gaming laptops with 30 inch blowers.19:01
ckinginfinity, pstate + thermald will be safe for users unless something is severely broken, in which case when the CPU gets to Tjmax it will shutdown automatically anyhow19:02
infinitycking: "it won't catch your CPU on fire, thermald will throttle", I'm asking about pstate *without* thermald.  I think we'd established it was safe with.19:03
infinityBut we still can't seem to guarantee it's actually there/.19:03
ckinginfinity, that's true for any CPU scheduler, if the H/W is borked you can hit Tjmax,19:03
infinitycking: Sure, but pstate was known to be extra aggressive and trip faster, that's all. :P19:03
ckinginfinity, and it's my understanding it's pretty well OK nowadays19:04
infinitycking: I still think maybe the best solution here is "if pstate available && thermald running; then pstate; else powersave; fi"19:04
infinitycking: Since we set this all in userspace anyway (barring a user doing something themselves on the commandline, which isn't my problem), that should be easy enough.19:04
ckinginfinity, pstate will provide powersave and performance options, and we default to powersave, so it's all good19:05
infinityOh, wait. governor != driver in this case, does it?19:05
infinitySo, I might be powersave pstate?19:05
infinityLife is so confusing.19:05
ckingit's confusing, the other CPU freq scaling drivers may provide other governor options, so that makes it all fun19:06
ckingbut as long as we're in powersave, I'm happy as it's a good default with or without pstate19:06
infinityRight, okay.19:06
infinityI'm pstate/powersave here.19:06
infinityWhich sounds like a safe default.19:06
infinitySo ignore the last 100 lines.19:06
ckingand thermald is just the final icing on the cake for users with bored H/W :-)19:07
cking*borked19:07
infinityI guess I should see what scaling mess my new Ryzen laptop ends up with when I boot Linux on it later.19:07
infinity... when the RAM gets here.19:08
infinity... if the RAM gets here.19:08
ckingyou got a shiny new laptop w/o any RAM?19:08
infinitycking: A lot cheaper to buy RAM third party than to buy 32G from Lenovo.19:08
infinitycking: So, it has the bare minimum 4G from Lenovo.  But wasn't going to reinstall it until I'd popped in all the bits and screwed it back together.19:09
ckingvery true. I buy reconditioned Lenovos and get a third party to shove in discounted quality RAM and SSD - makes it ultra competitive priced19:09
infinitycking: Yeahp, same with the SSD.  I ordered it with the cheapest/crappest (7200 RPM 500G) they had.19:10
infinityHilariously, those 500G spinny drives are actually really nice, and make good parts to throw in firewalls and such.19:10
infinityBut yeah, not competitive with the 40mm NVMe and massive SATA SSD I got to replace it. :P19:10
ckingyeah, slower distributed backup devices19:10
ckingnice - no spin and multiqueue = speed19:11
sarnoldaww man he quit just before I got to the bit about 'reconditioned lenovos', I'm curious :)19:16
tewardsarnold: lol19:17
sarnoldteward: I've been thinking it might be nice to have a 'work laptop' and a 'play laptop'.. something cheap and cheerful ..19:18
tewardsarnold: i know where you can get 8 year old Latitude E5700s :P19:19
tewardif you want to talk about 'cheap'19:19
teward:P19:19
sarnoldlol19:19
sarnoldtoo cheap too cheap19:20
sarnoldlenovo keyboard is the minimum :)19:20
tewardheh19:27
infinitysarnold: You're saying you want to buy my T450s after I finish migrating to my new A485?19:41
infinitysarnold: Or maybe my T420s?19:42
infinityMan, I have too many Thinkpads...19:42
sarnoldinfinity: heh, yeah, that could probably work :)19:42
infinityThe T450s is a beast.  I'm trying to figure out how to either make it useful here, or sell it to someone who will appreciate it.19:43
=== freyes_ is now known as freyes

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