Follow

Some discussion about software being packaged in has happened recently. This comment by dkg on the bug report is a good summary of the problems and the current state of the discussion. bugs.debian.org/945542#94

@silwol I've personally never understood why it's a bad thing to ship Rust applications with vendored sources. Packaging problems solved. No more duplicated effort to repackage everything that the Cargo.lock file and vendoring already maintains.

@mmstick
Well, that's due to the " way" of doing things with the motivation of getting things right from a specific point of view. The copyright of all packaged components needs to be documented properly (debian.org/doc/debian-policy/c), and so-called "convenience copies" (debian.org/doc/debian-policy/c) are only allowed under some tight conditions. It's sometimes a tedious procedure, but one can acknowledge that it carried them a long way.

@mmstick
Of course, the Debian security team would not be very happy if they have to fix a vulnerability in one of the central crates. They would find many different bundled versions of the same code (*if* they find them at all), and then a patch would have to be ported for each of these in order to keep the changes minimal to make it possible to reason about them. Porting the patch only once increases clarity a lot.

@silwol The issue is that Debian's system is designed around packaging C software, but this model is completely incompatible and outdated with Rust packaging.

If they really want to make Rust a first class system, then why not use Cargo to their advantage and create their own Crates.io mirror?

Not that they should really need to duplicate that effort. There's nothing wrong with re-vendoring packages with the vulnerabilities. Easy to automatically find in the Cargo.lock file.

Sign in to participate in the conversation
chaos.social

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!