/srv/irclogs.ubuntu.com/2020/04/08/#ubuntu-devel.txt

mwhudsonwhy does reverse-depends print to stderr03:08
mwhudsonthat seems odd03:08
=== Eickmeyer is now known as Eickmeyer-Quasse
=== Eickmeyer-Quasse is now known as Eickmeyer[q]
=== ben_r_ is now known as ben_r
=== bpsecret- is now known as bpsecret
=== pieq_ is now known as pieq
jamespageanyone looking at the sphinx autopkgtest failures in focal proposed?09:10
didrocksrbalint: is that expected that /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal is kept running (started 3h30 half ago) and that I have /var/run/unattended-upgrades.lock and /var/run/unattended-upgrades.progress (latest with Progression : 80.0 % (libegl1-mesa-dev) unchanged)09:37
rbalintdidrocks, yes, it is ok09:49
rbalintdidrocks, u-u.service is always running waiting for shutdown, then it gracefully stops u-u09:49
didrocksrbalint: is it normal that the progress file is there. with the same % and stuck?09:56
didrocksrbalint: also, I want to have an action hooked up before the first apt call and at the end of the unattended-upgrade transaction (after the last apt call). We are using apt hook currently, with some file to run it only once, but that’s not clean nor fully fix it for unattended-upgrades ofc. Is there a way to hook us to unattended-upgrades that way?09:58
rbalintdidrocks, yes, because it is not used nor should be looked at09:58
didrocksrbalint: ok, so it seems we can’t use files to have our pre/post-hook, any hints on how we can do this? ^09:59
rbalintdidrocks, please open a PR/issue at https://github.com/mvo5/unattended-upgrades to discuss that10:00
didrocksdoing10:00
didrocksrbalint: https://github.com/mvo5/unattended-upgrades/issues/26610:06
ricotzhello, could someone approve vala 0.48.3-1 in focal/queue10:23
ricotzinfinity, hi :) ^10:42
RikMillsricotz: I think inf1nity is unlikely to be around. I suspect other r-t members in that channel are a better bet10:44
LaneyThere's no need to ping though, it'll get looked at10:49
RikMills:)10:54
=== arunpyasi_ is now known as arunpyasi
ricotzRikMills, I see, I looked at https://wiki.ubuntu.com/ArchiveAdministration#Archive_days10:57
ricotzLaney, sounds fair, but it doesn't seem that way10:58
LaneyIt is that way10:58
LaneyI'm going to go through the queue later on today, for example10:59
ricotzLaney, FIFO would be the concept to wish for here -- thanks11:01
Laneyricotz: I'll start from the oldest. :P11:02
Laneybut I'm sure Jeremy's syncs will all be obviously great and correct, so very fast to review11:02
Laney:)11:02
=== cpaelzer__ is now known as cpaelzer
ricotzthat is what fifo means (just saying there are a lot of packages uploaded after vala which are gone already)11:03
ricotzLaney, #111:03
Laneyright11:04
infinityricotz: Yeah, it'll never be a FIFO, but hey, we get there.11:06
ricotzinfinity, ok :)11:08
jdstrandjibel (cc zyga): I'm not sure the apparmor change is sufficient to address bug #1871148. See my latest comments13:16
ubottubug 1871148 in zsys (Ubuntu Focal) "services start before apparmor profiles are loaded" [Undecided,New] https://launchpad.net/bugs/187114813:16
zygaack13:16
zygalooking13:16
jdstrandjibel (cc zyga): I'm going to ping diddledan in #snapcraft to retest. popey, you may want to as well ^13:17
jdstrand.wu813:17
jdstranderf13:17
popeyheh13:17
seb128lathiat, hey, any reason avahi-daemon-check-dns.sh isn't being removed in Debian? I saw you suggested some fixes there on https://salsa.debian.org/utopia-team/avahi/-/commit/a856156a but bug #1870824 you suggest removing it? wouldn't that apply to Debian as well?13:23
ubottubug 1870824 in avahi (Ubuntu) "Errors in script /usr/lib/avahi/avahi-daemon-check-dns.sh" [Low,In progress] https://launchpad.net/bugs/187082413:23
lathiatYeah it should also be removed in Debian. I guess just no one told them. I only thought of it recently as part of that person asking me about that bug seb12813:26
lathiatseb128: Those other fixes were mainly because we had to backported that fix to bionic without the fixed nss-mdns13:27
jdstrandpopey: to be clear, I meant you may want to test if the issue is fixed, not ping diddledan ;)13:27
lathiatWell when I say fixed I guess you could say improved13:27
popeygot it13:27
* diddledan pings jdstrand13:27
diddledanyou know. just for the giggle :-p13:28
seb128lathiat, http://paste.ubuntu.com/p/7NGn4tfgrR/ looks good to you?13:28
jdstrandhey diddledan :)13:31
jdstrandjibel: fyi, after a reboot and upgrading apparmor, diddledan sees this: https://paste.ubuntu.com/p/3VjZhgQRyT/13:32
jdstrandjibel: which looks correct. but I'm worried there is a race or something where var.lib.mount will sometimes be there and sometimes won't and people using snaps with root-on-zfs may hit an intermittent bug13:33
jdstrandpopey: actually, iirc, you had said that restarting apparmor worked to resolve the issue (which of course it would, it was way after /var/lib would be present), but did you always have to do this? just every once in a while?13:34
jdstrandpopey: (after reboot)13:34
popeyi almost never reboot13:35
jdstrandjibel: (fyi, popey also saw this issue)13:35
jdstrandyeah, I hear you13:35
popeyso this is not an issue I see very often, as a result of that13:35
* jdstrand nods13:35
lathiatSeb128: Yeah that looks ok. While you’re at it there’s half an Ubuntu patch I’d want to drop as well the local host services only patch I merged half of it upstream in 0.8 which I released some weeks ago but i removed the line where it rewrites the hostname to localhost. That was originally needed by cups for ippusbxd but I got till to fix cups not to need it. And that fix should be in focal. Per here:13:35
lathiathttps://github.com/lathiat/avahi/commit/2fd76baeb8298ef1b5b177bf7fd70f6cda3eab00 - if you do prepare a package for either I can test them tomorrow (in about 10 hours)13:35
jdstranddiddledan: you only just started seeing this, right? how often do you reboot? how long have you been using zfs-on-root?13:35
diddledanI've been using ZFS-on-root since march 3rd.. I reboot sporadically.. sometimes multiple times a day and other times once in several days13:36
diddledanI need to go to Winders to watch Westworld, so I've started rebooting at least once a week to do that ;-p13:37
jdstrandjibel: I don't really know zfs: are there times when zfs is doing something on boot for housekeeping or similar that might cause a smallish delay in boot before its .mount units show up?13:37
jdstranddiddledan: have fun!13:37
diddledanevery Sunday or Monday ;-)13:38
didrocksjdstrand: zsys/zfs doesn’t really do anything since we enabled the generator. Basically, we have a systemd generator which creates .mount files. Systemd is then ordering the units are mounting them13:39
didrocksjdstrand: so, I think the issue comes from systemd itself13:39
didrocks(I think if you create a similar partitionning on ext4 and let systemd mounting them on boot, you will end up with the same issue)13:40
didrockszfs-mount.service units are no-op in our configuration13:40
didrockswould it be possible for systemd to have a race in the mount units ordering/picking when RequiresMount= is? unlikely, but maybe a regression…13:43
jdstranddidrocks: idk. I only updated the apparmor unit for correctness and am just giving some ideas. I've not tried to create .mount units with ext4 with similar partitioning (cc zyga). but, does zfs perform some housekeeping on boot prior to when the mounts might show up?13:45
jdstrandzfs-load-module.service, zfs-import-cache.service and zfs-import.target are all listed in https://paste.ubuntu.com/p/3VjZhgQRyT/ (a successful boot) prior to var.lib.mount13:47
* zyga checks backlog13:47
lathiatI’m13:47
jdstrandperhaps one of those is taking too long, apparmor starts and var.lib.mount isn't generated13:47
jdstrandand then at some later point it is13:47
zygaabout that topic13:47
zygaI don't understand why apparmor starts13:47
zygaif it has after local-fs.target13:47
zygacan local-fs.target be reached before zfs probing is done?13:48
jdstrandzyga: that is the question. see my comments in the bug13:48
zygaok, let me catch up with developments13:48
jdstrandzyga: on one boot, local-fs.target had zfs in its critical-chain, on another it did not13:48
lathiatNot sure if strictly related but the Zfs stuff basically doesn’t work for hotplugged stuff including USB devices present at boot. Either in bionic or focal with my current testing (at least for multi device zfs). I thought the new generator stuff would help but it didn’t seem to. The zpool import task seems to run and finish before the USBs appear. I was thinking the generated pool units need to depend on the13:48
lathiatdevice paths but that’s as far as I got looking into that.13:48
lathiatSo I have to run zpool import -a manually atm on my setup13:49
didrocksjdstrand: when we do a manual mount in our tests (like create a pool and then run grub which mounts and immediatly accessing its content on next line), we didn’t see any kind of latency (we ran the tests multiples thousands times on fast and slow machines/disks), so that seems unlikely at first glance, but not impossible ofc13:50
lathiatSo if you’re trying to reproduce a problem like that maybe try setup two USB drives13:50
jdstrandzyga: the RequiresMountsFor change in apparmor is only going to work if there is a .mount unit at the time the apparmor service is started, aiui13:50
zygalathiat: here it was /dev/sda*, sata with zfs13:50
zygajdstrand: indeed13:50
lathiatMy setup is non root btw. Just a storage mount.13:51
zygajdstrand: note that systemd generates .mount units for every mount in the system (however it was created)13:51
zygabut it is indeed possible to race13:51
* zyga checks the bug history 13:51
didrockslathiat: the generator is mostly done for root, it will create additional mounts only if you the zfs-list cache corresponding to your disk, otherwise, it will be the traditional import + zfs-mount systemd services13:52
nomad_frhi13:52
jdstrandzyga: right. I think didrocks is right to point out there could be a bug in systemd. however, if there is something that takes a while for zfs to start up before the mount units can even be generated, that would be a bug somewhere else13:52
nomad_frI just discover Zsys it's perfect13:52
zygajdstrand: I wonder if we could see when local-fs.target was reached13:52
zygajdstrand: and compare that to when zfs was started / completed13:52
lathiatYeah I setup the list cache but it still fails (with or without).13:52
zygajdstrand: and when apparmor was started13:53
nomad_frdoes someone know if it's possible to swithc a non Zsys zfs install to a Zsys one ?13:53
didrocksnomad_fr: if you don’t know the internals, we disabled on purpose zsys on non zsys managed systems13:54
jdstrandzyga: well, there is the systemd-analyze plot and dot, but we unfortunately saw that it didn't list apparmor once when it had obviously started :\13:54
zygajdstrand: oh, right13:54
zygathat's so weird13:54
zygabugs bugs bugs :/13:54
didrocksnomad_fr: so yeah, Zsys isn’t perfect as it won’t manage manually installed setup :)13:55
nomad_frdidrocks: I'm able to adapt my manually installed setup to match Zsys need13:55
nomad_frdidrocks: I just need to know what is needed13:56
zygajdstrand: perhaps for 20.04 we could avoid it by _not_ making /var/lib a zpool13:56
didrocksnomad_fr: so I suggest do a beta install, look at the datasets layout and mirror that out. You will need to also add the same user properties to your datasets13:56
zygawhatever the bug is, we can fix it for +113:56
didrocksnomad_fr: or wait for a month, I’ll publish some blogs about the internals13:56
nomad_frdidrocks: I'm so excited about this, I use beadm on FreeBSD it's almost the same13:57
nomad_frdidrocks: what is your blog url ?13:57
didrocksnomad_fr: https://didrocks.fr (but yeah, will be published in a month or so :p). Glad that you are excited :)13:58
didrockszyga: /var/lib is not a zpool, it’s a dataset and that’s required for the server type layout13:59
zygaoh14:00
zygasorry,14:00
zygawell, it's a mount point14:00
zygaI'm not sure how zfs installer defaults look like precisely, sorry14:00
didrocksno worry :) we have a spec if interested in why this separation :)14:00
didrocksHower as I wrote, seeing the number of mounts + direct access to its content we have in our tests and how many of them we ran on different hardware, if there was even a slight delay between the mount exiting and the file system content to be available, we should have seen it14:01
didrockshence my pick on rather ordering on systemd mount units file14:01
didrocksthe mount units have Before=local-fs.target zfs-mount.service14:03
didrocksso that ought to be ordred by systemd (/var/lib in particular) before local-fs.target14:03
didrocksah, but diddledan installation is before beta14:03
jdstrandfyi, https://bugs.launchpad.net/apparmor/+bug/1871148/comments/2114:03
ubottuLaunchpad bug 1871148 in zsys (Ubuntu Focal) "services start before apparmor profiles are loaded" [Undecided,New]14:03
diddledandid I break it, didrocks? :-p14:04
didrocksdiddledan: maybe your setup isn’t compatible with the generator fix. However, I think jdstrand installed from beta14:04
jdstrandI did a fresh install14:05
didrocksdiddledan: ensure you both have bpool and rpool in your /etc/zfs/pool.cache14:05
diddledanI used a daily image from early march14:05
nomad_frI also have had trouble with kernel update and zfs.mount14:05
jdstrandbut note my bug comment. based on systemd-analyze plot, it looks ok on the system where systemd-analyze critical-chain looks like it might not be14:05
diddledancat: /etc/zfs/pool.cache: No such file or directory14:05
nomad_frdidrocks: on aurai pu parler Francais14:06
jdstrandI need to step away for a bit14:06
didrocksdiddledan: ensure you both have bpool and rpool in your /etc/zfs/pool.cache14:06
didrocksoopsss14:06
diddledancat: /etc/zfs/pool.cache: No such file or directory :-p14:06
didrocksjdstrand: yeah, however, the critical chain doesn’t show up all units leading to an unit, no?14:06
didrocksdiddledan: :p14:06
didrocksdiddledan: /etc/zfs/zpool.cache14:07
jdstranddidrocks: I did the critical chain on the unit itself14:07
jdstrandsudo systemd-analyze critical-chain apparmor.service14:07
didrocksjdstrand: isn’t that the longest path leading to apparmor.service?14:07
jdstrandmaybe critical-chain isn't the right diagnostic tool to verify things are ok14:08
didrocksso if those units took longer than var.lib.mount, it’s wait is pending14:08
didrocksisn’t not listed*14:08
jdstrandthe man page isn't clear on this point14:09
* jdstrand really has to go14:09
didrocksI wonder how we can have something more precise from systemd :/14:10
diddledan"precise? this is focal!"</troll>14:11
nomad_frdidrocks: infact I've some 'special' request has I'm installing my computer parc (50 ubuntu) with tftp + preseed + salt. I really love this Zsys feature. I wan't to know how to build my preseed to match it's need.14:13
didrocksnomad_fr: remember that Zsys will be kept as experimental this cycle, so not a really good time to install on a park :) But yeah, just wait on my technical blog posts you should have what you need14:16
nomad_frdidrocks: cool thanks so Zsys will be 'stable' with 20.10 ?14:45
seb128cjwatson, hey, sorry do bother you about that again, but looks like I screwed something in by adding those new strings to the gfxboot-theme-ubuntu  template .. do you have any idea what in http://launchpadlibrarian.net/473396220/gfxboot-theme-ubuntu_0.23.0_0.23.1.diff.gz could create bug #187159914:47
ubottubug 1871599 in gfxboot-theme-ubuntu (Ubuntu) "Live image boot menu entries of Kubuntu are mistranslated" [Undecided,Confirmed] https://launchpad.net/bugs/187159914:47
didrocksnomad_fr: that’s our goal, indeed14:50
cjwatsonseb128: Uh, no idea, sorry :(14:53
cjwatsonseb128: Oh maybe the txt_foo comments are parsed?14:53
seb128cjwatson, could well be in seems...14:54
cjwatsonseb128: I don't remember by what, but that's probably where I'd start looking14:54
seb128cjwatson, thanks, I will try to figure that out14:54
seb128lathiat, I uploaded there, https://launchpad.net/~ubuntu-desktop/+archive/ubuntu/transitions/+sourcepub/11174563/+listing-archive-extra , I would welcome if you could test tomorrow15:04
nomad_frdidrocks: I just test it on my laptop It seems to work, but I have to manualy zfs mount my home dir15:16
nomad_frdidrocks: en fait le parametre canmount de mon home est passe a noauto ... je crois15:22
didrocksnomad_fr: you are missing the bootfs-dataset parameter on your user dataset to link to the root dataset15:24
nomad_frdidrocks:oh !15:25
didrocksthis will be detailed on my blog for people interested in doing a manual transition15:25
nomad_frdidrocks: ok15:25
didrocksglad it’s almost working though for your first try :)15:26
seb128cjwatson, another question for you (sorry), I was looking at applying those grub/gettext fixes to the package, looks like autoreconf does overwrite po/Makefile.in.in ... is there any mechanism in grub that could be used for that that I'm overlooking or does applying those patches from override_dh_autoreconf sound like the way to go?15:26
nomad_frdidrocks: second15:26
didrocksheh15:26
nomad_frdidrocks: on a 'standard install' it works, and a non standard one not yet15:26
nomad_frso for the moment I set canmount to on15:27
nomad_fr?15:27
didrocksnomad_fr: you have multiple user properties to set (I think you set the ones on the root pool already, correct?) and one on the user pool. I suggest until I publish the blog post to try to install 20.04 beta on a vm and compare those15:28
nomad_frdidrocks: ok I really tried it a little to fast15:36
nomad_frdidrocks: I will have trouble in the future with canmount=on15:36
nomad_frdidrocks: bon je te laisse, en tout cas encore merci pour tout ca15:42
didrocksnomad_fr: de rien :)15:42
seb128sil2100, if you are not too busy and can sneak a small review in I submitted https://code.launchpad.net/~seb128/ubuntu-archive-tools/blocked_by_hints/+merge/38193415:43
seb128sil2100, no hurry, I just ping because my previous ones didn't get picked by reviewers without a ping even after waiting a week so I'm unsure email notifications is good enough / something to rely on for that project reviews :)15:43
sil2100seb128: hey! Let me look in a bit :)15:44
cjwatsonseb128: override_dh_autoreconf is probably best.  Switching to doing a full bootstrap would I suspect be a fair bit more complicated.15:45
seb128cjwatson, ok thanks, I just wanted to sanity check with you before submit a mp15:45
cjwatsonseb128: Though I'm a little surprised that it can't be done without that15:45
cjwatsonSince autoreconf should just be using what's in the source package ...15:46
seb128cjwatson, I'm unsure how? from what I can see autoreconf just replace po/Makefile.in.in with the system version15:46
jdstrandjibel: ok, based on the conversation in backscroll (thanks didrocks!) I just marked the zsys task back to Invalid with this comment: https://bugs.launchpad.net/ubuntu/focal/+source/zsys/+bug/1871148/comments/2215:46
ubottuLaunchpad bug 1871148 in apparmor (Ubuntu Focal) "services start before apparmor profiles are loaded" [Critical,Fix released]15:46
jdstrandjibel: please adjust as you see fit15:47
cjwatsonseb128: Ah, we maybe need to switch to bootstrap in the packaging somehow, but can't do that immediately15:47
cjwatsonFiddly15:48
cjwatsonseb128: Feel free to hack it in the short term15:48
seb128cjwatson, will do, thanks15:48
seb128sil2100, sorry, I screwed the projects name/target :p15:50
seb128sil2100, resubmitted as https://code.launchpad.net/~seb128/ubuntu-archive-scripts/report_blocked_hints/+merge/38193615:52
sil2100hah, ok ;)15:52
tewarddoko: you around?16:20
tewardif not doko, then sil2100 are you around?16:22
tewarddisregard, issue resolved16:23
=== dax is now known as ezri
sarnoldhello friends :) can someone suggest to me if this is a user-error or if this is something broken in dpkg / apt / debconf / ucf / something else? I've seen this a few times recently https://launchpadlibrarian.net/473598994/DpkgTerminalLog.txt22:38
sarnoldthe bug in question is https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/187161522:38
ubottuLaunchpad bug 1871615 in apparmor (Ubuntu) "package apparmor 2.13.3-7ubuntu4 failed to install/upgrade: end of file on stdin at conffile prompt" [Undecided,New]22:38
powersjisn't the eof on stdin message mean it happened when there was no interactive shell?22:42
sarnoldpowersj: I thought about that, but then I got scared of what that would mean for everybody who uses our GUI update tool22:44
=== ben_r_ is now known as ben_r
* mwhudson wrote a thing https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/1525023:48

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