rust-lamboot-reader 0.1.2-1
Package Information
| Description | Reader and resolver for GRUB boot configuration lamboot-reader parses grub.cfg, /etc/default/grub and grubenv, works out which menu entry GRUB would boot and with what kernel command line, and reports drift between the generated menu and /etc/default/grub. It is validated against the grub-mkconfig output of Proxmox VE and Debian hosts. |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | Greg Lamberson <greg@lamco.io> |
| Sponsor | tsimonq2@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/lamboot-reader] (browse) |
| Tracker | https://tracker.debian.org/pkg/rust-lamboot-reader |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Source | rust-lamboot-reader |
|---|---|
| Version | 0.1.2-1 |
| Changed-By | Greg Lamberson <greg@lamco.io> |
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Fri, 04 Dec 2026 14:15:50 -0600 |
Changelog
rust-lamboot-reader (0.1.2-1) unstable; urgency=medium . * Package lamboot-reader 0.1.2 from crates.io using debcargo 2.8.4
.dsc
| Section | admin |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | lamboot-reader deb admin optional arch=any librust-lamboot-reader-dev deb rust optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: lamboot-reader Upstream-Contact: Greg Lamberson <greg@lamco.io> Source: https://github.com/lamco-admin/lamboot-reader Files: * Copyright: 2025-2026 Lamco Development LLC <office@lamco.io> License: Expat or Apache-2.0 Comment: Lamco Development LLC is the sole copyright holder of lamboot-reader's own code, as the upstream LICENSE-MIT and LICENSE-APACHE state. Greg Lamberson is listed in the Cargo.toml authors field as the person who wrote it. That field records authorship and isn't a copyright claim. Files: THIRD_PARTY_NOTICES.md Copyright: 2025-2026 Lamco Development LLC <office@lamco.io> License: Expat or Apache-2.0 Comment: This file reproduces the license notices of the crates that are linked into upstream's prebuilt binaries. None of their code is in this source, and the file isn't installed. Files: tests/fixtures/* Copyright: 2025-2026 Lamco Development LLC <office@lamco.io> License: Expat or Apache-2.0 Comment: GRUB configuration files from a Proxmox VE host, used as parser test input. grub.cfg is the output of grub-mkconfig for that host; its filesystem identifiers were replaced with made-up ones. Files: debian/* Copyright: 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> 2026 Greg Lamberson <greg@lamco.io> License: Expat or Apache-2.0 Files: debian/lamboot-reader.1 Copyright: 2026 Lamco Development LLC <office@lamco.io> License: Expat or Apache-2.0 Comment: Upstream's manual page, kept in the lamboot-tools repository. License: Apache-2.0 Debian systems provide the Apache 2.0 license in /usr/share/common-licenses/Apache-2.0 License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DFSG Assistant LLM REVIEW 1 blocker, 0 important, 2 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 0 hours ago.
Report
DFSG NEW review for rust-lamboot-reader version 0.1.2-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 1 blocker, 0 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The package's own code is MIT/Apache-2.0 and DFSG-free, but debian/copyright is inaccurate. tests/fixtures/pve2-default-grub is a near-verbatim copy of GNU GRUB's GPL-3+ /etc/default/grub template (the .cfg fixtures are grub-mkconfig output embedding the same GPL-3+ script code), yet the tests/fixtures/* stanza attributes everything to Lamco under Expat/Apache-2.0 and omits the GPL-3+ terms and holders. In addition, the THIRD_PARTY_NOTICES.md stanza's comment wrongly says that file is not installed. No non-free or field-of-use terms were found.
Packaging
The debcargo-generated packaging is sound: Build-Depends and the binary/library Depends are complete and exist in the archive, compat 13 is used consistently with dh-cargo and its substvars, autopkgtests and upstream metadata are present, and Standards-Version 4.7.4 is current. The only packaging nit is the installed man page, which still describes the upstream prebuilt static binary and references lamboot-tools man pages that Debian does not ship.
Issues
blocker licensing 1. tests/fixtures/* mislicences GNU GRUB material as Expat/Apache-2.0 ◂
- Files:
debian/copyright (Files: tests/fixtures/* stanza),tests/fixtures/pve2-default-grub,tests/fixtures/pve2-grub.cfg,tests/fixtures/pve2-grub-with-lamboot.cfg - Basis: checked, in the package or with a reference tool
- Evidence: debian/copyright:
Files: tests/fixtures/*/Copyright: 2025-2026 Lamco Development LLC <office@lamco.io>/License: Expat or Apache-2.0;/usr/share/doc/grub-common/copyright:Files: */Copyright: 1999, ... 2009 Free Software Foundation, Inc/License: GPL-3+.tests/fixtures/pve2-default-grubis identical to/usr/share/grub/default/grubexcept forGRUB_CMDLINE_LINUX_DEFAULTandGRUB_DISABLE_OS_PROBER; the .cfg fixtures carryIt is automatically generated by grub-mkconfig using templates from /etc/grub.dand embed the scripts' shell functions. - Problem: The fixtures are modified copies of GNU GRUB's GPL-3+ files (the default/grub template, and grub.cfg output that reproduces code from the GPL-3+ /etc/grub.d scripts). They may be distributed under GPL-3+ but not relicensed as Expat/Apache-2.0, and the GRUB copyright holders and GPL-3+ terms are absent from debian/copyright. Policy 2.3 requires the actual copyright and licence of files in the package, and Policy 12.5 requires the licence text; the fixtures are also installed in librust-lamboot-reader-dev, since dh-cargo copies the whole crate tree to /usr/share/cargo/registry.
- Fix: Give tests/fixtures/* its own stanza naming the GNU GRUB copyright holders (Free Software Foundation, Inc. and contributors) under
License: GPL-3+, referring to /usr/share/common-licenses/GPL-3, or replace the GRUB-derived fixtures with self-authored data.
minor licensing 2. THIRD_PARTY_NOTICES.md comment wrongly says the file is not installed ◂
- Files:
debian/copyright (Files: THIRD_PARTY_NOTICES.md stanza) - Basis: checked, in the package or with a reference tool
- Evidence:
None of their code is in this source, and the file isn't installed.In/usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm,get_sourcesexcludes only.git,.pc,debianandtarget, andinstallcopies the whole tree to/usr/share/cargo/registry/<crate>-<version>in the -dev package. - Problem: debian/copyright states as fact that THIRD_PARTY_NOTICES.md is not installed; dh-cargo installs it unchanged in librust-lamboot-reader-dev. The notices are therefore present in the binary package (so Policy 2.3 is satisfied for them), but the copyright file's justification for the stanza is inaccurate.
- Fix: Correct the Comment to say the file is installed as part of the crate source and carries the third-party notices, or exclude the file from the installed crate.
minor packaging 3. Man page describes the binary as prebuilt/static and references man pages Debian does not ship ◂
- Files:
debian/lamboot-reader.1:27-31,debian/lamboot-reader.1:72-77 - Basis: checked, in the package or with a reference tool
- Evidence:
This binary is a prebuilt, statically linked component of the lamboot\-tools suite, shipped as a standalone CLI.and.BR lamboot\-migrate (1),.BR lamboot\-diagnose (1),.BR lamboot\-tools (7) - Problem: The Debian binary is built from source and linked dynamically, so the installed man page is factually wrong; lamboot-tools, lamboot-migrate and lamboot-diagnose are not in Debian (apt-cache: no package lamboot-tools), so SEE ALSO points to nonexistent pages; EXIT STATUS also omits exit codes 1 and 3 documented in README.md.
- Fix: Adapt the man page for the Debian package: drop the prebuilt/static sentence, remove or correct the unavailable SEE ALSO entries, and list all documented exit codes.
Verified ◂
- Read all 26 files of the tree (excluding .pc/ and debian/cargo-checksum.json) or grepped them, and read every file in debian/; the tree contains no binary, font, image, minified or built file.
- debian/copyright is machine-readable DEP-5 with the current Format line; it includes the full Expat text and refers Apache-2.0 to /usr/share/common-licenses/Apache-2.0, and the crate's own source, Cargo.toml.orig and LICENSE-MIT/LICENSE-APACHE are MIT/Apache-2.0.
- THIRD_PARTY_NOTICES.md is a cargo-about-generated aggregate of notices for crates that are separate Debian packages (heck, utf8parse, shell-words, clap, serde, unicode-ident, etc.); none of their code is vendored here. The seven holders the scan names (The Rust Project Developers, Joe Wilm, Tomasz Miąsko, Andrew Gallant, Danny Guo, Titus Wormer, Akash Kurdekar, Unicode, Inc) occur only as notices in that file, whose stanza names Lamco for the compilation; the notices remain verbatim in the file installed by dh-cargo, so Policy 2.3 does not require them in debian/copyright.
- Grep for Copyright, (C), ©, SPDX-License-Identifier, GPL/LGPL, Apache, MPL, public domain, all rights reserved and non-commercial wording found no other licence or holder and no non-free terms.
- Build dependencies exist in the archive: dh-sequence-cargo provided by dh-cargo 34, rustc/libstd-rust-dev 1.99.1, librust-clap-dev 4.6.10, librust-serde-dev 1.0.229, librust-serde-json-dev 1.0.154, librust-shell-words-dev 1.1.1, librust-thiserror-dev 2.0.21, librust-pretty-assertions-dev 1.4.1 (autopkgtest).
- Packaging uses compat 13 with dh-cargo; ${misc:Depends} and ${cargo:*} substvars are present; source format is 3.0 (quilt) with no patches; debian/tests/control is well formed and Standards-Version 4.7.4 matches the system Policy 4.7.4.1.
- debian/copyright.debcargo.hint is debcargo's generated hint, not installed in any binary package; debian/copyright supersedes it.
- debian/lamboot-reader.1 is installed in the lamboot-reader binary via debian/lamboot-reader.manpages.
- uscan found the packaged version as the newest upstream release (upstream
0.1.2, packaged0.1.2). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- No build or autopkgtest was run; the package is assumed to build and pass its tests in a clean unstable chroot.
- The two .cfg fixtures' direct derivation from /etc/grub.d scripts could not be read (only /usr is readable); pve2-default-grub was verified against /usr/share/grub/default/grub and /usr/share/doc/grub-common/copyright.
- The contents of the Homepage and Vcs-* URLs were not fetched.
Proposed changes ◂
None.
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.