/srv/irclogs.ubuntu.com/2019/06/06/#ubuntu-devel.txt

=== pieq_ is now known as pieq
Wimpressxnox: Do you have a few minutes to help me understand what my expectation for blacklisting package in seeds should be?10:07
WimpressThe context is this.10:07
WimpressI would like to seed gnome-mpv. It has a Recommends: youtube-dl10:08
Wimpressyoutube-dl has deep requirements that end up in libqt5* getting pulled in.10:08
WimpressIs blacklisting a means by which I can prevent youtube-dl from getting on the Ubuntu MATE iso image?10:09
cjwatsonI can answer that: no.  Blacklisting in seeds doesn't affect what apt does10:10
cjwatsonSee "man germinate" where I discuss this a bit10:10
cjwatson"The purpose of a blacklist is to make it obvious when a package that is not supposed to be installed ends up in germinate's output, so that package relationships can be fixed to stop that happening.  It is not intended for the purpose of working around buggy package relationships, and attempts to do so will not work because apt has no way to know about blacklist entries in seeds."10:11
cjwatsonTo avoid that Recommends taking effect, you would need to put gnome-mpv in a seed that has the follow-recommends feature disabled, *and* you would need to ensure that anything that installs the corresponding task/metapackage/whatever does so in a way that tells apt not to follow recommends10:12
cjwatsonThe latter requirement is impractical in most cases, so this entire approach is IMO probably impractical10:12
cjwatsonThe only way to do this kind of thing is usually to adjust the package relationships themselves10:14
Wimpresscjwatson: That is a brilliant suggestion about using an alternate seed!10:15
WimpressThank you :-)10:15
WimpressOh, I do want to follow-recommends in the desktop seed however.10:16
WimpressSo, as you say, probably not a solution.10:16
cjwatsonRight, people have tried this in the past and it has nearly always turned out to be painful or unworkable in practice.10:17
WimpressI have talked to the Debian package maintainer. They are not interested in change the youtube-dl Recommends: to a Suggests:10:17
cjwatsonI wonder if changing youtube-dl's recommendation of mpv | mplayer to also include gnome-mpv would help?10:19
WimpressIs the the phantomjs Depends that is the issue.10:20
WimpressIt has requirements for libqt5*10:20
cjwatsonInstalling mpv on its own also pulls in libqt5*10:20
WimpressYes10:20
cjwatsonSo it may be both10:20
Unit193The problem lies mostly in apt, as it would be pretty simple (though overkill in most cases) to create another seed in the structure for not following recommends.  His problem mostly likes in phantomjs, I'd imagine.10:21
WimpressBecause youtube-dl is a Recommends of mpv also.10:21
cjwatsonOh right10:21
cjwatsonCan youtube-dl's Recommends on phantomjs be reduced to a Suggests?  (I don't know this package at all)10:21
Wimpresscjwatson: From the research I did, no.10:21
cjwatsonUnit193: Fairly simple in seed terms but in practice prohibitively complex in the rest of the system, indeed.10:22
WimpressIt will break the ability for youtube-dl to work with many of the sites it supports.10:22
cjwatsonSounds like you may be out of luck ...10:22
WimpressYes, sadly I think you are right.10:22
Unit193Based on how quickly youtube-dl has releases, we should not create a long-term delta.  As far as how youtube-dl is useful without that?  I use it all the time and do not have phantomjs.10:22
Wimpressyoutube-dl is not a hard requirement for gnome-mpv, which is why I was hoping it could be changed to Suggests.10:23
WimpressBut the maintainers don't want to introduce inconsistent behaviour between mpv and gnome-mpv.10:23
cjwatsonMaybe both mpv and gnome-mpv could be changed then?10:24
Unit193So: out of the 1K+ sites, it looks like only one or two uses phantomjs, that looks just fine to move it to suggests.10:25
WimpressInteresting.10:25
WimpressSo, perhaps I change tack a discuss changing phantomjs to a Suggest in youtube-dl with its maintainer.10:26
Unit193Note: That's only a quick grep of `grep -Ri phantom` and checking to see if that looks right.10:26
WimpressUpstream youtube-dl are considering using chromium-headless instead of phantomjs.10:26
Unit193In fact, I would appreciate the drop of phantom to suggests too. :P10:28
=== cpaelzer__ is now known as cpaelzer
=== ricab is now known as ricab|lunch
=== ricab|lunch is now known as ricab
ahasenackhi, I found an old piece of delta in an ubuntu package (backuppc, https://pastebin.ubuntu.com/p/cGNsW7BqJs/), which says it's implementing this old spec: https://wiki.ubuntu.com/Teardown14:52
ahasenackdoes this still apply in our systemd world?14:52
ahasenackthere is no systemd service file provided in this package14:54
alkisgxnox: hi, I just read https://lists.ubuntu.com/archives/ubuntu-devel/2019-June/040726.html "In all other places, our performance profile is in favor of lz4."15:50
alkisg...and I wanted to add "netbooting" into consideration; loading a kernel/initrd via tftp might need 10 secs; so lz4 would add 1.4 secs to boot time; dunno if it would save some from the decompression time15:50
alkisgI'm not saying it's important, I just thought to mention that loading the kernel/image via tftp (instead of disk) is one of the affected use cases...15:50
xnoxalkisg:  tftp, not http?15:51
xnox*sigh*15:51
* xnox should start making public notes about thigns people told me.15:52
alkisgxnox: yes normally in netbooting tftp is used; some people can "afford" a web server and use both tftp for ipxe and http for kernel/initrd15:52
alkisgSorry I wasn't on that list, to properly reply, and I thought "better do a quick ping, even if it gets lost, than be silent". /me shrugs15:54
xnoxalkisg:  this is fine, and very welcomed.15:59
alkisgty :)16:14
tmhoanghow does Ubuntu detect available tty ? In terms of code.16:23
xnoxtmhoang:  we run systemd generators for gettys and serial consoles.16:24
tmhoangxnox: thanks, so systemd takes care of discovery16:24
tmhoangI think this thing happens somewhere during initramfs phase. Checking ...16:25
xnoxtmhoang:  initramfs is different....16:26
xnoxtmhoang:  we read console= arg and magic16:26
xnoxtmhoang:  d-i is different again16:26
xnoxtmhoang:  core is different too... but only slightly.16:26
tmhoangxnox: well systemd is your /init. if tty discovery happens in system, it happens in initramfs, correct ?16:28
xnoxtmhoang:  no......16:28
xnoxtmhoang:  we don't use systemd in the initramfs, we use a different init there, and later exec systemd to replace pid1 with it......16:28
tmhoanghah interesting16:29
xnoxtmhoang:  and systemd does rediscovery again and can setup more consoles. E.g. initramfs may, or may not load/use serial consoles, but systemd will generate units for them.16:29
tmhoangunderstood. I just assumed systemd is /init. cool16:30
kyrofaHey, anyone around who knows more than I do about mokmanager?23:44

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