*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto | 00:05 | |
*** florian <florian!~florian@dynamic-078-049-013-053.78.49.pool.telefonica.de> has quit IRC (Ping timeout: 268 seconds) | 00:08 | |
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 272 seconds) | 00:21 | |
*** lexano <lexano!~lexano@174.119.69.134> has quit IRC (Ping timeout: 264 seconds) | 00:22 | |
*** sotaoverride <sotaoverride!~aatir@ool-4578fe22.dyn.optonline.net> has quit IRC (Ping timeout: 264 seconds) | 00:46 | |
*** noyez <noyez!~noyez@pool-74-104-154-58.bstnma.fios.verizon.net> has joined #yocto | 01:19 | |
*** starblue <starblue!~juergen@87.122.39.169> has quit IRC (Ping timeout: 268 seconds) | 01:38 | |
*** starblue <starblue!~juergen@87.122.126.185> has joined #yocto | 01:39 | |
*** noyez <noyez!~noyez@pool-74-104-154-58.bstnma.fios.verizon.net> has quit IRC (Ping timeout: 250 seconds) | 01:42 | |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 01:52 | |
*** starblue <starblue!~juergen@87.122.126.185> has quit IRC (Ping timeout: 260 seconds) | 01:56 | |
*** starblue <starblue!~juergen@87.122.126.113> has joined #yocto | 01:57 | |
*** davidinux <davidinux!~davidinux@45.11.82.23> has quit IRC (Ping timeout: 268 seconds) | 02:04 | |
*** davidinux <davidinux!~davidinux@45.11.82.21> has joined #yocto | 02:05 | |
*** jclsn <jclsn!~jclsn@2a04:4540:6515:3500:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 256 seconds) | 02:10 | |
*** jclsn <jclsn!~jclsn@2a04:4540:6506:f00:2ce:39ff:fecf:efcd> has joined #yocto | 02:11 | |
*** Ad0 <Ad0!~Ad0@93.124.245.194> has quit IRC (Ping timeout: 264 seconds) | 02:22 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 268 seconds) | 02:23 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 02:24 | |
*** rm5248 <rm5248!~rm5248@c-76-100-95-162.hsd1.va.comcast.net> has joined #yocto | 02:25 | |
*** Ad0 <Ad0!~Ad0@93.124.245.194> has joined #yocto | 02:27 | |
*** rm5248 <rm5248!~rm5248@c-76-100-95-162.hsd1.va.comcast.net> has quit IRC (Ping timeout: 268 seconds) | 02:34 | |
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has joined #yocto | 02:44 | |
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…) | 02:52 | |
*** starblue <starblue!~juergen@87.122.126.113> has quit IRC (Ping timeout: 268 seconds) | 02:55 | |
*** starblue <starblue!~juergen@87.122.126.203> has joined #yocto | 02:57 | |
*** ablu <ablu!~m-bfyrfh@user/Ablu> has quit IRC (Read error: Connection reset by peer) | 03:36 | |
*** ablu <ablu!~m-bfyrfh@user/Ablu> has joined #yocto | 03:41 | |
*** raghavgururajan <raghavgururajan!ea769b8000@user/raghavgururajan> has quit IRC (Read error: Connection reset by peer) | 03:59 | |
*** raghavgururajan <raghavgururajan!ea769b8000@user/raghavgururajan> has joined #yocto | 03:59 | |
*** jkridner <jkridner!sid491820@user/jkridner> has quit IRC (Read error: Connection reset by peer) | 04:00 | |
*** jkridner <jkridner!sid491820@user/jkridner> has joined #yocto | 04:00 | |
*** smurray <smurray!sid98062@id-98062.hampstead.irccloud.com> has quit IRC (Ping timeout: 256 seconds) | 04:00 | |
*** smurray <smurray!sid98062@id-98062.hampstead.irccloud.com> has joined #yocto | 04:04 | |
*** alperak <alperak!uid641238@id-641238.ilkley.irccloud.com> has joined #yocto | 05:38 | |
*** xmn <xmn!~xmn@pool-108-46-142-76.nycmny.fios.verizon.net> has quit IRC (Ping timeout: 256 seconds) | 05:41 | |
*** jmd <jmd!~user@2001:a61:2aa0:ea01:fcec:2373:8649:cf16> has joined #yocto | 06:06 | |
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto | 06:38 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto | 06:45 | |
*** jmd <jmd!~user@2001:a61:2aa0:ea01:fcec:2373:8649:cf16> has quit IRC (Remote host closed the connection) | 07:40 | |
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has joined #yocto | 07:54 | |
*** rfuentess <rfuentess!~rfuentess@adijon-159-1-11-151.w92-161.abo.wanadoo.fr> has joined #yocto | 08:04 | |
*** davidinux <davidinux!~davidinux@45.11.82.21> has quit IRC (Ping timeout: 255 seconds) | 08:05 | |
*** mckoan|away is now known as mckoan | 08:06 | |
*** davidinux <davidinux!~davidinux@host-79-41-212-233.retail.telecomitalia.it> has joined #yocto | 08:06 | |
*** tgamblin <tgamblin!~tgamblin@abordeaux-651-1-78-161.w90-5.abo.wanadoo.fr> has joined #yocto | 08:09 | |
*** enok <enok!~Thunderbi@94.191.152.144> has joined #yocto | 08:10 | |
*** starblue <starblue!~juergen@87.122.126.203> has quit IRC (Ping timeout: 252 seconds) | 08:23 | |
*** enok <enok!~Thunderbi@94.191.152.144> has quit IRC (Read error: Connection reset by peer) | 08:25 | |
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto | 08:28 | |
*** starblue <starblue!~juergen@87.122.38.226> has joined #yocto | 08:30 | |
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Quit: enok) | 08:35 | |
*** enok71 <enok71!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto | 08:35 | |
*** enok71 is now known as enok | 08:37 | |
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 272 seconds) | 08:44 | |
*** starblue <starblue!~juergen@87.122.38.226> has quit IRC (Ping timeout: 272 seconds) | 08:48 | |
*** starblue <starblue!~juergen@87.122.38.226> has joined #yocto | 08:50 | |
*** enok <enok!~Thunderbi@94.191.152.144> has joined #yocto | 09:04 | |
*** florian <florian!~florian@dynamic-002-244-170-197.2.244.pool.telefonica.de> has joined #yocto | 09:08 | |
*** jmd <jmd!~user@2001:a61:2aa0:ea01:fcec:2373:8649:cf16> has joined #yocto | 09:31 | |
*** flom84 <flom84!~flom84@user/flom84> has joined #yocto | 09:38 | |
*** bunk <bunk!~bunk@debian/bunk> has quit IRC (Quit: leaving) | 09:45 | |
*** davidinux <davidinux!~davidinux@host-79-41-212-233.retail.telecomitalia.it> has quit IRC (Ping timeout: 260 seconds) | 09:49 | |
*** davidinux <davidinux!~davidinux@45.11.80.94> has joined #yocto | 09:50 | |
*** florian <florian!~florian@dynamic-002-244-170-197.2.244.pool.telefonica.de> has quit IRC (Ping timeout: 256 seconds) | 09:52 | |
*** enok <enok!~Thunderbi@94.191.152.144> has quit IRC (Ping timeout: 252 seconds) | 10:08 | |
*** prabhakalad <prabhakalad!~prabhakar@147.161.225.85> has quit IRC (Quit: Konversation terminated!) | 10:19 | |
RP | https://www.yoctoproject.org/blog/2024/03/28/maintainer-confidential-challenges-and-opportunities-one-year-on/ or https://www.linux.com/news/maintainer-confidential-challenges-and-opportunities-one-year-on/ | 10:21 |
---|---|---|
tgamblin | RP: thanks for writing and posting. I'll share it around | 10:45 |
*** flom84 <flom84!~flom84@user/flom84> has quit IRC (Quit: Leaving) | 10:45 | |
JaMa | I've shared it @lge as well | 10:49 |
*** chep <chep!chep@gateway/vpn/airvpn/chep> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in) | 10:57 | |
*** chep <chep!chep@gateway/vpn/airvpn/chep> has joined #yocto | 10:57 | |
RP | tgamblin, JaMa, thanks! | 11:01 |
michaelo | Still amazed by how bitbake generates two *identical* binary packages on different machines. Great work! | 11:03 |
alessioigor | Wow | 11:16 |
RP | michaelo: I'm glad someone appreciates it! :) | 11:20 |
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has quit IRC (Ping timeout: 252 seconds) | 11:53 | |
*** Kubu_work <Kubu_work!~kubu@2a01cb05945b7e009bdc688723a24f31.ipv6.abo.wanadoo.fr> has joined #yocto | 12:09 | |
*** enok <enok!~Thunderbi@94.191.152.41.mobile.tre.se> has joined #yocto | 12:10 | |
yocton | RP: shared internaly as well, thanks for writing this | 12:11 |
*** rm5248 <rm5248!~rm5248@c-76-100-95-162.hsd1.va.comcast.net> has joined #yocto | 12:12 | |
*** enok <enok!~Thunderbi@94.191.152.41.mobile.tre.se> has quit IRC (Remote host closed the connection) | 12:16 | |
*** rm5248 <rm5248!~rm5248@c-76-100-95-162.hsd1.va.comcast.net> has quit IRC (Ping timeout: 260 seconds) | 12:36 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 12:37 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Remote host closed the connection) | 13:06 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto | 13:14 | |
*** chep <chep!chep@gateway/vpn/airvpn/chep> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in) | 13:19 | |
*** chep <chep!chep@gateway/vpn/airvpn/chep> has joined #yocto | 13:19 | |
*** xmn <xmn!~xmn@pool-108-46-142-76.nycmny.fios.verizon.net> has joined #yocto | 13:34 | |
*** paw <paw!~afong@198-84-204-38.cpe.teksavvy.com> has joined #yocto | 13:35 | |
*** noyez <noyez!~noyez@pool-74-104-154-58.bstnma.fios.verizon.net> has joined #yocto | 13:39 | |
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto | 14:04 | |
*** marka <marka!~marka@149.115.66.185> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in) | 14:04 | |
*** marka <marka!~marka@149.115.66.185> has joined #yocto | 14:05 | |
jwinarsk | It looks like beaglebone-yocto master (mesa) + proprietary TI/PowerVR kernel driver (mesa branch) is the combo for Weston (x11 is broken). | 14:09 |
*** sakoman <sakoman!~sakoman-l@dhcp-72-234-108-41.hawaiiantel.net> has quit IRC (Ping timeout: 272 seconds) | 14:22 | |
*** mvlad <mvlad!~mvlad@2a02:2f05:850d:7800:24af:27e3:a9b0:4f67> has joined #yocto | 14:26 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor) | 14:31 | |
*** sakoman <sakoman!~sakoman-l@dhcp-72-234-108-41.hawaiiantel.net> has joined #yocto | 14:35 | |
RP | jwinarsk: it seems a bit sad that it doesn't work without the binary driver :( | 14:39 |
jwinarsk | rp: indeed. The open source PowerVR kernel driver is landing in 6.8 that plays with mesa 24 Vulkan. Which will use Vulkan + Zink for GL. The kernel driver will need open source contribution for the SGX530, as the upstream work is targeting the AXE-1-16M GPU. | 14:50 |
*** tgamblin <tgamblin!~tgamblin@abordeaux-651-1-78-161.w90-5.abo.wanadoo.fr> has quit IRC (Quit: Leaving) | 15:09 | |
*** sakoman <sakoman!~sakoman-l@dhcp-72-234-108-41.hawaiiantel.net> has quit IRC (Ping timeout: 268 seconds) | 15:23 | |
*** noyez <noyez!~noyez@pool-74-104-154-58.bstnma.fios.verizon.net> has quit IRC (Quit: Client closed) | 15:31 | |
*** sakoman <sakoman!~sakoman-l@dhcp-72-234-108-41.hawaiiantel.net> has joined #yocto | 15:31 | |
*** Guest68 <Guest68!~Guest68@host-92-16-247-97.as13285.net> has joined #yocto | 16:00 | |
Guest68 | Problem with patching kernel. Used devtool extract to get at kernel source code | 16:01 |
Guest68 | then modified one file and git commit within devtool context then git format-patch against commit HEAD -1, copied resulting patch to recipes-kernel/files in bbappend recipe “files” folder then added the patch file to b append recipe . The patch is correctly formatted as a subsequent devtool extract followed by git am <patch file> succeeds … | 16:06 |
Guest68 | however bitbake virtual/kernel fails to apply the patch complaining that the file to be patched does not exist in the index | 16:06 |
mckoan | Guest68: copy resulting patch to recipes-kernel/linux/files | 16:14 |
*** rfuentess <rfuentess!~rfuentess@adijon-159-1-11-151.w92-161.abo.wanadoo.fr> has quit IRC (Remote host closed the connection) | 16:16 | |
Guest68 | mckoan: The patch file is in my own layer in the files subdirectory of the bbappend recipe | 16:17 |
*** sakoman <sakoman!~sakoman-l@dhcp-72-234-108-41.hawaiiantel.net> has quit IRC (Ping timeout: 255 seconds) | 16:19 | |
*** sakoman <sakoman!~sakoman-l@dhcp-72-234-108-41.hawaiiantel.net> has joined #yocto | 16:25 | |
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 255 seconds) | 16:31 | |
*** ajfriesen <ajfriesen!~ajfriesen@p54b940b3.dip0.t-ipconnect.de> has quit IRC (Quit: The Lounge - https://thelounge.chat) | 16:45 | |
Guest68 | Any idea welcome… | 16:50 |
khem | Guest68: is this file created by another patch ? if so there might be patch ordering problem | 16:54 |
khem | try to find all the bbappends being applied to kernel recipe | 16:54 |
khem | and see if they add patches to SRC_URI then perhaps bitbake-getvar -r virtual/kernel SRC_URI | 16:55 |
khem | will show the patches and the order they are applied | 16:55 |
*** Guest68 <Guest68!~Guest68@host-92-16-247-97.as13285.net> has quit IRC (Quit: Client closed) | 16:58 | |
khem | https://www.openwall.com/lists/oss-security/2024/03/29/4 | 16:58 |
khem | on master/scarthgap we are using 5.4.6 so perhaps we are not impacted maybe but when upgrading one should consider this | 16:59 |
khem | oh hang on, I read it reverse, it seems all tarballs are impacted except v5.6.0 and v5.6.1 argh | 17:00 |
JaMa | is it? gentoo recommends to downgrade (which I did), let me re-read it as well | 17:07 |
*** noyez <noyez!~noyez@pool-74-104-154-58.bstnma.fios.verizon.net> has joined #yocto | 17:16 | |
*** mckoan is now known as mckoan|away | 17:20 | |
*** Guest68 <Guest68!~Guest68@host-92-16-247-97.as13285.net> has joined #yocto | 17:20 | |
*** Guest68 <Guest68!~Guest68@host-92-16-247-97.as13285.net> has quit IRC (Client Quit) | 17:23 | |
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Remote host closed the connection) | 18:21 | |
*** chep` <chep`!chep@gateway/vpn/airvpn/chep> has joined #yocto | 18:25 | |
*** chep <chep!chep@gateway/vpn/airvpn/chep> has quit IRC (Ping timeout: 260 seconds) | 18:27 | |
*** chep` is now known as chep | 18:27 | |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 18:33 | |
*** Guest68 <Guest68!~Guest68@host-92-16-247-97.as13285.net> has joined #yocto | 18:35 | |
*** Guest68 <Guest68!~Guest68@host-92-16-247-97.as13285.net> has quit IRC (Client Quit) | 18:36 | |
fullstop | khem: maybe not, but the account which introduced the backdoor also released version 5.4.6. | 18:40 |
fullstop | I would question every release from 5.4.0 on | 18:41 |
Xogium | from another channel here | 18:41 |
Xogium | 19:37 < bill-auger> as the person responsible for it has been on the team for years, the maintainer is warning about all previous versions within the past few years - so debian reverted to a years old version | 18:41 |
Xogium | either way this is highly suspicious and we have literally no way of finding out when that backdoor got started precisely | 18:42 |
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.10> has quit IRC (Quit: Client closed) | 18:43 | |
Xogium | on the other hand there's a few more things to know about this | 18:43 |
Xogium | https://www.openwall.com/lists/oss-security/2024/03/29/4 | 18:43 |
fullstop | every commit the account has made should be reviewed. What a loss. | 18:44 |
Xogium | so far, the backdoor seems to, one: affect debian/fedora only, presumably ? two: only work if you have sshd which has sd_notify patch from debian which links against libsystemd thus introducing liblzma into the binary and finally: affects only x64 systems | 18:44 |
Xogium | glibc | 18:44 |
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving) | 18:45 | |
Xogium | I think someone more knowledgeable about security might find yet more things to uncover about the backdoor, but that's what we got to work with currently | 18:46 |
*** noyez <noyez!~noyez@pool-74-104-154-58.bstnma.fios.verizon.net> has quit IRC (Quit: Client closed) | 18:47 | |
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto | 18:47 | |
fullstop | and nobody knows who they are, so that account will go dormant and spring up as a new identity in time. | 18:48 |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto | 18:49 | |
Xogium | indeed | 18:49 |
Xogium | the maintainer might know | 18:49 |
Xogium | but who's to say it isn't the maintainer ? | 18:49 |
fullstop | Looking at the debian bug reports, it seems like they at least had puppet accounts urging pull requests to be accepted. | 18:50 |
Xogium | hrm | 18:51 |
Xogium | w | 18:52 |
Xogium | oops | 18:52 |
Xogium | :D | 18:52 |
*** sev99 <sev99!~sev99@pool-108-32-48-117.pitbpa.fios.verizon.net> has quit IRC (Quit: Client closed) | 18:53 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 19:11 | |
*** sakoman <sakoman!~sakoman-l@dhcp-72-234-108-41.hawaiiantel.net> has quit IRC (Ping timeout: 255 seconds) | 19:40 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor) | 19:41 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto | 19:42 | |
*** sakoman <sakoman!~sakoman-l@dhcp-72-234-108-41.hawaiiantel.net> has joined #yocto | 19:44 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds) | 19:48 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 19:49 | |
*** jpuhlman <jpuhlman!~jpuhlman@50.240.203.141> has quit IRC (Ping timeout: 256 seconds) | 19:55 | |
*** jpuhlman <jpuhlman!~jpuhlman@50.240.203.141> has joined #yocto | 19:58 | |
*** jpuhlman <jpuhlman!~jpuhlman@50.240.203.141> has quit IRC (Read error: Connection reset by peer) | 20:00 | |
*** jpuhlman <jpuhlman!~jpuhlman@50.240.203.141> has joined #yocto | 20:01 | |
*** Saur_Home85 <Saur_Home85!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed) | 20:10 | |
*** Saur_Home85 <Saur_Home85!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto | 20:10 | |
* marex reads backlog, sees version starting with 5. ... and knows what it is already, that is truly ugh | 20:10 | |
Xogium | I agree | 20:11 |
marex | Xogium: I am reading the openwall announcement again | 20:11 |
marex | Xogium: https://lore.kernel.org/lkml/20240320183846.19475-1-lasse.collin@tukaani.org/t/ this bubbled up too | 20:12 |
marex | Xogium: so I might just stick to ancient lzop for a bit | 20:13 |
Xogium | ugh yeah. Who knows when this was started or anything | 20:15 |
Xogium | I no longer trust any version of xz | 20:15 |
*** Guest3 <Guest3!~Guest68@host-92-16-247-97.as13285.net> has joined #yocto | 20:38 | |
*** alperak <alperak!uid641238@id-641238.ilkley.irccloud.com> has quit IRC (Quit: Connection closed for inactivity) | 20:38 | |
Guest3 | Problem with patching kernel. Used devtool extract to get at kernel source code | 20:38 |
Guest3 | then modified one file and git commit within devtool context then git format-patch against commit HEAD -1, copied resulting patch to recipes-kernel/files in bbappend recipe “files” folder then added the patch file to b append recipe . The patch is correctly formatted as a subsequent devtool extract followed by git am <patch file> succeeds … | 20:38 |
Guest3 | however bitbake virtual/kernel fails to apply the patch complaining that the file to be patched does not exist in the index | 20:38 |
*** Guest3 <Guest3!~Guest68@host-92-16-247-97.as13285.net> has quit IRC (Quit: Client closed) | 20:46 | |
*** ldywicki <ldywicki!~ldywicki@185.234.211.237.r.toneticgroup.pl> has joined #yocto | 20:51 | |
ldywicki | hello :) | 20:51 |
ldywicki | good morning/evening to everyone, I come here as I got stuck with fairly basic (I suppose) issue related to dynamic linking of java binary. Similar binary works just fine with my desktop distro, but it fails with build. From this place I presume that binary is fine, issue comes from produced image. It boils down to libjli.so which is part of java | 20:54 |
ldywicki | installation, for some reason during execution of bin/java my distro seeks it in /lib which leads to failure. | 20:54 |
ldywicki | strace shows `openat(AT_FDCWD, "/usr/lib/libjli.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)`, which shouldn't be there, while ldd prints libjli.so => /usr/lib/amazon-corretto-11.0.22.7.1/bin/../lib/jli/libjli.so (0x0000007f81e60000) | 20:55 |
ldywicki | [for java lovers, if any present, small note that this issue is not specific to amazon-corretto, it hits temurin too] | 20:56 |
ldywicki | any sugestions on what's going on? :\ | 21:02 |
*** flom84 <flom84!~flom84@user/flom84> has joined #yocto | 21:03 | |
*** flom84 <flom84!~flom84@user/flom84> has quit IRC (Remote host closed the connection) | 21:05 | |
marex | ldywicki: does it work if you start the application with LD_LIBRARY_PATH=/usr/lib/lib/ , or create a symlink from /usr/lib/lib/jli/libjli.so to /usr/lib/libjli.so ? | 21:09 |
ldywicki | it does, I've plaed with LD_LIBRARY_PATH=/usr/lib/amazon-corretto-11.0.22.7.1/lib/jli and it went just fine | 21:15 |
ldywicki | thing is, it looks to me like patching in wrong place as issue comes from other place | 21:15 |
marex | I'm no java expert, so I dont know exactly what they do with shared libraries or how that is handled with those various JREs, sorry | 21:16 |
marex | like if you should have maybe an "alternatives" for /usr/lib/libjli.so which points to the currently used JRE or something else | 21:17 |
*** ajfriesen <ajfriesen!~ajfriesen@p54b940b3.dip0.t-ipconnect.de> has joined #yocto | 21:17 | |
ldywicki | this library seem to be internal, so its not supposed to land in /usr/lib as it vary between JVM versions. Not that I plan to have multiple versions of it in image, but it will lead to pollution | 21:19 |
ldywicki | so the `LD_LIBRARY_PATH=/usr/lib:/usr/lib/amazon-corretto-11.0.22.7.1/lib/jli bin/java -version` works ok | 21:19 |
ldywicki | To be fair, I first thought that issue comes from temurin (another vendor of java binary), but it does not | 21:20 |
marex | ldywicki: so, shouldn't there be some script which sets up the environment for each JRE before using it for whatever application ? | 21:20 |
marex | (similar to the OE SDK setup script) | 21:20 |
ldywicki | my host is working fine with similar java version, this linking issue strikes only in target image, I think OE SDK is on the host/build machiner | 21:21 |
ldywicki | I thought so, but that I might be missing something in environment, but comparing ld.conf.d and environment build I have no extra entries with LD_LIBRARY_PATH | 21:21 |
ldywicki | I've made also a spin of x86 and arm64 images (different java binaries), both happen to have same issue | 21:22 |
marex | ldywicki: btw could it be there are more openat attemts for the libjli in the strace output, as the loader searches the library in various paths ? | 21:24 |
ldywicki | it goes straight to /lib: https://gist.github.com/splatch/2d04b1ee4bc5267d99a16354837d831f | 21:26 |
ldywicki | I am completely lost why ldd shows proper (relative) path, but actual execution goes other way | 21:26 |
*** jmd <jmd!~user@2001:a61:2aa0:ea01:fcec:2373:8649:cf16> has quit IRC (Remote host closed the connection) | 21:27 | |
ldywicki | I've updated gist with ldd and objdump output | 21:28 |
marex | ldywicki: isnt the java executable doing something funny with the loader ? | 21:29 |
marex | (I am only guessing, I might be completely wrong) | 21:29 |
ldywicki | marex: to be honest, I don't know, I am just playing with more recent yocto as I had an image built with poky and look how yocto smells nowadays ;-) java is not that bad with linux, I think it rather plays with rules, uses pthread and other system utilities. It has a switchable part which bridge various OSes, but problem I (or rather we, thanks for | 21:32 |
ldywicki | assistance!) face happens quite early. The libjli, if I read its purpose properly, is used to parse command line arguments. | 21:32 |
ldywicki | anyhow, I see some strange output when I switch shell, maybe its a shell issue? | 21:34 |
ldywicki | Looking at objdump I see RUNPATH, could it be related to it? It looks ok in dump: `RUNPATH $ORIGIN/../lib/jli:$ORIGIN/../lib`, but its definitely not considered when loading libjli (it is inside ../lib/jli)) | 21:35 |
*** florian <florian!~florian@p200300cad7465f0f97bbada760fc90a6.dip0.t-ipconnect.de> has joined #yocto | 21:36 | |
ldywicki | sh-5.2# bash g ives me `bash: cannot set terminal process group (1): Inappropriate ioctl for device`, so its not only one place which is affected | 21:38 |
marex | ldywicki: are you possibly running shell as init process , with some init=/bin/bash ? | 21:38 |
ldywicki | could be, I can't see systemd being booted, I just went into it via runqemu slirp nographic serialstdio | 21:40 |
ldywicki | (it is likely that I do something wrong, I am running qemu inside docker through kas-container) | 21:41 |
marex | that should be fully booted system then | 21:42 |
ldywicki | https://www.marcusfolkesson.se/blog/kas-container-and-qemu/ | 21:43 |
ldywicki | thats tutorial which explained all the mystery of it | 21:44 |
ldywicki | I do have machine set to qemuarm64, so I have qemuboot etc created, but indeed it somehow does not show a regular prompt I would expect. Will do clean build. | 21:45 |
*** frosteyes <frosteyes!~frosteyes@185.53.130.211> has quit IRC (Ping timeout: 268 seconds) | 21:46 | |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 21:46 | |
ldywicki | I've been messing with x86-64 and arm64, maybe it left some pollution in work, I don't know. | 21:47 |
marex | well kas does scrub some of the environment, but that shouldn't propagate into qemu I think (maybe it does) | 21:49 |
ldywicki | it might be due to qemu inside docker, yet I always had troubles calling (or actually configuring) bitbake on my host | 22:09 |
*** florian <florian!~florian@p200300cad7465f0f97bbada760fc90a6.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 256 seconds) | 22:10 | |
*** merit_ <merit_!~merit@c-24-6-254-165.hsd1.ca.comcast.net> has joined #yocto | 22:20 | |
*** merit <merit!~merit@c-24-6-254-165.hsd1.ca.comcast.net> has quit IRC (Remote host closed the connection) | 22:20 | |
*** merit_ is now known as merit | 22:25 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 22:31 | |
*** tealbird <tealbird!~pidgin@c-98-248-236-18.hsd1.ca.comcast.net> has joined #yocto | 22:35 | |
ldywicki | checking this one: https://groups.google.com/g/kas-devel/c/FRuHVKxqnCg/m/MpiGJ0e8FQAJ :-) | 22:51 |
*** mvlad <mvlad!~mvlad@2a02:2f05:850d:7800:24af:27e3:a9b0:4f67> has quit IRC (Remote host closed the connection) | 22:57 | |
*** florian <florian!~florian@p200300cad7465f0ff5bc7822b39bab43.dip0.t-ipconnect.de> has joined #yocto | 23:07 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor) | 23:08 | |
*** amitk <amitk!~amit@58.84.62.242> has quit IRC (Ping timeout: 268 seconds) | 23:21 | |
*** florian <florian!~florian@p200300cad7465f0ff5bc7822b39bab43.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds) | 23:54 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!