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.
  • 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
                  • 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.

                    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
                    #29

                    The Linux kernel still is and will always be GPL. It really doesnt matter if the coreutils aren't.

                    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.

                      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
                      #30

                      Genuinely what negative ramifications could come of uutils being MIT licensed? The kernel license isn't going to change and I really don't see how companies can abuse uutils for a profit.

                      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.

                        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
                        #31

                        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.

                        Rsync is great software, but the C language fates it to keep having memory issues in spite of its skilled developers.

                        Preventing a bug from being possible > fixing a bug.

                        1 Reply Last reply
                        0
                        • 0 [email protected]

                          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 This user is from outside of this forum
                          P This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #32

                          The Rust code isn't closed source, but I'd strongly prefer a coreutils replacement to use GPL over MIT as well.

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

                            At first I was sceptical, but after a few thought, I came to the solution that, if uutils can do the same stuff, is/stays actively maintained and more secure/safe (like memory bugs), this is a good change.

                            What are your thoughts abouth this?

                            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
                            #33

                            The correct title should be "Ubuntu explores replacing gnu utils with MIT licenced uutils".

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

                              The code can be taken and used in close source projects

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

                              And how does this hurt all of us who use it for open source projects?

                              T M R 3 Replies Last reply
                              0
                              • S [email protected]

                                And how does this hurt all of us who use it for open source projects?

                                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
                                #35

                                Competitive improvements the company makes make be kept secret, re packaged, and sold without making contributions to the src code.

                                Basically embrace, extend, extinguish

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

                                  I wonder whether Linux Mint will follow suit?

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

                                  Mint is basically Ubuntu with all of Canonical's BS removed. This definitely counts as Cononical BS, so I'd be surprised if it made its way into Mint.

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

                                    And how does this hurt all of us who use it for open source projects?

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

                                    means it can also be captured by a corpo takeover and taken private

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

                                      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 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
                                      #38

                                      I don't understand, you'd still have to completely replace the linux kernel for a situation where this matters to occur, no?

                                      and the linux kernel is where 99% of the work is, correct?

                                      F 1 Reply Last reply
                                      0
                                      • M [email protected]

                                        means it can also be captured by a corpo takeover and taken private

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

                                        It can be forked by anyone, but what is already out there will always be there.

                                        G P 2 Replies Last reply
                                        0
                                        • S [email protected]

                                          It can be forked by anyone, but what is already out there will always be there.

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

                                          Until you're left with choosing between an abandoned open source version and an up to date closed source blob.

                                          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