/srv/irclogs.ubuntu.com/2021/06/21/#ubuntu-devel.txt

=== ebarretto_ is now known as ebarretto
=== blue_penquin_ is now known as blue_penquin
DarkTrick**Q**: What is a good way to migrate application settings from gconf to dconf?04:42
DarkTrickOne specific problem: Ubuntu had a mapping layer for gconf-access, but it seems like the mapping differs between ubuntu versions. How do I tackle that?04:43
utkarsh2102hello, is there a way to get udebs from a PPA?08:05
utkarsh2102I tried using pull-ppa-udebs -a i386 --ppa utkarsh/multipath-tools-disable-fexceptions multipath-tools but that says no udebs found there, which probably means they're not built there in the first place?08:06
utkarsh2102is there a way to ensure that udebs are built in a PPA?08:06
xnoxutkarsh2102:  for which release?08:55
utkarsh2102xnox: impish08:58
xnoxutkarsh2102: all ppa's inherit allow/block-lists of packages to build from the parent ubuntu distribution. by default impish does not build udebs. If you want to build udebs for multipath-tools in your ppa, you need to change debian/rules to export DEB_BUILD_PROFILES=!noudeb09:23
xnoxsee mentions about this in dpkg uploads09:23
xnoxutkarsh2102:  but note that this will still not quite result in having i386 d-i working at all..... may i ask what are you trying to achieve? cause for you to run i386 multipath-tools udeb i would expect you to rebuild it in a release that at least has i386 debian-installer.... like bionic09:24
utkarsh2102xnox: the ultimate goal that we have is to drop the delta that we've been carrying; this one: https://git.launchpad.net/~utkarsh/ubuntu/+source/multipath-tools/commit/?h=merge-multipath-tools-impish&id=920df384351ddc43bdef435643c47d5742537360.09:28
ubottuCommit 920df38 in ~utkarsh/ubuntu/+source/multipath-tools "- Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes"09:28
utkarsh2102so to check that we wanted a udeb to test on. I'll use ppc64el instead of i386, thanks, again!09:28
xnoxutkarsh2102:  we do not make udebs in impish.09:31
xnoxutkarsh2102:  you should not be testing any udebs from impish =)09:31
xnoxutkarsh2102:  you can drop any delta that applies to udeb builds only..... since we don't build udebs anymore09:32
utkarsh2102xnox: aah! gotcha! that is perfect :)09:32
utkarsh2102cpaelzer^^ \o/09:32
xnoxutkarsh2102: we do not have d-i anymore....09:33
cpaelzerxnox: legacy images stopped after focal right?09:35
cpaelzeror are they just better hidden and still needed?09:35
xnoxcpaelzer:  we have not built legacy images since 20.04.1. Even .2 release does not have them....09:35
cpaelzeryep, ok that is what I see on the cdimage pages09:35
xnoxcpaelzer:  checkout rmadison and note the lack of multipath udebs being built or produced.....09:35
cpaelzerxnox: well, that for eample still existed in groovy09:36
xnoxbut not in hirsute, nor impish.09:37
cpaelzerwhich confuses a bit, but probably only as carry over from focal09:37
xnoxit took us some time to remove them all properly.09:37
cpaelzerindeed09:37
cpaelzerthanks for the hints xnox09:37
xnoxbut since the .udeb is not there for two releases now, it is gone =)09:37
cpaelzeronce = accident, twice = gone :-P09:37
utkarsh2102indeed, multipath-udeb was last seen in groovy09:39
utkarsh2102 multipath-udeb | 0.8.4-4ubuntu2                 | groovy/universe/debian-installer09:39
utkarsh2102time to say bye-bye o/09:39
utkarsh2102thanks, xnox!09:39
=== sil2100_ is now known as sil2100
LocutusOfBorghello, anybody wants to discuss a glibc change for the syslog function?12:59
LocutusOfBorgI have a process reading /dev/log, but what happens, if the process reading it, stops or crashes for whatever reason, the whole system becomes stuck because syslog becomes blocking when the queue is full12:59
LocutusOfBorgI changed the syslog glibc socket to NONBLOCK and I fixed the issue12:59
LocutusOfBorgI would like to discuss it with some glibc-savvy people13:00
smoserbdmurray: any chance that you could take a look at bug 1923232 today? just wondering what further is expected to mark it as 'verification-done'.  I'd do it, but I don't want to step on toes.15:07
ubottuBug 1923232 in lxc (Ubuntu Focal) "SRU of LXC 4.0.6 to focal (upstream bugfix release)" [High, Fix Committed] https://launchpad.net/bugs/192323215:07
xnoxLocutusOfBorg:  why do you think /dev/log has anything to do with glibc? =)15:43
xnoxLocutusOfBorg:15:43
xnox$ ls -latr /dev/log15:43
xnoxlrwxrwxrwx 1 root root 28 Jun 21 09:42 /dev/log -> /run/systemd/journal/dev-log15:43
xnoxnormally it is expected for it to be a blocking one, as otherwise you might loose log messages with is dataloss. It is expected to fill up, until something processes / forwards / stores all the messages.15:45
xnoxon regular ubuntu system, that is systemd-journald, which in-turn forwards things to a classic syslog daemon, which then in default configuration stores things on disk.15:46
xnoxif on the other hand /dev/log became non-blocking, it would appear that lots of services are writting logs to syslog.... and yet they go missing and get dropped on the floor.15:46
xnoxLocutusOfBorg:  so lets go to the beginning. why are you reading /dev/log directly? one should instead read `journalctl -f` or syslog15:47
xnoxLocutusOfBorg:  are you writing a syslog daemon (aka something that is drop in replacement for journald / syslog / syslog-ng) in that case you must adhere to the expectations of handling all messages correctly. not dropping them on the floor. and storing them. If need be, mark yourself to autorespawn on crashes & have a heartbeat to be restarted when getting "stuck".15:48
LocutusOfBorgxnox, where did I mention Ubuntu? XD16:20
LocutusOfBorgI'm doing a thing, an embedded system, with systemV and dev/log being read by a dlt-system daemon (dlt is a common logging system used in automotive industry)16:21
LocutusOfBorgproblem is that if you fill up the /dev/log, even the init system gets stuck on the first write to syslog16:21
LocutusOfBorgso you can't reboot, launch scripts, log anything, the board is just stuck, for all processes doing a write to syslog16:21
LocutusOfBorgalso journald,syslog,syslog-ng might one day have a bug with a deadlock, or something similar preventing the queue from being empty16:22
LocutusOfBorgI'm not alone btw https://www.endpoint.com/blog/2013/08/22/log-jam-be-careful-with-local-syslog16:25
LocutusOfBorgthis happens when you redirect syslog into a slower device16:25
LocutusOfBorghttps://lists.balabit.hu/pipermail/syslog-ng/2005-June/007588.html16:26
xnoxLocutusOfBorg:  where is `dlt-system daemon`? can you point me at it to read sources of that?16:45
xnoxLocutusOfBorg:  if your log daemon is crap, then yes your system is as reliable as that. Also note that good inits have protections against log jam, i.e. systemd does not fallover when journald stops responding. And there is a lot of failsafe built into journald with handling disks going readonly MIA etc.16:46
xnoxLocutusOfBorg: also you say "systemV" ..... but which implementation in particular do you mean? there is about half a dozen of things that are "systemV"16:46
xnoxsome are better than others.16:47
xnoxLocutusOfBorg:  there are good implementations of inits & logging daemons that do not suffer from cloging up /dev/log. I'm not sure glibc upstream would be open of making it less reliable, in the common cases, for most systems, to accomodate less resilient implementations.16:48
xnoxLocutusOfBorg:  what you might find, is that lots of applications expect logging to be blocking; and if you change it to nonblocking lots of apps will start failing.16:51
xnoxand assumptions about using Ubuntu is because this is #ubuntu-devel =)16:51
xnoxnot #glibc-devel16:51
xnoxLocutusOfBorg:  so you move bug from one place, to many new places.16:52
xnoxmake your init & logging daemon more reliable, and fix bugs in them.16:52
xnoxlaney:  Libarchive 3.4.3 had many zstd improvements. I wonder if we it makes sense to rebuild the snap with libarchive 3.4.3 backport to focal and check if that "fixes everything"17:15
xnoxlaney:  in launchpad there is a way to force using newer series too, on the snap via api one can set it to "please build it in hirsute"17:16
laneyxnox: it's probably easiest for you to fork it and play with changes yourself17:23
bdmurraysmoser: I'm just testing an upgrade from F to G given that 4.0.6 isn't in Groovy17:24
smoserbdmurray: thank you.17:25
=== lucas_ is now known as lucascastro
seb128LocutusOfBorg, hum, what was the point of that poppler sync? there is 0 change outside the debian/cjhangelog and it was on a revision that would autosync, also I did a new version upload today that is actually worth syncing and that I was going to sync once it's published...19:01
diddledandoko, I see you're listed as contact for openjdk-16 packages - it looks like focal builds have only been published for amd64 and i386, with all other architectures unaccounted for. I'm not sure where to look to find out whether the builds weren't attempted at all or have failed in some way - the PPA seemingly has the packages in question so something has gone awry in publishing to universe21:53
diddledane.g. https://packages.ubuntu.com/focal/openjdk-16-jdk-headless21:54
cjwatsondiddledan: Or packages.ubuntu.com is just wrong.22:53
cjwatson openjdk-16-jdk-headless | 16.0.1+9-1~20.04 | focal-updates/universe   | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x22:53
cjwatson(rmadison openjdk-16-jdk-headless)22:53
diddledanodd22:53
cjwatsonamd64 and i386 are the two architectures on archive.ubuntu.com (as opposed to ports.ubuntu.com), so maybe it's something to do with that22:54
cjwatsonIDK; packages.u.c is maintained by a community member22:54
cjwatsonOh actually, try https://packages.ubuntu.com/focal-updates/openjdk-16-jdk-headless22:54
cjwatsonpackages.u.c's view here is very confusing.  openjdk-16-jdk-headless isn't actually in the "focal" suite in terms of the archive at all; it's in focal-security and focal-updates22:55
diddledanI've been talking with someone in snapcrafters about a build failure they hit with seemingly unable to find non-x86 builds of the package22:55
cjwatsonso I guess it must be looking at security.u.c and merging that into focal somehow ...22:56
cjwatsonAnyway packages.u.c is probably a red herring for whatever you're investigating22:56
cjwatsonLink to the build failure?22:56
diddledanhttps://launchpadlibrarian.net/544874175/buildlog_snap_ubuntu_focal_amd64_snapcraft-gradle-4ee03a_BUILDING.txt.gz22:58
cjwatsonAnd that's on amd6422:58
cjwatsonThe error there doesn't seem to be anything to do with not finding openjdk-16-jdk-headless?22:59
cjwatson+ rm /build/snapcraft-gradle-4ee03a/parts/java/install/usr/lib/jvm/default-java/lib/security/cacerts22:59
cjwatsonrm: cannot remove '/build/snapcraft-gradle-4ee03a/parts/java/install/usr/lib/jvm/default-java/lib/security/cacerts': No such file or directory22:59
diddledanyeah, I think they gave me the wrong log :-)22:59
diddledanaha, they've just updated me - they made a wrong assumption based on package.u.c not showing the arches23:00
cjwatsonRight :)23:00
diddledanthanks for helping :-)23:01
cjwatsonUnfortunately with snapcraft remote-build working the way it does I can't currently guess the build log URL for other architectures even given buildd-manager logs ...23:01
cjwatsonI was going to suggest reporting a bug on packages.u.c, but I think this might be https://bugs.launchpad.net/pkg-website/+bug/1866833?23:02
ubottuLaunchpad bug 1866833 in pkg-website "Looks like ports-security is not updated" [Undecided, New]23:02
diddledanyeah, finding the logs is a bit of a pain - even when you have access via snapcraft.io's build service they're not immediately sharable without inspecting the page to find the underlying frame's url23:02
cjwatsonSlightly different manifestation but it's probably the same cause23:02
diddledanyeah that looks similar23:03
cjwatsonI can't find the code/config to investigate23:06
cjwatsonSuspect it needs Rhonda to dig23:07
cjwatsonhttps://packages.ubuntu.com/about/ is very outdated and even correcting for the current git location of upstream webwml there's no "ubuntu-master" branch there23:08
diddledanhttps://salsa.debian.org/webmaster-team/packages/-/tree/ubuntu-master23:10
cjwatsonOh maybe ... just found that23:10
cjwatsonBy gratuitous guesswork in salsa :)23:11
cjwatsonI think wrapping my brain round this is more than I can manage at this time of night though, good luck ... night23:12
diddledannn23:13

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