/srv/irclogs.ubuntu.com/2017/05/19/#ubuntu-devel.txt

Unit193mwhudson: You may be interested in 'parsedatetime' from experimental, adds python3 package.00:10
=== JanC is now known as Guest104
=== JanC_ is now known as JanC
juliankxnox: Lots of apts uploaded.09:45
Laneyapt apty apt apt09:45
juliankThe .changes is getting a bit unreadable now, as it contains quite a few versions since {xenial,yakkety,zesty}-updates (we had about 3 fixup releases or so that were never part of the Ubuntu archive, but were released in the APT PPA)09:46
juliankBut well, it should work now :)09:47
juliankLet's just say we probably should have slowed down the rates of SRU builds.09:52
juliankOh, we fixed it.09:52
juliankNext day: Oh no, something was broken.09:52
=== CRogers_________ is now known as CRogers
=== koza is now known as koza|away
psusicjwatson: I can't seem to find the postinst or udeb that populates /etc/default/grub... do you know where that's done?14:52
cjwatsonpsusi: ucf from grub-<platform>.postinst14:54
infinityA bit of optional mangling in grub-installer too.14:54
cjwatsonat some point the latter should probably drop a file into /etc/default/grub.d/ instead14:55
infinityThat's where quiet and splash are written.14:55
cjwatsonthat directory didn't exist when it was first implemented14:55
infinitycjwatson: How does .d work for CMDLINE stuff?  Is it additive or an override?14:56
infinityMight not be entirely appropriate for the quiet/splash stuff if it's a hard override.14:56
infinityOh, except that on a default install, those are the only bits in CMDLINE, so maybe that works.14:56
cjwatsonsourced shell fragments so can mangle however it likes ...14:57
infinityAhh, so could be CMDLINE="CMDLINE $splash"14:57
infinityAnd one snipper for splash, one for extra kopts passed from d-i, etc.14:58
cjwatson(in principle; might confuse various configurator-like tools ...)14:58
infinitysnippet, too.14:58
psusithanks... I'm looking into a bug where the tty7 option sounds like it is being set in the console only installs and it shouldn't be15:02
cjwatsonthat's probably more about the stuff in grub-installer (perhaps the one that copies options from d-i if they're provided after ---)15:04
psusithat is what I thought of first but I'm not seeing it in there15:04
cjwatsonsearch for user-params15:05
psusionly one line: user_params=$(user-params) || true15:07
psusihrm.. where's that sucker come from?15:07
infinitypsusi: You mean the vt_handoff stuff?15:08
psusiinfinity: yea15:09
infinityThat's hardcoded in grub configs, but doesn't take effect if splash isn't on the commandline, which server preseeds out.15:10
infinityIIRC.15:10
cjwatsonuser-params is in debian-installer-utils15:12
infinityif [ "$vt_handoff" = 1 ]; then15:13
infinity  for word in $GRUB_CMDLINE_LINUX_DEFAULT; do15:13
infinity    if [ "$word" = splash ]; then15:13
infinity      GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"15:13
infinity    fi15:13
infinity  done15:13
infinityfi15:13
infinityYeah, no splash, no handoff.15:13
=== sergiusens_ is now known as sergiusens
xnoxinfinity, cjwatson, apw - can we please drop all the vthandoff stuff and boot to vt1 by default everywhere?16:02
* cjwatson recuses self16:02
apwxnox, and lose all that prettiness for approx 1s of the boot, how would we cope16:04
xnoxapw, the point is that our prettiness will be pitch perfect.16:04
xnoxapw, you did notice that windows 10 boots with black background and a white spinny graphic at the bottom to achieve flickerless boot.16:05
xnoxapw, and i thought booting to vt1 (and having graphical login on vt1) will make the whole vthandoff easier to do flickerless16:05
jbichaxnox: gdm3 in Debian & Ubuntu already has login on vt1; robert_ancell was considering maybe doing that for lightdm16:06
jbichamost distros now use vt1 for gdm, so I think the question is whether it's more important to match other distros (with their good reasons) or preserve tradition16:07
rbasakI don't think Ubuntu is the appropriate distribution for a user who would care that X is now on vt1, unless there's an actual use case that it breaks.16:15
apwit seems unlikely anyone would care where we put it16:16
apwand being the same as everyone else is always nice in the sense of sharing the fixes16:17
psusiinfinity: so the default is to add splash, but the server cd uses a preseed to prevent the default from kicking in, and the preseed omits splash?  It sounds like maybe the default should be no splash, and maybe ubuntu-desktop being installed should trigger splash....17:20
infinitypsusi: Quite possibly, yes.17:21
psusiI can't remember the reason for the vt.handoff in the first place... does vt1 want to run at a different resolution, so we use vt7 to keep it at the same resolution that grub was in?17:22
infinitypsusi: Or, as xnox points out, maybe we want to rethink this whole mess.17:22
psusiif so, why don't we just have vt1 use that same resolution?17:22
infinityIt was all some misguided attempt to create a flicker-free boot.17:22
infinitySome of us are more fond of the solution than others. :P17:22
psusiyea, but I can't recall the cause of the flicker17:22
infinityI don't recall the specifics either.  Colin or Andy might.17:23
infinityBut it's worth revisiting regardless.17:23
psusias long as vt1 is a graphical console instead of VGA mode, and uses the right resolution, there should be no flicker17:23
xnoxwe patched grub/kernel/plymouth/lightdm to not clear the screen and paint things in to the same hue of aubergine and never switch vts such that plymouth&desktop run on vt7 with handoff17:24
psusiright... but why did switching from vt1 to vt7 after X loaded make a flicker?  is vt1 in a different mode?17:24
xnoxall of that is semi-custom patched. the rest of the people decided to simply default to vt1 without any patches to achieve the same result17:24
xnoxpsusi, vt switches cause flicker, yes.17:24
psusionly if the two vts are different modes no?17:24
xnoxbecause graphics drivers17:24
xnoxpsusi, that i do not know. but there was flicker / clearing of the screen, visibly. There are videos of that happening on various laptops.17:25
infinityI suspect any non-kms driver will flicker on vt switch.17:25
psusiheh, just leaving it on vt1 does seem a lot simpler ;)17:25
infinityBut non-kms drivers will probably "flicker" when X comes up too, even without a vt switch.17:25
infinityBut yeah, I entirely forget the specifics.17:26
infinityI think revisiting the vt switch is a sane plan.  And if we decide it's still awesome, then maybe swapping the defaults so, as you say, only graphical installs get splash, instead of the server ISO being "special" would be reasonable.17:27
psusiyea, apparently the netinstall isn't "special" so it gets splash with a non X install17:27
infinityThough, in an ideal world, "splash" would work reasonably on servers too, but that would requite killing the handoff stuff, I think.  Currently, it goes a bit wonky.17:27
xnoxinfinity, ooooh i also recall that we did do splash by default on server too / intentially / and then server complained and we reverted to non-splash on server17:42
xnoximho systemd boot log is pretty enough for non-quiet boot on server by default even.17:42
xnoxthe plan was to splash everywhere all the time.17:42
xnoxin 11.10 or something17:42
xnoxpre 12.0417:42
dokonacc, rbasak: @PyCon, certbot talk. there was a "thanks to the maintainers" on his last slide, including you21:23
slangasekpitti: I see you accepted the previous SRU of borgbackup (LP: #1615380), there's another one with the same rationale; do you mind expanding on why you're confident in the upstream testsuite here?21:23
ubottuLaunchpad bug 1615380 in borgbackup (Ubuntu Yakkety) "[SRU] security issues on borgbackup" [Undecided,Fix released] https://launchpad.net/bugs/161538021:23
naccdoko: nice :)21:32
naccdoko: they've done most of the heavy lifting, I'd say :)21:32
dokonacc: they didn't yet consider snapping the app ...21:32
naccdoko: yep, that's probably the next reasonable step at this point21:32
dokoohh, and it's packaged using python 2.7 ...21:34

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