Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. Ubuntu explores replacing gnu utils with rust based uutils

Ubuntu explores replacing gnu utils with rust based uutils

Scheduled Pinned Locked Moved Linux
linux
70 Posts 43 Posters 199 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G [email protected]

    Time for Mecha-Stallman to declare war.

    A This user is from outside of this forum
    A This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #9

    The time has come to GNU-slash the enemies of freedom!

    1 Reply Last reply
    0
    • pewpew@feddit.itP [email protected]

      GNU/Linux
      Rust/Linux

      L This user is from outside of this forum
      L This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #10

      uutils/Linux?

      D 1 Reply Last reply
      0
      • jumuta@sh.itjust.worksJ [email protected]

        the deGPLification of the Linux ecosystem ffs

        0 This user is from outside of this forum
        0 This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #11

        Kinda like a full 180° back to UNIX™.

        1 Reply Last reply
        0
        • ? Guest

          I personally don't see the point.

          0 This user is from outside of this forum
          0 This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #12

          See other comments: all these rewrites are not using the GPL but rather permissive licenses like MIT. Bye-bye FOSS (in those ecosystems).

          communist@lemmy.frozeninferno.xyzC 1 Reply Last reply
          0
          • ? Guest

            I personally don't see the point.

            L This user is from outside of this forum
            L This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #13

            Mainly memory safety; split (which is also used for other programs like sort) had a memory heap overflow issue last year to name one.
            The GNU Coreutils are well tested and very well written, the entire suite of programs has a CVE only once every few years from what I can see, but they do exist and most of those would be solved with a memory and type safe language.

            That said, Rust also handles parallelism and concurrency much better than C ever could, though most of these programs don't really benefit from that or not much since they already handled this quite well, especially for C programs.

            0 1 Reply Last reply
            0
            • deuxchevaux@lemmy.worldD [email protected]

              I wonder whether Linux Mint will follow suit?

              L This user is from outside of this forum
              L This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #14

              Likely not anytime soon as they tend to hold off latest features and prefer older (but maintained) LTS versions of just about everything.
              Also especially not if it turns out to be a bad idea; they explicitly build Mint without Snaps since their inclusion in the Ubuntu base.

              1 Reply Last reply
              0
              • ? Guest

                I personally don't see the point.

                P This user is from outside of this forum
                P This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #15

                I fear moving away from GPL that moving to Rust seems to bring, but Rust does fix real memory issues.

                Take the recent rsync vulnerabilities for example.

                https://www.cyberciti.biz/linux-news/cve-2024-12084-rsyn-security-urgent-update-needed-on-unix-bsd-systems/#more-2215

                At least this one in a Rust implementation of rsync would have very likely been avoided:

                CVE-2024-12085 – A flaw was found in the rsync daemon which could be triggered when rsync compares file checksums. This flaw allows an attacker to manipulate the checksum length (s2length) to cause a comparison between a checksum and uninitialized memory and leak one byte of uninitialized stack data at a time. Info Leak via uninitialized Stack contents defeats ASLR.

                0 1 Reply Last reply
                0
                • deuxchevaux@lemmy.worldD [email protected]

                  I wonder whether Linux Mint will follow suit?

                  F This user is from outside of this forum
                  F This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #16

                  As I recall ubuntu still allows changing uutils to coreutils. So it looks like Linux Mint will continue to use coreutils instead of uutils

                  1 Reply Last reply
                  0
                  • 0 [email protected]

                    See other comments: all these rewrites are not using the GPL but rather permissive licenses like MIT. Bye-bye FOSS (in those ecosystems).

                    communist@lemmy.frozeninferno.xyzC This user is from outside of this forum
                    communist@lemmy.frozeninferno.xyzC This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #17

                    I don't like them moving away from gpl but there were already plenty of non-gpl coreutils clones, so, i'm not sure how much it really matters as long as the linux kernel is still gpl.

                    F 0 2 Replies Last reply
                    0
                    • joel_feila@lemmy.worldJ [email protected]

                      So i hear that removing all the gnu stuff opens linux to be redistributed with a bew liesinse like mit. Which means its a little more closed iff a little more monitized.

                      Not knowledge enough on my own to know for sure. If someone with more knowledge could explain.

                      A This user is from outside of this forum
                      A This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #18

                      This is one of the old-time original arguments in the OSS community.

                      The crux of the matter is that the GNU licenses require that modifications be released back to the community. Other "more permissible" licenses like MIT do not.

                      So if you want to make a commercial version of X, and X is under a GPL, then any changes you make need to be released under the GPL. The idea being "I shared this code with the community with the intent that you can use it for free and modify it as you like, but you need to share back what you do." Also called "Share and share alike".

                      This defends against "embrace, extend, extinguish" tactics that companies like Microsoft has loved to do. They can't take your code, modify it for their own purposes and re-sell it possibly making a more popular version that is now proprietary.

                      L 1 Reply Last reply
                      0
                      • communist@lemmy.frozeninferno.xyzC [email protected]

                        I don't like them moving away from gpl but there were already plenty of non-gpl coreutils clones, so, i'm not sure how much it really matters as long as the linux kernel is still gpl.

                        F This user is from outside of this forum
                        F This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #19

                        Unlike the other alternative coreutils, uutils focuses on GNU compatibility. If you depend on GNUisms, this allows you to unGNU & unGPLv3+ your system.

                        communist@lemmy.frozeninferno.xyzC 1 Reply Last reply
                        0
                        • communist@lemmy.frozeninferno.xyzC [email protected]

                          I don't like them moving away from gpl but there were already plenty of non-gpl coreutils clones, so, i'm not sure how much it really matters as long as the linux kernel is still gpl.

                          0 This user is from outside of this forum
                          0 This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #20

                          as long as the linux kernel is still gpl.

                          I seem to recall some drama about rust in the kernel... what could that mean...

                          U communist@lemmy.frozeninferno.xyzC P 3 Replies Last reply
                          0
                          • P [email protected]

                            I fear moving away from GPL that moving to Rust seems to bring, but Rust does fix real memory issues.

                            Take the recent rsync vulnerabilities for example.

                            https://www.cyberciti.biz/linux-news/cve-2024-12084-rsyn-security-urgent-update-needed-on-unix-bsd-systems/#more-2215

                            At least this one in a Rust implementation of rsync would have very likely been avoided:

                            CVE-2024-12085 – A flaw was found in the rsync daemon which could be triggered when rsync compares file checksums. This flaw allows an attacker to manipulate the checksum length (s2length) to cause a comparison between a checksum and uninitialized memory and leak one byte of uninitialized stack data at a time. Info Leak via uninitialized Stack contents defeats ASLR.

                            0 This user is from outside of this forum
                            0 This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #21

                            I fear moving away from GPL that moving to Rust seems to bring, but Rust does fix real memory issues.

                            So you prefer closed-source code to potentially unsafe open-source code?

                            Take the recent rsync vulnerabilities for example.

                            Already fixed, in software that's existed for years and is used by millions. But Oh no, memory issues, let's rewrite that in <language of the month>! will surely result in a better outcome.

                            K P E 3 Replies Last reply
                            0
                            • L [email protected]

                              Mainly memory safety; split (which is also used for other programs like sort) had a memory heap overflow issue last year to name one.
                              The GNU Coreutils are well tested and very well written, the entire suite of programs has a CVE only once every few years from what I can see, but they do exist and most of those would be solved with a memory and type safe language.

                              That said, Rust also handles parallelism and concurrency much better than C ever could, though most of these programs don't really benefit from that or not much since they already handled this quite well, especially for C programs.

                              0 This user is from outside of this forum
                              0 This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #22

                              but they do exist and most of those would be solved with a memory and type safe language.

                              Maybe.

                              Still, there are other sources of bugs beyond memory management.

                              And i'd rather have GPL-ed potentially unsafe C code to... closed-source Rust code.

                              P L 2 Replies Last reply
                              0
                              • 0 [email protected]

                                as long as the linux kernel is still gpl.

                                I seem to recall some drama about rust in the kernel... what could that mean...

                                U This user is from outside of this forum
                                U This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #23

                                All the kernel Rust code is GPL, so you can leave that slippery slope alone. MIT licenced core utils just leave the door open to eventually using them in the BSDs as well.

                                1 Reply Last reply
                                0
                                • 0 [email protected]

                                  I fear moving away from GPL that moving to Rust seems to bring, but Rust does fix real memory issues.

                                  So you prefer closed-source code to potentially unsafe open-source code?

                                  Take the recent rsync vulnerabilities for example.

                                  Already fixed, in software that's existed for years and is used by millions. But Oh no, memory issues, let's rewrite that in <language of the month>! will surely result in a better outcome.

                                  K This user is from outside of this forum
                                  K This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #24

                                  They're MIT licensed.

                                  1 Reply Last reply
                                  0
                                  • P [email protected]

                                    I would love this news if it didn't move away from the GPL.

                                    Mass move to MIT is just empowering enshittification by greedy companies.

                                    Z This user is from outside of this forum
                                    Z This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #25

                                    What does the license change actually mean? What are the differences?

                                    T danielquinn@lemmy.caD 2 Replies Last reply
                                    0
                                    • Z [email protected]

                                      What does the license change actually mean? What are the differences?

                                      T This user is from outside of this forum
                                      T This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #26

                                      The code can be taken and used in close source projects

                                      S 1 Reply Last reply
                                      0
                                      • 0 [email protected]

                                        as long as the linux kernel is still gpl.

                                        I seem to recall some drama about rust in the kernel... what could that mean...

                                        communist@lemmy.frozeninferno.xyzC This user is from outside of this forum
                                        communist@lemmy.frozeninferno.xyzC This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #27

                                        That has nothing to do with anything. rust code has nothing to do with the license.

                                        1 Reply Last reply
                                        0
                                        • 0 [email protected]

                                          as long as the linux kernel is still gpl.

                                          I seem to recall some drama about rust in the kernel... what could that mean...

                                          P This user is from outside of this forum
                                          P This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #28

                                          Nothing. The language used has absolutely nothing to do with the license.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups