Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • 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
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. "Packages that can't be rebuilt byte-for-byte are now blocked from entering Debian's testing branch."

"Packages that can't be rebuilt byte-for-byte are now blocked from entering Debian's testing branch."

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
18 Indlæg 11 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • gonzo_askold@mastodon.socialG gonzo_askold@mastodon.social

    @bagder

    I'm not that knowledgeable about inside workings, but in theory (in my head) hashing all inputs does equate to byte-to-byte reproducibility, even if previous steps in the build process weren't written specifically to be reproduced

    nim@mastodon.tetaneutral.netN This user is from outside of this forum
    nim@mastodon.tetaneutral.netN This user is from outside of this forum
    nim@mastodon.tetaneutral.net
    wrote sidst redigeret af
    #9

    @gonzo_askold @bagder sadly, that is not the case.
    There are many corner cases, but the simplest example is "yes all your dependencies are reproducible, but you decide to `cat /dev/random > $PREFIX/my-seed`" or whatever.

    1 Reply Last reply
    0
    • gonzo_askold@mastodon.socialG gonzo_askold@mastodon.social

      @bagder

      I'm not that knowledgeable about inside workings, but in theory (in my head) hashing all inputs does equate to byte-to-byte reproducibility, even if previous steps in the build process weren't written specifically to be reproduced

      bagder@mastodon.socialB This user is from outside of this forum
      bagder@mastodon.socialB This user is from outside of this forum
      bagder@mastodon.social
      wrote sidst redigeret af
      #10

      @gonzo_askold I'm only pointing out the difference, I'm not suggesting nix did anything bad or wrong.

      gonzo_askold@mastodon.socialG 1 Reply Last reply
      0
      • gonzo_askold@mastodon.socialG gonzo_askold@mastodon.social

        @bagder

        I'm not that knowledgeable about inside workings, but in theory (in my head) hashing all inputs does equate to byte-to-byte reproducibility, even if previous steps in the build process weren't written specifically to be reproduced

        bryanbennett@tilde.zoneB This user is from outside of this forum
        bryanbennett@tilde.zoneB This user is from outside of this forum
        bryanbennett@tilde.zone
        wrote sidst redigeret af
        #11

        @gonzo_askold: this isn't true, as some builds embed things like the timestamp and build hostname in the artifacts. Nix sets some notion of the timestamp to epoch to account for this, but cannot fix every impurity everywhere (maven builds are notoriously finnicky, for instance).

        Nix is great at this, but somewhat suffers from embracing the package without submitting the changes it makes to the package upstream. Because nix is so flexible (and doesn't always have the pull that Debian does with packagers), i believe nix has been less influential here than you would hope.

        This change from Debian is awesome as we will all benefit from the fixes.

        1 Reply Last reply
        0
        • bagder@mastodon.socialB bagder@mastodon.social

          @gonzo_askold I'm only pointing out the difference, I'm not suggesting nix did anything bad or wrong.

          gonzo_askold@mastodon.socialG This user is from outside of this forum
          gonzo_askold@mastodon.socialG This user is from outside of this forum
          gonzo_askold@mastodon.social
          wrote sidst redigeret af
          #12

          @bagder idk what would be practical differences between these two systems and how one or the other would be more secure against supply chain attacks or other mitms

          would be pretty interested in some reference materials

          1 Reply Last reply
          0
          • gonzo_askold@mastodon.socialG gonzo_askold@mastodon.social

            @domdel maybe I want there at that time

            quick search of "net install reproducible" yields only dotnet stuff

            D This user is from outside of this forum
            D This user is from outside of this forum
            domdel@mastodon.social
            wrote sidst redigeret af
            #13

            @gonzo_askold In fact #Debian and others are reproductible too.
            You can visit https://reproducible-builds.org/ to have an idea. When I worked in administration, we have a server with window NT to install via network on 200 same machines.

            1 Reply Last reply
            0
            • bagder@mastodon.socialB bagder@mastodon.social

              "Packages that can't be rebuilt byte-for-byte are now blocked from entering Debian's testing branch."

              https://itsfoss.com/news/debian-makes-reproducible-builds-mandatory/

              andreasio@mastodon.socialA This user is from outside of this forum
              andreasio@mastodon.socialA This user is from outside of this forum
              andreasio@mastodon.social
              wrote sidst redigeret af
              #14

              @bagder this is also what fdroid does on Android i i think

              1 Reply Last reply
              0
              • bagder@mastodon.socialB bagder@mastodon.social

                "Packages that can't be rebuilt byte-for-byte are now blocked from entering Debian's testing branch."

                https://itsfoss.com/news/debian-makes-reproducible-builds-mandatory/

                allende1973@todon.nlA This user is from outside of this forum
                allende1973@todon.nlA This user is from outside of this forum
                allende1973@todon.nl
                wrote sidst redigeret af
                #15

                @bagder

                Does this mean derivatives like Devuan automatically do this too?

                1 Reply Last reply
                0
                • bagder@mastodon.socialB bagder@mastodon.social

                  "Packages that can't be rebuilt byte-for-byte are now blocked from entering Debian's testing branch."

                  https://itsfoss.com/news/debian-makes-reproducible-builds-mandatory/

                  H This user is from outside of this forum
                  H This user is from outside of this forum
                  harmone@mastodon.social
                  wrote sidst redigeret af
                  #16

                  @bagder Wow, that's awesome! Does anyone know if Ubuntu also will force reproducible builds considering that Ubuntu is based on Debian?

                  1 Reply Last reply
                  0
                  • bagder@mastodon.socialB bagder@mastodon.social

                    @gonzo_askold @orpach.neocities.org sure, but nix has still included packages that not in themselves were done reproducible I'm pretty sure.

                    pol@mathstodon.xyzP This user is from outside of this forum
                    pol@mathstodon.xyzP This user is from outside of this forum
                    pol@mathstodon.xyz
                    wrote sidst redigeret af
                    #17

                    @bagder @gonzo_askold @orpach.neocities.org Indeed, Nix greatly increases the chances of producing reproducible packages by controlling the build environment.

                    That said, it does not magically make the final artefact reproducible. There can still be sources of non-determinism, and we try to track them down as much as possible.

                    So far, things are going well! 🙂

                    pbsds@snabelen.noP 1 Reply Last reply
                    0
                    • pol@mathstodon.xyzP pol@mathstodon.xyz

                      @bagder @gonzo_askold @orpach.neocities.org Indeed, Nix greatly increases the chances of producing reproducible packages by controlling the build environment.

                      That said, it does not magically make the final artefact reproducible. There can still be sources of non-determinism, and we try to track them down as much as possible.

                      So far, things are going well! 🙂

                      pbsds@snabelen.noP This user is from outside of this forum
                      pbsds@snabelen.noP This user is from outside of this forum
                      pbsds@snabelen.no
                      wrote sidst redigeret af
                      #18

                      @Pol @bagder @gonzo_askold @orpach.neocities.org indeed, "replayable" and "hermetic" are better terms for what Nix provides. Some of the bitwise reproducibility of nixpkgs comes from rigorously defining all build inputs, various patches we apply and default build settings we default to. But the brunt of the work is the massive and steller upstream work of https://reproducible-builds.org/, without which nixpkgs would not even be close to bitwise reproducible

                      1 Reply Last reply
                      0
                      • jwcph@helvede.netJ jwcph@helvede.net shared this topic
                      Svar
                      • Svar som emne
                      Login for at svare
                      • Ældste til nyeste
                      • Nyeste til ældste
                      • Most Votes


                      • Log ind

                      • Har du ikke en konto? Tilmeld

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      Graciously hosted by data.coop
                      • First post
                        Last post
                      0
                      • Hjem
                      • Seneste
                      • Etiketter
                      • Populære
                      • Verden
                      • Bruger
                      • Grupper