.
D 2023-09-05T12:55:18.593
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment The\sbundled\s`platform`\spackage\sfails\sto\sfind\sthe\sversion\sof\sglibc\son\sthe\s`ubuntu:22.04`\sDocker\simage.\r\n\r\nSteps\sto\sreproduce:\r\n\r\n`docker\srun\s-it\subuntu:22.04\r\napt-get\supdate\s&&\sapt-get\sinstall\s-y\stcl\r\ntclsh\r\npackage\srequire\splatform\r\nplatform::identify`\r\n\r\nOutput\sis:\r\n\r\n`linux-unknown-x86_64`\r\n\r\nExpected\soutput:\r\n\r\n`linux-glibc2.35-x86_64`\r\n\r\nThis\sproblem\salso\soccurs\swith\sthe\slatest\strunk,\sand\sis\sprobably\salso\spresent\sin\sa\snon-Docker\sUbuntu\sinstall\s(but\sI\scould\snot\stest\sthat).\sI\slooked\sat\sthe\scode\sand\sthe\sroot\scause\sseems\sto\sbe\smissing\sexecute\spermissions\son\s`libc.so.6`.\sCurrently\sthe\smost\spopular\sway\sof\sfinding\sthe\slibc\sversion\sseems\sto\sbe\sto\scall\s`ldd\s--version`\sinstead\sof\sthe\s.so\sfile\sdirectly.\sThis\soutputs\sthe\slibc\sversion\s(among\sother\sstuff)\son\sall\sLinux\sdistros\sincluding\sMUSL-based\sones,\swhich\swould\smake\sit\svery\seasy\sto\sextend\sthe\scode\sto\sdetect\sMUSL\sversions\stoo.
J foundin 8.6\sand\strunk
J is_private 0
J login mbwagner
J priority 5\sMedium
J private_contact 8982a851333466c77485b64f16aa683016dd9fdc
J resolution None
J severity Minor
J status Open
J submitter mbwagner
J subsystem 81.\sBundled\sPackages
J title Glibc\sdetection\sbroken\son\sLinux\sfor\splatform::identify
J type Bug
K 917c4a896afc744d7d5310a68ceccad4afcb2a6e
U mbwagner
Z 583087ccb14c4887c08b8e98a3087d04