From unknown Wed Jun 18 23:09:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#37233 <37233@debbugs.gnu.org> To: bug#37233 <37233@debbugs.gnu.org> Subject: Status: lsblk not up to date in util-linux Reply-To: bug#37233 <37233@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:09:00 +0000 retitle 37233 lsblk not up to date in util-linux reassign 37233 guix submitter 37233 Bengt Richter severity 37233 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 30 05:43:16 2019 Received: (at submit) by debbugs.gnu.org; 30 Aug 2019 09:43:16 +0000 Received: from localhost ([127.0.0.1]:53309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3dR6-0000iC-AD for submit@debbugs.gnu.org; Fri, 30 Aug 2019 05:43:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:54251) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3dR2-0000i2-2R for submit@debbugs.gnu.org; Fri, 30 Aug 2019 05:43:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47095) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3dQy-0000bz-OA for bug-guix@gnu.org; Fri, 30 Aug 2019 05:43:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3dQx-0003PT-43 for bug-guix@gnu.org; Fri, 30 Aug 2019 05:43:08 -0400 Received: from imta-35.everyone.net ([216.200.145.35]:46710 helo=imta-38.everyone.net) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i3dQw-0003HG-JA for bug-guix@gnu.org; Fri, 30 Aug 2019 05:43:06 -0400 Received: from pps.filterd (m0004961.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id x7U9cQF9024611 for ; Fri, 30 Aug 2019 02:43:02 -0700 X-Eon-Originating-Account: vkK8pBmdtiEb_wfxAxYLThia1yjJLfIExuGdpjjW1H4 X-Eon-Dm: m0117124.ppops.net Received: by m0117124.mta.everyone.net (EON-AUTHRELAY2 - 32d0d199) id m0117124.5d552785.2621a9 for ; Fri, 30 Aug 2019 02:43:01 -0700 X-Eon-Sig: AQMHrIJdaO+lOP2c4QIAAAAB,528cdc05d139543e61e7ac554d78e0d7 X-Eip: 9kpxIX90hX6vDo0-yMq99-csu_VqhIuhAzxb5jO9-90 Date: Fri, 30 Aug 2019 02:42:52 -0700 From: Bengt Richter To: New-Bug Subject: lsblk not up to date in util-linux Message-ID: <20190830094252.GA16694@PhantoNv4ArchGx.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-08-30_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908300103 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 216.200.145.35 X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Very annoying, since I made a little script called ls-mounts to show info about currently mounted devices. It should make output like this: MOUNTPOINT KNAME LABEL PARTLABEL SIZE FSAVAIL FSUSE% UUID /boot nvme0n1p1 PhantoV1EFI PhantoNv1EFI 1G 510.4M 50% 6E3C-D410 [SWAP] nvme0n1p3 PhantoNv3Swap 32G 24151091-f47a-46e2-a6cb-e5219eddae7c / nvme0n1p4 PhantoNv4ArchGx PhantoNv4ArchGx 54.2G 7.1G 82% 12eec2bf-bc81-48a8-b444-26913c078302 but guix defines lsblk as you see below, so the output is not the above, but lsblk: unknown column: fsavail,fsuse%,uuid If I force /usr/bin like ---- #!/usr/bin/bash # ~/bin/ls-mounts -- like boot-context mounts part, with uuid and partlabel added /usr/bin/lsblk -o mountpoint,kname,label,partlabel,size,fsavail,fsuse%,uuid|egrep '^(/|M|\[)' ---- then I get the desired output above. The difference is apparently util-linux 2.32.1 vs the newer 2.34, where the newer one understands more field names for -o ... If I take the /usr/bin/ and use just lsblk -o ..., I get the guix profile version even with the hash-bang remaining #!/usr/bin/bash, which is as it should be according to the $PATH. $ which -a lsblk /home/bokr/.guix-profile/bin/lsblk /usr/bin/lsblk $ which -a lsblk|xargs readlink -f /gnu/store/8k4pnixpz73kxvxbjqajgbprjjmmgpxy-util-linux-2.32.1/bin/lsblk /usr/bin/lsblk $ which -a lsblk|xargs readlink -f|xargs file /gnu/store/8k4pnixpz73kxvxbjqajgbprjjmmgpxy-util-linux-2.32.1/bin/lsblk: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, not stripped /usr/bin/lsblk: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=4028ee9653d75f37372a56e4f53215d75c75f564, for GNU/Linux 3.2.0, stripped $ which -a lsblk|xargs readlink -f|while read line;do echo -ne "$line:\n ";$line --version;done /gnu/store/8k4pnixpz73kxvxbjqajgbprjjmmgpxy-util-linux-2.32.1/bin/lsblk: lsblk from util-linux 2.32.1 /usr/bin/lsblk: lsblk from util-linux 2.34 $ Hope somebody can update it. I think I found the updated version at https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.34/util-linux-2.34.tar.xz But I have worse problems -- weston-launch now core dumps, after guix install of latest wayland and weston ;-/ But that's not for this post. Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 30 10:03:21 2019 Received: (at 37233-done) by debbugs.gnu.org; 30 Aug 2019 14:03:21 +0000 Received: from localhost ([127.0.0.1]:54544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3hUn-0003Cl-1x for submit@debbugs.gnu.org; Fri, 30 Aug 2019 10:03:21 -0400 Received: from tobias.gr ([80.241.217.52]:49848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3hUj-0003CV-Qa for 37233-done@debbugs.gnu.org; Fri, 30 Aug 2019 10:03:19 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 3e51890c; Fri, 30 Aug 2019 14:03:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=rzNmOgof8GcWHfn0p8uDlc BYO/JSzIPLJRpvIpCkytg=; b=jCVWNmNJPrHlgqrnSGTUCJvADsSixPVoff4IMx OA+1D09CO3FLPLnH+LYJslX279PltJMI3jYasyhdLKOKq+GmBxLsM1CGIIqqemtU P4n92tmW/r+9qpCh+MWTVwMUL7M7k1MHREBd6O7ndPdlOhxgTKyak8jvp6oApiCK 2Fe4wUQJzgcGuV1XrdC4Nq/TFjkAHYodi6a+XN5ROTwtZcHNW8db4DTikThaYsY7 CN3s9cLo4yhkmAcEpbfj78xgegBIZGM3QUlAwQNF0sFZo45hdv24CMsbM663WJlz 8XXqVm1LdqXbJ+7asAF53T5rUt7a5RT/H4tGlK0iIHOV0n3A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 48361dd0 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 30 Aug 2019 14:03:13 +0000 (UTC) From: Tobias Geerinckx-Rice To: Bengt Richter Subject: Re: bug#37233: lsblk not up to date in util-linux References: <20190830094252.GA16694@PhantoNv4ArchGx.localdomain> In-reply-to: <20190830094252.GA16694@PhantoNv4ArchGx.localdomain> Date: Fri, 30 Aug 2019 16:03:12 +0200 Message-ID: <87y2zapx7j.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37233-done Cc: 37233-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Bengt, Sorry you had to debug that! Bengt Richter =E5=86=99=E9=81=93=EF=BC=9A > =E2=80=A6then I get the desired output above. The difference is=20 > apparently > util-linux 2.32.1 vs the newer 2.34, where the newer one=20 > understands > more field names for -o ... [=E2=80=A6] > Hope somebody can update it. > I think I found the updated version at > https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.34/util-lin= ux-2.34.tar.xz Guix's util-linux package was already updated to 2.34 in June=20 (commit ac3842ef on core-updates), and it will be available when=20 core-updates is merged into master. That should be very soon now.=20 I'm closing this bug for that reason. Updates of core Guix packages like these take a while to trickle=20 down to users because =E2=80=98everything=E2=80=99 depends on them, and whe= n=20 they change =E2=80=98everything=E2=80=99 needs to be rebuilt, so we need to= =20 =E2=80=98batch=E2=80=99 these changes somehow to avoid rebuilding the world= ever=20 two days. Search for =E2=80=98staging=E2=80=99 and =E2=80=98core-updates= =E2=80=99 in the=20 manual. Unfortunately, core-updates in particular always takes=20 longer to fix up and merge than expected. Until that happens, you can define and install your own updated=20 util-linux. (define-public util-linux/latest (package (inherit util-linux) (name "util-linux") (version "2.34") (source =E2=80=A6))) ; updated URL This is similar to what we already do for security updates in=20 Guix. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXWksoAAKCRANsP+IT1Vt eYG/AQCnwUIwvny8cbVUC/vrzkS6qDc8I024RftmmPD+Kr8jvgD+MOgpSIlwOutY Q1W/AumcaZrWcuWKbciKxi8iOqMXCAo= =s643 -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Jun 18 23:09:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 28 Sep 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator