Thursday, 2022-07-28

*** schtobia <schtobia!~quassel@schmidl.dev> has quit IRC (Quit: Bye!)00:00
*** schtobia <schtobia!~quassel@schmidl.dev> has joined #oe00:00
*** maelcum <maelcum!~horst@2001:9e8:264:ba00:7312:819f:93a6:2387> has quit IRC (Quit: Konversation terminated!)00:10
*** pespin_ <pespin_!~pespin@osmocom/pespin> has quit IRC (Quit: WeeChat 3.0)00:33
*** pespin <pespin!~pespin@osmocom/pespin> has joined #oe00:48
*** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has quit IRC (Quit: Leaving.)01:11
*** RobertBerger <RobertBerger!~rber|res@91-114-222-45.adsl.highway.telekom.at> has joined #oe01:32
*** rber|res <rber|res!~rber|res@91-114-222-45.adsl.highway.telekom.at> has quit IRC (Ping timeout: 268 seconds)01:34
*** OnkelUlla <OnkelUlla!~user@dude03.red.stw.pengutronix.de> has quit IRC (Ping timeout: 240 seconds)05:48
*** mckoan|away is now known as mckoan06:41
mckoangood morning06:42
*** dl9pf[m] <dl9pf[m]!~dl9pfmatr@2001:470:69fc:105::9a8> has joined #oe06:42
*** mihai <mihai!~mihai@user/mihai> has quit IRC (Quit: Leaving)06:58
*** mvlad <mvlad!~mvlad@2a02:2f08:4d05:5f00:24d7:51ff:fed6:906d> has joined #oe07:00
*** ptsneves <ptsneves!~Thunderbi@85-128-83-172.static.ip.netia.com.pl> has joined #oe07:19
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #oe07:49
*** mvlad <mvlad!~mvlad@2a02:2f08:4d05:5f00:24d7:51ff:fed6:906d> has quit IRC (Ping timeout: 240 seconds)08:25
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe08:36
*** dl9pf[m] <dl9pf[m]!~dl9pfmatr@2001:470:69fc:105::9a8> has quit IRC (Quit: You have been kicked for being idle)09:00
*** mvlad <mvlad!~mvlad@2a02:2f08:4a10:7900:24d7:51ff:fed6:906d> has joined #oe10:01
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has quit IRC (Ping timeout: 245 seconds)10:28
*** maelcum <maelcum!~horst@2001:9e8:245:f500:fd9d:9a00:76ea:918c> has joined #oe10:33
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has joined #oe10:40
mortI have an image built on kirkstone with debug-tweaks in EXTRA_IMAGE_FEATURES, and it has EXTRA_USER_PARAMS = "usermod -p $(openssl passwd somepassword) root;"11:08
mortyet logging in with that password doesn't work11:08
*** dl9pf[m] <dl9pf[m]!~dl9pfmatr@2001:470:69fc:105::9a8> has joined #oe11:08
mortI did verify with bitbake -v that it does run `usermod -p <some hashed password> root`, and I have verified with openssl that the password + the salt openssl picked hashes to the value which usermod was given11:09
mortwhat's going on here?11:09
morthmm if I have `EXTRA_IMAGE_FEATURES ?= "debug-tweaks"` and then later `EXTRA_IMAGE_FEATURES += "package-management"` I suppose the += overwrites the ?=11:23
JaMamort: bitbake -e is your friend11:24
morthmm that does show IMAGE_FEATURES = " debug-tweaks package-management splash"11:25
*** mihai <mihai!~mihai@user/mihai> has joined #oe11:35
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #oe11:40
reichidon't you have to expliccitly allow root login?!11:48
reichiyeah11:52
reichioh, you never said you're trying to login via ssh11:53
reichibut if you are, dropbear has root login disabled in /etc/default/dropbear via DROPBEAR_EXTRA_ARGS="-w"11:54
mortI'm trying to log in via serial11:56
mortthere is an ssh server on the system but the default firewall config disallows any incoming connections11:57
mortoh.. I know what it is12:04
mortit'll run some variant of usermod -p $1$jYIAbyr3$IUBDCbWgvqraUglaQ6eAd1, without shell escapes12:05
mortwhat it runs, after the openssl substitution and expanding the variables, is usermod -p /oa6/ root12:07
marexhey, can anyone explain this to me, I've started seeing this recently with mesa already in DL_DIR (i.e. if I remove mesa from DL_DIR and retrigger download, no problem)12:29
marexLANG=C git -c core.fsyncobjectfiles=0 fetch -f --progress https://gitlab.freedesktop.org/mesa/mesa.git refs/*:refs/* failed with exit code 128, no output12:29
marexgit just hangs for a long time and then gets terminated12:29
marexif I run the command manually, no problem, it only goes nuts within bitbake12:29
JaMamarex: probably not the same root cause as you're using git fetcher, but check https://lists.openembedded.org/g/openembedded-core/message/167274 https://lists.openembedded.org/g/openembedded-core/message/16727512:31
marexJaMa: well, look at that, mesa as well12:31
marexJaMa: I did suspect server-side issue, since it started happening when FDO last time had some sort of server outage and they moved things around12:32
JaMayes, but don't know if git uses gnutls (git recipe uses openssl)12:32
marexJaMa: doesnt the git fetcher call host git ?12:33
JaMagit in gentoo also uses openssl, YMMV in your distro12:33
marexJaMa: checking, I think the CI where I see it uses ubuntu12:34
JaMahttps://stackoverflow.com/questions/36939033/how-to-see-if-git-binary-is-using-openssl-or-gnutls12:34
JaMaso yes, it could be the same root cause12:35
marexso yes, it seems debian does use gnutls, ubuntu probably as well12:35
JaMathe SOF answer said ubuntu does as well12:36
JaMaApparently in Ubuntu packages git is using gnutls, but on other platform openssl. However building from sources, even on Ubuntu, uses openssl ...12:36
JaMain 22.10 docker container it's even weirder https://pastebin.com/NRU4sr7T12:38
marexit uses both ?12:38
JaMasorry that was gentoo git, this is 22.10 https://pastebin.com/aKm7cJm712:39
marexapt-cache show git | grep ^Dep12:40
marexDepends: libc6 (>= 2.33), libcurl3-gnutls (>= 7.56.1), libexpat1 (>= 2.0.1), libpcre2-8-0 (>= 10.34), zlib1g (>= 1:1.2.0), perl, liberror-perl, git-man (>> 1:2.36.1+next.20220505), git-man (<< 1:2.36.1+next.20220505-.)12:40
marexheh https://gitlab.com/gnutls/gnutls/-/issues/1335 .. as far as I read it, it seems to be recurring unfixed issue then12:41
marexwould it make sense to build its own git native and use that instead ?12:41
marexuh ... wait ... how come git outside of bitbake works and within the git fetcher it fails ?12:59
morthow exactly is values like EXTRA_USER_PARAMS expanded13:02
mortI think I have an issue with it messing with dollars13:02
mortI think the string in EXTRA_USERS_PARAMS ends up getting interpreted twice somehow and needs to be double-escaped?13:14
mihaisounds about right13:17
mihaithe example in the documentation works, that looks like double escaped also13:17
mihaihttps://docs.yoctoproject.org/ref-manual/classes.html?highlight=password#extrausers-bbclass13:17
mortthe fun thing is, literally none of the myriad of stackoverflow answers and answers other places do this correctly13:19
mortthey all either use -P, which was removed, or just do EXTRA_USERS_PARAMS = "usermod -p $(openssl passwd whatever) root;" without even trying to escape anything13:20
mortwhich maybe happens to work if the version of openssl it happens to use happens to default to a hashing scheme which doesn't contain dollars, but the default in kirkstone's openssl uses dollars13:20
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has quit IRC (Ping timeout: 268 seconds)13:24
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has joined #oe13:25
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat)13:47
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 245 seconds)13:48
*** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has joined #oe13:48
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has quit IRC (Ping timeout: 244 seconds)13:53
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has joined #oe14:06
*** florian_kc <florian_kc!~florian@dynamic-078-049-175-175.78.49.pool.telefonica.de> has joined #oe14:26
*** kscherer <kscherer!~kscherer@dsl-173-206-159-85.tor.primus.ca> has joined #oe14:28
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has quit IRC (Ping timeout: 252 seconds)14:36
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has joined #oe14:37
*** florian_kc <florian_kc!~florian@dynamic-078-049-175-175.78.49.pool.telefonica.de> has quit IRC (Ping timeout: 260 seconds)15:38
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has quit IRC (Read error: Connection reset by peer)15:43
*** dl9pf[m] <dl9pf[m]!~dl9pfmatr@2001:470:69fc:105::9a8> has quit IRC (Quit: You have been kicked for being idle)16:00
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has joined #oe16:04
*** hrw <hrw!~hrw@redhat/hrw> has quit IRC (Remote host closed the connection)16:11
*** hrw <hrw!~hrw@redhat/hrw> has joined #oe16:14
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has quit IRC (Read error: Connection reset by peer)16:17
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has joined #oe16:53
*** ptsneves <ptsneves!~Thunderbi@85-128-83-172.static.ip.netia.com.pl> has quit IRC (Read error: Connection reset by peer)17:02
*** ptsneves1 <ptsneves1!~Thunderbi@85-128-83-172.static.ip.netia.com.pl> has joined #oe17:02
*** mihai <mihai!~mihai@user/mihai> has quit IRC (Quit: Leaving)17:04
*** ptsneves1 <ptsneves1!~Thunderbi@85-128-83-172.static.ip.netia.com.pl> has quit IRC (Ping timeout: 245 seconds)17:07
*** mckoan is now known as mckoan|away17:40
*** jatedev <jatedev!~jatedev@63.148.217.19> has joined #oe17:47
*** florian_kc <florian_kc!~florian@dynamic-078-049-175-175.78.49.pool.telefonica.de> has joined #oe18:23
*** florian_kc <florian_kc!~florian@dynamic-078-049-175-175.78.49.pool.telefonica.de> has quit IRC (Ping timeout: 252 seconds)19:07
*** florian_kc <florian_kc!~florian@dynamic-078-049-175-175.78.49.pool.telefonica.de> has joined #oe19:38
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)20:28
*** florian_kc <florian_kc!~florian@dynamic-078-049-175-175.78.49.pool.telefonica.de> has quit IRC (Ping timeout: 244 seconds)21:01
*** kscherer <kscherer!~kscherer@dsl-173-206-159-85.tor.primus.ca> has quit IRC (Quit: Konversation terminated!)21:18
*** mvlad <mvlad!~mvlad@2a02:2f08:4a10:7900:24d7:51ff:fed6:906d> has quit IRC (Remote host closed the connection)21:40
*** florian_kc <florian_kc!~florian@dynamic-078-049-175-175.78.49.pool.telefonica.de> has joined #oe22:00
*** florian_kc is now known as florian22:03
*** Leatherface <Leatherface!leatherfac@helvetet.eu> has quit IRC (Ping timeout: 260 seconds)22:11
*** Leatherface <Leatherface!leatherfac@helvetet.eu> has joined #oe22:15
*** florian <florian!~florian@dynamic-078-049-175-175.78.49.pool.telefonica.de> has quit IRC (Ping timeout: 252 seconds)22:44
*** jatedev <jatedev!~jatedev@63.148.217.19> has quit IRC (Ping timeout: 252 seconds)22:50

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!